summaryrefslogtreecommitdiffstats
path: root/code/message.inc.php
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-02-02 00:50:04 +0100
committerneoraider <devnull@localhost>2006-02-02 00:50:04 +0100
commitaf3aaf3630d4634a85d7d912f751f3bf36633278 (patch)
treecb1aebacd08195dcedad6cb8295ce157ba0ecf31 /code/message.inc.php
parent6f165543cc5604a8acc809f5b7a85465dd1ab870 (diff)
downloadneon-af3aaf3630d4634a85d7d912f751f3bf36633278.tar
neon-af3aaf3630d4634a85d7d912f751f3bf36633278.zip
Editoren implementiert. ErrorMessage verschoben.
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>';
+ }
}
?>