打开template/default/forum/discuzcode.htm文件, 搜索代码
# u9 j; ^) [7 I
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
# H# M6 _5 Q, H$ a8 Z4 i4 P4 n
<div class="xs0">
/ B7 m; u! R( g& t/ }; j <p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
8 e K6 h8 B; e# b <p>
1 [$ F, S4 Q& Y( N* {# f; W
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
4 [/ l \$ y% S1 L <!--{if helper_access::check_module('album')}-->
& O2 J3 H7 s6 T: A" A2 _5 q9 D <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>
% r% ?6 l9 b& u( V! v2 v9 Y <!--{/if}-->
, s+ ?0 S/ X$ g/ F) Q" @: B7 {( Y <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
; V2 P2 ] b+ ~/ M( t
<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>
2 V9 T8 e' `- [' W; J- F0 t
<!--{/if}-->
; Z( Z4 y, G& v" L. a4 U9 p G& b! z </p>
" d# S, a7 B+ ?5 A5 r6 x( R <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
# A2 G% t! A$ b6 x3 C <p class="xg1 y">$attach[dateline] {lang upload}</p>
/ v. t+ a3 _1 L& y$ e ]直接删除即可
! V1 ~5 p( ?' q, ~5 ~如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
2 m* _9 h. k) A. m& j
: s0 j# U# B) u" o: a
<!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
- C1 c# J+ V8 k8 V. l# Q. s
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
6 o+ z w4 @. Z E5 _ <div class="xs0">
7 d. P6 O* _. _5 N
<p>
# v6 Q( {# v* `* z
<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>
5 I9 V6 [# M9 ]& W7 ~. E: |
</p>
R* H; g/ v( {3 s" R <!--{/if}-->
% a& c$ ^& ~# j! V , D0 Q' O0 R( ~8 k0 x, s' c
<!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
9 l7 i( D2 o ]