- 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
This commit is contained in:
parent
08bc6015a7
commit
a3b23df6ef
6 changed files with 3057 additions and 2305 deletions
|
|
@ -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');
|
||||
?>
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue