打开template/default/forum/discuzcode.htm文件, 搜索代码
2 P8 |8 q: V2 X1 w0 Y# T8 m6 q
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
, F+ D) \9 i4 j5 z3 j; a <div class="xs0">
0 z3 p7 X# ?' ^ o
<p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
7 I; N6 Z/ Y: y' Y6 u2 {- x6 H <p>
6 ^/ S- `- w M& d1 S% j5 q <a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
1 @. [" k1 ~: A! t
<!--{if helper_access::check_module('album')}-->
( L; `, M2 c/ |+ n% 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>
+ F/ p% @' a# K/ w; o <!--{/if}-->
: V* t/ W* m) d. f( o4 k6 ^ <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
4 P, s/ G+ y/ Z
<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>
7 x- H1 r: c- S& k; W" F: [( D) a2 Q
<!--{/if}-->
6 l/ n: N- [3 a3 `, ^
</p>
, Z3 v; B. E2 S% I7 J
<!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
6 g/ K) X% H; S5 N; E
<p class="xg1 y">$attach[dateline] {lang upload}</p>
& G9 ?3 s0 `) U: N直接删除即可
9 u1 ~- V( j% z如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
- @! G1 f' K* C0 ^) z3 d
0 S$ j0 c3 k$ U5 \6 @4 t- }6 x5 U$ ^ <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
% T& V) A2 X' Q0 @0 w: Z$ n- { <div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
0 @) A( x: }" i# V7 Q4 F/ i
<div class="xs0">
Z5 L8 f% L) O G" s0 h
<p>
g- `5 Q. g9 \$ ^, Y" d3 h <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>
" o" y' F" M1 g/ R3 B
</p>
( a E) Z% Y: i+ D- @% h- G <!--{/if}-->
$ K; G) k: l$ H# s
+ j8 @, O- W% ?6 Z1 } <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
" R6 W! C! U1 J2 D. g& ]+ c6 K