]> git.mxchange.org Git - friendica.git/blobdiff - view/login.tpl
Esperanto -> 100%
[friendica.git] / view / login.tpl
index 8fe09e7d3789af14bb3a307355485393e093c168..4cbbb162400a76789950a012982153e2f2277ebd 100644 (file)
@@ -1,25 +1,33 @@
 
-<form action="" method="post" >
-<input type="hidden" name="auth-params" value="login" />
-<div id="login-name-wrapper">
-        <label for="login-name" id="label-login-name">Nickname or Email: </label>
-        <input type="text" maxlength="60" name="login-name" id="login-name" value="" />
-</div>
-<div id="login-name-end" ></div>
-<div id="login-password-wrapper">
-        <label for="login-password" id="label-login-password">Password: </label>
-        <input type="password" maxlength="60" name="password" id="login-password" value="" />
-</div>
-<div id="login-password-end"></div>
-<div id="login-extra-links">
-       <div id="login-extra-filler">&nbsp;</div>
-       $register_html
-        <a href="lostpass" title="Lost your password?" id="lost-password-link" >Password Reset</a>
-</div>
-<div id="login-extra-end"></div>
-<div id="login-submit-wrapper" >
-        <input type="submit" name="submit" id="login-submit-button" value="Login" />
-</div>
-<div id="login-submit-end"></div>
+<form action="$dest_url" method="post" >
+       <input type="hidden" name="auth-params" value="login" />
+
+       <div id="login_standard">
+       {{ inc field_input.tpl with $field=$lname }}{{ endinc }}
+       {{ inc field_password.tpl with $field=$lpassword }}{{ endinc }}
+       </div>
+       
+       {{ if $openid }}
+                       <div id="login_openid">
+                       {{ inc field_openid.tpl with $field=$lopenid }}{{ endinc }}
+                       </div>
+       {{ endif }}
+
+       <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>
+       
+       <div id="login-submit-wrapper" >
+               <input type="submit" name="submit" id="login-submit-button" value="$login" />
+       </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>