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.php19
1 files changed, 0 insertions, 19 deletions
diff --git a/code/message.inc.php b/code/message.inc.php
deleted file mode 100644
index fb9e8fa..0000000
--- a/code/message.inc.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?PHP
- Uses('util');
-
- $GLOBALS['message']['Error'] = 'Error';
- $GLOBALS['message']['PageNotFound'] = 'The page \'$page\' does not exist.';
- $GLOBALS['message']['Forbidden'] = 'The page \'$page\' is protected.';
- $GLOBALS['message']['InternalError'] = 'An internal error has occourred.';
- $GLOBALS['message']['LoginError'] = 'Login failed. Username or password is wrong.';
-
- if($config['language'] != 'en') @include('lang/' . $config['language'] . '.inc.php');
-
- 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>';
- }
-?>