Ejemplo n.º 1
0
    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;
}
js();
function js()
{
    $page = CurrentPageName();
    echo "\n\t\tdocument.getElementById('BodyContent').innerHTML='<center><img src=\"img/wait_verybig.gif\"></center>';\n\t\t\$('#BodyContent').load('{$page}?tabs=yes&tabsize={$_GET["tabsize"]}');";
}
function popup_net_add_js()
{
    $tpl = new templates();
    $page = CurrentPageName();
    $add_interface = $tpl->javascript_parse_text("{add_interface}");
    header("content-type: application/x-javascript");
    $html = "YahooWin('650','{$page}?openldap-interface=yes','{$add_interface}')";
Ejemplo n.º 2
0
	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;}
	
	
	
	
js();

function js(){
	$page=CurrentPageName();
echo "
		document.getElementById('BodyContent').innerHTML='<center><img src=\"img/wait_verybig.gif\"></center>';
		$('#BodyContent').load('$page?tabs=yes&tabsize={$_GET["tabsize"]}');"	;
}
function popup_net_add_js(){
	$tpl=new templates();
	$page=CurrentPageName();