diff options
author | neoraider <devnull@localhost> | 2006-12-09 02:18:00 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-12-09 02:18:00 +0100 |
commit | 7be63518bdb86fb747dda20918ef6eab3d30e40c (patch) | |
tree | e9239af6d9efa6d7a2129adb71ca77fb25a0f59d /code/message.inc.php | |
parent | fa39bfd963d7d05335d968b0efdfd9bb9a40f132 (diff) | |
download | neon-7be63518bdb86fb747dda20918ef6eab3d30e40c.tar neon-7be63518bdb86fb747dda20918ef6eab3d30e40c.zip |
?bersetzung vereinfacht; alle Seiten ?bersetzt
Diffstat (limited to 'code/message.inc.php')
-rw-r--r-- | code/message.inc.php | 19 |
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>'; - } -?> |