Display error messages for use in footer.tpl
void
displayErrors
()
Checks for an image icon and returns a complete HTML img tag or a text string with the text icon based on what is found and user prefs.
string
getIcon
(string $icon_theme_path, string $icon_name, string $text_icon, [string $alt_text = ''], [integer $w = NULL], [integer $h = NULL])
-
string
$icon_theme_path: User's chosen icon set
-
string
$icon_name: File name of the desired icon
-
string
$text_icon: Text-based icon to display if desired
-
string
$alt_text: Optional. Text for alt/title attribute of image
-
integer
$w: Optional. Width of requested image.
-
integer
$h: Optional. Height of requested image.
Gets the path to the specified icon or returns NULL if the image is not found. This has been separated from getIcon to allow the path to be fetched for use w/ third party packages, e.g. dTree.
string
getIconPath
(string $icon_theme_path, string $icon_name)
-
string
$icon_theme_path: User's chosen icon set
-
string
$icon_name: File name of the desired icon
humanReadableSize (line
106)
Make the internal show_readable_size() function available to templates.
string
humanReadableSize
(mixed $size)