summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>'
)));
}