mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-14 13:26:01 +02: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:
+8
-1
@@ -80,7 +80,6 @@ $email = !empty($_POST['mail_address'])?htmlspecialchars(stripslashes($_POST['ma
|
||||
//
|
||||
$title= l10n('Registration');
|
||||
$page['body_id'] = 'theRegisterPage';
|
||||
include(PHPWG_ROOT_PATH.'include/page_header.php');
|
||||
|
||||
$template->set_filenames( array('register'=>'register.tpl') );
|
||||
$template->assign(array(
|
||||
@@ -97,6 +96,14 @@ if (count($errors) != 0)
|
||||
$template->assign('errors', $errors);
|
||||
}
|
||||
|
||||
// include menubar
|
||||
$themeconf = $template->get_template_vars('themeconf');
|
||||
if (!isset($themeconf['Exclude']) OR !in_array('theRegisterPage', $themeconf['Exclude']))
|
||||
{
|
||||
include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
|
||||
}
|
||||
|
||||
include(PHPWG_ROOT_PATH.'include/page_header.php');
|
||||
$template->parse('register');
|
||||
include(PHPWG_ROOT_PATH.'include/page_tail.php');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user