aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-06-20 14:35:16 +0000
committermistic100 <mistic@piwigo.org>2013-06-20 14:35:16 +0000
commit863bce7f13191aa40f3388f7cadc6c00eaf1aec4 (patch)
tree777d5600120e93031ebe50bf81a7eaba798fcda2 /index.php
parent2d15ba17464be29f789b34a9b9edffb567f85540 (diff)
feature:2832 Provide better integration of plugins adding a all new section
don't need for an extra file git-svn-id: http://piwigo.org/svn/trunk@23399 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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');