diff options
author | bbaetz%student.usyd.edu.au <> | 2002-11-10 11:50:34 +0100 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-11-10 11:50:34 +0100 |
commit | 2230afc9fb94b3dc36fab966f7621ca1deea24ab (patch) | |
tree | 81f2ea98bd561b394f95e550a640db02b58de4e6 /template/en/default | |
parent | 8ac7e6f592417ab4592cbfa015042db7582b7b06 (diff) | |
download | bugzilla-2230afc9fb94b3dc36fab966f7621ca1deea24ab.tar.gz bugzilla-2230afc9fb94b3dc36fab966f7621ca1deea24ab.tar.xz |
Bug 176599, Improve performance of duplicates.cgi
original patch iteration by gerv, change to use Bugzilla:Search by me
r=myk, a=justdave
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 5 | ||||
-rw-r--r-- | template/en/default/reports/duplicates.html.tmpl | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index d08c96c4b..421e396ca 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -276,6 +276,11 @@ is either <em>application, audio, image, message, model, multipart, text,</em> or <em>video</em>. + [% ELSIF error == "invalid_maxrow" %] + [% title = "Invalid Max Rows" %] + The maximum number of rows, '[% maxrows FILTER html %]', must be a positive + integer. + [% ELSIF error == "invalid_product_name" %] [% title = "Invalid Product Name" %] The product name '[% product FILTER html %]' is invalid or does not exist. diff --git a/template/en/default/reports/duplicates.html.tmpl b/template/en/default/reports/duplicates.html.tmpl index 531196eb8..bb2a3a10c 100644 --- a/template/en/default/reports/duplicates.html.tmpl +++ b/template/en/default/reports/duplicates.html.tmpl @@ -80,8 +80,8 @@ <td rowspan="4" valign="top"> <select name="product" size="5" multiple="multiple"> [% FOREACH p = products %] - <option name="[% p %]" - [% " selected" IF product == p %]>[% p %]</option> + <option name="[% p FILTER html %]" + [% " selected" IF product == p %]>[% p FILTER html %]</option> [% END %] </select> </td> |