Explorar el Código

错误提示优化

tags/6.2.5
叙述、别离 hace 2 años
padre
commit
6a6cf64959
Se han modificado 4 ficheros con 5 adiciones y 6 borrados
  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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -29,7 +29,7 @@ if (!function_exists('ParCv')) {
if (!function_exists('ParamError')) {
function ParamError()
{
ShowMsg('您输入的参数有误', 'javascript:;');
ShowMsg('您输入的参数有误', '-1');
exit();
}
}


Cargando…
Cancelar
Guardar