Browse Source

ability to translate error messages

pull/40/head
Savetheinternet 13 years ago
parent
commit
3979d9a740
  1. 8
      inc/display.php

8
inc/display.php

@ -79,13 +79,13 @@
'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