diff --git a/src/admin/api.php b/src/admin/api.php index 7004af7f..52523c67 100644 --- a/src/admin/api.php +++ b/src/admin/api.php @@ -28,7 +28,7 @@ function checkLogin() if ($cuserLogin->getUserID() <= 0 || $cuserLogin->getUserType() != 10) { echo json_encode(array( "code" => -1, - "msg" => "当前操作需要登录超级管理员账号", + "msg" => "此操作需要登录超级管理员权限", "data" => null, )); exit; @@ -226,7 +226,7 @@ if ($action === 'is_need_check_code') { if (count($row) === 0) { echo json_encode(array( "code" => -1, - "msg" => "请先获取版本更新记录", + "msg" => "请获取版本更新记录", "data" => null, )); exit; @@ -272,7 +272,7 @@ if ($action === 'is_need_check_code') { SetCache('update', 'vers', $row); echo json_encode(array( "code" => 0, - "msg" => "正在下载{$ver->ver}的版本更新文件", + "msg" => "正在下载{$ver->ver}版本更新文件", "data" => array( "finish" => false, ), @@ -319,7 +319,7 @@ if ($action === 'is_need_check_code') { RmRecurse($backupVerPath); echo json_encode(array( "code" => 0, - "msg" => "正在应用{$ver->ver}的版本补丁文件", + "msg" => "正在更新{$ver->ver}版本补丁文件", "data" => array( "finish" => false, ), diff --git a/src/admin/file_manage_view.php b/src/admin/file_manage_view.php index c9dafc87..16916ae9 100644 --- a/src/admin/file_manage_view.php +++ b/src/admin/file_manage_view.php @@ -29,8 +29,8 @@ if ($fmdo == "rename") { $win->AddHidden("activepath", $activepath); $win->AddHidden("filename", $filename); $win->AddTitle("修改文件名,当前路径:$ndirstring"); - $win->AddItem("旧名称:", ""); - $win->AddItem("新名称:", ""); + $win->AddItem("旧名称:", ""); + $win->AddItem("新名称:", ""); $winform = $win->GetWindow("ok"); $win->Display(); } @@ -46,7 +46,7 @@ else if ($fmdo == "newdir") { $win->AddHidden("activepath", $activepath); $win->AddHidden("token", make_hash()); $win->AddTitle("当前目录 $activepathname "); - $win->AddItem("新目录:", ""); + $win->AddItem("新目录:", ""); $winform = $win->GetWindow("ok"); $win->Display(); } @@ -62,7 +62,7 @@ else if ($fmdo == "move") { $win->AddTitle("新位置前面不加'/'表示相对于当前位置,加'/'表示相对于根目录"); $win->AddItem("被移动文件:", $filename); $win->AddItem("当前位置:", $activepath); - $win->AddItem("新位置:", ""); + $win->AddItem("新位置:", ""); $winform = $win->GetWindow("ok"); $win->Display(); }