打开template/default/forum/discuzcode.htm文件, 搜索代码
" l/ ~2 L" k* O, U2 C9 U <div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
6 M3 |9 C; f/ T* Z3 [' U9 k! P5 } <div class="xs0">
' H5 v9 H3 }# j! m0 | <p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
# \" L5 q: b6 N <p>
6 A5 m* J+ _; a: r <a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
6 r% d& W0 B; U! m5 U& U
<!--{if helper_access::check_module('album')}-->
+ B7 P& A1 o7 T1 l <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>
/ B0 H/ j1 f, N. K! O& O
<!--{/if}-->
: R3 n2 |) e8 {# h& g
<!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
6 T3 m! m9 t/ K: N; q# \
<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>
+ ? R5 _# x& T6 x+ U7 b- ~: G <!--{/if}-->
$ W% e# A e7 b </p>
! d. o% ]$ g" F& i+ x, ~ <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
' q; f$ A4 g- ^1 p9 i9 H( Z9 E
<p class="xg1 y">$attach[dateline] {lang upload}</p>
, r! q4 D' _7 K# i1 U) F直接删除即可
% ?$ T* ]4 h6 R% f! u如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
E0 b$ d! E5 x
1 M1 V5 u% j1 M/ G1 Y: a( k8 \
<!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
& Z" k, ~; ^9 Y* Y. R+ i; O4 H
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
) X; H. y( N, Z o% {; \) i: D <div class="xs0">
: x$ v' E$ @3 T- T% T( c" n* D <p>
% L2 [8 V0 R2 K) ~9 L9 a- F <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>
- D' U- p& z( n( b. T8 K0 K
</p>
, D, U6 z9 N7 I& o: |. N& [& I <!--{/if}-->
5 M& Q& h8 N. G1 ~, p 2 Y# E& k9 A+ M- T6 Q
<!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
/ L8 W- Z/ Y3 y