mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
merge spread_menus to the core
git-svn-id: http://piwigo.org/svn/trunk@10812 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -73,7 +73,6 @@ if (isset($_POST['login']))
|
||||
//
|
||||
$title = l10n('Identification');
|
||||
$page['body_id'] = 'theIdentificationPage';
|
||||
include(PHPWG_ROOT_PATH.'include/page_header.php');
|
||||
|
||||
$template->set_filenames( array('identification'=>'identification.tpl') );
|
||||
|
||||
@@ -97,7 +96,15 @@ if ( sizeof( $errors ) != 0 )
|
||||
$template->assign('errors', $errors);
|
||||
}
|
||||
|
||||
// include menubar
|
||||
$themeconf = $template->get_template_vars('themeconf');
|
||||
if (!isset($themeconf['Exclude']) OR !in_array('theIdentificationPage', $themeconf['Exclude']))
|
||||
{
|
||||
include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
|
||||
}
|
||||
|
||||
//----------------------------------------------------------- html code display
|
||||
include(PHPWG_ROOT_PATH.'include/page_header.php');
|
||||
$template->pparse('identification');
|
||||
include(PHPWG_ROOT_PATH.'include/page_tail.php');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user