希望官方能出文件说明,这样找错误、修改错误能轻松方便点,WIN2003下搜索文件功能很不好使,好象搜不到ASP文件代码的。
打开SysCls\KS_RefreshCommonJSCls.asp文件 大概位置37-42
Content=Replace(Content,"{$JS_Time1}",GetTime(1))
Content=Replace(Content,"{$JS_Time2}",GetTime(2))
Content=Replace(Content,"{$JS_Time3}",GetTime(3))
Content=Replace(Content,"{$JS_Time4}",GetTime(4))
Content=Replace(Content,"{$JS_Language}","<script src=""" &KSCMS.GetDomain &"inc/language.js"" language=""javascript""></script>")
Content=Replace(Content,"{$JS_Collection}","<a href=""javascript:window.external.addFavorite('" &KSCMS.GetDomain& "','" & KSCMS.GetConfig("WebName") &"');"">加入收藏</a>")
Content=Replace(Content,"{$JS_HomePage}","<a onclick=""this.style.behavior='url(#default#homepage)';this.setHomePage('" &KSCMS.GetDomain&"');"" href=""#"">设为首页</a>")
改成如下:
Content=Replace(Content,"{$JS_Time1}",GetTime(1))
Content=Replace(Content,"{$JS_Time2}",GetTime(2))
Content=Replace(Content,"{$JS_Time3}",GetTime(3))
Content=Replace(Content,"{$JS_Time4}",GetTime(4))
Content=Replace(Content,"{$JS_Language}","<script src=""" &KSCMS.GetConfig("Weburl") & "inc/language.js"" language=""javascript""></script>")
Content=Replace(Content,"{$JS_Collection}","<a href=""javascript:window.external.AddFavorite('"& KSCMS.GetConfig("Weburl")&"','"& KSCMS.GetConfig("WebName") &"')"">加入收藏</a>")
Content=Replace(Content,"{$JS_HomePage}","<a href=""#"" onclick=""this.style.behavior='url(#default#homepage)';this.setHomePage('" &KSCMS.GetConfig("Weburl")&"');"">设为首页</a>")
下载附件之后请把RAR去掉就行了。
下载信息 [文件大小:12.35 KB 下载次数: 次] |
点击下载文件: |
[此贴子已经被作者于2006-5-31 23:28:48编辑过]