aboutsummaryrefslogtreecommitdiffstats
path: root/comments.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-09-27 22:46:17 +0000
committerrvelices <rv-github@modusoptimus.com>2007-09-27 22:46:17 +0000
commita3b23df6ef58811247c4d75da02edf7bad2d73e7 (patch)
treeb2d1fec0c9630c57d87ad43826fa7d39f4dc5292 /comments.php
parent08bc6015a702b92166f4380ea87823d42f883933 (diff)
- admin, comments and tags pages include page_header later in the code (as in picture and index) allowing plugins to change the header until the very end
- fix in admin.php : picture_modify requires cache invalidation - fix in site_update.php : some echo func calls changed to $template->output .= ... - upgraded prototype.js to latest version 1.5.1.1 git-svn-id: http://piwigo.org/svn/trunk@2107 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--comments.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/comments.php b/comments.php
index efcd7dfb5..e65662439 100644
--- a/comments.php
+++ b/comments.php
@@ -4,7 +4,6 @@
// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
// +-----------------------------------------------------------------------+
-// | branch : BSF (Best So Far)
// | file : $Id$
// | last update : $Date$
// | last modifier : $Author$
@@ -175,7 +174,6 @@ UPDATE '.COMMENTS_TABLE.'
$title= l10n('title_comments');
$page['body_id'] = 'theCommentsPage';
-include(PHPWG_ROOT_PATH.'include/page_header.php');
$template->set_filenames(array('comments'=>'comments.tpl'));
$template->assign_vars(
@@ -442,7 +440,7 @@ SELECT id, name, permalink, uppercats
// +-----------------------------------------------------------------------+
// | html code display |
// +-----------------------------------------------------------------------+
-$template->assign_block_vars('title',array());
+include(PHPWG_ROOT_PATH.'include/page_header.php');
$template->parse('comments');
include(PHPWG_ROOT_PATH.'include/page_tail.php');
-?>
+?> \ No newline at end of file