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