From a3b23df6ef58811247c4d75da02edf7bad2d73e7 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 27 Sep 2007 22:46:17 +0000 Subject: - 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 --- comments.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'comments.php') 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 -- cgit v1.2.3