Skip to content

Commit 22680a9

Browse files
committed
更新插件
1 parent 3de18f7 commit 22680a9

564 files changed

Lines changed: 124277 additions & 4264 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎ajax.php‎

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,9 @@
129129
$data = array();
130130
foreach($db->select('tb_member_app', '*', array(
131131
'tbid' => explode(',', $appid['dock']),
132-
'ORDER' => array('tbid', explode(',', $appid['dock']))
132+
'ORDER' => array(
133+
'tbid' => explode(',', $appid['dock'])
134+
)
133135
)) as $v){
134136
$tmp = array();
135137
if($v['type'] == 'folder'){
@@ -152,7 +154,9 @@
152154
$data = array();
153155
foreach($db->select('tb_member_app', '*', array(
154156
'tbid' => explode(',', $appid['desk'.$i]),
155-
'ORDER' => array('tbid', explode(',', $appid['desk'.$i]))
157+
'ORDER' => array(
158+
'tbid' => explode(',', $appid['desk'.$i])
159+
)
156160
)) as $v){
157161
$tmp = array();
158162
if($v['type'] == 'folder'){
@@ -205,7 +209,9 @@
205209
$data = array();
206210
foreach($db->select('tb_app', '*', array(
207211
'tbid' => explode(',', $appid['dock']),
208-
'ORDER' => array('tbid', explode(',', $appid['dock']))
212+
'ORDER' => array(
213+
'tbid' => explode(',', $appid['dock'])
214+
)
209215
)) as $v){
210216
$tmp = array();
211217
$tmp['type'] = $v['type'];
@@ -222,7 +228,9 @@
222228
$data = array();
223229
foreach($db->select('tb_app', '*', array(
224230
'tbid' => explode(',', $appid['desk'.$i]),
225-
'ORDER' => array('tbid', explode(',', $appid['desk'.$i]))
231+
'ORDER' => array(
232+
'tbid' => explode(',', $appid['desk'.$i])
233+
)
226234
)) as $v){
227235
$tmp = array();
228236
$tmp['type'] = $v['type'];

‎inc/config.php‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,24 @@
3636

3737
//文件上传类型
3838
$uploadFileType = array(
39-
'rar' => 'img/ui/file_zip.png',
40-
'zip' => 'img/ui/file_zip.png',
41-
'7z' => 'img/ui/file_zip.png',
42-
'jpeg' => 'img/ui/file_image.png',
43-
'jpg' => 'img/ui/file_image.png',
44-
'gif' => 'img/ui/file_image.png',
45-
'bmp' => 'img/ui/file_image.png',
46-
'png' => 'img/ui/file_image.png',
47-
'doc' => 'img/ui/file_word.png',
48-
'docx' => 'img/ui/file_word.png',
49-
'xls' => 'img/ui/file_excel.png',
50-
'xlsx' => 'img/ui/file_excel.png',
51-
'ppt' => 'img/ui/file_ppt.png',
52-
'pptx' => 'img/ui/file_ppt.png',
53-
'pdf' => 'img/ui/file_pdf.png',
54-
'wma' => 'img/ui/file_music.png',
55-
'mp3' => 'img/ui/file_music.png',
56-
'txt' => 'img/ui/file_txt.png'
39+
'rar' => 'static/img/ui/file_zip.png',
40+
'zip' => 'static/img/ui/file_zip.png',
41+
'7z' => 'static/img/ui/file_zip.png',
42+
'jpeg' => 'static/img/ui/file_image.png',
43+
'jpg' => 'static/img/ui/file_image.png',
44+
'gif' => 'static/img/ui/file_image.png',
45+
'bmp' => 'static/img/ui/file_image.png',
46+
'png' => 'static/img/ui/file_image.png',
47+
'doc' => 'static/img/ui/file_word.png',
48+
'docx' => 'static/img/ui/file_word.png',
49+
'xls' => 'static/img/ui/file_excel.png',
50+
'xlsx' => 'static/img/ui/file_excel.png',
51+
'ppt' => 'static/img/ui/file_ppt.png',
52+
'pptx' => 'static/img/ui/file_ppt.png',
53+
'pdf' => 'static/img/ui/file_pdf.png',
54+
'wma' => 'static/img/ui/file_music.png',
55+
'mp3' => 'static/img/ui/file_music.png',
56+
'txt' => 'static/img/ui/file_txt.png'
5757
);
5858
//单个文件上传大小,单位MB
5959
$uploadFileSingleSize = 2;

0 commit comments

Comments
 (0)