merge svn 2016 from trunk to branch-1_7

admin multi view improvement: allow admins to change conf['show_queries'] and conf['debug_l10n'] for their session ...

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2017 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2007-05-16 05:10:12 +00:00
parent 35858a70a0
commit 9c856a2fd0
2 changed files with 47 additions and 0 deletions

View File

@@ -17,6 +17,11 @@ if (! defined('MULTIVIEW_CONTROLLER') )
{
$user['language'] = $lang;
}
global $conf;
if (pwg_get_session_var( 'multiview_show_queries', 0 ))
$conf['show_queries'] = true;
if (pwg_get_session_var( 'multiview_debug_l10n', 0 ))
$conf['debug_l10n'] = true;
}
add_event_handler('loc_end_page_header', 'multiview_loc_end_page_header');