projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add function for displaying errors to avoid having to call $oErrorHandler or $this...
[squirrelmail.git]
/
templates
/
util_global.php
diff --git
a/templates/util_global.php
b/templates/util_global.php
index e51091fb096c30d3218e18067c8d74e071313c4a..2ffd15e5a8abc41335720e509cca337f480e913b 100644
(file)
--- a/
templates/util_global.php
+++ b/
templates/util_global.php
@@
-75,3
+75,15
@@
function getIconPath ($icon_theme_path, $icon_name) {
return NULL;
}
+
+/**
+ * Display error messages for use in footer.tpl
+ *
+ * @author Steve Brown
+ * @since 1.5.2
+ **/
+function displayErrors () {
+ global $oErrorHandler;
+
+ $oErrorHandler->displayErrors();
+}