]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/login.tpl
57bb86c150363a6e1cd74a49425b080301b190ea
[friendica.git] / view / theme / frio / templates / login.tpl
1
2 <form id="login-form" action="{{$dest_url}}" role="form" method="post" >
3         <div id="login-group" role="group" aria-labelledby="login-head">
4                 <input type="hidden" name="auth-params" value="login" />
5
6                 <div id="login-head" class="sr-only">{{$login}}</div>
7
8                 <div id="login_standard">
9                         {{include file="field_input.tpl" field=$lname}}
10                         {{include file="field_password.tpl" field=$lpassword}}
11                         <div id="login-lost-password-link">
12                                 <a href="lostpass" title="{{$lostpass|escape:'html'}}" id="lost-password-link" >{{$lostlink}}</a>
13                         </div>
14                 </div>
15
16                 {{if $openid}}
17                 <div id="login_openid">
18                         {{include file="field_openid.tpl" field=$lopenid}}
19                 </div>
20                 {{/if}}
21
22                 {{include file="field_checkbox.tpl" field=$lremember}}
23
24                 <div id="login-submit-wrapper">
25                         <div class="pull-right" >
26                                 <button type="submit" name="submit" id="login-submit-button" class="btn btn-primary" value="{{$login|escape:'html'}}">{{$login|escape:'html'}}</button>
27                         </div>
28                 </div>
29
30
31                 {{foreach $hiddens as $k=>$v}}
32                         <input type="hidden" name="{{$k}}" value="{{$v|escape:'html'}}" />
33                 {{/foreach}}
34
35                 <div id="login-end"></div>
36         </div>
37 </form>
38
39 {{if $register}}
40 <div id="login-extra-links">
41         <h3 id="login-head" class="sr-only">{{$register.title|escape:'html'}}</h3>
42         <a href="register" title="{{$register.title|escape:'html'}}" id="register-link" class="btn btn-default">{{$register.desc}}</a>
43 </div>
44 {{/if}}
45
46 <script type="text/javascript"> $(document).ready(function() { $("#id_{{$lname.0}}").focus();} );</script>