diff --git a/route/static/app/files.js b/route/static/app/files.js index 4c8dcb7ca..c4fbd9f1f 100755 --- a/route/static/app/files.js +++ b/route/static/app/files.js @@ -382,7 +382,7 @@ function getFiles(Path) { } } if(displayZip != -1){ - bodyZip = ""+lan.files.file_menu_unzip+" | "; + bodyZip = "解压 | "; } if(isText(fmp[0])){ @@ -421,7 +421,7 @@ function getFiles(Path) { "; } } - var dirInfo = '('+lan.files.get_size.replace('{1}',rdata.DIR.length+'').replace('{2}',rdata.DIR.length+'')+''+(toSize(totalSize))+'获取)'; + var dirInfo = '(共{1}个目录与{2}个文件,大小:'.replace('{1}',rdata.DIR.length+'').replace('{2}',rdata.DIR.length+'')+''+(toSize(totalSize))+'获取)'; $("#DirInfo").html(dirInfo); if(getCookie('rank')=='a'){ var tablehtml = '\ @@ -1164,7 +1164,7 @@ function Zip(dirName,submits) { } //解压目录 -function UnZip(fileName,type) { +function unZip(fileName,type) { var path = $("#DirPathPlace input").val(); if(type.length ==3){ var sfile = encodeURIComponent($("#sfile").val()); @@ -1191,7 +1191,7 @@ function UnZip(fileName,type) { shift: 5, closeBtn: 2, area: '490px', - title: lan.files.unzip_title, + title: '解压文件', content: '
' +'
' +''+lan.files.unzip_name+'
' @@ -1429,7 +1429,7 @@ function RClick(type,path,name){ options.items.push({text: lan.files.file_menu_edit, onclick: function() {onlineEditFile(0,path)}},{text: lan.files.file_menu_down, onclick: function() {GetFileBytes(path)}},{text: lan.files.file_menu_del, onclick: function() {deleteFile(path)}}); } else if(displayZip != -1){ - options.items.push({text: lan.files.file_menu_unzip, onclick: function() {UnZip(path,displayZip)}},{text: lan.files.file_menu_down, onclick: function() {GetFileBytes(path)}},{text: lan.files.file_menu_del, onclick: function() {deleteFile(path)}}); + options.items.push({text: lan.files.file_menu_unzip, onclick: function() {unZip(path,displayZip)}},{text: lan.files.file_menu_down, onclick: function() {GetFileBytes(path)}},{text: lan.files.file_menu_del, onclick: function() {deleteFile(path)}}); } else if(isImage(type)){ options.items.push({text: lan.files.file_menu_img, onclick: function() {GetImage(path)}},{text: lan.files.file_menu_down, onclick: function() {GetFileBytes(path)}},{text: lan.files.file_menu_del, onclick: function() {deleteFile(path)}}); diff --git a/route/templates/default/files.html b/route/templates/default/files.html index fcbce1af6..51ba835be 100755 --- a/route/templates/default/files.html +++ b/route/templates/default/files.html @@ -40,7 +40,7 @@
-