зеркало из https://github.com/mozilla/gecko-dev.git
Bug 310747: index.cgi invalid HTML when logged out - Patch by victory(_RSZ_) <bmo@rsz.jp> r=LpSolit a=myk
This commit is contained in:
Родитель
2da52758fa
Коммит
a7db28e20c
|
@ -108,7 +108,9 @@ function addSidebar() {
|
||||||
<li id="logout"><a href="relogin.cgi">Log out [% user.login FILTER html %]</a></li>
|
<li id="logout"><a href="relogin.cgi">Log out [% user.login FILTER html %]</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% ELSIF user.authorizer.can_login %]
|
[% ELSIF user.authorizer.can_login %]
|
||||||
|
</ul>
|
||||||
[% PROCESS "account/auth/login-small.html.tmpl" %]
|
[% PROCESS "account/auth/login-small.html.tmpl" %]
|
||||||
|
<ul>
|
||||||
[% IF Param('createemailregexp') && user.authorizer.user_can_create_account %]
|
[% IF Param('createemailregexp') && user.authorizer.user_can_create_account %]
|
||||||
<li id="account"><a href="createaccount.cgi">Open a new [% terms.Bugzilla %] account</a></li>
|
<li id="account"><a href="createaccount.cgi">Open a new [% terms.Bugzilla %] account</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
@ -120,7 +122,7 @@ function addSidebar() {
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<form id="show-bug" name="f" action="buglist.cgi" method="get"
|
<form id="f" name="f" action="buglist.cgi" method="get"
|
||||||
onsubmit="if (this.quicksearch.value == '')
|
onsubmit="if (this.quicksearch.value == '')
|
||||||
{ alert('Please enter one or more search terms first.');
|
{ alert('Please enter one or more search terms first.');
|
||||||
return false; } return true;">
|
return false; } return true;">
|
||||||
|
|
Загрузка…
Ссылка в новой задаче