打开template/default/forum/discuzcode.htm文件, 搜索代码
( |$ c1 ^3 Q7 x1 o% [$ i# x+ i/ C <div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
! N( T* P! }. m0 Q/ z4 w5 n
<div class="xs0">
8 C* d' P% [% X& S: r' J <p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
# [! |! B9 K" w8 z: r
<p>
3 K6 d& l* ? Y/ H/ u
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
- w) O6 F; @* l2 z
<!--{if helper_access::check_module('album')}-->
7 r, p8 E0 D. O3 P" ^2 t4 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>
: w' o! u1 n ?! K& q* E0 H7 i <!--{/if}-->
+ E/ Q0 x& M: V <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
$ A( W% Q b0 f <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>
4 d( c$ d3 f G2 W3 N0 [
<!--{/if}-->
- ]; I( r, o9 A2 L6 r; h
</p>
3 w) |! ~; ~4 _7 {$ \ u <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
# [" K0 `7 Z# d: ~+ w <p class="xg1 y">$attach[dateline] {lang upload}</p>
; e7 e3 X+ P. o5 e) m0 } ~- w
直接删除即可
J* }- s0 p0 ~( W& o1 Y
如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
5 [6 P1 H+ l4 k* X
# j7 e! w" J" ]/ A; d- d" i! L# p
<!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
4 ]+ i; L; N8 c" y. X+ I% Q
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
4 ^ x$ v+ h* \6 ~: U
<div class="xs0">
# G- \% Q, R7 N! K& q1 O
<p>
! m! ^0 g3 D4 _% K3 t6 m% L* I <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 H- F& Q5 w- }. h- |8 y
</p>
( g# ~7 G- o% |7 N5 n1 [
<!--{/if}-->
* K% j# K% a' x5 E: T X
2 {/ a4 ?8 p l, z5 S, R9 ? <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
; U2 x+ b- z e3 D d