die; } if (isset($_GET["popup"])) { popup(); exit; } if (isset($_GET["SimpleShareSearch"])) { SimpleShareSearch(); exit; } if (isset($_GET["SimpleShareAddCompForm"])) { SimpleShareAddCompForm(); exit; } if (isset($_GET["computername_add"])) { SimpleShareAddComputerLDAP(); exit; } if (isset($_GET["SharedList"])) { SharedList(); exit; } if (isset($_GET["add-uid"])) { SimpleShareAddCompToPath(); exit; } if (isset($_GET["del-uid"])) { SimpleShareDelCompToPath(); exit; } js();
include_once('ressources/class.ldap.inc'); include_once('ressources/class.users.menus.inc'); include_once('ressources/class.ini.inc'); include_once('ressources/class.samba.inc'); include_once('ressources/class.user.inc'); include_once('ressources/class.computers.inc'); include_once('ressources/class.pdns.inc'); if(!CheckSambaRights()){die();} if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["SimpleShareSearch"])){SimpleShareSearch();exit;} if(isset($_GET["SimpleShareAddCompForm"])){SimpleShareAddCompForm();exit;} if(isset($_GET["computername_add"])){SimpleShareAddComputerLDAP();exit;} if(isset($_GET["SharedList"])){SharedList();exit;} if(isset($_GET["add-uid"])){SimpleShareAddCompToPath();exit;} if(isset($_GET["del-uid"])){SimpleShareDelCompToPath();exit;} js(); function js(){ $tpl=new templates(); $simple_share=$tpl->_ENGINE_parse_body("{simple_share}"); $page=CurrentPageName(); $html=" YahooWin2('500','$page?popup=yes&path={$_GET["path"]}','$simple_share'); function x_SimpleSearchAddComputerPath(obj) { var tempvalue=obj.responseText;