以下修改只是方便作者/管理员本人,由于在浏览单篇日志时进行直接编辑没有左边菜单栏,所以修改了下,使用更方便了(2007/03/20不采用了,改为"又整了下我的自留地"在上部再放一管理菜单栏)
修改文件:function/c_system_base.asp
给以下代码
If IsEmpty(bolRebuildIndex)=False Then
If bolRebuildIndex=True Then
Response.Write "<p class='hint hint_blue'><font color='blue'>" & ZC_MSG268 & "</font></p>"
End If
End If
If IsEmpty(bolRebuildFiles)=False Then
If bolRebuildFiles=True Then
Response.Write "<p class='hint hint_blue'><font color='blue'>" & ZC_MSG269 & "</font></p>"
End If
End If
中增加蓝色粗体部分内容即可
If IsEmpty(bolRebuildIndex)=False Then
If bolRebuildIndex=True Then
Response.Write "<p class='hint hint_blue'><font color='blue'><a href=/cmd.asp?act=BlogReBuild>" & ZC_MSG268 & "</a></font></p>"
End If
End If
If IsEmpty(bolRebuildFiles)=False Then
If bolRebuildFiles=True Then
Response.Write "<p class='hint hint_blue'><font color='blue'><a href=/cmd.asp?act=AskFileReBuild>" & ZC_MSG269 & "</a></font></p>"
End If
End If
双向相关文章
1.7版本默认的是只关联所在文章id号之前(既此前发表的)的文章,也就是说,相关文章变成了单向的,这是考虑了索引速度的优化,如果希望回到1.6版本的状态,可以做下面的修改:
修改文件:function/c_system_lib.asp
Export_Mutuality()函数内部,
将:
strSQL="SELECT TOP "& ZC_MUTUALITY_COUNT &" [log_ID],[log_Tag],[log_CateID],[log_Title],[log_Level],[log_AuthorID],[log_PostTime],[log_CommNums],[log_ViewNums],[log_TrackBackNums],[log_Url],[log_Istop] FROM [blog_Article] WHERE ([log_Level]>2) and [log_id]<" & id
改为
strSQL="SELECT TOP "& ZC_MUTUALITY_COUNT &" [log_ID],[log_Tag],[log_CateID],[log_Title],[log_Level],[log_AuthorID],[log_PostTime],[log_CommNums],[log_ViewNums],[log_TrackBackNums],[log_Url],[log_Istop] FROM [blog_Article] WHERE ([log_Level]>2) and [log_id]<>" & id
只修改了结尾部分。
评论