From d387e476bcc5c6d41bb6536530d11ed3aa34c682 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Tue, 16 Oct 2001 11:12:32 +0000 Subject: Topic review changes + updates git-svn-id: file:///svn/phpbb/trunk@1220 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/page_header.php | 15 ++++++++++++--- phpBB/includes/page_tail.php | 15 ++++++++++++--- 2 files changed, 24 insertions(+), 6 deletions(-) (limited to 'phpBB/includes') diff --git a/phpBB/includes/page_header.php b/phpBB/includes/page_header.php index 7f667f5b45..578639bee1 100644 --- a/phpBB/includes/page_header.php +++ b/phpBB/includes/page_header.php @@ -56,9 +56,18 @@ if($board_config['gzip_compress']) // // Parse and show the overall header. // -$template->set_filenames(array( - "overall_header" => "overall_header.tpl") -); +if( empty($gen_simple_header) ) +{ + $template->set_filenames(array( + "overall_header" => "overall_header.tpl") + ); +} +else +{ + $template->set_filenames(array( + "overall_header" => "simple_header.tpl") + ); +} // // Generate logged in/logged out status diff --git a/phpBB/includes/page_tail.php b/phpBB/includes/page_tail.php index 12fb490384..dd761e77cb 100644 --- a/phpBB/includes/page_tail.php +++ b/phpBB/includes/page_tail.php @@ -33,9 +33,18 @@ else } $current_time = time(); -$template->set_filenames(array( - "overall_footer" => "overall_footer.tpl") -); +if( empty($gen_simple_header) ) +{ + $template->set_filenames(array( + "overall_footer" => "overall_footer.tpl") + ); +} +else +{ + $template->set_filenames(array( + "overall_footer" => "simple_footer.tpl") + ); +} $template->assign_vars(array( "PHPBB_VERSION" => "2.0 beta-1", -- cgit v1.2.1