{include file="shared:errorlist.tpl"}

<form id="login" method="post" action="{$smarty.const.BLOG_BASEURL}login.php" enctype="multipart/form-data">
	<fieldset><legend>{$lang.login.fieldset1}</legend>
	<p><label for="user">{$lang.login.user}</label><br />
	{if isset($error) && isset($error.user)}
		<input autofocus {$error.user|notempty:'class="field-error"'} type="text" name="user" id="user" {if $smarty.post.user}value="{$smarty.post.user|wp_specialchars:true}"{/if} /></p>
	{elseif isset($smarty.post.user)}
		<input autofocus type="text" name="user" id="user" {if $smarty.post.user}value="{$smarty.post.user|wp_specialchars:true}"{/if} /></p>
	{else}
		<input autofocus type="text" name="user" id="user" /></p>
	{/if}
	<p><label for="pass">{$lang.login.pass}</label><br />
	{if isset($error) && isset($error.pass)}
		<input type="password" {$error.pass|notempty:'class="field-error"'} name="pass" id="pass" /></p>
	{else}
		<input type="password" name="pass" id="pass" /></p>
	{/if}
	</fieldset>
	
	<div class="buttonbar">
	<input type="submit" name="submit" id="submit" value="{$lang.login.submit}" />
	{* <input type="submit" name="forgot" id="forgot" value="{$lang.login.forgot}" /> *}
	</div>
	
</form>

