打开template/default/forum/discuzcode.htm文件, 搜索代码
2 P) P& b2 b. ]' b1 W" u <div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
& o3 m# m0 Q- \) U <div class="xs0">
9 c: g9 v# R& G/ u
<p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
. U/ }, b0 [ x7 q: o1 ]1 H <p>
( S8 G9 U( N4 V0 g- H' s; |
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
. O9 U, m5 V" @+ A- p; h
<!--{if helper_access::check_module('album')}-->
' q, ]- G* V( x+ b6 `) H( Z
<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>
4 Q/ R" i) C" p g, t5 y: [! n: A+ C <!--{/if}-->
& Y7 E! {; W' w+ Z" T1 n- C/ S
<!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
1 K7 I9 ]# }( {" Q9 k& x6 _ <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>
6 L: Q2 W5 S; ]; R9 _/ K
<!--{/if}-->
6 u6 Y' w7 c3 @3 W' j
</p>
% y( J* H: m- h
<!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
- ^' L, X8 r9 d8 ^) l2 z# ]0 c! G- d+ b
<p class="xg1 y">$attach[dateline] {lang upload}</p>
4 y0 r/ q- v. q4 s
直接删除即可
! W, x* s. i" D& V, c4 c
如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
1 f3 a4 @; P9 [
0 e; O9 r) b9 Y) d% t <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
5 A+ g1 C9 k b- M <div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
6 I- q' \9 i2 J! N3 v6 v
<div class="xs0">
( M" A4 t, D2 p0 q) q <p>
3 K/ f+ g8 g# E
<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>
" D" w% `( ~ o% c</p>
4 t& e6 P, A- {* N6 d q <!--{/if}-->
3 [5 W% I; m& |3 F* o
+ Y! w# ^5 p' F$ Q3 g
<!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
! H( H. {) a( ?3 F" W