打开template/default/forum/discuzcode.htm文件, 搜索代码
8 j, S, j1 K- H4 K2 ]
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
: a$ v7 f6 O, A5 y' X. m
<div class="xs0">
2 Z' z& G; t' |$ m <p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
# G( V6 D+ c: A$ n <p>
& B3 m9 [) Y$ o3 N' h Z' @
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
3 j, _4 u' x) d* y" d5 s
<!--{if helper_access::check_module('album')}-->
/ X. ~) {; m/ m- R2 w$ e1 j' P <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>
3 \0 k0 M; t# V0 L3 g <!--{/if}-->
) p2 j( G1 }. H# j* S
<!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
8 t3 a% y s( b7 a$ 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>
+ j ^$ C+ O/ l9 } <!--{/if}-->
7 D: {4 _0 c4 V- f
</p>
j) L* s* e- Z4 X0 [% J
<!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
" E- p3 B0 P! H6 j; b1 a0 A <p class="xg1 y">$attach[dateline] {lang upload}</p>
- Z, s" n; k, `. ]3 T8 \% H直接删除即可
0 Z. l. @. C' D# B# X( I) N
如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
5 ~. W# W( D/ l
4 ?; {+ O5 E. E, s/ E+ f <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
3 I3 J! n$ a; ? @ <div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
% J- K5 F9 A1 k
<div class="xs0">
/ F" l" E7 x& B: q+ ^0 j: F
<p>
6 v, S0 N+ M& 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>
4 H4 P5 |7 K) ] A# q
</p>
! Z( \9 u5 Y/ v9 v$ {
<!--{/if}-->
1 B$ X( O8 w! ]! e8 \3 N
& u1 n% e; l+ @# n <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
% i% Z' Y; S4 P" i& q' X( ]3 S3 s