示例#1
0
    exit;
}
if (isset($_GET["status"])) {
    status();
    exit;
}
if (isset($_GET["autofs-status"])) {
    status_service();
    exit;
}
if (isset($_GET["EnableAutoFSDebug"])) {
    EnableAutoFSDebugSave();
    exit;
}
if (isset($_GET["mounts"])) {
    mounts_list();
    exit;
}
if (isset($_GET["form-add-js"])) {
    form_add_js();
    exit;
}
if (isset($_GET["form-add-popup"])) {
    form_add_popup();
    exit;
}
if (isset($_GET["form-add-details"])) {
    form_add_details();
    exit;
}
if (isset($_GET["form-add-usblist"])) {
示例#2
0
文件: autofs.php 项目: rsd/artica-1.5
	$users=new usersMenus();
	if((!$users->AsSambaAdministrator) OR (!$users->AsSystemAdministrator)){
		$tpl=new templates();
		$error=$tpl->_ENGINE_parse_body("{ERROR_NO_PRIVS}");
		echo "alert('$error')";
		die();
	}
}

if(isset($_GET["tabs"])){tabs();exit;}
if(isset($_GET["status"])){status();exit;}
if(isset($_GET["autofs-status"])){status_service();exit;}
if(isset($_GET["EnableAutoFSDebug"])){EnableAutoFSDebugSave();exit;}


if(isset($_GET["mounts"])){mounts_list();exit;}
if(isset($_GET["form-add-js"])){form_add_js();exit;}
if(isset($_GET["form-add-popup"])){form_add_popup();exit;}
if(isset($_GET["form-add-details"])){form_add_details();exit;}
if(isset($_GET["form-add-usblist"])){usblist();exit;}

if(isset($_GET["FTP_SERVER"])){PROTO_FTP_ADD();exit;}
if(isset($_GET["CIFS_SERVER"])){PROTO_CIFS_ADD();exit;}
if(isset($_GET["NFS_SERVER"])){PROTO_NFS_ADD();exit;}
if(isset($_GET["HTTP_SERVER"])){PROTO_WEBDAVFS_ADD();exit;}



if(isset($_GET["USB_UUID"])){PROTO_USB_ADD();exit;}
if(isset($_GET["AutoFSDeleteDN"])){mounts_delete();exit;}
if(isset($_GET["logs"])){mounts_events();exit;}