打开template/default/forum/discuzcode.htm文件, 搜索代码
8 y* h7 Y6 B' U/ B
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
4 H5 G7 b* d% z6 C* e: s# [/ \
<div class="xs0">
$ B j3 G3 h6 D) ^. ]1 o <p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
! K5 V" v$ D9 {7 h3 e <p>
h' W! z- K/ s/ ]" l8 E2 N
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
X7 P O, T: k5 R <!--{if helper_access::check_module('album')}-->
& D B1 _$ l1 l4 b9 V: D; q9 I
<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>
; X6 U9 J5 c( k0 n { <!--{/if}-->
9 ?9 b. P, `, j8 b$ k3 F
<!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
, o# e0 Y5 g6 ~4 |( l* S
<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>
2 K5 H+ j; X H( R$ W) ?" V <!--{/if}-->
& E7 ]9 j4 ~, i4 P; z6 h
</p>
' F7 A. `5 z. r <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
9 F1 I6 O2 a6 y
<p class="xg1 y">$attach[dateline] {lang upload}</p>
8 Z/ e- R6 ` O直接删除即可
8 | z2 h; ~! d% r1 `# |, ]
如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
9 n* A* Z* |$ v: Y4 ~( Q; r
9 `1 Y+ K$ z: A1 z" S, ]4 |8 \ <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
0 V3 b% q) I9 v w6 [( I: J5 ~3 ^ <div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
" j( h* x4 Z" W& |% ]. \/ D% w1 W* j <div class="xs0">
0 I, A# _3 W. y3 ]) Z <p>
# y2 J, |. i x2 j# J# |4 b& K
<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>
( a- w$ Y& X2 p; f* D
</p>
7 U3 M" x9 r6 y. @6 i8 o; s
<!--{/if}-->
9 Y, W2 W: U2 i- X, k9 ]! B
# H. k5 @/ i, j. } <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
! `% b% Q4 _( q! I