我不替換'L_LINKS'的原因很簡單\r
因為'L_LINKS'不只index_box.tpl會用到
所以乾脆新增一個專給index_box.tpl用~
剛又想到如果是沒有子分區的話,該版面就會空一行
所以就用<!-- BEGIN --><!-- END -->來解決
沒有的話,也不會空一行
#
#-----[ OPEN 打開 ]------------------------------------------------
#
代碼: 選擇全部
includes/functions_categories_hierarchy.php
#
#-----[ FIND 尋找 ]------------------------------------------------
#
代碼: 選擇全部
// display icon
if ( !empty($icon_img) )
{
#
#-----[ BEFORE ADD 之前, 加上 ]------------------------------------
#
代碼: 選擇全部
// display fieldset
if ( !empty($links) )
{
$template->assign_block_vars('catrow.forumrow.forum_fieldset', array());
}
#
#-----[ OPEN 打開 ]------------------------------------------------
#
代碼: 選擇全部
templates/subSilver/index_box.tpl
#
#-----[ FIND 尋找 ]------------------------------------------------
#
代碼: 選擇全部
<span class="gensmall">{catrow.forumrow.L_MODERATOR}{catrow.forumrow.MODERATORS}</span>
<div style="width:100%"><fieldset><legend align="right">{catrow.forumrow.L_LINKS} </legend>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<span class="gensmall">{catrow.forumrow.LINKS}</span>
</table>
</fieldset></div>
#
#-----[ REPLACE WITH 替換 ]----------------------------------------
#
代碼: 選擇全部
<!-- BEGIN forum_fieldset -->
<span class="gensmall">{catrow.forumrow.L_MODERATOR}{catrow.forumrow.MODERATORS}</span>
<div style="width:100%"><fieldset><legend align="right">{catrow.forumrow.L_LINKS} </legend>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<span class="gensmall">{catrow.forumrow.LINKS}</span>
</table>
</fieldset></div>
<!-- END forum_fieldset -->
#
#-----[ SAVE/CLOSE ALL FILES 儲存/關閉所有檔案 ]-------------------
#
# EoM 外掛修正結束