diff options
author | mkanat%bugzilla.org <> | 2009-05-22 02:14:24 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-05-22 02:14:24 +0200 |
commit | 5c8a0d34a1cc70ff31f11c7904b718d8784c616d (patch) | |
tree | b9d4ee181178bf53506cc5ef97fbbafcf047f802 /template/en/default | |
parent | d04cb25873a44ba7d0eb9e8580180dd4a64e8cef (diff) | |
download | bugzilla-5c8a0d34a1cc70ff31f11c7904b718d8784c616d.tar.gz bugzilla-5c8a0d34a1cc70ff31f11c7904b718d8784c616d.tar.xz |
Bug 482556: Put "Forgot Password" in the header and footer so people can still f
ind it
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/account/auth/login-small.html.tmpl | 25 | ||||
-rw-r--r-- | template/en/default/global/common-links.html.tmpl | 5 |
2 files changed, 25 insertions, 5 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> diff --git a/template/en/default/global/common-links.html.tmpl b/template/en/default/global/common-links.html.tmpl index 5c4e9d9a5..fa5b0b03a 100644 --- a/template/en/default/global/common-links.html.tmpl +++ b/template/en/default/global/common-links.html.tmpl @@ -86,7 +86,10 @@ [% IF Param('createemailregexp') && user.authorizer.user_can_create_account %] - <li><span class="separator">| </span><a href="createaccount.cgi">New Account</a></li> + <li id="new_account_container[% qs_suffix FILTER html %]"> + <span class="separator">| </span> + <a href="createaccount.cgi">New Account</a> + </li> [% END %] [% IF user.authorizer.can_login %] |