mirror of
https://github.com/DzzXH/DzzOffice.git
synced 2026-04-07 19:15:13 +08:00
32 lines
1.5 KiB
PHP
32 lines
1.5 KiB
PHP
|
|
<?php
|
|||
|
|
if (!defined('IN_DZZ')) {
|
|||
|
|
exit('Access Denied');
|
|||
|
|
}
|
|||
|
|
include libfile('function/filerouterule');
|
|||
|
|
$savefile = isset($_GET['savefile']) ? intval($_GET['savefile']) : 0;//是否直接保存文件
|
|||
|
|
$callback = isset($_GET['callback']) ? $_GET['callback'] : 'callback_selectposition';//回调函数名称
|
|||
|
|
$allowcreate = isset($_GET['allowcreate']) ? intval($_GET['allowcreate']):0;//是否允许新建文件夹
|
|||
|
|
$rids = isset($_GET['rids']) ? trim($_GET['rids']) : '';//文件id(需用dzzencode加密)
|
|||
|
|
$selhome = isset($_GET['selhome']) ? $_GET['selhome']:0;//展示网盘0不展示
|
|||
|
|
$selorg = isset($_GET['selorg']) ? $_GET['selorg']:0;//展示机构0不展示
|
|||
|
|
$selgroup = isset($_GET['selgroup']) ? $_GET['selgroup']:0;//展示群组0不展示
|
|||
|
|
$range = isset($_GET['range']) ? $_GET['range']:0;//是否限制展示0不限定
|
|||
|
|
//默认选中,支持路径如:我的网盘/xxx,群组xxx/xxx,群组或机构|xxx,群组或机构|xxx/新建文件夹
|
|||
|
|
$defaultselect = isset($_GET['defaultsel']) ? trim($_GET['defaultsel']):'';
|
|||
|
|
$gets = array(
|
|||
|
|
'allowcreate' => $allowcreate,
|
|||
|
|
'nosearch' => 1,
|
|||
|
|
'inwindow' => 1,
|
|||
|
|
'ctrlid' => isset($_GET['selposition']) ? trim($_GET['selposition']) : 'selposition',
|
|||
|
|
'selhome'=>$selhome,
|
|||
|
|
'selorg'=>$selorg,
|
|||
|
|
'selgroup'=>$selgroup,
|
|||
|
|
'range'=>$range,
|
|||
|
|
'defaultsel'=>$defaultselect,
|
|||
|
|
'savefile'=>$savefile
|
|||
|
|
);
|
|||
|
|
$theurl = MOD_URL . "&op=positionlist&callback=".$callback.'&'. url_implode($gets);
|
|||
|
|
include template('selposition');
|
|||
|
|
exit();
|
|||
|
|
|