1 頁 (共 1 頁)

[反應] 簡易子版面1.1bug

發表於 : 2005-07-13 16:10
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>

發表於 : 2005-07-13 17:41
ETERNAL
謝謝告知\r
安裝說明檔修正了

發表於 : 2005-07-14 13:02
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樣式跑

[問題]簡易子分區外掛解決Split topic type v 2.0.1

發表於 : 2005-07-14 13:08
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">&nbsp;{L_TOPICS}&nbsp;</th> 
     <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th> 
     <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th> 
     <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th> 
     <th width="190" align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</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">&nbsp;{L_FORUM}&nbsp;</th> 
   <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th> 
   <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th> 
   <th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</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 -->