From caaf85170aff7f370b57180bc8d5eb41d78bd624 Mon Sep 17 00:00:00 2001 From: Kyle <777atpcaptain@gmail.com> Date: Mon, 16 Jul 2012 20:52:43 -0600 Subject: [PATCH] Forgot a few things, will track down if there is more. It gave me an error that the layout.tpl or header.tpl doesn't exist, changed a few things to read the .php's. --- index.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/index.php b/index.php index 1c4c66cf..d0c8f390 100644 --- a/index.php +++ b/index.php @@ -68,20 +68,20 @@ $BaseTemplate->Set('title', MainController::$page_title .' - '.SITE_NAME); $BaseTemplate->Set('page_title', MainController::$page_title .' - '.SITE_NAME); -if(file_exists(SKINS_PATH.'/layout.tpl')) +if(file_exists(SKINS_PATH.'/layout.php')) { - $BaseTemplate->Set('page_htmlhead', Template::Get('core_htmlhead.tpl', true)); - $BaseTemplate->Set('page_htmlreq', Template::Get('core_htmlreq.tpl', true)); + $BaseTemplate->Set('page_htmlhead', Template::Get('core_htmlhead.php', true)); + $BaseTemplate->Set('page_htmlreq', Template::Get('core_htmlreq.php', true)); $BaseTemplate->Set('page_content', $page_content); - $BaseTemplate->ShowTemplate('layout.tpl'); + $BaseTemplate->ShowTemplate('layout.php'); } else { # It's a template sammich! - $BaseTemplate->ShowTemplate('header.tpl'); + $BaseTemplate->ShowTemplate('header.php'); echo $page_content; - $BaseTemplate->ShowTemplate('footer.tpl'); + $BaseTemplate->ShowTemplate('footer.php'); } # Force connection close