From 4e5538cb78ceb8e93ae10ec9ad306547e6014972 Mon Sep 17 00:00:00 2001 From: James Atkinson Date: Fri, 23 Feb 2001 23:39:42 +0000 Subject: Viewforum works, and error die outputs nice, templated, errors git-svn-id: file:///svn/phpbb/trunk@37 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/functions/error.php | 5 +++++ phpBB/functions/functions.php | 50 +++++++++++++++++++++++++++---------------- 2 files changed, 36 insertions(+), 19 deletions(-) (limited to 'phpBB/functions') diff --git a/phpBB/functions/error.php b/phpBB/functions/error.php index 6b53da1838..f8182335f2 100644 --- a/phpBB/functions/error.php +++ b/phpBB/functions/error.php @@ -25,6 +25,11 @@ function error_die($db, $error_code = "", $error_msg = "") { global $template, $phpEx; + + if(!$template->get("overall_header")) + { + include('page_header.'.$phpEx); + } if(!$error_msg) { switch($error_code) diff --git a/phpBB/functions/functions.php b/phpBB/functions/functions.php index 941ccd0e22..5d660f8db9 100644 --- a/phpBB/functions/functions.php +++ b/phpBB/functions/functions.php @@ -76,39 +76,51 @@ function get_newest_user($db) function make_jumpbox($db, $phpEx) { - $boxstring = "
+ Jump to: \n
"; -- cgit v1.2.1