打开template/default/forum/discuzcode.htm文件, 搜索代码
) O7 ]2 Q" g% O; G4 E) |5 E5 K
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
1 U3 O# h& N! k+ i, g6 U <div class="xs0">
" x" t8 |# d- v" F+ H8 u <p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
. P% A' @" Y7 `: F+ m% s% I
<p>
% a0 J/ K, Z2 T- E
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
) X4 ^4 g) S. k$ u2 s# D( g5 } <!--{if helper_access::check_module('album')}-->
) s& D* `! l( W* g- E6 I' |% c2 {
<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>
8 R7 [( p& U* L
<!--{/if}-->
1 Y& i9 q5 d$ R/ _. q
<!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
4 g. }0 h! x" u( {( V8 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>
: p1 p: o" d( X! s) g$ x- [
<!--{/if}-->
+ S3 U# m. }) ^ </p>
) v9 Z6 c: A8 u2 H6 A E$ |. ~/ Q+ h
<!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
4 R# C# |7 Q: a7 H9 I <p class="xg1 y">$attach[dateline] {lang upload}</p>
- B4 T: e4 ~& o; r) v# s M
直接删除即可
# m2 V h! p& W) V
如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
8 y" ?) O7 ^/ A9 i
$ X$ G. J* R/ i$ p) f( r
<!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
$ B3 ~) J# A5 s1 C4 [6 j% W <div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
" J! t6 z8 \0 [- z+ y <div class="xs0">
! _! d9 A/ ~+ ?, z7 z) z: P <p>
1 L y( ~: J5 \- d6 F# g4 |
<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>
* Y% G% m* \7 _3 T0 y ]) s; g0 S
</p>
1 d" D- c7 x' n" r4 A9 x <!--{/if}-->
0 L% r F% g( i8 W
, O) R, v5 S7 J% v/ B( [ @- W4 c% L <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
- G+ q! j9 z3 Z( L) N" a