$user=new usersMenus(); if($user->AsSambaAdministrator==false){ $tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["sharedlist"])){shared_folders_list();exit;} if(isset($_GET["acldisks"])){acldisks();exit;} if(isset($_GET["acldisks-list"])){acldisks_list();exit;} if(isset($_GET["aclline"])){aclsave();exit;} if(isset($_GET["quotaline"])){quotasave();exit;} if(isset($_GET["acls-folders-list"])){aclfolders();exit;} if(isset($_GET["AclsFoldersRebuild"])){aclfolders_rebuild();exit;} if(isset($_GET["DeleteAclFolder"])){aclfolders_delete();exit;} js(); //fstablist function js(){ $tpl=new templates(); $title=$tpl->_ENGINE_parse_body("{shared_folders}","samba.index.php"); $page=CurrentPageName(); $html=" function shared_folders_start(){ YahooWin5('600','$page?popup=yes','$title'); }
exit; } if (isset($_GET["acldisks"])) { acldisks(); exit; } if (isset($_GET["aclline"])) { aclsave(); exit; } if (isset($_GET["quotaline"])) { quotasave(); exit; } if (isset($_GET["acls-folders-list"])) { aclfolders(); exit; } if (isset($_GET["AclsFoldersRebuild"])) { aclfolders_rebuild(); exit; } if (isset($_GET["DeleteAclFolder"])) { aclfolders_delete(); exit; } js(); //fstablist function js() { $tpl = new templates();