aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/diabook-green/login.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/diabook/diabook-green/login.tpl')
-rw-r--r--view/theme/diabook/diabook-green/login.tpl33
1 files changed, 33 insertions, 0 deletions
diff --git a/view/theme/diabook/diabook-green/login.tpl b/view/theme/diabook/diabook-green/login.tpl
new file mode 100644
index 000000000..efa7c2d6d
--- /dev/null
+++ b/view/theme/diabook/diabook-green/login.tpl
@@ -0,0 +1,33 @@
+
+<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-submit-wrapper" >
+ <input type="submit" name="submit" id="login-submit-button" value="$login" />
+ </div>
+
+ <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>
+
+ {{ 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>