2004-02-02 00:55:18 +00:00
|
|
|
<?php
|
2004-02-11 23:20:38 +00:00
|
|
|
// +-----------------------------------------------------------------------+
|
2004-11-06 21:12:59 +00:00
|
|
|
// | PhpWebGallery - a PHP based picture gallery |
|
|
|
|
// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
|
2006-03-16 22:58:16 +00:00
|
|
|
// | Copyright (C) 2003-2006 PhpWebGallery Team - http://phpwebgallery.net |
|
2004-02-11 23:20:38 +00:00
|
|
|
// +-----------------------------------------------------------------------+
|
2004-11-06 21:12:59 +00:00
|
|
|
// | branch : BSF (Best So Far)
|
2004-02-11 23:20:38 +00: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 01:57:13 +00:00
|
|
|
|
2004-02-02 00:55:18 +00:00
|
|
|
//
|
|
|
|
// Start output of page
|
|
|
|
//
|
2006-06-22 18:17:47 +00:00
|
|
|
$template->set_filenames(array('header'=>'header.tpl'));
|
2004-02-02 00:55:18 +00:00
|
|
|
|
2004-03-31 20:43:09 +00: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-25 22:43:47 +00:00
|
|
|
'GALLERY_TITLE' =>
|
|
|
|
isset($page['gallery_title']) ?
|
|
|
|
$page['gallery_title'] : $conf['gallery_title'],
|
2006-03-09 01:57:13 +00:00
|
|
|
|
|
|
|
'PAGE_BANNER' =>
|
|
|
|
isset($page['page_banner']) ?
|
|
|
|
$page['page_banner'] : $conf['page_banner'],
|
|
|
|
|
- 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-25 22:43:47 +00:00
|
|
|
'BODY_ID' =>
|
|
|
|
isset($page['body_id']) ?
|
|
|
|
$page['body_id'] : '',
|
2006-03-09 01:57:13 +00:00
|
|
|
|
2004-03-31 20:43:09 +00:00
|
|
|
'CONTENT_ENCODING' => $lang_info['charset'],
|
2006-04-04 00:35:12 +00:00
|
|
|
'PAGE_TITLE' => strip_tags($title),
|
2004-03-31 20:43:09 +00:00
|
|
|
'LANG'=>$lang_info['code'],
|
|
|
|
'DIR'=>$lang_info['direction'],
|
2006-03-09 01:57:13 +00:00
|
|
|
|
2006-05-07 22:52:25 +00:00
|
|
|
'TAG_INPUT_ENABLED' => ((is_adviser()) ? 'disabled onclick="return false;"' : '')
|
2004-03-31 20:43:09 +00:00
|
|
|
));
|
2004-02-07 11:50:26 +00:00
|
|
|
|
|
|
|
// refresh
|
2006-04-12 22:49:42 +00:00
|
|
|
if ( isset( $refresh ) and intval($refresh) >= 0 and isset( $url_link ) and isset( $redirect_msg ) )
|
2004-02-23 22:02:41 +00:00
|
|
|
{
|
2004-03-31 20:43:09 +00:00
|
|
|
$template->assign_vars(
|
|
|
|
array(
|
2006-04-12 22:49:42 +00:00
|
|
|
'U_REDIRECT_MSG' => $redirect_msg,
|
2004-03-31 20:43:09 +00:00
|
|
|
'REFRESH_TIME' => $refresh,
|
2006-01-15 13:45:42 +00:00
|
|
|
'U_REFRESH' => $url_link
|
2004-03-31 20:43:09 +00:00
|
|
|
));
|
2004-02-23 22:02:41 +00:00
|
|
|
$template->assign_block_vars('refresh', array());
|
|
|
|
}
|
2004-02-02 00:55:18 +00:00
|
|
|
|
2006-04-29 10:29:32 +00:00
|
|
|
header('Content-Type: text/html; charset='.$lang_info['charset']);
|
2005-01-13 10:18:49 +00:00
|
|
|
$template->parse('header');
|
2004-02-11 23:20:38 +00:00
|
|
|
?>
|