打开template/default/forum/discuzcode.htm文件, 搜索代码
; U3 I0 N/ e0 Z4 n+ e5 k! U
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
8 Y% p C8 v3 b9 u1 j! i
<div class="xs0">
/ y2 A$ `0 A! z1 b: G
<p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
% ~& w, `# E6 J* k7 _) p6 A4 L
<p>
& Z( ^/ w5 n; _( z. a' E, v2 D' W
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
" q+ h8 E1 q5 {9 X7 S <!--{if helper_access::check_module('album')}-->
8 B7 F! V. Z% a U" m: H5 |) U% n/ W
<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>
& i, O% W# f- Y' Z: r' ? <!--{/if}-->
1 F8 d" M6 _& F* r
<!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
' i+ D2 m& h6 |& e* l$ S
<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>
" M. H3 U( l$ ]+ s/ G <!--{/if}-->
+ K# D& G6 F! X+ }% T% l
</p>
* C% [7 n$ ?& u0 h" }/ ?& _ <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
3 h! g! l8 H1 V4 z& U2 k7 N5 F
<p class="xg1 y">$attach[dateline] {lang upload}</p>
1 d" Y3 y9 ?: g) j6 H
直接删除即可
6 o. Y' Q: i' u) ^6 J3 D7 l3 ~6 G
如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
9 |( H5 S4 w+ \+ [! b2 [; z$ ^) m
. ~4 H7 `* p" {, x- E' e2 t <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
1 e0 ?8 {$ J% ^% ]7 J
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
: |7 J9 k2 ]8 q* G& w
<div class="xs0">
2 P9 \! t/ G' `: ]# P1 j <p>
8 l* M6 \0 h F+ }7 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><a class="xg1 y">$attach[dateline] {lang upload}</a>
0 q3 D& u! b) c8 b) A
</p>
! N, o! B" d7 r) _7 t7 L2 @ <!--{/if}-->
2 d; }% ]/ P) F, v: h$ z
7 H {( ?7 W, Y! {8 M
<!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
7 m! N4 ?% @9 r& _* g4 {. v6 \! l