blob: 9678cf84077729bf3ccbcf858c3b1b5d5d4ce48b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
[%# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
#%]
[%# Use the current script name. If an empty name is returned,
# then we are accessing the home page. %]
[% USE Bugzilla %]
[% cgi = Bugzilla.cgi %]
[% login_target = cgi.url("-relative" => 1, "-query" => 1) %]
[% IF !login_target OR login_target.match("^token.cgi") %]
[% login_target = "index.cgi" %]
[% END %]
<li>
[% connector = "?" %]
[% IF cgi.request_method == "GET" AND cgi.query_string %]
[% connector = "&" %]
[% END %]
[% script_url = login_target _ connector _ "GoAheadAndLogIn=1" %]
<!--<a id="login_link[% qs_suffix %]" href="[% script_url FILTER html %]"-->
<!--onclick="return show_mini_login_form('[% qs_suffix %]')" style="color:#262626">Log In</a>-->
<a id="login_link[% qs_suffix %]" href="enter_bug.cgi?format=guided" style="color:#262626">Log In</a>
</li>
[% Hook.process('additional_methods') %]
[% IF user.authorizer.can_change_password %]
<li>
<a id="forgot_link[% qs_suffix %]" href="[% script_url FILTER html %]#forgot"
onclick="return show_forgot_form('[% qs_suffix %]')" style="color:#262626">Forgot Password</a>
</li>
[% END %]
|