Example #1
0
$usersmenus = new usersMenus();
if (!$usersmenus->AsSystemAdministrator) {
    $tpl = new templates();
    echo $tpl->_ENGINE_parse_body("alert('{ERROR_NO_PRIVS}');");
    die;
}
if (isset($_GET["tabs"])) {
    tabs();
    exit;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["popup-net"])) {
    popup_net();
    exit;
}
if (isset($_GET["popup-search"])) {
    popup_net_search();
    exit;
}
if (isset($_GET["openldap-interface-js"])) {
    popup_net_add_js();
    exit;
}
if (isset($_GET["delete-js"])) {
    popup_net_del_js();
    exit;
}
if (isset($_POST["LdapListenIPAddr-del"])) {
Example #2
0
	include_once('ressources/class.system.network.inc');
	include_once('ressources/class.os.system.inc');
	include_once('ressources/class.mysql-server.inc');
	include_once('ressources/class.mysql-multi.inc');
	
	$usersmenus=new usersMenus();
	if(!$usersmenus->AsSystemAdministrator){
		$tpl=new templates();
		echo $tpl->_ENGINE_parse_body("alert('{ERROR_NO_PRIVS}');");
		die();
	}	
	
	
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["popup-net"])){popup_net();exit;}
	if(isset($_GET["popup-search"])){popup_net_search();exit;}
	if(isset($_GET["openldap-interface-js"])){popup_net_add_js();exit;}
	if(isset($_GET["delete-js"])){popup_net_del_js();exit;}
	if(isset($_POST["LdapListenIPAddr-del"])){popup_net_del();exit;}
	
	
	if(isset($_GET["openldap-interface"])){popup_net_add();exit;}
	if(isset($_POST["LdapListenIPAddr"])){popup_net_save();exit;}
	
	
	if(isset($_GET["open-ldap-status"])){openldap_status();exit;}
	if(isset($_GET["open-ldap-parameters"])){LDAP_CONFIG();exit;}
	if(isset($_POST["LdapAllowAnonymous"])){LDAP_CONFIG_SAVE();exit;}