diff --git a/app/errors/errors.php b/app/errors/errors.php index 2310ba5a34..c29380cbb0 100644 --- a/app/errors/errors.php +++ b/app/errors/errors.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2018 + Portions created by the Initial Developer are Copyright (C) 2008-2020 the Initial Developer. All Rights Reserved. Contributor(s): @@ -25,7 +25,7 @@ */ //includes - include "root.php"; + require_once "root.php"; require_once "resources/require.php"; require_once "resources/check_auth.php"; @@ -62,32 +62,28 @@ $file_lines = file($error_file, FILE_SKIP_EMPTY_LINES); - echo "\n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo "
\n"; - echo " ".$text['header-server_errors']."
\n"; - echo "
\n"; - echo "
\n"; - echo " ".$text['label-log']; - echo " \n"; + echo "\n"; if (file_exists($_SESSION['server']['error']['text'].'.1')) { - echo " \n"; + echo "\n"; } - echo " \n"; - echo " ".$text['label-filter']." "; - echo " "; - echo " "; - echo " ".$text['label-display']." of ".count($file_lines)." ".$text['label-lines']; - echo " "; - echo "
\n"; - echo "
\n"; - echo "
\n"; + echo "\n"; + echo $text['label-filter']." "; + echo ""; + echo ""; + echo $text['label-display']." : ".count($file_lines)." ".$text['label-lines']; + echo button::create(['type'=>'submit','label'=>$text['button-reload'],'icon'=>$_SESSION['theme']['button_icon_reload'],'style'=>'margin-left: 15px;','name'=>'submit']); + echo "\n"; + echo " \n"; + echo "
\n"; + echo "\n"; - echo "
\n"; + echo "
\n"; if (is_array($file_lines) && sizeof($file_lines) > 0) { echo "\n"; @@ -149,4 +145,4 @@ //include the footer require_once "resources/footer.php"; -?> +?> \ No newline at end of file