コード例 #1
0
    json_root();
    exit;
}
if (isset($_GET["TreeRightInfos"])) {
    TreeRightInfos();
    exit;
}
if (isset($_GET["rmdirp"])) {
    rmdirp();
    exit;
}
if (isset($_GET["null"])) {
    exit;
}
if (isset($_GET["hidden-add"])) {
    hidden_disk_js();
    exit;
}
if (isset($_GET["hidden-disk-popup"])) {
    hidden_disk_popup();
    exit;
}
if (isset($_GET["add-disk-save"])) {
    hidden_disk_save();
    exit;
}
if (isset($_GET["del-disk-save"])) {
    hidden_disk_delete();
    exit;
}
$page = CurrentPageName();
コード例 #2
0
ファイル: SambaBrowse.php プロジェクト: rsd/artica-1.5
	$users=new usersMenus();
	if(!IsPriv()){
		$tpl=new templates();
		$error=$tpl->javascript_parse_text("{ERROR_NO_PRIVS}");
		echo "alert('$error')";
		die();
	}
	
	if(isset($_GET["jdisk"])){echo jdisk();exit;}
	if(isset($_GET["main_disks_discover"])){echo main_disks_discover();exit;}
	if(isset($_GET["browsedisk_start"])){echo browsedisk_start();exit;}
	if(isset($_POST["dir"])){json_root();exit;}
	if(isset($_GET["TreeRightInfos"])){TreeRightInfos();exit;}
	if(isset($_GET["rmdirp"])){rmdirp();exit;}
	if(isset($_GET["null"])){exit;}
	if(isset($_GET["hidden-add"])){hidden_disk_js();exit;}
	if(isset($_GET["hidden-disk-popup"])){hidden_disk_popup();exit;}
	if(isset($_GET["add-disk-save"])){hidden_disk_save();exit;}
	if(isset($_GET["del-disk-save"])){hidden_disk_delete();exit;}
	$page=CurrentPageName();
	$tpl=new templates();

	$start="Browse();";
	if(isset($_GET["in-front-ajax"])){$start="Browse2();";}	

	$title=$tpl->_ENGINE_parse_body("{browse}"."... {folders}");
	
$html="
var x_DeleteHiddenDisk= function (obj) {
	var results=obj.responseText;
	if(results.length>0){alert(results);}