打开template/default/forum/discuzcode.htm文件, 搜索代码
3 I( e5 m8 U. ~6 c7 A1 z7 z
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
. E0 R5 T# Z6 F/ H- I
<div class="xs0">
+ W8 m6 S* j+ C3 a3 L2 l
<p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
3 G, b6 ~1 ~: P$ h9 p, d0 C <p>
% Z" e0 z; g: `% s: I$ P" T& V6 F
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
$ L/ j6 o9 [1 s1 d, k/ f
<!--{if helper_access::check_module('album')}-->
2 C. R' r$ S& F1 M" ?# i3 [$ o
<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>
/ o; X1 e/ ]% h1 T" B, G) Y
<!--{/if}-->
8 }1 S$ ~, R5 M P9 m- V <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
F5 w& y" e- `9 E! c6 B- P <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>
( k* h, W: U' S3 K6 E3 j <!--{/if}-->
5 ]( _( m* @- E: g7 p! w
</p>
$ H9 Q- J' t) Q, F! i* g8 F <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
5 m" T# J$ Y4 I! g( f6 `' W
<p class="xg1 y">$attach[dateline] {lang upload}</p>
: B3 ]: R5 e& Y* U v" {! F直接删除即可
5 A$ x; E: C' p, V$ n如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
! b% i q# T( ~1 n' Y. \+ j
2 w& D; a9 a9 E+ o/ \2 x <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
7 C7 k! |5 Q2 ^$ g' p) j
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
' M& H* x8 r! w3 Q, Z
<div class="xs0">
: Z; |8 J- U! ]% A <p>
. H g6 U$ D0 e0 `! t <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>
" m5 n- x. q4 f+ b) Q' d
</p>
1 h4 W( N$ U' S
<!--{/if}-->
* ]' i& p6 n; B1 D/ }1 z6 \
9 X8 P6 {* N* m <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
9 T5 l' I0 J8 N7 [# W. o