取消discuz帖子阅读模式和只看大图
实际在用户访问过程中,这个些功能都很少用到,尤其是倒序浏览功能,已通过修改系统设置,同意设定为了倒序排列。
既然用不到,为了优化网页结构,那么就可以删除这部分内容。
找到/template/模板名/forum/viewthread_node.htm模板文件并打开
找到如下代码,并删除
- <!--{if !IS_ROBOT && !$_G['forum_thread']['archiveid'] && $post['first'] }-->
- <!--{if $_G['forum_thread']['attachment'] == 2 && $_G['group']['allowgetimage'] && (!$_G['setting']['guestviewthumb']['flag'] || $_G['setting']['guestviewthumb']['flag'] && $_G['uid'])}-->
- <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&from=album">{lang view_bigpic}</a>
- <!--{/if}-->
- <span class="none"><img src="{IMGDIR}/arw_r.gif" class="vm" alt="{lang replycredit}" /></span>
- <!--{if !$rushreply}-->
- <!--{if $ordertype != 1}-->
- <span class="pipe show">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&ordertype=1" class="show">{lang post_descview}</a>
- <!--{else}-->
- <span class="pipe show">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&ordertype=2" class="show">{lang post_ascview}</a>
- <!--{/if}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--{if $post['first']}-->
- <span class="pipe show">|</span><a href="javascript:;" onclick="readmode($('thread_subject').innerHTML, $post[pid]);" class="show">{lang read_mode}</a>
- <!--{/if}-->