打开template/default/forum/discuzcode.htm文件, 搜索代码
" H4 w$ J9 M; A$ X( w ] <div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
7 f5 O) Z; V0 j) }' T$ I
<div class="xs0">
; P0 }7 j6 m8 [) m% }, V0 u5 L <p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
! c8 @! ~( Z7 w! v" ] <p>
1 v0 H. ]* ^; e" j( g: R. N
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
A6 K( Y8 e$ A1 f" W( A4 G7 J7 k+ i; M l <!--{if helper_access::check_module('album')}-->
$ e9 Y3 H- x( `6 v; g <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>
# l. q" X% \2 a, _( q
<!--{/if}-->
' E! E$ s2 e A0 _% G5 l# O# V% L <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
: b3 p' q! Y( K, W
<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>
, G" j0 o- O0 l# [+ N <!--{/if}-->
1 a. w3 T- J" I( ~! A* A
</p>
! m; `" Q; Z" x9 e/ j. Q0 z <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
9 b/ ? a! R2 y8 j <p class="xg1 y">$attach[dateline] {lang upload}</p>
9 K+ X" T4 w: u3 j直接删除即可
; t6 }4 h5 O+ d" `9 I# I
如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
, X: W9 m( Z- U1 c
8 _, Z& N; z% T! n! R- h <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
1 ^- X! k' w& v9 h <div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
1 ^5 d5 t8 a6 j) G& F <div class="xs0">
7 F' F- F" R) h% j' r7 K3 r9 [
<p>
8 b" @/ T0 s; O5 }1 a; u <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>
7 c5 r: o `1 b1 G+ ~6 \' {: J</p>
2 p6 [: E3 }# G/ V7 ^
<!--{/if}-->
k1 e% e8 E1 x. \' W6 ?, s; f6 F
2 l) U( {( u" d0 s0 ]
<!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
1 a) q6 b& D1 v4 L3 F% m