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__);
$my_template = '';
$themes_html='Theme: ';
$lang_html='Language: ';
$show_queries_html='';
if (!$conf['show_queries'])
{
$show_queries_html = '
';
if ( !pwg_get_session_var( 'multiview_show_queries', 0 ) )
$show_queries_html.='Show SQL queries';
else
$show_queries_html.='Hide SQL queries';
}
$debug_l10n_html='';
if (!$conf['debug_l10n'])
{
$debug_l10n_html = '
';
if ( !pwg_get_session_var( 'multiview_debug_l10n', 0 ) )
$debug_l10n_html.='Debug language';
else
$debug_l10n_html.='Revert debug language';
}
$debug_template_html='';
if (!$conf['debug_template'])
{
$debug_template_html = '
';
if ( !pwg_get_session_var( 'multiview_debug_template', 0 ) )
$debug_template_html.='Debug template';
else
$debug_template_html.='Revert debug template';
}
?>