friendica-github/view/login.tpl

36 lines
1,015 B
Smarty
Raw Normal View History

2010-07-01 23:48:07 +00:00
<form action="$dest_url" method="post" >
2011-10-17 14:53:59 +00:00
<input type="hidden" name="auth-params" value="login" />
<div id="login_standard">
2012-12-22 19:57:29 +00:00
{{ inc $field_input with $field=$lname }}{{ endinc }}
{{ inc $field_password with $field=$lpassword }}{{ endinc }}
2011-10-17 14:53:59 +00:00
</div>
{{ if $openid }}
<div id="login_openid">
2012-12-22 19:57:29 +00:00
{{ inc $field_openid with $field=$lopenid }}{{ endinc }}
2011-10-17 14:53:59 +00:00
</div>
{{ endif }}
2012-12-22 19:57:29 +00:00
{{ inc $field_checkbox with $field=$lremember }}{{ endinc }}
2012-11-09 04:46:44 +00:00
2011-10-17 14:53:59 +00:00
<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 14:53:59 +00:00
</div>
<div id="login-submit-wrapper" >
<input type="submit" name="submit" id="login-submit-button" value="$login" />
</div>
2011-11-07 16:37:25 +00:00
{{ for $hiddens as $k=>$v }}
<input type="hidden" name="$k" value="$v" />
{{ endfor }}
2010-07-01 23:48:07 +00:00
</form>
2011-10-17 14:53:59 +00:00
<script type="text/javascript"> $(document).ready(function() { $("#id_$lname.0").focus();} );</script>