前言:不曉得有沒有人已經有這方面的研究並發表了.... ^^||| (所以不敢用原創當主題....)
以下將以 subSliver 為例
修改檔案: index_body.tpl & index.php
說明:
版面管理員的變數是 {catrow.forumrow.MODERATORS}
版面管理員的字串是 {catrow.forumrow.L_MODERATOR}
最簡單的修改就是變顏色....
改成
代碼: 選擇全部
<font color="#D8BAB7"> {catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</font>
(好像太簡單了點 XD ),那好吧,接下來要講的才是重點....
開啟 index.php
搜尋
代碼: 選擇全部
$moderator_list = implode(', ', $forum_moderators[$forum_id]);
代碼: 選擇全部
$moderator_list = implode('</option><option>', $forum_moderators[$forum_id]);
開啟 index_body.tpl
搜尋
代碼: 選擇全部
<th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
代碼: 選擇全部
<th class="thTop" nowrap="nowrap"> {L_LASTPOST} </th>
<th class="thCornerR" nowrap="nowrap"> {L_MODERATOR} </th>
代碼: 選擇全部
<!-- BEGIN catrow -->
<tr>
<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td class="rowpic" colspan="3" align="right"> </td>
</tr>
代碼: 選擇全部
<!-- BEGIN catrow -->
<tr>
<td class="catLeft" colspan="[color=red]4[/color]" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td class="rowpic" colspan="[color=red]2[/color]" align="right"> </td>
</tr>
代碼: 選擇全部
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
代碼: 選擇全部
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"><span class="gensmall"><select><option>{catrow.forumrow.MODERATORS}</option></select></span></td>
或者改成這樣 (一樣是選單式)
代碼: 選擇全部
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"><span class="gensmall"><select><option>{catrow.forumrow.L_MODERATOR}</option><option>------------</option><option>{catrow.forumrow.MODERATORS}</option></select></span></td>
![圖檔](http://www.imacao.com/anyfile/cprow.jpg)
---------
相關請至 外掛問題區 討論
![微笑 :)](./images/smilies/icon__msn01.gif)