Browse Source

i18n strings in inc/display.php

pull/40/head
czaks 11 years ago
committed by Michael Foster
parent
commit
b9769d0cea
  1. 6
      inc/display.php

6
inc/display.php

@ -72,14 +72,14 @@ function error($message, $priority = true) {
die(Element('page.html', array(
'config'=>$config,
'title'=>'Error',
'subtitle'=>'An error has occured.',
'title'=>_('Error'),
'subtitle'=>_('An error has occured.'),
'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>" : '') .
$board['dir'] . $config['file_index'] . "\">"._("Go back")."</a>.</p>" : '') .
'</center>'
)));
}

Loading…
Cancel
Save