打开template/default/forum/discuzcode.htm文件, 搜索代码
. a5 Z r) [: L <div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
( F3 O2 j0 g* {- w- g
<div class="xs0">
( \4 q$ G$ W" D1 \1 O. t, z% r7 _ <p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
# t: }6 k. s& B6 _9 T, B
<p>
5 w/ d4 G* H: ~9 j, g8 p" ] <a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
$ V' q/ M6 [! x4 k1 l <!--{if helper_access::check_module('album')}-->
2 l4 U& s( w# e. Q. 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>
# E, P1 \. j% `. @* z9 P <!--{/if}-->
, H, v/ P2 F( m8 X i7 u% v% i! q
<!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
- L- h5 B2 h% [( Y! G( \2 A2 v
<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>
' Q; m* A' B. ? <!--{/if}-->
# K& K+ P* e+ i" T* y' U </p>
( R# |7 j: ^9 E3 `
<!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
6 E8 E6 C' A1 W" M" F% `( ?/ G3 m; X$ O
<p class="xg1 y">$attach[dateline] {lang upload}</p>
& y1 n: ?! {3 M8 D. C$ v8 b直接删除即可
% g8 C" n9 s3 @" @. T l+ r
如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
2 i2 r. J! P' l" L" r
8 }. B. e( s+ O# ?) T7 ?' R/ P& v r <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
" Z. i; n; f: v" Y% D0 n N
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
3 l* ]. q Q @; U& P/ D <div class="xs0">
/ k+ k# b( \$ C5 }+ @ <p>
7 k2 G, z" B* j9 Z: X: d" d <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>
' V+ Q) v, r' r9 |; j: O7 ~$ \" K: ]
</p>
% i! \: w8 ]& I+ C/ k
<!--{/if}-->
0 W8 M e( B3 {" L* d8 f
3 i% |) ~6 \6 Q" ^% W \) l; P8 s6 @ <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
9 c4 W; G3 m9 B+ }# V2 F, B, e- P# g