Beispiel #1
0
	if(isset($_GET["debug-page"])){ini_set('display_errors', 1);ini_set('error_reporting', E_ALL);$GLOBALS["VERBOSE"]=true;}
	
	if(!CheckSambaRights()){
		$tpl=new templates();
		$ERROR_NO_PRIVS=$tpl->_ENGINE_parse_body("{ERROR_NO_PRIVS}");
		echo "<H1>$ERROR_NO_PRIVS</H1>";die();
	}

	if(isset($_POST["folderprop-options"])){folderprop_options_save();exit;}
	if(isset($_GET["time-capsule-status"])){status();exit;}
	if(isset($_GET["time-capsule-shared"])){shared_popup();exit;}
	if(isset($_GET["shared-list"])){shared_list();exit;}
	if(isset($_POST["AddTreeFolders"])){shared_add();exit;}
	if(isset($_POST["shared-delete"])){shared_delete();exit;}
	if(isset($_GET["folderprop-js"])){folderprop_js();exit;}
	if(isset($_GET["folderprop-popup"])){folderprop_popup();exit;}
	if(isset($_GET["folderprop-members"])){folderprop_members();exit;}
	if(isset($_GET["folderprop-members-list"])){folderprop_members_list();exit;}
	if(isset($_GET["AddUservalue"])){folderprop_addmember_js();exit;}
	if(isset($_POST["AddUservalue"])){folderprop_addmember();exit;}
	if(isset($_POST["DeleteUservalue"])){folderprop_delmember();exit;}
	
	if(isset($_GET["folderprop-options"])){folderprop_options();exit;}
	
	
	
page();


function folderprop_js(){
	$page=CurrentPageName();
Beispiel #2
0
    exit;
}
if (isset($_POST["AddTreeFolders"])) {
    shared_add();
    exit;
}
if (isset($_POST["shared-delete"])) {
    shared_delete();
    exit;
}
if (isset($_GET["folderprop-js"])) {
    folderprop_js();
    exit;
}
if (isset($_GET["folderprop-popup"])) {
    folderprop_popup();
    exit;
}
if (isset($_GET["folderprop-members"])) {
    folderprop_members();
    exit;
}
if (isset($_GET["folderprop-members-list"])) {
    folderprop_members_list();
    exit;
}
if (isset($_GET["AddUservalue"])) {
    folderprop_addmember_js();
    exit;
}
if (isset($_POST["AddUservalue"])) {