예제 #1
0
    exit;
}
if (isset($_GET["params"])) {
    security_tabs();
    exit;
}
if (isset($_GET["params2"])) {
    params2();
    exit;
}
if (isset($_GET["enable_ldap_authentication"])) {
    params_enable_ldap_authentication();
    exit;
}
if (isset($_POST["AddDefaultCharset"])) {
    OthersValuesSave();
    exit;
}
if (isset($_GET["uid-check"])) {
    uid_check();
    exit;
}
if (isset($_GET["groupwares"])) {
    groupwares_index();
    exit;
}
if (isset($_POST["FreeWebToGroupWare"])) {
    groupwares_save();
    exit;
}
if (isset($_POST["FreeWebsRebuildvHosts"])) {
예제 #2
0
	include_once('ressources/class.apache.inc');
	include_once('ressources/class.freeweb.inc');
	include_once('ressources/class.user.inc');
	$user=new usersMenus();
	if($user->AsWebMaster==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["popup-tabs"])){popup_tabs();exit;}
	if(isset($_GET["params"])){params();exit;}
	if(isset($_GET["params2"])){params2();exit;}
	if(isset($_GET["enable_ldap_authentication"])){params_enable_ldap_authentication();exit;}
	if(isset($_GET["AddDefaultCharset"])){OthersValuesSave();exit;}
	
	if(isset($_GET["groupwares"])){groupwares_index();}
	if(isset($_POST["FreeWebToGroupWare"])){groupwares_save();exit;}
	
	
	if(isset($_GET["authip-add"])){authip_add();exit;}
	if(isset($_GET["authip-del"])){authip_del();exit;}
	if(isset($_GET["authip-list"])){authip_list();exit;}
	if(isset($_GET["LimitByIp"])){authip_enable();exit;}
	
	if(isset($_GET["loops-list"])){loops_list();exit;}
	
	
	if(isset($_GET["rewrite"])){rewrite_js();exit;}
	if(isset($_GET["rewrite-tabs"])){rewrite_tabs();exit;}