From 79e551fbd598910fd3bfc18b2b6857ab2c0ca585 Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 16 May 2007 05:08:46 +0000 Subject: 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/trunk@2016 68402e56-0260-453c-a942-63ccdbb3a9ee --- plugins/admin_multi_view/controller.php | 42 +++++++++++++++++++++++++++++++ plugins/admin_multi_view/is_admin.inc.php | 5 ++++ 2 files changed, 47 insertions(+) (limited to 'plugins') diff --git a/plugins/admin_multi_view/controller.php b/plugins/admin_multi_view/controller.php index ee4dec452..32ad18b88 100644 --- a/plugins/admin_multi_view/controller.php +++ b/plugins/admin_multi_view/controller.php @@ -8,6 +8,8 @@ if (!is_admin() or !function_exists('multiview_user_init') ) pwg_unset_session_var( 'multiview_as' ); pwg_unset_session_var( 'multiview_theme' ); pwg_unset_session_var( 'multiview_lang' ); + pwg_unset_session_var( 'multiview_show_queries' ); + pwg_unset_session_var( 'multiview_debug_l10n' ); ?>