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:
12
profile.php
12
profile.php
@@ -68,7 +68,7 @@ SELECT '.implode(',', $fields).'
|
||||
|
||||
$title= l10n('Your Gallery Customization');
|
||||
$page['body_id'] = 'theProfilePage';
|
||||
include(PHPWG_ROOT_PATH.'include/page_header.php');
|
||||
$template->set_filename('profile', 'profile.tpl');
|
||||
|
||||
load_profile_in_template(
|
||||
get_root_url().'profile.php', // action
|
||||
@@ -82,7 +82,15 @@ SELECT '.implode(',', $fields).'
|
||||
{
|
||||
$template->assign('errors', $errors);
|
||||
}
|
||||
$template->set_filename('profile', 'profile.tpl');
|
||||
|
||||
// include menubar
|
||||
$themeconf = $template->get_template_vars('themeconf');
|
||||
if (!isset($themeconf['Exclude']) OR !in_array('theProfilePage', $themeconf['Exclude']))
|
||||
{
|
||||
include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
|
||||
}
|
||||
|
||||
include(PHPWG_ROOT_PATH.'include/page_header.php');
|
||||
trigger_action('loc_end_profile');
|
||||
$template->pparse('profile');
|
||||
include(PHPWG_ROOT_PATH.'include/page_tail.php');
|
||||
|
||||
Reference in New Issue
Block a user