소스 검색

错误提示优化

tags/6.2.5
叙述、别离 2 년 전
부모
커밋
6a6cf64959
4개의 변경된 파일5개의 추가작업 그리고 6개의 파일을 삭제
  1. +2
    -3
      src/admin/file_class.php
  2. +1
    -1
      src/admin/media_edit.php
  3. +1
    -1
      src/admin/templets/index_body.htm
  4. +1
    -1
      src/system/helpers/extend.helper.php

+ 2
- 3
src/admin/file_class.php 파일 보기

@@ -157,12 +157,11 @@ class FileManagement
if ($this->allowDeleteDir == 1) {
$this->RmDirFiles($filename);
} else {
//完善用户体验,by:sumic
ShowMsg("系统禁止删除<span class='text-primary'>".$t."</span>", "file_manage_main.php?activepath=".$this->activeDir);
ShowMsg("系统禁止删除".$t."", "file_manage_main.php?activepath=".$this->activeDir);
exit;
}
}
ShowMsg("成功删除一个<span class='text-primary'>".$t."</span>", "file_manage_main.php?activepath=".$this->activeDir);
ShowMsg("成功删除一个".$t."", "file_manage_main.php?activepath=".$this->activeDir);
return 0;
}
}


+ 1
- 1
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');

+ 1
- 1
src/admin/templets/index_body.htm 파일 보기

@@ -33,7 +33,7 @@
<td width="20%" class="border-top-0">浏览次数(PV)</td>
<td width="20%" class="border-top-0">独立访客(UV)</td>
<td width="20%" class="border-top-0">独立地址(IP)</td>
<td width="20%" class="border-top-0">浏览次数(VV)</td>
<td width="20%" class="border-top-0">访问次数(VV)</td>
</tr>
<tr class="bg-white">
<td class="today">今日</td>


+ 1
- 1
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();
}
}


불러오는 중...
취소
저장