打开template/default/forum/discuzcode.htm文件, 搜索代码
* H y' r1 v. s* m8 i) p/ @9 J, o
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
" [5 K2 z. [' p! P: c9 B
<div class="xs0">
& M/ d) p9 n, i <p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
! Z- g. H: T6 E [' U1 B T <p>
( z% K, @+ r! Y5 O% @7 V# E
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
, D. F8 }* m( I" b& {6 V <!--{if helper_access::check_module('album')}-->
. T# D k, j+ }5 }# @
<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>
' A: E' S1 o9 D3 M2 B. H <!--{/if}-->
& Y, L6 l. F+ r( I* @% c2 z# o2 u <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
3 R5 w4 k V: V B/ z. F( B
<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>
. K3 P8 E8 v) I% T) o8 i8 b, v
<!--{/if}-->
' o& `$ m3 `. }3 [ </p>
: h* N+ z& o7 A* h+ i5 W& B
<!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
* E: K! ?2 B5 C: A2 U
<p class="xg1 y">$attach[dateline] {lang upload}</p>
# B; y9 h+ C+ ^2 \直接删除即可
) ^! v8 K, S k* D如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
" T8 b2 X- y9 T( z( ?4 ?
' l& L6 ~, Y; R, |* w2 U
<!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
7 k$ U" S* R9 o/ I1 m9 j8 E5 g+ S7 q
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
7 b+ x9 ~5 P7 X6 k& V. ]& Y7 k' | <div class="xs0">
. n' q+ J2 `: Q5 e' P+ }
<p>
$ p: n K3 r2 P6 z7 y7 M; C <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>
/ a0 N' z/ c5 }4 v; a
</p>
0 Q5 G/ D! T. h8 x+ `3 ~9 w) ]( z; R <!--{/if}-->
8 @' t% k+ g5 O$ I* z& Q
7 v. x5 O* ^) A6 g
<!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
2 j5 d% v! Q. D4 R