Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
1fa897d6
Commit
1fa897d6
authored
Aug 01, 2009
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 507326: Make it so that the header template doesn't overwrite any template var named "target".
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
parent
cc4bb4cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
login-small.html.tmpl
template/en/default/account/auth/login-small.html.tmpl
+6
-6
No files found.
template/en/default/account/auth/login-small.html.tmpl
View file @
1fa897d6
...
...
@@ -23,23 +23,23 @@
[%# Use the current script name. If an empty name is returned,
# then we are accessing the home page. %]
[% target = cgi.url("-relative" => 1, "-query" => 1) %]
[% IF !target %]
[% target = "index.cgi" %]
[%
login_
target = cgi.url("-relative" => 1, "-query" => 1) %]
[% IF !
login_
target %]
[%
login_
target = "index.cgi" %]
[% END %]
[%# If SSL is in use, use 'sslbase', else use 'urlbase'. %]
[% IF Param("sslbase") != "" && Param("ssl") != "never" %]
[%
target = Param("sslbase") _
target %]
[%
login_target = Param("sslbase") _ login_
target %]
[% ELSE %]
[%
target = Param("urlbase") _
target %]
[%
login_target = Param("urlbase") _ login_
target %]
[% END %]
<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"
<form action="[%
login_
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 %]' );"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment