打开template/default/forum/discuzcode.htm文件, 搜索代码
/ j. j, G7 s) {1 \" L' B! m2 L- {% ] <div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
) @2 {. P' c; v <div class="xs0">
+ i& x% P: D5 n0 L, W; ^6 o+ u
<p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
0 J0 Z9 i& L- Y" Q# ?2 g' x <p>
: _; \0 F7 P/ {9 v0 ^, w1 J
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
h% i+ o9 K' `% P/ r& i+ ?2 K0 |
<!--{if helper_access::check_module('album')}-->
) q, b5 n# h2 j: e5 V& f) u
<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 Z- G& j4 Z5 Z# t8 x( `% Y( Z( j <!--{/if}-->
5 l% B5 E+ P' |: h2 c <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
1 Q( m2 F/ c: F7 k! D
<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>
3 M0 K+ Z, g$ q8 X; |
<!--{/if}-->
( y+ q- s5 ]9 I! _3 m! d6 F- T1 }
</p>
0 a' n# r$ v4 W f* k
<!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
6 u7 Y2 S* P- [& b
<p class="xg1 y">$attach[dateline] {lang upload}</p>
# w5 X* L; {! k) @4 m" _
直接删除即可
$ B: e5 i5 {$ ^4 X* {如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
% r' Y3 t( I3 V
1 E5 I( `+ A# H9 |, J7 G
<!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
; E7 I: N" O: `0 j) K <div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
* B$ W) u, I2 O' y1 [ <div class="xs0">
4 I" y" o* M; Y" s <p>
. w+ q* r' b) L/ n
<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>
, n% \8 w' t. h3 C1 j0 ^% P9 V3 n
</p>
7 t. p+ N! [. p2 T _3 r! a6 u) X
<!--{/if}-->
8 e( {: b8 x9 `* H- n7 P
( E9 B$ h0 M) H) t2 A <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
2 y5 _3 e) x y! w% ]) ~0 c