打开
ks_cls/kesion.label.commoncls.asp
找到400行左右
Dim CommentStr:CommentStr=LFCls.GetXMLByNoCache("comments","/posttemplate/label","[@name='post']")
CommentStr=Replace(CommentStr,"{$GetSiteUrl}",KS.GetDomain)
CommentStr=Replace(CommentStr,"{$ProjectID}",Param(0))
CommentStr=Replace(CommentStr,"{$ChannelID}",ModelID)
CommentStr=Replace(CommentStr,"{$ItemID}",ItemID)
CommentStr=Replace(CommentStr,"{$ScoreItem}",Sstr)
CommentStr=Replace(CommentStr,"{$Title}",GetNodeText("title"))
If PMaxLen<>"0" Then
CommentStr=Replace(CommentStr,"{$MaxLen}",PMaxLen & "个字")
CommentStr=Replace(CommentStr,"{$MaxLenNum}",PMaxLen)
Else
CommentStr=Replace(CommentStr,"{$MaxLen}","不限制")
CommentStr=Replace(Replace(CommentStr,"{$MaxLenNum}",0),"{$DisplayZS}","display:none;")
End If
If EnabledSubDomain Then
CommentStr=Replace(CommentStr,"{$Domain}","<script>document.domain=""" & RootDomain &""";</script>")
Else
CommentStr=Replace(CommentStr,"{$Domain}","")
End If
echo CommentStr
增加上面红色的代码,然后所有内容页重新生成下静态HTML即可