修改提示信息需要修改以下两个文件
Dede/sys_data_done.php
Include/common.func.php
打开 Dede/sys_data_done.php
查找function PutInfo($msg1,$msg2) 大约在327行左右,替换这个函数吧。
function PutInfo($msg1,$msg2)
{
global $cfg_dir_purview,$cfg_soft_lang;
$msginfo = "<html>\n<head>
<meta http-equiv='Content-Type' content='text/html; charset={$cfg_soft_lang}' />
<title>系统提示信息</title>
<base target='_self'/>\n</head>\n<body leftmargin='0' topmargin='0'>\n<center>
<br/>
<div style='width:400px;padding-top:4px;height:24;font-size:10pt;border-left:1px solid #cccccc;border-top:1px solid #cccccc;border-right:1px solid #cccccc;background-color:#DBEEBD;'>系统提示信息!</div>
<div style='width:400px;height:100px;font-size:10pt;border:1px solid #cccccc;background-color:#F4FAEB'>
<span style='line-height:160%'><br/>{$msg1}</span>
<br/><br/></div>\r\n{$msg2}";
echo $msginfo."</center>\n</body>\n</html>";
}
打开 Include/common.func.php
查找function ShowMsg($msg, $gourl, $onlymsg=0, $limittime=0) 大约在178行左右。
在182行
修改为:
$htmlhead = "<html>\r\n<head>\r\n<title>系统提示信息</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\" />\r\n";
然后到215行
修改为:
$rmsg .= "<div style='padding:6px;font-size:12px;border-bottom:1px solid #DADADA;background:#DBEEBD url({$GLOBALS['cfg_plus_dir']}/img/wbg.gif)';'><b>系统提示信息!</b></div>\");\r\n";
然后保存文件就可以了。
© 著作权归作者所有
文章评论(0)