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
26f9cef3
Commit
26f9cef3
authored
Aug 27, 2002
by
bbaetz%student.usyd.edu.au
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 161203 - Bug changes with intermediate pages munges fields with
multiple values (e.g., CC) patch by "Randall M! Gee", r=bbaetz, myk
parent
f5c9d40b
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
3 deletions
+20
-3
CGI.pl
CGI.pl
+1
-0
process_bug.cgi
process_bug.cgi
+3
-1
login.html.tmpl
template/en/default/account/login.html.tmpl
+2
-0
confirm-duplicate.html.tmpl
template/en/default/bug/process/confirm-duplicate.html.tmpl
+1
-0
midair.html.tmpl
template/en/default/bug/process/midair.html.tmpl
+1
-0
verify-new-product.html.tmpl
template/en/default/bug/process/verify-new-product.html.tmpl
+1
-0
hidden-fields.html.tmpl
template/en/default/global/hidden-fields.html.tmpl
+11
-2
No files found.
CGI.pl
View file @
26f9cef3
...
...
@@ -787,6 +787,7 @@ Content-type: text/html
$vars
->
{
'target'
}
=
$nexturl
;
$vars
->
{
'form'
}
=
\%::
FORM
;
$vars
->
{
'mform'
}
=
\%::
MFORM
;
print
"Content-type: text/html\n\n"
;
$template
->
process
(
"account/login.html.tmpl"
,
$vars
)
...
...
process_bug.cgi
View file @
26f9cef3
...
...
@@ -41,7 +41,6 @@ use RelationSet;
use
vars
qw(%versions
%components
%COOKIE
%MFORM
%legal_opsys
%legal_platform
%legal_priority
...
...
@@ -204,6 +203,7 @@ if ((($::FORM{'id'} && $::FORM{'product'} ne $::oldproduct)
# a verification form.
if
(
!
$vok
||
!
$cok
||
!
$mok
||
(
Param
(
'usebuggroups'
)
&&
!
defined
(
$::FORM
{
'addtonewgroup'
})))
{
$vars
->
{
'form'
}
=
\%::
FORM
;
$vars
->
{
'mform'
}
=
\%::
MFORM
;
if
(
!
$vok
||
!
$cok
||
!
$mok
)
{
$vars
->
{
'verify_fields'
}
=
1
;
...
...
@@ -359,6 +359,7 @@ sub DuplicateUserConfirm {
# ask the duper what he/she wants to do.
$vars
->
{
'form'
}
=
\%::
FORM
;
$vars
->
{
'mform'
}
=
\%::
MFORM
;
$vars
->
{
'original_bug_id'
}
=
$original
;
$vars
->
{
'duplicate_bug_id'
}
=
$dupe
;
...
...
@@ -1014,6 +1015,7 @@ foreach my $id (@idlist) {
$::FORM
{
'delta_ts'
}
=
$delta_ts
;
$vars
->
{
'form'
}
=
\%::
FORM
;
$vars
->
{
'mform'
}
=
\%::
MFORM
;
$vars
->
{
'bug_id'
}
=
$id
;
$vars
->
{
'quoteUrls'
}
=
\&
quoteUrls
;
...
...
template/en/default/account/login.html.tmpl
View file @
26f9cef3
...
...
@@ -22,6 +22,8 @@
[%# INTERFACE:
# target: string. URL to go to after login.
# form: hash; the form values which need to be submitted to the target script
# mform: hash; the form values with multiple values which need to be
# submitted to the target script
#%]
[% PROCESS global/header.html.tmpl
...
...
template/en/default/bug/process/confirm-duplicate.html.tmpl
View file @
26f9cef3
...
...
@@ -21,6 +21,7 @@
[%# INTERFACE:
# form: hash; the form values submitted to the script
# mform: hash; the form multi-values submitted to the script
# original_bug_id: number; the bug number for the bug
# against which a bug is being duped
# duplicate_bug_id: number; the bug number for the bug
...
...
template/en/default/bug/process/midair.html.tmpl
View file @
26f9cef3
...
...
@@ -21,6 +21,7 @@
[%# INTERFACE:
# form: hash; the form values submitted to the script
# mform: hash; the form multi-values submitted to the script
# operations: array; bug activity since the user last displayed the bug form,
# used by bug/activity/table.html.tmpl to display recent changes that will
# be overwritten if the user submits these changes. See that template
...
...
template/en/default/bug/process/verify-new-product.html.tmpl
View file @
26f9cef3
...
...
@@ -21,6 +21,7 @@
[%# INTERFACE:
# form: hash; the form values submitted to the script
# mform: hash; the form multi-values submitted to the script
# verify_fields: boolean; whether or not to verify
# the version, component, and target milestone fields
# versions: array; versions for the new product.
...
...
template/en/default/global/hidden-fields.html.tmpl
View file @
26f9cef3
...
...
@@ -21,6 +21,8 @@
[%# INTERFACE:
# form: hash; the form fields/values for which to generate hidden fields.
# mform: hash; the form fields/values with multiple values for which to
# generate hidden fields.
# exclude: string; a regular expression matching fields to exclude
# from the list of hidden fields generated by this template
#%]
...
...
@@ -28,6 +30,13 @@
[%# Generate hidden form fields for non-excluded fields. %]
[% FOREACH field = form %]
[% NEXT IF exclude && field.key.search(exclude) %]
<input type="hidden" name="[% field.key %]"
value="[% field.value | html | html_linebreak %]">
[% IF mform.${field.key}.size > 1 %]
[% FOREACH mvalue = mform.${field.key} %]
<input type="hidden" name="[% field.key %]"
value="[% mvalue | html | html_linebreak %]">
[% END %]
[% ELSE %]
<input type="hidden" name="[% field.key %]"
value="[% field.value | html | html_linebreak %]">
[% END %]
[% END %]
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