dir/view/login.tpl

34 lines
952 B
Smarty
Raw Normal View History

2010-07-02 01:48:07 +02:00
<form action="" method="post" >
2011-10-17 16:53:59 +02:00
<input type="hidden" name="auth-params" value="login" />
<div id="login_standard">
{{ inc field_input.tpl with $field=$lname }}{{ endinc }}
{{ inc field_password.tpl with $field=$lpassword }}{{ endinc }}
</div>
{{ if $openid }}
<div id="login_openid">
{{ inc field_openid.tpl with $field=$lopenid }}{{ endinc }}
</div>
{{ endif }}
<div id="login-extra-links">
{{ if $register }}<a href="register" title="$register.title" id="register-link">$register.desc</a>{{ endif }}
<a href="lostpass" title="$lostpass" id="lost-password-link" >$lostlink</a>
2011-10-17 16:53:59 +02:00
</div>
<div id="login-submit-wrapper" >
<input type="submit" name="submit" id="login-submit-button" value="$login" />
</div>
2011-11-07 17:37:25 +01:00
{{ for $hiddens as $k=>$v }}
<input type="hidden" name="$k" value="$v" />
{{ endfor }}
2010-07-02 01:48:07 +02:00
</form>
2011-10-17 16:53:59 +02:00
<script type="text/javascript"> $(document).ready(function() { $("#id_$lname.0").focus();} );</script>