i18n strings in inc/display.php
This commit is contained in:
parent
4764764885
commit
a1e105a470
@ -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…
Reference in New Issue
Block a user