TERCEL 寫:心靈捕手 寫:實在看不懂, 您究竟喜歡哪個風格?
不過, 如果不喜歡, 那麼改用其他的, 不就好了嗎?
我喜歡subsilver2....但卻不喜歡它發附件時的那個灰框....
用prosilver來做比較是因為它發附件時並沒有那個灰框(我個人不喜歡prosilver....因為超不習慣)....
我只是想知道....在不更換風格的情況下透過修改程式碼有沒有辦法可以將subsilver2的灰框去除....
試試看, 尚未測試:
#
#-----[ OPEN ]-----
#
styles/subsilver2/template/viewtopic_body.html
#
#-----[ FIND ]-----
#
代碼: 選擇全部
<!-- IF postrow.S_HAS_ATTACHMENTS -->
<br clear="all" /><br />
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td>
</tr>
<!-- BEGIN attachment -->
<tr>
<!-- IF postrow.attachment.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{postrow.attachment.DISPLAY_ATTACHMENT}</td>
</tr>
<!-- END attachment -->
</table>
<!-- ENDIF -->
#
#-----[ REPLACE WITH ]-----
#
代碼: 選擇全部
<!-- IF postrow.S_HAS_ATTACHMENTS -->
<br clear="all" /><br />
<table class="tablebg" width="100%" cellspacing="1">
<!-- BEGIN attachment -->
<tr>
<!-- IF postrow.attachment.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{postrow.attachment.DISPLAY_ATTACHMENT}</td>
</tr>
<!-- END attachment -->
</table>
<!-- ENDIF -->
#
#-----[ SAVE & CLOSE ]-----
#
ps.
1. 不從後台直接修改的話, 記得進後台, 將樣板 '重新整理'.
2. 建議您:
補齊發問格式
http://phpbb-tw.net/phpbb/viewtopic.php?t=49353