打开template/default/forum/discuzcode.htm文件, 搜索代码
& ?; \" A% |7 @9 Z
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
- E5 s7 x: E0 c
<div class="xs0">
, c- `9 G# y9 a$ q& Q
<p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
$ }9 P: H8 u1 X% T0 A3 s <p>
( U5 F v {% ~9 s* _1 S- @2 e <a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
. }# Y0 K5 J# v6 `9 j+ x. e <!--{if helper_access::check_module('album')}-->
( Z' v7 Z' a* K <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>
9 O, V' u4 S: p4 } <!--{/if}-->
, d/ H) @! H5 ^9 A
<!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
) O) w. M) z6 H3 ~" A
<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>
$ T; {9 p0 g$ h' f5 [9 W
<!--{/if}-->
: ]$ B; e; X m) s" T5 ^ </p>
7 O$ p7 j) f( n2 c9 u7 D w
<!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
7 ~+ T' j% O3 Y4 s
<p class="xg1 y">$attach[dateline] {lang upload}</p>
1 ]/ ^, m8 h- P" }直接删除即可
8 l+ h% n# P. O" S2 q
如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
& D* g2 J& M; `: n
# _& \7 t* A: d0 A0 P <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
! p$ H# ~0 m9 I0 P3 W0 p <div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
8 G3 z2 s+ E: M! M4 z9 G! w8 X5 M
<div class="xs0">
! y5 z) c; f# i6 ?; o <p>
4 ?+ a2 C/ C- L# `* | <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>
0 e+ |0 `$ r7 H. q' N- r</p>
; G2 G3 Z1 B1 G6 \3 s- U- v
<!--{/if}-->
h$ j+ l" z& r) U
+ x6 G$ u5 u% k \( h8 h/ C <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
7 B1 h# I. m y- h5 ~6 w