From 8d50ba3facbfe3aedb0f87f47dfbd3b902cd7f76 Mon Sep 17 00:00:00 2001 From: vdigital Date: Wed, 25 Jul 2007 10:48:28 +0000 Subject: Revised to repsect HTML conformity and to remove a minor bug on template. Only the real administrator template is used for the Controller page. git-svn-id: http://piwigo.org/svn/trunk@2073 68402e56-0260-453c-a942-63ccdbb3a9ee --- plugins/admin_multi_view/controller.php | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/plugins/admin_multi_view/controller.php b/plugins/admin_multi_view/controller.php index 32ad18b88..3b694c7e2 100644 --- a/plugins/admin_multi_view/controller.php +++ b/plugins/admin_multi_view/controller.php @@ -11,12 +11,17 @@ if (!is_admin() or !function_exists('multiview_user_init') ) pwg_unset_session_var( 'multiview_show_queries' ); pwg_unset_session_var( 'multiview_debug_l10n' ); ?> + + +'; foreach (get_pwg_themes() as $pwg_template) { $selected = $pwg_template == pwg_get_session_var( 'multiview_theme', $user['template'].'/'.$user['theme'] ) ? 'selected="selected"' : ''; + $my_template = $selected == '' ? $my_template : $user['template'].'/theme/'.$user['theme']; $themes_html .= '