# our weak etag is based on the bugzilla version parameter (BMO customization) and the announcehtml
# if either change, the cache will be considered invalid.
-my @etag_parts = (Bugzilla->params->{bugzilla_version}, Bugzilla->params->{announcehtml});
+my @etag_parts = (
+ Bugzilla->params->{bugzilla_version},
+ Bugzilla->params->{announcehtml},
+ Bugzilla->params->{createemailregexp},
+);
my $weak_etag = q{W/"} . md5_hex(@etag_parts) . q{"};
my $if_none_match = $cgi->http('If-None-Match');
# Generate and return the UI (HTML page) from the appropriate template.
$template->process("index.html.tmpl", $vars)
or ThrowTemplateError( $template->error() );
-}
\ No newline at end of file
+}
<ul class="login-links">
[% IF Param('createemailregexp')
&& user.authorizer.user_can_create_account %]
- <li id="moz_new_account_container_top"><a href="createaccount.cgi">New Account</a></li>
+ <li id="moz_new_account_container_top"><a href="createaccount.cgi">New Account</a>
+ [% IF use_login_page %] <span class="separator">| </span> [% END %]
+ </li>
[% END %]
[% IF use_login_page %]
<li>
- <span class="separator">| </span>
<a href="[% urlbase %]login">Log In</a>
</li>
[% ELSE %]