打开template/default/forum/discuzcode.htm文件, 搜索代码
1 p* L y5 `$ H9 ?) W
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
: N' x p" B: N' I <div class="xs0">
e4 a8 {/ s: A x: Z$ X. k9 v
<p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
6 z( D; i" D/ [" b <p>
2 D4 `; }- K" u! y2 ?9 T& O* ~1 {! J
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
, G8 S' U e; l4 r- g/ b( g <!--{if helper_access::check_module('album')}-->
: u$ ]$ `( P8 `' K; n: L
<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>
5 B0 g. b4 f' f" u4 ~
<!--{/if}-->
$ C/ J: A( ~0 \ <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
" K$ r6 ?4 A' X8 T0 q0 o <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>
8 A6 F4 P% b) ]5 b( d <!--{/if}-->
& V6 y9 ]- B; r. f: G
</p>
+ v7 u) E! d$ t% |5 f
<!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
3 F# h; ^' G9 a+ m% U# Z, T# S7 p
<p class="xg1 y">$attach[dateline] {lang upload}</p>
0 H* A! [+ v' m: r$ z直接删除即可
6 P8 i) V% q# C& ?* D+ S1 ?
如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
% p* a G7 t. U% q+ A$ i; P4 ^6 R
# B, Y4 j- T* E" S0 y6 ]: t <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
. p7 G( L& i3 m
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
5 v/ g- k q% O' c# ^0 b9 e <div class="xs0">
& q& U2 R, a$ [3 T <p>
; _. ~: ]/ g# |+ M2 r <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>
8 `9 a H# e3 }; q$ W& |5 {
</p>
3 e% h5 \+ F# B0 N <!--{/if}-->
6 s+ G9 c# m) f1 d9 e+ x8 \
7 q# O1 |' @- g( z) C
<!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
8 n6 U( B) M4 o8 F