[問題]請問如何修改登入欄位
發表於 : 2004-10-02 20:37
小弟目前的風格是Mac..下方的登入欄位是這樣...
![圖檔](http://home.pchome.com.tw/online/suicidal/sm02.jpg)
小弟想要把他修改像其他討論區一樣有框框包住..像這樣...
![圖檔](http://home.pchome.com.tw/online/suicidal/sm01.jpg)
請問小弟該從哪裡著手修改...才能跟竹貓下面的登入欄一樣..是有框框ㄉ..
![驚訝 :-o](./images/smilies/icon_eek.gif)
![圖檔](http://home.pchome.com.tw/online/suicidal/sm02.jpg)
小弟想要把他修改像其他討論區一樣有框框包住..像這樣...
![圖檔](http://home.pchome.com.tw/online/suicidal/sm01.jpg)
請問小弟該從哪裡著手修改...才能跟竹貓下面的登入欄一樣..是有框框ㄉ..
![驚訝 :-o](./images/smilies/icon_eek.gif)
![驚訝 :-o](./images/smilies/icon_eek.gif)
![驚訝 :-o](./images/smilies/icon_eek.gif)
代碼: 選擇全部
<!-- BEGIN switch_user_logged_out -->
....
<!-- END switch_user_logged_out -->
代碼: 選擇全部
<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>\r
<th class="cat" colspan="5" height="28" align="left"><span class="cattitle"><a name="login"></a>{L_LOGIN_LOGOUT}</span></th>
</tr>
<tr>
<td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
<input class="post" type="text" name="username" size="10" />
{L_PASSWORD}:
<input class="post" type="password" name="password" size="10" maxlength="32" />
{L_AUTO_LOGIN}
<input class="text" type="checkbox" name="autologin" checked />
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
<a href="http://aikenlin.idv.tw/phpbb2/profile.php?mode=register" class="gensmall">我要註冊!</a>
</span> </td>
</tr>
</table>
</form><br />
<!-- END switch_user_logged_out -->
其實你想放在哪裡都是可以的...webspirit 寫:那登入 table 不是在 index_body.tpl 裡嗎?
代碼: 選擇全部
<tr>
<td align="center"> </td>
<td align="right" width="50%">
<!-- BEGIN switch_user_logged_out -->
<table border="0" cellpadding="2" cellspacing="0">
<form method="post" action="{S_LOGIN_ACTION}">
<tr>
<td nowrap><span class="smalltext">請輸入會員名稱及密碼登入:</span></td>
</tr>
<tr>
<td nowrap align="center">
<input class="post" type="text" name="username" size="10">
<input class="post" type="password" name="password" size="10" maxlength="32">
<b>自動登入?</b>
<input class="text" type="checkbox" name="autologin" value="ON">
<input type="submit" name="login" value="{L_LOGIN}">
<br>
</td>
</tr>
</form>
</table>
<!-- END switch_user_logged_out -->
</td>
</tr>
代碼: 選擇全部
</table>
<br>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="3%" align="left"><img src="templates/Macinscott2/images/buttons.gif" width="66" height="23"></td>
<td width="94%" align="center" background="templates/Macinscott2/images/buttons_bkgd.gif"><span class="thCornerL"> 會員登入 </span></td>
<td width="3%" align="right"><img src="templates/Macinscott2/images/buttons_right.gif" width="66" height="23"></td>
</tr>
</table>
<table width="95%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="row2" align="center">
<!-- BEGIN switch_user_logged_out -->
<table border="0" cellpadding="2" cellspacing="0">
<form method="post" action="{S_LOGIN_ACTION}">
<tr>
<td nowrap align="center">
<span class="smalltext">會員名稱:</span><input class="post" type="text" name="username" size="10">
<span class="smalltext">登入密碼:</span><input class="post" type="password" name="password" size="10" maxlength="32">
<b>自動登入?</b>
<input class="text" type="checkbox" name="autologin" value="ON">
<input type="submit" name="login" value="{L_LOGIN}">
<br>
</td>
</tr>
</form>
</table>
<!-- END switch_user_logged_out -->
</td>
</tr>
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="35" align="left" valign="top" background="templates/Macinscott2/images/shadow_bottom.jpg"><img src="templates/Macinscott2/images/shadow_bttm_left_corner.jpg" width="19" height="35"></td>
<td align="left" valign="top" background="templates/Macinscott2/images/shadow_bottom.jpg"><img src="templates/Macinscott2/images/shadow_bottom.jpg" width="19" height="35"></td>
<td align="right" valign="top" background="templates/Macinscott2/images/shadow_bottom.jpg"><img src="templates/Macinscott2/images/shadow_bttm_right_corner.jpg" width="19" height="35"></td>
</tr>