diff --git a/index.cgi b/index.cgi index 02896ae383..82fa5ede97 100755 --- a/index.cgi +++ b/index.cgi @@ -90,8 +90,6 @@ else { $vars->{'release'} = Bugzilla::Update::get_notifications(); } - $vars->{use_login_page} = 1; - # Generate and return the UI (HTML page) from the appropriate template. $template->process("index.html.tmpl", $vars) or ThrowTemplateError($template->error()); diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl index a860d071c1..201d0cb99e 100644 --- a/template/en/default/account/auth/login-small.html.tmpl +++ b/template/en/default/account/auth/login-small.html.tmpl @@ -37,8 +37,12 @@ [% END %] [% script_url = login_target _ connector _ "GoAheadAndLogIn=1" %] Log In + [% IF !use_login_page %] + class='show_mini_login_form' + [% END %] + data-qs-suffix="[% qs_suffix FILTER html %]">Log In + [% IF !use_login_page %]
[% Hook.process('additional_methods') %] @@ -86,7 +90,9 @@
+ [% END %] +[% IF !use_login_page %]
  • +[% END %] diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index cbef59f2a5..3d1bf4ba84 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -405,7 +405,7 @@ [% END %] diff --git a/template/en/default/global/ip-blocked.html.tmpl b/template/en/default/global/ip-blocked.html.tmpl index b60ea41ea2..eb0ec9efab 100644 --- a/template/en/default/global/ip-blocked.html.tmpl +++ b/template/en/default/global/ip-blocked.html.tmpl @@ -3,6 +3,7 @@ [% title = "Too Many Requests" %] [% PROCESS global/header.html.tmpl + use_login_page = 1 robots = 'noindex' %]

    [% title FILTER html %]