diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css index b8a1e26f25..183938e937 100644 --- a/phpBB/adm/style/admin.css +++ b/phpBB/adm/style/admin.css @@ -1,11 +1,10 @@ /* phpBB 3.0 Admin Style Sheet - -------------------------------------------------------------- - Original author: Tom Beddard ( http://www.subBlue.com/ ) - Modified by: - Last update: $Id$ + ------------------------------------------------------------------------ + Original author: subBlue ( http://www.subBlue.com/ ) + Official update: $Id$ Copyright 2006 phpBB Group ( http://www.phpbb.com/ ) - -------------------------------------------------------------- + ------------------------------------------------------------------------ */ @@ -189,7 +188,8 @@ a:hover { background-color: #FFFFFF; border: solid 1px #A9B8C2; } -span.corners-top, span.corners-bottom { +span.corners-top, span.corners-bottom, +span.corners-top span, span.corners-bottom span { display: none; } @@ -684,6 +684,26 @@ a.button2, a.button2:link, a.button2:visited, a.button2:active { } +/* Special cases for the error page */ +#errorpage #page-header a { + font-weight: bold; + line-height: 6em; + } +#errorpage #content { + padding-top: 10px; + } +#errorpage #content h1 { + color: #DF075C; + } +#errorpage #content h2 { + margin-top: 20px; + margin-bottom: 5px; + border-bottom: 1px solid #CCCCCC; + padding-bottom: 5px; + color: #333333; + } + + /* Format Buttons for signature editor */ diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 3731b073cc..10cbc4f2d2 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -1041,7 +1041,7 @@ function meta_refresh($time, $url) global $template; $template->assign_vars(array( - 'META' => '') + 'META' => '') ); } @@ -1554,17 +1554,41 @@ function msg_handler($errno, $msg_text, $errfile, $errline) { $cache->unload(); } - + if (!defined('HEADER_INC')) { - echo '' . $msg_title . ''; - echo '
phpBB LogoGeneral Error      
'; + echo ''; + echo ''; + echo ''; + echo ''; + echo '' . $msg_title . ''; + echo ''; + echo ''; + echo ''; + echo '
'; + echo ' '; + echo '
'; + echo '
'; + echo ' '; + echo '
'; + echo '

General Error

'; } - echo '

' . $msg_text . '
Please notify the board administrator or webmaster : ' . $config['board_contact'] . '

'; - + + echo '

' . $msg_text . '

'; + echo '

Please notify the board administrator or webmaster : ' . $config['board_contact'] . '

'; + echo '
'; + echo ' '; + echo '
'; + echo '
'; + echo ' '; + echo '
'; + echo ''; + echo ''; + exit; break;