aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/index.php b/index.php
index a2b40417e..65c19bd69 100644
--- a/index.php
+++ b/index.php
@@ -119,6 +119,7 @@ $template->assign('TITLE', $template_title);
//-------------------------------------------------------------- menubar
include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
+$template->set_filename('index', 'index.tpl');
// +-----------------------------------------------------------------------+
// | index page (categories, thumbnails, search, calendar, random, etc.) |
@@ -127,8 +128,6 @@ if ( empty($page['is_external']) or !$page['is_external'] )
{
//----------------------------------------------------- template initialization
$page['body_id'] = 'theCategoryPage';
-
- $template->set_filename('index', 'index.tpl');
if (isset($page['flat']) or isset($page['chronology_field']))
{
@@ -335,13 +334,6 @@ if ( empty($page['is_external']) or !$page['is_external'] )
}
}
}
-// +-----------------------------------------------------------------------+
-// | other pages (added by plugins) |
-// +-----------------------------------------------------------------------+
-else
-{
- $template->set_filename('index', 'common_page.tpl');
-}
//------------------------------------------------------------ end
include(PHPWG_ROOT_PATH.'include/page_header.php');