{assign var=poster value=$post->getUserInfo()}
<li><span>{$locale->tr("login")}</span>
	<ul><li>
	{if $auth->getUserName() != "unknown"}
		<a href="{$url->getBaseUrl()}/admin.php?op=Logout">{$locale->tr("logout")} ({$auth->getUserName()})</a>
	{else}
		<form id="loginForm" method="post" action="{$url->getBaseUrl()}/admin.php">
			<div>
				<label for="userName">{$locale->tr("username")}</label><input type="text" alt="{$locale->tr("username")}" tabindex="1" name="userName" id="userName" value="" size="8" maxlength="50" /><br />
				<label for="userPassword">{$locale->tr("password")}</label><input type="password" alt="{$locale->tr("password")}" tabindex="2" name="userPassword" id="userPassword" size="8" maxlength="50" /><br />
				<input type="submit" alt="{$locale->tr("login")}" name="Login" value="{$locale->tr("login")}" />
				<input type="hidden" name="op" value="Login" />
			</div>
		</form>
	{/if}
	</li></ul>
</li>