打开template/default/forum/discuzcode.htm文件, 搜索代码
2 t) @# y+ X# Z- [0 Q, U
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
5 A8 V4 b3 }( a! Y. I6 T. M3 ? <div class="xs0">
8 @: n! r0 F6 U8 A- r
<p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
1 s/ j, b) |/ Z* z% M- f <p>
5 M- g9 y% {3 G! [' B* R4 a# L <a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
: |/ K3 w1 Z6 a5 B4 i" { <!--{if helper_access::check_module('album')}-->
9 c/ v. W u( X) \! b
<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>
* q5 B3 `5 Q% g: L. c* X6 {2 \$ h. O
<!--{/if}-->
; O9 \- s9 l2 P! C <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
2 i1 _1 C0 E6 Q' 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>
2 a0 l4 P8 l+ r/ s2 r, j8 M+ N
<!--{/if}-->
% x. t) L) I; o+ J$ [3 q </p>
4 y" c7 f9 E+ `& Q! S
<!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
" b; I/ H) p3 s
<p class="xg1 y">$attach[dateline] {lang upload}</p>
) ^; @4 ?( r" O6 Z9 X- u
直接删除即可
7 O8 x9 i. V; R% K0 l如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
# T' K A$ l6 n& j( H
! d! @' j6 M/ `
<!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
7 F/ C, H9 w6 H) R# [( M
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
% ~. P, J* L+ _" l
<div class="xs0">
$ c7 T& g/ R# t; `5 w% x
<p>
) l( G. `$ f* g, ]& A <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>
2 X; y' U4 v' u7 n5 H: P</p>
f0 f9 \- C/ i2 h! v; L <!--{/if}-->
. h- q" k1 n5 p9 g7 U1 }' p
( x5 ^7 _3 ~. c7 C& Q) G <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
8 [- |& e/ U; x# Y" [2 t6 h) |: O