打开template/default/forum/discuzcode.htm文件, 搜索代码
' L* c" @" k E0 w' f* h& z! K
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
! p4 x0 l) V+ ?6 @ <div class="xs0">
; D8 ]" K f( ` z1 \9 P T <p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
# b- K- w9 b5 r5 m* ^" N' O
<p>
1 r. ~8 f7 S0 d% y
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
0 {" E1 [9 e4 x' _. n3 D1 N2 f <!--{if helper_access::check_module('album')}-->
$ K4 D* {; H& H4 {: L <a href="javascript:;" onclick="showWindow(this.id, this.getAttribute('url'), 'get', 0);" id="savephoto_$attach[aid]" url="home.php?mod=spacecp&ac=album&op=saveforumphoto&aid=$attach[aid]&handlekey=savephoto_$attach[aid]">{lang save_to_album}</a>
/ ]+ A' V1 h& `* Z1 r3 o
<!--{/if}-->
0 y8 U" V$ F o/ S. l4 [8 l <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
: [6 C9 q7 ~+ {, g# i
<a href="forum.php?mod=ajax&action=setthreadcover&aid=$attach[aid]&fid=$_G[fid]" onclick="showWindow('setcover{$attach[aid]}', this.href)">{lang set_cover}</a>
' V p. P: [1 g L5 b <!--{/if}-->
/ F, O) I: a& P7 ~3 o i' a
</p>
, l2 n: J$ V* Q" W7 h% [; {7 [ <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
; ?0 W: J- H5 A: i% F" ~* n0 Z <p class="xg1 y">$attach[dateline] {lang upload}</p>
7 G6 ?: e p0 p
直接删除即可
/ u) B8 m$ P# ]: F0 w
如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
$ { f5 `* P; \9 X5 i( x
1 N. Y) |4 ?. ~ <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
2 X x- s4 ~# P9 k$ x( L6 c( x# t
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
3 |$ M4 o: h) |8 C <div class="xs0">
4 C( z( h4 S: | <p>
$ }. z0 P/ }" Z; h1 q$ a4 I <a href="forum.php?mod=ajax&action=setthreadcover&aid=$attach[aid]&fid=$_G[fid]" onclick="showWindow('setcover{$attach[aid]}', this.href)">{lang set_cover}</a><a class="xg1 y">$attach[dateline] {lang upload}</a>
+ Y8 w# @1 x( `. R</p>
# Q3 I3 p% c8 J1 r
<!--{/if}-->
e+ q5 t; {3 E4 O
9 z5 _" p$ o! x5 a1 Y <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
$ b) b/ ?; h1 l6 v: i