From c55dbbc995e152af3f2c88662101b0643d2e171a Mon Sep 17 00:00:00 2001 From: vdigital Date: Fri, 23 May 2008 22:38:14 +0000 Subject: Removed file/folder git-svn-id: http://piwigo.org/svn/trunk@2358 68402e56-0260-453c-a942-63ccdbb3a9ee --- BSF/plugins/admin_multi_view/controller.php | 221 ---------------------------- 1 file changed, 221 deletions(-) delete mode 100644 BSF/plugins/admin_multi_view/controller.php (limited to 'BSF/plugins/admin_multi_view/controller.php') diff --git a/BSF/plugins/admin_multi_view/controller.php b/BSF/plugins/admin_multi_view/controller.php deleted file mode 100644 index 861df63a7..000000000 --- a/BSF/plugins/admin_multi_view/controller.php +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - 0 ) - pwg_set_session_var( 'multiview_show_queries', 1 ); - else - pwg_unset_session_var( 'multiview_show_queries' ); - $refresh_main = true; -} - -if ( isset($_GET['debug_l10n']) ) -{ - if ( $_GET['debug_l10n']>0 ) - pwg_set_session_var( 'multiview_debug_l10n', 1 ); - else - pwg_unset_session_var( 'multiview_debug_l10n' ); - $refresh_main = true; -} - - -if ( isset($_GET['debug_template']) ) -{ - if ( $_GET['debug_template']>0 ) - pwg_set_session_var( 'multiview_debug_template', 1 ); - else - pwg_unset_session_var( 'multiview_debug_template' ); - $refresh_main = true; -} - -$my_url = get_root_url().'plugins/'.basename(dirname(__FILE__)).'/'.basename(__FILE__); - -// +-----------------------------------------------------------------------+ -// | users | -$query = ' -SELECT '.$conf['user_fields']['id'].' AS id,'.$conf['user_fields']['username'].' AS username -FROM '.USERS_TABLE; -if (is_adviser()) -{ - $query .=' - WHERE '.$conf['user_fields']['id']. ' IN ('.$user['id'].','.$conf['guest_id'].') -'; -} -$query .=' - ORDER BY CONVERT('.$conf['user_fields']['username'].',CHAR) -;'; -$user_map = simple_hash_from_query($query, 'id', 'username'); - -$users_html = ''; - - -// +-----------------------------------------------------------------------+ -// | templates | -$my_template = ''; -$themes_html=''; - -// +-----------------------------------------------------------------------+ -// | language | -$lang_html=''; - -// +-----------------------------------------------------------------------+ -// | show queries | -$show_queries_html=''; -if (!$conf['show_queries']) -{ - if ( !pwg_get_session_var( 'multiview_show_queries', 0 ) ) - $show_queries_html.='Show SQL queries'; - else - $show_queries_html.='Hide SQL queries'; -} - -// +-----------------------------------------------------------------------+ -// | debug language | -$debug_l10n_html=''; -if (!$conf['debug_l10n']) -{ - if ( !pwg_get_session_var( 'multiview_debug_l10n', 0 ) ) - $debug_l10n_html.='Debug language'; - else - $debug_l10n_html.='Revert debug language'; -} - -// +-----------------------------------------------------------------------+ -// | debug template | -$debug_template_html=''; -if (!$conf['debug_template']) -{ - if ( !pwg_get_session_var( 'multiview_debug_template', 0 ) ) - $debug_template_html.='Debug template'; - else - $debug_template_html.='Revert debug template'; -} - -?> - - - -Controller -'; -} -?> - - - -
- - - - - - - - -
User
Theme
Lang
-\n", array($show_queries_html, $debug_l10n_html, $debug_template_html) ); ?> - - -
- - -- cgit v1.2.3