歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 29, 2024, 06:58:09 上午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
  列出文章
頁: 1 2 [3]
31  開發 / 模版設計 / 發問:把管理介面的帳號和密碼輸入框放到pLo 於: 一月 15, 2005, 01:54:06 上午
這個在 WordpLog 中有,你可以下載來參考。原始碼如下:
程式碼:
<form id="loginForm" method="post" action="{$url->getBaseUrl()}/admin.php">
<div>
<label for="userName">{$locale->tr("username")}</label>
<input type="text" name="userName" id="userName" value="" /><br />
<label for="userPassword">{$locale->tr("password")}</label>
<input type="password" name="userPassword" id="userPassword" /><br />
<input type="submit" name="Login" value="{$locale->tr("login")}" />
<input type="hidden" name="op" value="Login" />
</div>
</form>


這是最陽春的作法, WordpLog 另外加了登出功能。
頁: 1 2 [3]