DedeCMS 的系統提示訊息(如「文檔發布成功」、「權限不足」等)定義於 /include/common.func.php 中的 ShowMsg() 函數裡。
/include/common.func.php。function ShowMsg。$rmsg = $func;
$rmsg .= "document.write(\"<br/><div style='width:400px;padding-top:4px;height:24;font-size:10pt;border-left:1px solid #b9df92;border-top:1px solid #b9df92;border-right:1px solid #b9df92;background-color:#def5c2;'>DedeCms 提示信息: </div>\");\r\n";
$rmsg .= "document.write(\"<div style='width:400px;height:100;font-size:10pt;border:1px solid #b9df92;background-color:#f9fcf3'><br/><br/>\");\r\n";
$rmsg .= "document.write(\"".str_replace("\"","“",$msg)."\");\r\n";
DedeCms 提示信息 替換為您的網站名稱或自訂標題。style 內的顏色、寬度、字體大小等屬性,使提示框符合網站風格。document.write 中插入 <img> 標籤。修改前請備份原檔案。此函數影響全站所有系統提示,請謹慎測試。