diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2016-04-14 21:03:00 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2016-04-14 21:03:00 +0200 |
commit | 90d86a9744883ccc120a0a955ffade72990e1505 (patch) | |
tree | 07fd038fc41a2de0259f2f7c6a9de0d55e8a1e34 /template/en/default/global/hidden-fields.html.tmpl | |
parent | ae22da8710d00232d28b7c6b9093d2b7e33b0627 (diff) | |
download | bugzilla-90d86a9744883ccc120a0a955ffade72990e1505.tar.gz bugzilla-90d86a9744883ccc120a0a955ffade72990e1505.tar.xz |
Bug 1088022 - Bump min version to CGI 4.09
r=dkl
Diffstat (limited to 'template/en/default/global/hidden-fields.html.tmpl')
-rw-r--r-- | template/en/default/global/hidden-fields.html.tmpl | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/template/en/default/global/hidden-fields.html.tmpl b/template/en/default/global/hidden-fields.html.tmpl index 88d267354..f8f353233 100644 --- a/template/en/default/global/hidden-fields.html.tmpl +++ b/template/en/default/global/hidden-fields.html.tmpl @@ -16,12 +16,9 @@ [% cgi = Bugzilla.cgi %] [%# Generate hidden form fields for non-excluded fields. %] -[% FOREACH field = cgi.param() %] +[% FOREACH field = cgi.multi_param() %] [% NEXT IF exclude && field.search(exclude) %] - [%# The '.slice(0)' bit is here to force the 'param(field)' to be evaluated - in a list context, so we can avoid extra code checking for single valued or - empty fields %] - [% IF field == "data" && cgi.param("data") %] + [% IF field == "data" && cgi_param("data") %] <div class="box"> <p> We were unable to store the file you uploaded because of incomplete information @@ -30,7 +27,7 @@ remaining missing information above. </p> <p> - Please re-attach the file <b>[% cgi.param(field) FILTER html %]</b> in + Please re-attach the file <b>[% cgi_param(field) FILTER html %]</b> in the field below: </p> <p> @@ -38,7 +35,7 @@ </p> </div> [% ELSE %] - [% FOREACH mvalue = cgi.param(field).slice(0) %] + [% FOREACH mvalue = cgi.multi_param(field) %] <input type="hidden" name="[% field FILTER html %]" value="[% mvalue FILTER html_linebreak %]"> [% END %] |