Exemplo n.º 1
0
    exit;
}
if (isset($_GET["form"])) {
    switch_forms();
    exit;
}
if (isset($_GET["RoundCubeHTTPEngineEnabled"])) {
    main_settings_edit();
    exit;
}
if (isset($_GET["main"])) {
    main_switch();
    exit;
}
if (isset($_GET["debug_level"])) {
    main_save_roundcube_settings();
    exit;
}
if (isset($_GET["script"])) {
    ajax_js();
    exit;
}
if (isset($_GET["ajax-pop"])) {
    ajax_pop();
    exit;
}
if (isset($_GET["roundcubestatus"])) {
    echo main_status();
    exit;
}
if (isset($_GET["roundcube-pluginv3-list"])) {
Exemplo n.º 2
0
	include_once('ressources/class.artica.inc');
	include_once('ressources/class.ini.inc');

	
	$user=new usersMenus();
	if($user->AsPostfixAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	if(isset($_GET["form"])){switch_forms();exit;}
	if(isset($_GET["RoundCubeHTTPEngineEnabled"])){main_settings_edit();exit;}
	if(isset($_GET["nmap_delete_ip"])){main_delete_network();exit;}
	if(isset($_GET["main"])){main_switch();exit;}
	if(isset($_GET["AddNmapNetwork"])){main_add_nework();exit;}
	if(isset($_GET["debug_level"])){main_save_roundcube_settings();exit;}
	if(isset($_GET["script"])){ajax_js();exit;}
	if(isset($_GET["ajax-pop"])){ajax_pop();exit;}
	if(isset($_GET["roundcubestatus"])){echo main_status();exit;}
	if(isset($_GET["roundcube-pluginv3-list"])){echo pluginv3_table();exit;}
	if(isset($_GET["enable-plugin"])){pluginv3_enable();exit;}
	if(isset($_GET["form1"])){form1_js();exit;}
	if(isset($_GET["form2"])){form2_js();exit;}
	if(isset($_GET["plugins"])){formplugins_js();exit;}
	if(isset($_GET["logslogs"])){echo main_rlogs_parse();exit;}
	
	if(isset($_GET["plugins-sieve"])){plugins_sieve_js();exit;}
	if(isset($_GET["plugin-sieve-popup"])){plugins_sieve_popup();exit;}
	if(isset($_GET["RoundCubeEnableSieve"])){plugins_sieve_save();exit;}
	
	if(isset($_GET["plugins-calendar"])){plugins_calendar_js();exit;}