打开template/default/forum/discuzcode.htm文件, 搜索代码
4 k2 ?2 ^- Y L2 O+ U$ J+ x
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
/ k8 e" |- J( G
<div class="xs0">
( c& A4 ^% p; N9 `2 y* S
<p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
- D* G, h. l, O+ b <p>
. P( F# p j# o7 h <a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
6 B+ S; g8 n, O% i6 H <!--{if helper_access::check_module('album')}-->
" n) L& V4 I3 L2 O$ e
<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>
/ h. H0 C; V" c# \& W& B <!--{/if}-->
: C2 Z% u* j e# W& J7 ^8 _) a( [: h
<!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
- T& _" e$ j7 r3 a2 U" x4 ^
<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>
/ g7 h2 n$ m5 U5 _! Y
<!--{/if}-->
1 P! C! S @0 K1 p# L: @, d </p>
0 O7 f. Q/ n$ a% h& s: U( n# q <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
. [2 W8 d) z5 f2 M. {# B
<p class="xg1 y">$attach[dateline] {lang upload}</p>
/ [/ E. G; [9 m1 t
直接删除即可
$ A2 B% k8 Q5 U* c9 n8 Y9 t如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
3 k, T- w- f- J2 u- T3 Q1 d, F
7 s+ c6 K* c8 l x, r/ ]- i- X
<!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
; ^1 Q' A% w6 y% }, v% P" _ <div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
" l' Q$ ~& t1 \* H0 w; o <div class="xs0">
6 Z8 t5 _( U9 s/ N+ k <p>
% r5 c+ j4 e+ k+ B/ ~
<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>
; v2 u1 s2 N* M/ M) C5 E6 U</p>
+ z+ W$ C) G* @. d7 T/ }! `
<!--{/if}-->
0 F7 W% L! m& Q& t$ P6 V
2 [( p s( `- y <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
5 K5 J- X% t2 d! ^3 c& M