From 6a6cf649591957f0589aba62666fa842079ede72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= <93301500+xushubieli@users.noreply.github.com> Date: Thu, 15 Dec 2022 11:31:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=99=E8=AF=AF=E6=8F=90=E7=A4=BA=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/file_class.php | 5 ++--- src/admin/media_edit.php | 2 +- src/admin/templets/index_body.htm | 2 +- src/system/helpers/extend.helper.php | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/admin/file_class.php b/src/admin/file_class.php index 20fe8897..7953faa9 100644 --- a/src/admin/file_class.php +++ b/src/admin/file_class.php @@ -157,12 +157,11 @@ class FileManagement if ($this->allowDeleteDir == 1) { $this->RmDirFiles($filename); } else { - //完善用户体验,by:sumic - ShowMsg("系统禁止删除".$t."", "file_manage_main.php?activepath=".$this->activeDir); + ShowMsg("系统禁止删除".$t."", "file_manage_main.php?activepath=".$this->activeDir); exit; } } - ShowMsg("成功删除一个".$t."", "file_manage_main.php?activepath=".$this->activeDir); + ShowMsg("成功删除一个".$t."", "file_manage_main.php?activepath=".$this->activeDir); return 0; } } diff --git a/src/admin/media_edit.php b/src/admin/media_edit.php index 3a05db8f..7e93921e 100644 --- a/src/admin/media_edit.php +++ b/src/admin/media_edit.php @@ -160,7 +160,7 @@ else if ($dopost == 'save') { //读取文档信息 $myrow = $dsql->GetOne("SELECT * FROM `#@__uploads` WHERE aid='".$aid."'"); if (!is_array($myrow)) { - ShowMsg('错误,找不到此编号的文档', 'javascript:;'); + ShowMsg('找不到此编号文档', 'javascript:;'); exit(); } include DedeInclude('templets/media_edit.htm'); diff --git a/src/admin/templets/index_body.htm b/src/admin/templets/index_body.htm index 3f49ee34..07d215e6 100644 --- a/src/admin/templets/index_body.htm +++ b/src/admin/templets/index_body.htm @@ -33,7 +33,7 @@ 浏览次数(PV) 独立访客(UV) 独立地址(IP) - 浏览次数(VV) + 访问次数(VV) 今日 diff --git a/src/system/helpers/extend.helper.php b/src/system/helpers/extend.helper.php index 7ed33eb0..c515958f 100755 --- a/src/system/helpers/extend.helper.php +++ b/src/system/helpers/extend.helper.php @@ -29,7 +29,7 @@ if (!function_exists('ParCv')) { if (!function_exists('ParamError')) { function ParamError() { - ShowMsg('您输入的参数有误', 'javascript:;'); + ShowMsg('您输入的参数有误', '-1'); exit(); } }