Updated .gitattributes with export-ignore.
[fa-stable.git] / includes / ui / ui_msgs.inc
index 09bb82bcd2218881f308fbf059566a9a589f0901..1d6d765c80ac38549e05e2eba599b0889c9cc1a5 100644 (file)
@@ -11,8 +11,6 @@
 ***********************************************************************/
 function display_error($msg, $center=true)
 {
-       global $go_debug;
-
        trigger_error($msg, E_USER_ERROR);
 }
 
@@ -31,6 +29,11 @@ function display_notification_centered($msg)
        display_notification($msg, true);
 }
 
+function display_caption($msg)
+{
+       echo "<caption>$msg</caption>\n";
+}
+
 function display_heading($msg)
 {
        echo "<center><span class='headingtext'>$msg</span></center>\n";