2004-02-02 01:55:18 +01:00
|
|
|
<?php
|
2004-02-12 00:20:38 +01:00
|
|
|
// +-----------------------------------------------------------------------+
|
2004-11-06 22:12:59 +01:00
|
|
|
// | PhpWebGallery - a PHP based picture gallery |
|
|
|
|
// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
|
2006-03-16 23:58:16 +01:00
|
|
|
// | Copyright (C) 2003-2006 PhpWebGallery Team - http://phpwebgallery.net |
|
2004-02-12 00:20:38 +01:00
|
|
|
// +-----------------------------------------------------------------------+
|
2004-11-06 22:12:59 +01:00
|
|
|
// | branch : BSF (Best So Far)
|
2004-02-12 00:20:38 +01:00
|
|
|
// | file : $RCSfile$
|
|
|
|
// | last update : $Date$
|
|
|
|
// | last modifier : $Author$
|
|
|
|
// | revision : $Revision$
|
|
|
|
// +-----------------------------------------------------------------------+
|
|
|
|
// | This program is free software; you can redistribute it and/or modify |
|
|
|
|
// | it under the terms of the GNU General Public License as published by |
|
|
|
|
// | the Free Software Foundation |
|
|
|
|
// | |
|
|
|
|
// | This program is distributed in the hope that it will be useful, but |
|
|
|
|
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
|
|
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
|
|
|
// | General Public License for more details. |
|
|
|
|
// | |
|
|
|
|
// | You should have received a copy of the GNU General Public License |
|
|
|
|
// | along with this program; if not, write to the Free Software |
|
|
|
|
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
|
|
|
// | USA. |
|
|
|
|
// +-----------------------------------------------------------------------+
|
2006-03-09 02:57:13 +01:00
|
|
|
|
2004-02-02 01:55:18 +01:00
|
|
|
//
|
|
|
|
// Start output of page
|
|
|
|
//
|
2006-06-22 20:17:47 +02:00
|
|
|
$template->set_filenames(array('header'=>'header.tpl'));
|
2004-02-02 01:55:18 +01:00
|
|
|
|
2006-11-01 06:54:35 +01:00
|
|
|
trigger_action('loc_begin_page_header');
|
|
|
|
|
2004-03-31 22:43:09 +02:00
|
|
|
$template->assign_vars(
|
|
|
|
array(
|
- new : HTML BODY identifier to let CSS stylesheets manage specific
behaviour.
- deletion : admin/search useless
- improvement : in admin/user_list, special behaviour for true/false fields
(expand, show_comments)
- new : gallery_title and gallery_description are displayed at the top of
each page.
- improvement : simplification in HTML for categories menu.
- improvement : standardization of presentation in all public pages
(identification, registration, search, profile, notification, comments,
etc.)
(not in ChangeLog, below this line)
- add forgotten notification.php (should have been added in a previous
commit)
- [template cclear] deletion of useless class .bouton
- [template cclear] for test purpose, new presentation of register page
(using FORM.filter)
- [template cclear] adaptation of admin/group_list from template default
- [template cclear] deletion of obsolete admin/infos_images
- [template cclear] deletion of obsolete admin/search_username
- [template cclear] new icon register.png
git-svn-id: http://piwigo.org/svn/trunk@850 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-26 00:43:47 +02:00
|
|
|
'GALLERY_TITLE' =>
|
|
|
|
isset($page['gallery_title']) ?
|
|
|
|
$page['gallery_title'] : $conf['gallery_title'],
|
2006-03-09 02:57:13 +01:00
|
|
|
|
|
|
|
'PAGE_BANNER' =>
|
2006-11-01 06:54:35 +01:00
|
|
|
isset($page['page_banner']) ?
|
|
|
|
$page['page_banner'] : $conf['page_banner'],
|
2006-03-09 02:57:13 +01:00
|
|
|
|
- new : HTML BODY identifier to let CSS stylesheets manage specific
behaviour.
- deletion : admin/search useless
- improvement : in admin/user_list, special behaviour for true/false fields
(expand, show_comments)
- new : gallery_title and gallery_description are displayed at the top of
each page.
- improvement : simplification in HTML for categories menu.
- improvement : standardization of presentation in all public pages
(identification, registration, search, profile, notification, comments,
etc.)
(not in ChangeLog, below this line)
- add forgotten notification.php (should have been added in a previous
commit)
- [template cclear] deletion of useless class .bouton
- [template cclear] for test purpose, new presentation of register page
(using FORM.filter)
- [template cclear] adaptation of admin/group_list from template default
- [template cclear] deletion of obsolete admin/infos_images
- [template cclear] deletion of obsolete admin/search_username
- [template cclear] new icon register.png
git-svn-id: http://piwigo.org/svn/trunk@850 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-26 00:43:47 +02:00
|
|
|
'BODY_ID' =>
|
|
|
|
isset($page['body_id']) ?
|
|
|
|
$page['body_id'] : '',
|
2006-03-09 02:57:13 +01:00
|
|
|
|
2004-03-31 22:43:09 +02:00
|
|
|
'CONTENT_ENCODING' => $lang_info['charset'],
|
2006-04-04 02:35:12 +02:00
|
|
|
'PAGE_TITLE' => strip_tags($title),
|
2004-03-31 22:43:09 +02:00
|
|
|
'LANG'=>$lang_info['code'],
|
|
|
|
'DIR'=>$lang_info['direction'],
|
2006-03-09 02:57:13 +01:00
|
|
|
|
2006-10-26 05:35:20 +02:00
|
|
|
'TAG_INPUT_ENABLED' =>
|
2006-07-28 16:07:57 +02:00
|
|
|
((is_adviser()) ? 'disabled onclick="return false;"' : '')
|
2004-03-31 22:43:09 +02:00
|
|
|
));
|
2004-02-07 12:50:26 +01:00
|
|
|
|
2006-10-26 05:35:20 +02:00
|
|
|
// refresh
|
|
|
|
if ( isset( $refresh ) and intval($refresh) >= 0
|
2006-07-28 16:07:57 +02:00
|
|
|
and isset( $url_link ) and isset( $redirect_msg ) )
|
2006-10-26 05:35:20 +02:00
|
|
|
{
|
|
|
|
$template->assign_vars(
|
|
|
|
array(
|
|
|
|
'U_REDIRECT_MSG' => $redirect_msg,
|
|
|
|
'REFRESH_TIME' => $refresh,
|
|
|
|
'U_REFRESH' => $url_link
|
|
|
|
));
|
|
|
|
$template->assign_block_vars('refresh', array());
|
|
|
|
}
|
2006-07-28 16:07:57 +02:00
|
|
|
|
2006-11-01 06:54:35 +01:00
|
|
|
trigger_action('loc_end_page_header');
|
|
|
|
|
2006-04-29 12:29:32 +02:00
|
|
|
header('Content-Type: text/html; charset='.$lang_info['charset']);
|
2005-01-13 11:18:49 +01:00
|
|
|
$template->parse('header');
|
2004-02-12 00:20:38 +01:00
|
|
|
?>
|