<html>
<head>{include="includes"}</head>
<body
-{if="ban_canLogin($conf)"}
+{if="$user_can_login"}
{if="empty($username)"}
onload="document.loginform.login.focus();"
{else}
{include="page.header"}
<div id="headerform">
- {if="!ban_canLogin($conf)"}
+ {if="!$user_can_login"}
You have been banned from login after too many failed attempts. Try later.
{else}
<form method="post" name="loginform">
</label>
<input type="submit" value="Login" class="bigbutton" tabindex="4">
<label for="longlastingsession">
- <input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="3">
+ <input type="checkbox" name="longlastingsession"
+ id="longlastingsession" tabindex="3"
+ {if="$remember_user_default"}checked="checked"{/if}>
Stay signed in (Do not check on public computers)</label>
<input type="hidden" name="token" value="{$token}">
{if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl}">{/if}