Location: PHPKode > projects > Simple Way to Usenet > docs/themes/swun/templates/core/login.tpl
<br/>
<br/>
<form method="post" action="">
<input type=hidden id="realm_nonce" name="formkey" value="$formkey" />
<input type=hidden id="digest" name="digest" value="nojs" />
<table align=center width=80%>
<tr>
	<td colspan=2>{--LANG=S=realm;logtrystat; chalfail=$fails, maxfail=$maxfail, maxticket=$maxticket, hosticket=$hosticket --}<br/><br/></td>
</tr>
{--LOGIC= $multirealm istrue --}
<tr>
	<td align=right>Realm :</td>
	<td>
		<select onchange="swap_realm(this.value);" name=realm>
		{--ARRAY= $realms --}
			<option value="$ARRAY_ENTRY_VAL" {--LOGIC= $ARRAY_ENTRY_VAL == %realm --}selected{--LOGIC-END--}>$ARRAY_ENTRY_VAL</option>
		{--ARRAY-END--}
		</select>
	</td>
</tr>
{--LOGIC-END--}
<tr>
	<td align=right>{--LANG=W=realm;inplogin --} :</td>
	<td><input id="realm_login" type="text" name="username" value="" /></td>
</tr>
<tr>
	<td align=right>{--LANG=W=realm;inpass --} :</td>
	<td><input id="realm_pass" type="password" name="pass" value="" /></td>
</tr>
{--LOGIC= $use_imgkey istrue --}
<tr>
	<td colspan=2>{--LANG=W=realm;descantibot --}</td>
</tr>
<tr valign=top>
	<td align="right">{--LANG=W=realm;inpantibot --} :</td>
	<td><img align="left" alt="[antibot img]" src="?captcha=$realm;$formkey" /><input style="font-size:140%" size=4 type=text name="imgkey" value="" /></td>
</tr>
{--LOGIC-END--}
{--LOGIC= $useauto istrue --}
<tr>
	<td align=right><input type="checkbox" name="remember" value="1" {--LOGIC= $rmbr istrue --}checked{--LOGIC-END--}/> :</td>
	<td>{--LANG=W=realm;logrmbr --}</td>
</tr>
{--LOGIC-END--}
{--LOGIC= $cantry istrue --}
<tr>
	<td></td>
	<td><input 	type="submit" 
				name="login" 
				value="{--LANG=W=realm;actlogin --}"
				{--LOGIC= $digest istrue --}onclick="authdigest('realm_login', 'realm_pass', '$realm', 'realm_nonce')"{--LOGIC-END--} /></td>
</tr>
{--LOGIC-END--}
<tr><td colspan=2>$msg</td></tr>
</table>
</form>
<div id="realm_debug"></div>
<br/>
<br/>
Return current item: Simple Way to Usenet