summaryrefslogtreecommitdiffstats
path: root/code/message.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'code/message.inc.php')
-rw-r--r--code/message.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/code/message.inc.php b/code/message.inc.php
index a3957d5..7b49a66 100644
--- a/code/message.inc.php
+++ b/code/message.inc.php
@@ -17,5 +17,9 @@
function Message($type, $data = array()) {
return Subst($GLOBALS['message'][$type], $data);
}
+
+ function ErrorMessage($type, $data = array()) {
+ return '<span class="error">' . Subst($GLOBALS['message'][$type], $data) . '</span>';
+ }
}
?>