From 6ccdf7bc34f9fb1e5d1ba7ee028f5734af91b3c1 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 16 Feb 2019 20:51:47 +0800 Subject: [PATCH] Update files.js --- route/static/app/files.js | 50 ++++++++------------------------------- 1 file changed, 10 insertions(+), 40 deletions(-) diff --git a/route/static/app/files.js b/route/static/app/files.js index c3b1322a1..f83a41c3a 100755 --- a/route/static/app/files.js +++ b/route/static/app/files.js @@ -158,71 +158,41 @@ function recycleBin(type){ } $("#RecycleBody").html(body); return; - case 6: - for(var i=0;i 20) shortwebname = shortwebname.substring(0, 20) + "..."; - if(shortpath.length > 20) shortpath = shortpath.substring(0, 20) + "..."; - body += '\ - '+shortwebname.replace('BTDB_','')+'\ - mysql://'+shortpath.replace('BTDB_','')+'\ - -\ - '+getLocalTime(rdata.files[i].time)+'\ - \ - '+lan.files.recycle_bin_re+'\ - | '+lan.files.recycle_bin_del+'\ - \ - ' - } - } - $("#RecycleBody").html(body); - return; - break; } var tablehtml = '
\
\ - '+lan.files.recycle_bin_on+'\ + 文件回收站\
\ \ \
\ - '+lan.files.recycle_bin_on_db+'\ -
\ - \ - \ -
\
\ - '+lan.files.recycle_bin_ps+'\ - \ + 注意:关闭回收站,删除的文件无法恢复!\ + \
\
\
\

全部

\

文件夹

\ -

'+lan.files.recycle_bin_type3+'

\ -

'+lan.files.recycle_bin_type4+'

\ -

'+lan.files.recycle_bin_type5+'

\ -

'+lan.files.recycle_bin_type6+'

\ +

文件

\ +

图片

\ +

文档

\
\
\
\ \ \ \ - \ - \ - \ - \ - \ + \ + \ + \ \ \ '+body+'\
'+lan.files.recycle_bin_th1+''+lan.files.recycle_bin_th2+''+lan.files.recycle_bin_th3+''+lan.files.recycle_bin_th4+''+lan.files.recycle_bin_th5+'文件名原位置大小删除时间操作
'; - if(type == "open"){ + if(type == 'open'){ layer.open({ type: 1, shift: 5,