Add function for displaying errors to avoid having to call $oErrorHandler or $this...
authorstevetruckstuff <stevetruckstuff@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 10 Aug 2006 22:26:19 +0000 (22:26 +0000)
committerstevetruckstuff <stevetruckstuff@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 10 Aug 2006 22:26:19 +0000 (22:26 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11508 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/util_global.php

index e51091fb096c30d3218e18067c8d74e071313c4a..2ffd15e5a8abc41335720e509cca337f480e913b 100644 (file)
@@ -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();
+}