Commit cfda9d97 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 238876: remove %FORM from process_bug.cgi - Patch by Teemu Mannermaa…

Bug 238876: remove %FORM from process_bug.cgi - Patch by Teemu Mannermaa <wicked@etlicon.fi> r=LpSolit a=justdave
parent 7c03ca4c
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
#%] #%]
[%# INTERFACE: [%# 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 # original_bug_id: number; the bug number for the bug
# against which a bug is being duped # against which a bug is being duped
# duplicate_bug_id: number; the bug number for the bug # duplicate_bug_id: number; the bug number for the bug
......
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
#%] #%]
[%# INTERFACE: [%# 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, # 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 # used by bug/activity/table.html.tmpl to display recent changes that will
# be overwritten if the user submits these changes. See that template # be overwritten if the user submits these changes. See that template
...@@ -34,6 +32,10 @@ ...@@ -34,6 +32,10 @@
# bug_id: number; the ID of the bug being changed. # bug_id: number; the ID of the bug being changed.
#%] #%]
[%# The global Bugzilla->cgi object is used to obtain form variable values. %]
[% USE Bugzilla %]
[% cgi = Bugzilla.cgi %]
[% PROCESS global/variables.none.tmpl %] [% PROCESS global/variables.none.tmpl %]
[% UNLESS header_done %] [% UNLESS header_done %]
...@@ -62,7 +64,7 @@ ...@@ -62,7 +64,7 @@
<p> <p>
Your comment was:<br> Your comment was:<br>
<blockquote><pre>[% form.comment FILTER html %]</pre></blockquote> <blockquote><pre>[% cgi.param("comment") FILTER html %]</pre></blockquote>
</p> </p>
<p> <p>
......
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
#%] #%]
[%# INTERFACE: [%# 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 # verify_fields: boolean; whether or not to verify
# the version, component, and target milestone fields # the version, component, and target milestone fields
# versions: array; versions for the new product. # versions: array; versions for the new product.
...@@ -35,6 +33,10 @@ ...@@ -35,6 +33,10 @@
# the target milestone field # the target milestone field
#%] #%]
[%# The global Bugzilla->cgi object is used to obtain form variable values. %]
[% USE Bugzilla %]
[% cgi = Bugzilla.cgi %]
[% PROCESS global/variables.none.tmpl %] [% PROCESS global/variables.none.tmpl %]
[% PROCESS global/header.html.tmpl %] [% PROCESS global/header.html.tmpl %]
...@@ -51,12 +53,12 @@ ...@@ -51,12 +53,12 @@
<p> <p>
[% IF use_target_milestone %] [% IF use_target_milestone %]
You are moving the [% terms.bug %](s) to the product You are moving the [% terms.bug %](s) to the product
<b>[% form.product FILTER html %]</b>, <b>[% cgi.param("product") FILTER html %]</b>,
and the version, component, and/or target milestone fields are no longer and the version, component, and/or target milestone fields are no longer
correct. Please set the correct version, component, and target milestone now: correct. Please set the correct version, component, and target milestone now:
[% ELSE %] [% ELSE %]
You are moving the [% terms.bug %](s) to the product You are moving the [% terms.bug %](s) to the product
<b>[% form.product FILTER html %]</b>, <b>[% cgi.param("product") FILTER html %]</b>,
and the version and component fields are no longer correct. and the version and component fields are no longer correct.
Please set the correct version and component now: Please set the correct version and component now:
[% END %] [% END %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment