[問題] Attachment+防止版面被撐大的td
發表於 : 2006-03-18 08:19
外掛名稱: [修正] 防止版面被撐大
參考連結: http://phpbb-tw.net/phpbb/viewtopic.php?p=74614#74614
http://gamania.idv.tw/Lineage/viewtopic.php?t=17
phpBB: 2.0.19
網址: http://jwxinst.q168.net
風格: G.I.T
問題:
按著兩個參考連結去做這個修正
經過朋友指出, 好像會多出一個</td>
(我也搞不清楚他說什麼.....
目前主要想說的是 attachmod
因為像templates/subSilver/privmsgs_read_body.tpl
#
#--- [ 開啟 ] ---
#
templates/subSilver/privmsgs_read_body.tpl
#
#--- [ 找到 ] ---
#
#
#--- [ 取代 ] ---
#
但是當我做修正的時候, 會發現
如果按著修正去做
整個privmsgs_read_body.tpl就會變成
其實還有很多地方都跟 attachmod裡 replace了以後, 好像是多了一個 </td>
我朋友曾經叫我去把
他說:
參考連結: http://phpbb-tw.net/phpbb/viewtopic.php?p=74614#74614
http://gamania.idv.tw/Lineage/viewtopic.php?t=17
phpBB: 2.0.19
網址: http://jwxinst.q168.net
風格: G.I.T
問題:
按著兩個參考連結去做這個修正
經過朋友指出, 好像會多出一個</td>
(我也搞不清楚他說什麼.....
目前主要想說的是 attachmod
因為像templates/subSilver/privmsgs_read_body.tpl
#
#--- [ 開啟 ] ---
#
templates/subSilver/privmsgs_read_body.tpl
#
#--- [ 找到 ] ---
#
代碼: 選擇全部
<td valign="top" colspan="3" class="row1"><span class="postbody">{MESSAGE}</span></td>#--- [ 取代 ] ---
#
代碼: 選擇全部
<td valign="top" colspan="3" class="row1"><span class="postbody">{MESSAGE}</span>
<!-- BEGIN postrow -->
{ATTACHMENTS}
<!-- END postrow -->
</td>代碼: 選擇全部
<td valign="top" colspan="3" class="row1"><table style="table-layout:fixed"><tr><td style="word-wrap:break-word"><span class="postbody">{MESSAGE}</span></td></tr></table></td>整個privmsgs_read_body.tpl就會變成
代碼: 選擇全部
<tr>
<td valign="top" colspan="3" class="row1"><table style="table-layout:fixed"><tr><td style="word-wrap:break-word"><span class="postbody">{MESSAGE}</span></td></tr></table></td>
<!-- BEGIN postrow -->
{ATTACHMENTS}
<!-- END postrow -->
</td>
</tr>我朋友曾經叫我去把
代碼: 選擇全部
</span></td></tr></table></td>我先請教這一部份.....</td></tr></table></td>變</td></tr>