@@ -157,12 +157,11 @@ class FileManagement | |||||
if ($this->allowDeleteDir == 1) { | if ($this->allowDeleteDir == 1) { | ||||
$this->RmDirFiles($filename); | $this->RmDirFiles($filename); | ||||
} else { | } 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; | 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; | return 0; | ||||
} | } | ||||
} | } | ||||
@@ -160,7 +160,7 @@ else if ($dopost == 'save') { | |||||
//读取文档信息 | //读取文档信息 | ||||
$myrow = $dsql->GetOne("SELECT * FROM `#@__uploads` WHERE aid='".$aid."'"); | $myrow = $dsql->GetOne("SELECT * FROM `#@__uploads` WHERE aid='".$aid."'"); | ||||
if (!is_array($myrow)) { | if (!is_array($myrow)) { | ||||
ShowMsg('错误,找不到此编号的文档', 'javascript:;'); | |||||
ShowMsg('找不到此编号文档', 'javascript:;'); | |||||
exit(); | exit(); | ||||
} | } | ||||
include DedeInclude('templets/media_edit.htm'); | include DedeInclude('templets/media_edit.htm'); |
@@ -33,7 +33,7 @@ | |||||
<td width="20%" class="border-top-0">浏览次数(PV)</td> | <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">独立访客(UV)</td> | ||||
<td width="20%" class="border-top-0">独立地址(IP)</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> | ||||
<tr class="bg-white"> | <tr class="bg-white"> | ||||
<td class="today">今日</td> | <td class="today">今日</td> | ||||
@@ -29,7 +29,7 @@ if (!function_exists('ParCv')) { | |||||
if (!function_exists('ParamError')) { | if (!function_exists('ParamError')) { | ||||
function ParamError() | function ParamError() | ||||
{ | { | ||||
ShowMsg('您输入的参数有误', 'javascript:;'); | |||||
ShowMsg('您输入的参数有误', '-1'); | |||||
exit(); | exit(); | ||||
} | } | ||||
} | } | ||||