打开template/default/forum/discuzcode.htm文件, 搜索代码
6 W* A9 u E$ ] c9 l" K3 s
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
" |" w b8 O3 w: ^& D/ [
<div class="xs0">
2 q, L- c8 a5 F( }- I* U8 r/ _ <p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize], {lang downloads}: $attach[downloads])</em></p>
8 k9 E7 L& r# u9 M0 T. U& s6 O6 A5 @ <p>
' w6 T5 f2 M" g! j <a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode¬humb=yes" target="_blank">{lang download}</a>
! a5 n! i6 @2 n% s% m, A. } <!--{if helper_access::check_module('album')}-->
) }& }8 Z/ B8 ~% Q <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>
5 A3 i6 x; N% }. x8 T, j/ T3 S <!--{/if}-->
$ S; `4 [9 i! x! P" e2 ^ <!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
- `3 h( i2 _! @" l6 o X
<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>
H3 a: U5 v: W- A7 i <!--{/if}-->
/ s+ S& L6 f, g, _& U2 \4 C
</p>
# Q, O* ~% Z. z) A
<!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
, E7 Y5 V$ v. W- a( D6 p <p class="xg1 y">$attach[dateline] {lang upload}</p>
' K% k, y' h" e. B2 S/ P& S& ?" f: O直接删除即可
4 q5 q/ A5 V z* p7 S$ h( {
如果想让设为封面显示(只有在开启了封面的版块才显示)就将上面代码替换为下面的代码
( H5 y. r* d0 W$ X. \; Z
) H( c; c$ J0 w3 Z7 U, `2 G. K) Q
<!--{if $firstpost && $_G['fid'] && $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
6 J$ G. v7 \3 l" j- W0 w
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
+ O2 g) R2 s) e% s2 ^; l
<div class="xs0">
n. G- ~! `" h- J5 ^
<p>
) g6 f# N z4 o0 q
<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>
( _6 l4 V5 g7 x) S: E
</p>
1 [# g9 p0 L1 c, W6 Q0 p2 z# x+ u <!--{/if}-->
+ }8 Z: ?" @; Q( `
2 E0 n5 F2 M" D2 S' J <!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
/ z5 X6 A( m1 A8 `! D. p; r