动易CMS中去掉网站的滚动公告的发布人和发布时间的方法
脚本之家
解决:打开语言包Language/Gb2312.xml,找到第77,78行,删除红色的代码。然后在后台更新缓存。
<AnnounceBody1><![CDATA[ <a class="AnnounceBody1" href="#" onclick="javascript:window.open('{$strInstallDir}Announce.asp?ChannelID={$ChannelID}&ID={$ID}', 'newwindow', 'height=440, width=400, toolbar=no, menubar=no, scrollbars=auto, resizable=no, location=no, status=no')" title="{$Content}">{$title}{$AnnounceInfo}</a>]]></AnnounceBody1>
<AnnounceBody2><![CDATA[ <a class="AnnounceBody2" href="#"
onclick="javascript:window.open('{$strInstallDir}Announce.asp?ChannelID={$ChannelID}&ID={$ID}', 'newwindow',
'height=440, width=400, toolbar=no, menubar=no, scrollbars=auto, resizable=no, location=no, status=no')"
title="{$Content}">{$title}{$AnnounceInfo}</a>]]></AnnounceBody2>
<AnnounceBody1><![CDATA[ <a class="AnnounceBody1" href="#" onclick="javascript:window.open('{$strInstallDir}Announce.asp?ChannelID={$ChannelID}&ID={$ID}', 'newwindow', 'height=440, width=400, toolbar=no, menubar=no, scrollbars=auto, resizable=no, location=no, status=no')" title="{$Content}">{$title}{$AnnounceInfo}</a>]]></AnnounceBody1>
<AnnounceBody2><![CDATA[ <a class="AnnounceBody2" href="#"
onclick="javascript:window.open('{$strInstallDir}Announce.asp?ChannelID={$ChannelID}&ID={$ID}', 'newwindow',
'height=440, width=400, toolbar=no, menubar=no, scrollbars=auto, resizable=no, location=no, status=no')"
title="{$Content}">{$title}{$AnnounceInfo}</a>]]></AnnounceBody2>