summaryrefslogtreecommitdiffstats
path: root/template/en/default/account
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/account')
-rw-r--r--template/en/default/account/auth/login-small.html.tmpl25
1 files changed, 21 insertions, 4 deletions
diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl
index 19dbf8db9..dd55a72bd 100644
--- a/template/en/default/account/auth/login-small.html.tmpl
+++ b/template/en/default/account/auth/login-small.html.tmpl
@@ -35,12 +35,15 @@
[% target = Param("urlbase") _ target %]
[% END %]
-<li>
- <form action="[% target FILTER html %]" method="POST" class="mini_login"
+<li id="mini_login_container[% qs_suffix %]">
+ <span class="separator">| </span>
+ <a id="login_link[% qs_suffix %]" href="?GoAheadAndLogIn=1"
+ onclick="return show_mini_login_form('[% qs_suffix %]')">Log In</a>
+ <form action="[% target FILTER html %]" method="POST"
+ class="mini_login bz_default_hidden"
id="mini_login[% qs_suffix FILTER html %]"
onsubmit="return check_mini_login_fields( '[% qs_suffix FILTER html %]' );"
>
- <span class="separator">| </span>
<input id="Bugzilla_login[% qs_suffix FILTER html %]"
class="bz_login"
name="Bugzilla_login"
@@ -103,6 +106,20 @@
}, 200);
});
}
- </script>
+ </script>
+ <a href="#" onclick="return hide_mini_login_form('[% qs_suffix %]')">[x]</a>
+ </form>
+</li>
+<li id="forgot_container[% qs_suffix %]">
+ <span class="separator">| </span>
+ <a id="forgot_link[% qs_suffix %]" href="?GoAheadAndLogIn=1#forgot"
+ onclick="return show_forgot_form('[% qs_suffix %]')">Forgot Password</a>
+ <form action="token.cgi" method="post" id="forgot_form[% qs_suffix %]"
+ class="mini_forgot bz_default_hidden">
+ <label>Login: <input type="text" name="loginname" size="20"></label>
+ <input id="forgot_button[% qs_suffix %]" value="Reset Password"
+ type="submit">
+ <input type="hidden" name="a" value="reqpw">
+ <a href="#" onclick="return hide_forgot_form('[% qs_suffix %]')">[x]</a>
</form>
</li>