From 66fd4561cf761b586d302786a5c6e6ae07451f48 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: Fri, 28 Mar 2025 19:43:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E9=A3=8E=E6=A0=BC=EF=BC=9A?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E4=B8=8A=E7=BA=A7=E5=B8=83=E5=B1=80=E5=92=8C?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/dialog/select_images.php | 2 +- src/admin/dialog/select_media.php | 2 +- src/admin/dialog/select_soft.php | 4 ++-- src/admin/dialog/select_templets.php | 2 +- src/admin/file_manage_view.php | 16 ++++++++-------- src/admin/templets/catalog_edit.htm | 1 + src/admin/templets/file_manage_main.htm | 2 +- 7 files changed, 15 insertions(+), 14 deletions(-) diff --git a/src/admin/dialog/select_images.php b/src/admin/dialog/select_images.php index 3a465231..2393b396 100644 --- a/src/admin/dialog/select_images.php +++ b/src/admin/dialog/select_images.php @@ -111,8 +111,8 @@ if (!empty($iseditor)) { if ($activepath == "") continue; $tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); $line = "
- 返回上级 当前目录:$activepath + 返回上级
"; echo $line; } else if (is_dir("$inpath/$file")) { diff --git a/src/admin/dialog/select_media.php b/src/admin/dialog/select_media.php index 3dbc40eb..7949be99 100644 --- a/src/admin/dialog/select_media.php +++ b/src/admin/dialog/select_media.php @@ -103,8 +103,8 @@ if (!empty($noeditor)) { if ($activepath == "") continue; $tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); $line = " - 返回上级 当前目录:$activepath + 返回上级 "; echo $line; } else if (is_dir("$inpath/$file")) { diff --git a/src/admin/dialog/select_soft.php b/src/admin/dialog/select_soft.php index e4b529ad..a95550e1 100644 --- a/src/admin/dialog/select_soft.php +++ b/src/admin/dialog/select_soft.php @@ -103,9 +103,9 @@ if (!empty($noeditor)) { if ($activepath == "") continue; $tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); $line = " - 返回上级 当前目录:$activepath - \r\n"; + 返回上级 + "; echo $line; } else if (is_dir("$inpath/$file")) { if (preg_match("#^_(.*)$#i", $file)) continue; diff --git a/src/admin/dialog/select_templets.php b/src/admin/dialog/select_templets.php index a947888f..47cf7dd2 100644 --- a/src/admin/dialog/select_templets.php +++ b/src/admin/dialog/select_templets.php @@ -93,8 +93,8 @@ if (empty($comeback)) { if ($activepath == "") continue; $tmp = preg_replace("#[\/][^\/]*$#", "", $activepath); $line = " - 返回上级 当前目录:$activepath + 返回上级 \r\n"; echo $line; } else if (is_dir("$inpath/$file")) { diff --git a/src/admin/file_manage_view.php b/src/admin/file_manage_view.php index f215d048..df272442 100644 --- a/src/admin/file_manage_view.php +++ b/src/admin/file_manage_view.php @@ -26,9 +26,9 @@ if ($fmdo == "rename") { $win->AddHidden("fmdo", $fmdo); $win->AddHidden("activepath", $activepath); $win->AddHidden("filename", $filename); - $win->AddTitle("修改文件名,当前路径:$ndirstring"); - $win->AddItem("旧名称:", ""); - $win->AddItem("新名称:", ""); + $win->AddTitle("修改文件名,当前位置:".$ndirstring.""); + $win->AddItem("旧名称", ""); + $win->AddItem("新名称", ""); $winform = $win->GetWindow("ok"); $win->Display(); } @@ -42,8 +42,8 @@ else if ($fmdo == "newdir") { $win->AddHidden("fmdo", $fmdo); $win->AddHidden("activepath", $activepath); $win->AddHidden("token", make_hash()); - $win->AddTitle("当前目录 $activepathname "); - $win->AddItem("新目录:", ""); + $win->AddTitle("当前目录:".$activepathname.""); + $win->AddItem("新目录", ""); $winform = $win->GetWindow("ok"); $win->Display(); } @@ -56,9 +56,9 @@ else if ($fmdo == "move") { $win->AddHidden("activepath", $activepath); $win->AddHidden("filename", $filename); $win->AddTitle("新位置前面不加斜杆/表示相对于当前位置,加斜杆/表示相对于根目录"); - $win->AddItem("被移动文件:", $filename); - $win->AddItem("当前位置:", $activepath); - $win->AddItem("新位置:", ""); + $win->AddItem("移动文件", $filename); + $win->AddItem("当前位置", $activepath); + $win->AddItem("新位置", ""); $winform = $win->GetWindow("ok"); $win->Display(); } diff --git a/src/admin/templets/catalog_edit.htm b/src/admin/templets/catalog_edit.htm index adbb0981..f410e8fd 100644 --- a/src/admin/templets/catalog_edit.htm +++ b/src/admin/templets/catalog_edit.htm @@ -337,6 +337,7 @@
+