friendica-github/view/theme/frio/templates/login.tpl

48 lines
1.4 KiB
Smarty
Raw Normal View History

2016-06-12 09:51:43 +00:00
<form id="login-form" action="{{$dest_url}}" role="form" method="post">
2017-09-02 15:49:55 +00:00
<div id="login-group" role="group" aria-labelledby="login-head">
<input type="hidden" name="auth-params" value="login" />
2016-06-12 09:51:43 +00:00
2017-09-02 15:49:55 +00:00
<div id="login-head" class="sr-only">{{$login}}</div>
2016-06-12 09:51:43 +00:00
2017-09-02 15:49:55 +00:00
<div id="login_standard">
{{include file="field_input.tpl" field=$lname}}
{{include file="field_password.tpl" field=$lpassword}}
<div id="login-lost-password-link">
<a href="lostpass" title="{{$lostpass}}" id="lost-password-link">{{$lostlink}}</a>
</div>
<div id="login-end"></div>
2017-09-02 15:49:55 +00:00
</div>
2016-06-12 09:51:43 +00:00
2017-09-02 15:49:55 +00:00
{{if $openid}}
<div id="login_openid">
{{include file="field_openid.tpl" field=$lopenid}}
</div>
{{/if}}
2016-06-12 09:51:43 +00:00
2017-09-02 15:49:55 +00:00
{{include file="field_checkbox.tpl" field=$lremember}}
<div id="login-submit-wrapper">
<div class="pull-right">
<button type="submit" name="submit" id="login-submit-button" class="btn btn-primary" value="{{$login}}">{{$login}}</button>
</div>
2017-09-02 15:49:55 +00:00
</div>
2017-09-02 15:49:55 +00:00
{{foreach $hiddens as $k=>$v}}
<input type="hidden" name="{{$k}}" value="{{$v}}" />
2017-09-02 15:49:55 +00:00
{{/foreach}}
2016-06-12 09:51:43 +00:00
2018-04-24 21:16:15 +00:00
<div id="login-end"></div>
2016-06-12 09:51:43 +00:00
</div>
</form>
{{if $register}}
<div id="login-extra-links">
<h3 id="login-head" class="sr-only">{{$register.title}}</h3>
2019-10-24 20:23:26 +00:00
<a href="{{$register.url}}" title="{{$register.title}}" id="register-link" class="btn btn-default">{{$register.desc}}</a>
</div>
{{/if}}
2016-06-12 09:51:43 +00:00
<script type="text/javascript"> $(document).ready(function() { $("#id_{{$lname.0}}").focus();} );</script>