我们打开/plus/guestbook.php的这个文件找到如下代码:if($needCheck==1) { require_once(DEDEINC."/oxwindow.class.php"); $msg = " <font color='red'><b>成功发送或回复留言!</b></font> <a href='guestbook.php' style='font-size:14px;font-weight:bold'><u>我已经知道了,点击此返回>></u></a>"; $wintitle = "留言发布成功提示";$wecome_info = "留言发布成功:";$win = new OxWindow(); $win->Init("","js/blank.js","post"); $win->AddTitle("提示:"); $win->AddMsgItem("<div style='padding:20px;line-height:300%;font-size:14px;'>$msg</div>");$winform = $win->GetWindow("hand"); $win->Display(); }else { ShowMsg('成功发送一则留言,但需审核后才能显示!','guestbook.php',0,3000); }
把那段代码注释或者直接删除。并修改为if($needCheck==1){ ShowMsg('成功发送一则留言!元素模板友情提示!','guestbook.php',0,1000); }其中1000是页面停留的时间,你可以自行修改!