summaryrefslogtreecommitdiff
path: root/inc/display.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-12-02 19:42:51 +1100
committerSavetheinternet <savetheinternet@tinyboard.org>2011-12-02 19:42:51 +1100
commit3979d9a7406976c0492cdc4c04dca06bfcde73aa (patch)
tree1a3c7e6bc907b73639b1e625bbd99c782ddbc4d9 /inc/display.php
parentc1be29ce359d054fa273fd56661d9900f88fa491 (diff)
ability to translate error messages
Diffstat (limited to 'inc/display.php')
-rw-r--r--inc/display.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/display.php b/inc/display.php
index c67a52ff..3d1d6c99 100644
--- a/inc/display.php
+++ b/inc/display.php
@@ -79,13 +79,13 @@
'config'=>$config,
'title'=>'Error',
'subtitle'=>'An error has occured.',
- 'body'=>"<center>" .
- "<h2>$message</h2>" .
+ 'body'=>'<center>' .
+ '<h2>' . _($message) . '</h2>' .
(isset($board) ?
"<p><a href=\"" . $config['root'] .
($mod ? $config['file_mod'] . '?/' : '') .
- $board['dir'] . $config['file_index'] . "\">Go back</a>.</p>" : '').
- "</center>"
+ $board['dir'] . $config['file_index'] . "\">Go back</a>.</p>" : '') .
+ '</center>'
)));
}