phpBB 2 MOD Support
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)
版主: 版主管理群
-
starless
- 星球普通子民

- 文章: 10
- 註冊時間: 2005-07-07 17:35
文章
由 starless »
以下這一段這樣寫時
好像少了<select ></select>
代碼: 選擇全部
打?#125; \templates\subSilver\jumpbox.tpl
找到====================================
<form method="get" name="jumpbox" action="{S_JUMPBOX_ACTION}" onSubmit="if(document.jumpbox.f.value == -1){return false;}"><table cellspacing="0" cellpadding="0" border="0">
前面?#91;上=================================
<script language="JavaScript">
function add_select(val,na,s,sort)
{
var temp="";
if(sort>0)
{
na="→ "+na
}
for(var i=0;i<sort;i++)
{
temp+=" ";
}
document.write('<option value="'+val+'" '+s+'>'+temp+na+'</option>');
}
</script>
找到======================================
{S_JUMPBOX_SELECT}
取代為=====================================
<script language="JavaScript">{S_JUMPBOX_SELECT}</script>
我現在是在\r
代碼: 選擇全部
<script language="JavaScript">{S_JUMPBOX_SELECT}</script>
這邊修改成
代碼: 選擇全部
<select name="{JUMP_NAME}" onchange="if(this.options[this.selectedIndex].value != -1){ forms['jumpbox'].submit() }">
<script language="JavaScript">{S_JUMPBOX_SELECT}</script>
</select>
不過只是治標不治本\r
最好還是請作者在\r
function 輸出時前後多加上<select></select>
最後由
starless 於 2005-07-18 03:32 編輯,總共編輯了 2 次。
-
starless
- 星球普通子民

- 文章: 10
- 註冊時間: 2005-07-07 17:35
文章
由 starless »
小小問題
美術表現上的
\includes\functions.php
找到\r
代碼: 選擇全部
$forum_path="-><a href=".append_sid("viewforum.$phpEx?" . POST_FORUM_URL ."=".$row[forum_id]).">".$row['forum_name']."</a>".$forum_path;
取代成
代碼: 選擇全部
$forum_path="-><a class='nav' href=".append_sid("viewforum.$phpEx?" . POST_FORUM_URL ."=".$row[forum_id]).">".$row['forum_name']."</a>".$forum_path;
找到\r
代碼: 選擇全部
$forum_path="-><a href=".append_sid("viewforum.$phpEx?" . POST_FORUM_URL ."=$forum_id").">".$forum_row['forum_name']."</a>";
修改成
代碼: 選擇全部
$forum_path="-><a class='nav' href=".append_sid("viewforum.$phpEx?" . POST_FORUM_URL ."=$forum_id").">".$forum_row['forum_name']."</a>";
這樣才會跟著CSS樣式跑
最後由
starless 於 2005-07-14 13:14 編輯,總共編輯了 2 次。
-
starless
- 星球普通子民

- 文章: 10
- 註冊時間: 2005-07-07 17:35
文章
由 starless »
另外~如果有安裝
Ptirhiik 讓人聞知色變的Split topic type v 2.0.1
則是在\r
viewforum_body.tpl
裡面\r
找到\r
代碼: 選擇全部
<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
<tr>
<th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" align="center" class="thTop" nowrap="nowrap"> {L_REPLIES} </th>
<th width="100" align="center" class="thTop" nowrap="nowrap"> {L_AUTHOR} </th>
<th width="50" align="center" class="thTop" nowrap="nowrap"> {L_VIEWS} </th>
<th width="190" align="center" class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
前面加上-->
安裝Ptirhiik Split topic type v 2.0.1的人會找不到\r
而是要找\r
代碼: 選擇全部
{TOPICS_LIST_BOX}
前面加上-->
代碼: 選擇全部
<!-- BEGIN sub_forum -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" class="thCornerL" height="25" nowrap="nowrap"> {L_FORUM} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_POSTS} </th>
<th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row1" align="center" valign="middle" height="50"><img src="{sub_forum.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{sub_forum.forumrow.L_FORUM_FOLDER_ALT}" title="{sub_forum.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1" width="70%" height="50"><span class="forumlink"> <a href="{sub_forum.forumrow.U_VIEWFORUM}" class="forumlink">{sub_forum.forumrow.FORUM_NAME}</a><br />
</span> <span class="genmed">{sub_forum.forumrow.FORUM_DESC}<br />{sub_forum.forumrow.FORUM_NAME_SUB}<br />
</span><span class="gensmall">{sub_forum.forumrow.L_MODERATOR} {sub_forum.forumrow.MODERATORS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{sub_forum.forumrow.TOPICS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{sub_forum.forumrow.POSTS}</span></td>
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{sub_forum.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
</table>
<!-- END sub_forum -->
