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( die(Element('page.html', array(
'config'=>$config, 'config'=>$config,
'title'=>'Error', 'title'=>_('Error'),
'subtitle'=>'An error has occured.', 'subtitle'=>_('An error has occured.'),
'body'=>'<center>' . 'body'=>'<center>' .
'<h2>' . _($message) . '</h2>' . '<h2>' . _($message) . '</h2>' .
(isset($board) ? (isset($board) ?
"<p><a href=\"" . $config['root'] . "<p><a href=\"" . $config['root'] .
($mod ? $config['file_mod'] . '?/' : '') . ($mod ? $config['file_mod'] . '?/' : '') .
$board['dir'] . $config['file_index'] . "\">Go back</a>.</p>" : '') . $board['dir'] . $config['file_index'] . "\">"._("Go back")."</a>.</p>" : '') .
'</center>' '</center>'
))); )));
} }

Loading…
Cancel
Save