GNHLUG
>
TWiki Web
>
TWikiConfigureImgToolDotPm
(2018-07-15,
TWikiContributor
)
(raw view)
E
dit
A
ttach
---+ Package =TWiki::Configure::ImgTool= This class is a singleton that offers URLs for the images (logos, warning, info) used during configuration - when neither =pub= nor =data= nor =template= directories are reliably available. All the methods can be called either as class methods or as object methods on the singleton: * Class method: %BR% $img = "=<img src=" . TWiki::Configure::ImgTool->logo . "/>" * Object method: %BR% my $imgtool = TWiki::Configure::ImgTool->instance; $img = "=<img src=" . $imgtool->logo . "/>" %TOC% ---++ Class Method instance() Returns the singleton object. ---++ Class Method logo() Returns the URL for the TWiki 140x40 logo (gif). ---++ Class Method logoSmall() Returns the URL for the TWiki small (34x26) logo (png). ---++ Class Method favicon() Returns the URL for the TWiki favicon (16x16, x-icon). ---++ Class Method iconWarning() Returns the URL for the warning icon (16x16, gif). ---++ Class Method iconInfo() Returns the URL for the info icon (16x16, gif).
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2018-07-15
-
TWikiContributor
TWiki
Log In
or
Register
TWiki Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
GNHLUG
Main
Org
TWiki
Copyright © 1999-2025 by the contributing authors. All material from TWiki is the property of the contributing authors.
Questions, comments, or concerns?
Contact GNHLUG
.
All use of this site subject to our
Legal Notice
(includes Terms of Service).