]> git.mxchange.org Git - friendica.git/blob - view/login.tpl
template engine rework
[friendica.git] / view / login.tpl
1
2 <form action="$dest_url" method="post" >
3         <input type="hidden" name="auth-params" value="login" />
4
5         <div id="login_standard">
6         {{ inc field_input.tpl with $field=$lname }}{{ endinc }}
7         {{ inc field_password.tpl with $field=$lpassword }}{{ endinc }}
8         </div>
9         
10         {{ if $openid }}
11                         <div id="login_openid">
12                         {{ inc field_openid.tpl with $field=$lopenid }}{{ endinc }}
13                         </div>
14         {{ endif }}
15
16         {{ inc field_checkbox.tpl with $field=$lremember }}{{ endinc }}
17
18         <div id="login-extra-links">
19                 {{ if $register }}<a href="register" title="$register.title" id="register-link">$register.desc</a>{{ endif }}
20         <a href="lostpass" title="$lostpass" id="lost-password-link" >$lostlink</a>
21         </div>
22         
23         <div id="login-submit-wrapper" >
24                 <input type="submit" name="submit" id="login-submit-button" value="$login" />
25         </div>
26         
27         {{ for $hiddens as $k=>$v }}
28                 <input type="hidden" name="$k" value="$v" />
29         {{ endfor }}
30         
31         
32 </form>
33
34
35 <script type="text/javascript"> $(document).ready(function() { $("#id_$lname.0").focus();} );</script>