friendica/view/theme/diabook/login.tpl

34 lines
956 B
Smarty
Raw Normal View History

2012-04-18 02:36:30 +02:00
<form action="$dest_url" method="post" >
<input type="hidden" name="auth-params" value="login" />
<div id="login_standard">
2012-12-22 20:57:29 +01:00
{{ inc $field_input with $field=$lname }}{{ endinc }}
{{ inc $field_password with $field=$lpassword }}{{ endinc }}
2012-04-18 02:36:30 +02:00
</div>
{{ if $openid }}
<div id="login_openid">
2012-12-22 20:57:29 +01:00
{{ inc $field_openid with $field=$lopenid }}{{ endinc }}
2012-04-18 02:36:30 +02:00
</div>
{{ endif }}
<div id="login-submit-wrapper" >
<input type="submit" name="submit" id="login-submit-button" value="$login" />
</div>
<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>
</div>
{{ for $hiddens as $k=>$v }}
<input type="hidden" name="$k" value="$v" />
{{ endfor }}
</form>
<script type="text/javascript"> $(document).ready(function() { $("#id_$lname.0").focus();} );</script>