exit; } if (isset($_GET["net-ads-infos"])) { ads_infos(); exit; } if (isset($_GET["winbindd"])) { winbindd(); exit; } if (isset($_GET["addldap"])) { ad_ldap(); exit; } if (isset($_GET["netadsleave-icon"])) { netadsleave_icon(); exit; } if (isset($_GET["netads-leave-perform"])) { netadsleave_perform(); exit; } if (isset($_GET["EnableManageUsersTroughActiveDirectory"])) { saveAdStrict(); exit; } if (isset($_POST["EnableParamsInPhpldapAdmin"])) { EnableParamsInPhpldapAdminSave(); exit; } if (isset($_GET["avoptions"])) {
include_once('ressources/class.ldap.inc'); include_once('ressources/class.users.menus.inc'); $users=new usersMenus(); if(!$users->AsSystemAdministrator){ $tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["ADSERVER"])){save();exit;} if(isset($_GET["net-ads-infos"])){ads_infos();exit;} if(isset($_GET["winbindd"])){winbindd();exit;} if(isset($_GET["addldap"])){ad_ldap();exit;} if(isset($_GET["netadsleave-icon"])){netadsleave_icon();exit;} if(isset($_GET["netads-leave-perform"])){netadsleave_perform();exit;} if(isset($_GET["EnableManageUsersTroughActiveDirectory"])){saveAdStrict();exit;} js(); function js(){ $tpl=new templates(); $title=$tpl->_ENGINE_parse_body("{APP_AD_CONNECT}"); $page=CurrentPageName(); $html=" function AdConnectPopup(){ YahooWin3('650','$page?popup=yes','$title') } AdConnectPopup();";