diff options
author | gerv%gerv.net <> | 2003-07-04 06:31:13 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2003-07-04 06:31:13 +0200 |
commit | 44b48df3901d829e1423749136d142964ccb4a3e (patch) | |
tree | f87659c97f6c97654cde63005c514a5504913631 /template/en/default/search | |
parent | 7b35e1a271f27612cba91216d50e5f497dd0c69a (diff) | |
download | bugzilla-44b48df3901d829e1423749136d142964ccb4a3e.tar.gz bugzilla-44b48df3901d829e1423749136d142964ccb4a3e.tar.xz |
Bug 13540 - allow key terms, like "Bugzilla" and "bug", to be altered without changing all the templates. Patch by jwilmoth@starbucks.com; r=gerv, a=justdave.
Diffstat (limited to 'template/en/default/search')
-rw-r--r-- | template/en/default/search/form.html.tmpl | 114 | ||||
-rw-r--r-- | template/en/default/search/knob.html.tmpl | 16 | ||||
-rw-r--r-- | template/en/default/search/search-advanced.html.tmpl | 14 | ||||
-rw-r--r-- | template/en/default/search/search-help.html.tmpl | 58 | ||||
-rw-r--r-- | template/en/default/search/search-report-graph.html.tmpl | 24 | ||||
-rw-r--r-- | template/en/default/search/search-report-table.html.tmpl | 12 | ||||
-rw-r--r-- | template/en/default/search/search.html.tmpl | 14 |
7 files changed, 132 insertions, 120 deletions
diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl index 3ebe01f05..6862ac6f6 100644 --- a/template/en/default/search/form.html.tmpl +++ b/template/en/default/search/form.html.tmpl @@ -20,7 +20,9 @@ # Christian Reis <kiko@async.com.br> [javascript rewrite] # Gervase Markham <gerv@gerv.net> #%] - + +[% PROCESS global/variables.none.tmpl %] + [%# Note: use Template comments and not JS ones here, to avoid bloating what we actually send to the browser %] @@ -35,17 +37,17 @@ var vers = new Array(); var tms = new Array(); [% END %] -[%# Create three arrays of components, versions and target milestones, indexed +[%# Create three arrays of components, versions and target milestones, indexed # numerically according to the product they refer to. #%] [% n = 0 %] [% FOREACH p = product %] - cpts[[% n %]] = [ + cpts[[% n %]] = [ [%- FOREACH item = p.components %]'[% item FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; - vers[[% n %]] = [ + vers[[% n %]] = [ [%- FOREACH item = p.versions -%]'[% item FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; [% IF Param('usetargetmilestone') %] - tms[[% n %]] = [ + tms[[% n %]] = [ [%- FOREACH item = p.milestones %]'[% item FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; [% END %] [% n = n+1 %] @@ -57,7 +59,7 @@ var tms = new Array(); # correspond to the elements selected in source. # - array should be a array of arrays, indexed by number. the # array should contain the elements that correspond to that - # product. + # product. # - sel is a list of selected items, either whole or a diff # depending on merging. # - target should be the target select object. @@ -78,7 +80,7 @@ var tms = new Array(); %] function updateSelect(array, sel, target, merging) { - + var i, item; [%# If we have no versions/components/milestones %] @@ -119,7 +121,7 @@ function updateSelect(array, sel, target, merging) { return true; } -[%# Returns elements in a that are not in b. +[%# Returns elements in a that are not in b. # NOT A REAL DIFF: does not check the reverse. # - a,b: arrays of values to be compare. %] function fake_diff_array(a, b) { @@ -203,7 +205,7 @@ function merge_arrays(a, b, b_is_select) { [%# Returns an array of indexes or values from a select form control. # - control: select control from which to find selections - # - findall: boolean, store all options when true or just the selected + # - findall: boolean, store all options when true or just the selected # indexes # - want_values: boolean; we store values when true and indexes when # false %] @@ -263,7 +265,7 @@ function selectProduct(f) { first_load = false; return; } - + [%# turn first_load off. this is tricky, since it seems to be redundant with the above clause. It's not: if when we first load the page there is _one_ element selected, it won't fall into that @@ -273,7 +275,7 @@ function selectProduct(f) { without merge/sorting. %] first_load = false; - [%# - sel keeps the array of products we are selected. + [%# - sel keeps the array of products we are selected. - merging says if it is a full list or just a list of products that were added to the current selection. %] var merging = false; @@ -285,10 +287,10 @@ function selectProduct(f) { if (!findall) { [%# save sel for the next invocation of selectProduct() %] var tmp = sel; - + [%# this is an optimization: if we have just added products to an - existing selection, no need to clear the form controls and add - everybody again; just merge the new ones with the existing + existing selection, no need to clear the form controls and add + everybody again; just merge the new ones with the existing options. %] if ((last_sel.length > 0) && (last_sel.length < sel.length)) { sel = fake_diff_array(sel, last_sel); @@ -317,7 +319,7 @@ function selectProduct(f) { // --> </script> -[% query_variants = [ +[% query_variants = [ { value => "allwordssubstr", description => "contains all of the words/strings" }, { value => "anywordssubstr", description => "contains any of the words/strings" }, { value => "substring", description => "contains the string" }, @@ -342,7 +344,7 @@ function selectProduct(f) { [% FOREACH qv = query_variants %] <option value="[% qv.value %]" [% " selected" IF default.short_desc_type.0 == qv.value %]>[% qv.description %]</option> - [% END %] + [% END %] </select> </td> <td> @@ -352,7 +354,7 @@ function selectProduct(f) { <td> <input type="submit" value="[% button_name %]"> </td> - </tr> + </tr> [%# *** Product Component Version Target *** %] @@ -394,7 +396,7 @@ function selectProduct(f) { reserved word - we use 'component_' instead. %] <td align="left"> <label for="component" accesskey="m"> - <select name="component" id="component" + <select name="component" id="component" multiple="multiple" size="5"> [% FOREACH c = component_ %] <option value="[% c FILTER html %]" @@ -413,8 +415,8 @@ function selectProduct(f) { <th align="left"><u>V</u>ersion:</th> </tr> <tr valign="top"> - [% PROCESS select sel = { name => 'version', - size => 5, + [% PROCESS select sel = { name => 'version', + size => 5, accesskey => 'v' } %] </tr> </table> @@ -426,7 +428,7 @@ function selectProduct(f) { <th align="left"><u>T</u>arget:</th> </tr> <tr valign="top"> - [% PROCESS select sel = { name => 'target_milestone', + [% PROCESS select sel = { name => 'target_milestone', size => 5, accesskey => 't' } %] </tr> @@ -437,15 +439,15 @@ function selectProduct(f) { </table> </td> </tr> - + [%# *** Comment URL Whiteboard Keywords *** %] - [% FOREACH field = [ - { name => "long_desc", description => "A <u>C</u>omment", + [% FOREACH field = [ + { name => "long_desc", description => "A <u>C</u>omment", accesskey => 'c' }, - { name => "bug_file_loc", description => "The <u>U</u>RL", + { name => "bug_file_loc", description => "The <u>U</u>RL", accesskey => 'u' }, - { name => "status_whiteboard", description => "<u>W</u>hiteboard", + { name => "status_whiteboard", description => "<u>W</u>hiteboard", accesskey => 'w' } ] %] [% UNLESS field.name == 'status_whiteboard' AND NOT Param('usestatuswhiteboard') %] @@ -454,10 +456,10 @@ function selectProduct(f) { <td> <select name="[% field.name %]_type"> [% FOREACH qv = query_variants %] - [% type = "${field.name}_type" %] + [% type = "${field.name}_type" %] <option value="[% qv.value %]" [% " selected" IF default.$type.0 == qv.value %]>[% qv.description %]</option> - [% END %] + [% END %] </select> </td> <td><input name="[% field.name %]" size="40" @@ -465,7 +467,7 @@ function selectProduct(f) { value="[% default.${field.name}.0 FILTER html %]"> </td> <td></td> - </tr> + </tr> [% END %] [% END %] @@ -476,7 +478,7 @@ function selectProduct(f) { </th> <td> <select name="keywords_type"> - [% FOREACH qv = [ + [% FOREACH qv = [ { name => "allwords", description => "contains all of the keywords" }, { name => "anywords", description => "contains any of the keywords" }, { name => "nowords", description => "contains none of the keywords" } ] %] @@ -493,7 +495,7 @@ function selectProduct(f) { </td> </tr> [% END %] -</table> +</table> <hr> @@ -507,7 +509,7 @@ function selectProduct(f) { <th align="left"><a href="queryhelp.cgi#status">St<u>a</u>tus</a>:</th> </tr> <tr valign="top"> - [% PROCESS select sel = { name => 'bug_status', + [% PROCESS select sel = { name => 'bug_status', size => 7, accesskey => 'a' } %] </tr> @@ -521,7 +523,7 @@ function selectProduct(f) { </th> </tr> <tr valign="top"> - [% PROCESS select sel = { name => 'resolution', + [% PROCESS select sel = { name => 'resolution', size => 7, accesskey => 'r' } %] </tr> @@ -533,9 +535,9 @@ function selectProduct(f) { <th align="left"><a href="queryhelp.cgi#severity">S<u>e</u>verity</a>:</th> </tr> <tr valign="top"> - [% PROCESS select sel = { name => 'bug_severity', + [% PROCESS select sel = { name => 'bug_severity', size => 7, - accesskey => 'e' } %] + accesskey => 'e' } %] </tr> </table> </td> @@ -545,9 +547,9 @@ function selectProduct(f) { <th align="left"><a href="queryhelp.cgi#priority">Pr<u>i</u>ority</a>:</th> </tr> <tr valign="top"> - [% PROCESS select sel = { name => 'priority', - size => 7, - accesskey => 'i' } %] + [% PROCESS select sel = { name => 'priority', + size => 7, + accesskey => 'i' } %] </tr> </table> </td> @@ -557,7 +559,7 @@ function selectProduct(f) { <th align="left"><a href="queryhelp.cgi#platform"><u>H</u>ardware</a>:</th> </tr> <tr valign="top"> - [% PROCESS select sel = { name => 'rep_platform', + [% PROCESS select sel = { name => 'rep_platform', size => 7, accesskey => 'h' } %] </tr> @@ -569,8 +571,8 @@ function selectProduct(f) { <th align="left"><a href="queryhelp.cgi#opsys"><u>O</u>S</a>:</th> </tr> <tr valign="top"> - [% PROCESS select sel = { name => 'op_sys', - size => 7, + [% PROCESS select sel = { name => 'op_sys', + size => 7, accesskey => 'o' } %] </tr> </table> @@ -589,7 +591,7 @@ function selectProduct(f) { <legend> <strong> <a href="queryhelp.cgi#peopleinvolved">Email</a> and Numbering - </strong> + </strong> </legend> @@ -607,17 +609,17 @@ function selectProduct(f) { </tr> <tr> <td> - <input type="checkbox" name="emailassigned_to[% n %]" + <input type="checkbox" name="emailassigned_to[% n %]" id="emailassigned_to[% n %]" value="1" [% " checked" IF default.emailassigned_to.$n %]> <label for="emailassigned_to[% n %]"> - bug owner + [% terms.bug %] owner </label> </td> </tr> <tr> <td> - <input type="checkbox" name="emailreporter[% n %]" + <input type="checkbox" name="emailreporter[% n %]" id="emailreporter[% n %]" value="1" [% " checked" IF default.emailreporter.$n %]> <label for="emailreporter[% n %]"> @@ -628,7 +630,7 @@ function selectProduct(f) { [% IF Param('useqacontact') %] <tr> <td> - <input type="checkbox" name="emailqa_contact[% n %]" + <input type="checkbox" name="emailqa_contact[% n %]" id="emailqa_contact[% n %]" value="1" [% " checked" IF default.emailqa_contact.$n %]> <label for="emailqa_contact[% n %]"> @@ -639,7 +641,7 @@ function selectProduct(f) { [% END %] <tr> <td> - <input type="checkbox" name="emailcc[% n %]" + <input type="checkbox" name="emailcc[% n %]" id="emailcc[% n %]" value="1" [% " checked" IF default.emailcc.$n %]> <label for="emailcc[% n %]"> @@ -649,7 +651,7 @@ function selectProduct(f) { </tr> <tr> <td> - <input type="checkbox" name="emaillongdesc[% n %]" + <input type="checkbox" name="emaillongdesc[% n %]" id="emaillongdesc[% n %]" value="1" [% " checked" IF default.emaillongdesc.$n %]> <label for="emaillongdesc[% n %]"> @@ -660,12 +662,12 @@ function selectProduct(f) { <tr> <td> <select name="emailtype[% n %]"> - [% FOREACH qv = [ + [% FOREACH qv = [ { name => "substring", description => "contains" }, { name => "exact", description => "is" }, { name => "regexp", description => "matches regexp" }, { name => "notregexp", description => "doesn't match regexp" } ] %] - + <option value="[% qv.name %]" [% " selected" IF default.emailtype.$n == qv.name %]>[% qv.description %]</option> [% END %] @@ -679,20 +681,20 @@ function selectProduct(f) { </tr> </table> - + </td> [% END %] </tr> </table> <hr> -<table> +<table> <tr> <td> <select name="bugidtype"> <option value="include"[% " selected" IF default.bugidtype.0 == "include" %]>Only include</option> <option value="exclude"[% " selected" IF default.bugidtype.0 == "exclude" %]>Exclude</option> </select> - bugs numbered: + [% terms.bugs %] numbered: </td> <td> <input type="text" name="bug_id" value="[% default.bug_id.0 FILTER html %]" size="20"> @@ -705,7 +707,7 @@ function selectProduct(f) { [% IF Param('usevotes') %] <tr> <td align="right"> - Only bugs with at least: + Only [% terms.bugs %] with at least: </td> <td> <input name="votes" size="3" value="[% default.votes.0 FILTER html %]"> votes @@ -722,11 +724,11 @@ function selectProduct(f) { <td valign="top"> <fieldset> - <legend><strong>Bug Changes</strong></legend> + <legend><strong>[% terms.Bug %] Changes</strong></legend> <dl> - <dt>Only bugs changed between:</dt> + <dt>Only [% terms.bugs %] changed between:</dt> <dd> <input name="chfieldfrom" size="10" value="[% default.chfieldfrom.0 FILTER html %]"> and <input name="chfieldto" size="10" value="[% default.chfieldto.0 FILTER html %]"> diff --git a/template/en/default/search/knob.html.tmpl b/template/en/default/search/knob.html.tmpl index 2c99c3f82..27f37fbd7 100644 --- a/template/en/default/search/knob.html.tmpl +++ b/template/en/default/search/knob.html.tmpl @@ -21,10 +21,12 @@ # Jouni Heikniemi <jouni@heikniemi.net> #%] +[% PROCESS global/variables.none.tmpl %] + [%# This is not necessary for English templates, but useful for localisers. %] [% ordersdesc = { "Reuse same sort as last time" => "Reuse same sort as last time", - "Bug Number" => "Bug Number", + "Bug Number" => "$terms.Bug Number", "Importance" => "Importance", "Assignee" => "Assignee", "Last Changed" => "Last Changed" } %] @@ -81,7 +83,7 @@ [% IF namedqueries.size > 0 %] [% END %] - <input type="checkbox" id="remember" name="remember" value="1" + <input type="checkbox" id="remember" name="remember" value="1" onclick="remCheckboxChanged()"> [% IF namedqueries.size > 0 %] <label for="remember">and remember it</label> @@ -108,7 +110,7 @@ </label><br> </td> </tr> - + <tr> <td colspan="2"> [% IF namedqueries.size > 0 %] @@ -124,12 +126,12 @@ <option value="[% query FILTER html %]"> [% query FILTER html %]</option> [% END %] - </select> + </select> [% END %] </td> </tr> </table> - + <script type="text/javascript"> <!-- remCheckboxChanged(); // --> @@ -142,12 +144,12 @@ [% FOREACH order = orders %] <option value="[% order FILTER html %]" [% " selected" IF default.order.0 == order %]> - [% ordersdesc.$order FILTER html %]</option> + [% ordersdesc.$order FILTER html %]</option> [% END %] </select> <input type="submit" value="[% button_name %]"> - + [% IF userdefaultquery %] <p> <a href="query.cgi?nukedefaultquery=1"> diff --git a/template/en/default/search/search-advanced.html.tmpl b/template/en/default/search/search-advanced.html.tmpl index 765f08e25..a5fa51d7d 100644 --- a/template/en/default/search/search-advanced.html.tmpl +++ b/template/en/default/search/search-advanced.html.tmpl @@ -25,11 +25,13 @@ # search/boolean-charts.html.tmpl. #%] +[% PROCESS global/variables.none.tmpl %] + [% USE Bugzilla %] [% cgi = Bugzilla.cgi %] -[% PROCESS global/header.html.tmpl - title = "Search for bugs" +[% PROCESS global/header.html.tmpl + title = "Search for $terms.bugs" onload = "selectProduct(document.forms['queryform']);initHelp();" %] @@ -56,13 +58,13 @@ <font color="red"> [% IF cgi.user_agent("Mozilla/5") %] Note that if the help popups are hidden by form element scroll bars, - this is a bug in your browser, not in Bugzilla. + this is a bug in your browser, not in [% terms.Bugzilla %]. [% END %] - </font> + </font> </p> -[% END %] +[% END %] <form method="get" action="buglist.cgi" name="queryform"> - + [% PROCESS search/form.html.tmpl %] [% PROCESS search/knob.html.tmpl %] diff --git a/template/en/default/search/search-help.html.tmpl b/template/en/default/search/search-help.html.tmpl index 852955533..e3ab69ff7 100644 --- a/template/en/default/search/search-help.html.tmpl +++ b/template/en/default/search/search-help.html.tmpl @@ -23,64 +23,64 @@ { id => "short_desc_type", html => "The type of summary search you would like" }, { id => "short_desc", - html => "The bug summary is a short sentence which succinctly describes <br> - what the bug is about." }, + html => "The $terms.bug summary is a short sentence which succinctly + describes <br> what the $terms.bug is about." }, { id => "product", - html => "Bugs are categorised into Products and Components. Product is the<br> - top-level categorisation." }, + html => "$terms.Bugs are categorised into Products and Components. Product is + the<br>top-level categorisation." }, { id => "component", html => "Components are second-level categories; each belongs to a<br> particular Product. Select a Product to narrow down this list." }, { id => "version", - html => "The version field defines the version of the software the bug<br> - was found in." }, + html => "The version field defines the version of the software the + $terms.bug<br>was found in." }, { id => "target_milestone", html => "The target_milestone field is used to define when the engineer<br> - the bug is assigned to expects to fix it." }, + the $terms.bug is assigned to expects to fix it." }, { id => "long_desc", - html => "Bugs have comments added to them by Bugzilla users. You can<br> - search for some text in those comments." }, + html => "$terms.Bugs have comments added to them by $terms.Bugzilla users. + You can<br>search for some text in those comments." }, { id => "long_desc_type", html => "The type of comment search you would like" }, { id => "bug_file_loc", - html => "Bugs can have a URL associated with them - for example, a pointer<br> - to a web site where the problem is seen." }, + html => "$terms.Bugs can have a URL associated with them - for example, a + pointer<br>to a web site where the problem is seen." }, { id => "bug_file_loc_type", html => "The type of URL search you would like" }, { id => "status_whiteboard", - html => "Each bug has a free-form single line text entry box for adding<br> - tags and status information." }, + html => "Each $terms.bug has a free-form single line text entry box for + adding<br>tags and status information." }, { id => "status_whiteboard_type", html => "The type of whiteboard search you would like" }, { id => "keywords", - html => "You can add keywords from a defined list to bugs, in order to<br> - tag and group them." }, + html => "You can add keywords from a defined list to $terms.bugs, in order + to<br>tag and group them." }, { id => "keywords_type", html => "The type of keyword search you would like" }, { id => "bug_status", - html => "A bug may be in any of a number of states." }, + html => "A $terms.bug may be in any of a number of states." }, { id => "resolution", - html => "If a bug is in a resolved state, then one of these reasons will<br> - be given for its resolution." }, + html => "If a $terms.bug is in a resolved state, then one of these reasons + will<br>be given for its resolution." }, { id => "bug_severity", - html => "How severe the bug is, or whether it's an enhancement." }, + html => "How severe the $terms.bug is, or whether it's an enhancement." }, { id => "priority", - html => "Engineers prioritise their bugs using this field." }, + html => "Engineers prioritise their $terms.bugs using this field." }, { id => "rep_platform", - html => "The hardware platform the bug was observed on." }, + html => "The hardware platform the $terms.bug was observed on." }, { id => "op_sys", - html => "The operating system the bug was observed on." }, + html => "The operating system the $terms.bug was observed on." }, { id => "email1", - html => "Every bug has people associated with it in different roles.<br> - Here, you can search on what people are in what role." }, + html => "Every $terms.bug has people associated with it in different + roles.<br>Here, you can search on what people are in what role." }, { id => "email2", - html => "Every bug has people associated with it in different roles.<br> - Here, you can search on what people are in what role." }, + html => "Every $terms.bug has people associated with it in different + roles.<br>Here, you can search on what people are in what role." }, { id => "bug_id", - html => "You can limit your search to a specific set of bugs." }, + html => "You can limit your search to a specific set of $terms.bugs ." }, { id => "votes", - html => "Some bugs can be voted for, and you can limit your search to bugs<br> - with more than a certain number of votes." }, + html => "Some $terms.bugs can be voted for, and you can limit your search to + $terms.bugs<br>with more than a certain number of votes." }, { id => "chfield", html => "You can search for specific types of change - this field define <br> which field you are interested in changes for." }, diff --git a/template/en/default/search/search-report-graph.html.tmpl b/template/en/default/search/search-report-graph.html.tmpl index f114a9931..51911fb29 100644 --- a/template/en/default/search/search-report-graph.html.tmpl +++ b/template/en/default/search/search-report-graph.html.tmpl @@ -24,7 +24,9 @@ # the interfaces of the templates it contains. #%] -[% PROCESS global/header.html.tmpl +[% PROCESS global/variables.none.tmpl %] + +[% PROCESS global/header.html.tmpl title = "Generate Report" onload = "selectProduct(document.forms['reportform']);" %] @@ -32,8 +34,8 @@ [% PROCESS "search/search-report-select.html.tmpl" %] <p> - Produce a pictorial graph of bug counts by choosing one or more fields as - your axes, and then refining your set of bugs using the rest of the form. + Produce a pictorial graph of [% terms.bug %] counts by choosing one or more fields as + your axes, and then refining your set of [% terms.bugs %] using the rest of the form. If you choose a third axis, it will be represented by multiple tables of data. Note: vertical axis settings will be ignored for pie charts. </p> @@ -55,7 +57,7 @@ <input type="radio" name="cumulate" value="1" [% " checked" IF default.cumulate.0 == "1" %]> Added - + </td> <td width="150" height="150"> <table border="1" width="100%" height="100%"> @@ -74,31 +76,31 @@ { name => "bar", description => "Bar Chart" }, { name => "pie", description => "Pie Chart" } ] %] [% default.chart_format.0 = default.chart_format.0 || "bar" %] - + [% FOREACH chart_format = chart_formats %] - <input type="radio" name="format" - value="[% chart_format.name FILTER html %]" + <input type="radio" name="format" + value="[% chart_format.name FILTER html %]" [% " checked" IF default.chart_format.0 == chart_format.name %]> [% chart_format.description FILTER html %]<br> [% END %] </td> </tr> - + <tr> <td> </td> <td align="left"> <b>Horizontal Axis:</b> [% PROCESS select name = 'x_axis_field' %]<br> - <label for="x_labels_vertical"><b>Vertical labels:</b></label> - <input type="checkbox" name="x_labels_vertical" id="x_labels_vertical" + <label for="x_labels_vertical"><b>Vertical labels:</b></label> + <input type="checkbox" name="x_labels_vertical" id="x_labels_vertical" value="1" [% " checked" IF default.x_labels_vertical.0 == "1" %]> </td> <td> </td> </tr> -</table> +</table> <hr> diff --git a/template/en/default/search/search-report-table.html.tmpl b/template/en/default/search/search-report-table.html.tmpl index 6e098303f..43010f16c 100644 --- a/template/en/default/search/search-report-table.html.tmpl +++ b/template/en/default/search/search-report-table.html.tmpl @@ -24,7 +24,9 @@ # the interfaces of the templates it contains. #%] -[% PROCESS global/header.html.tmpl +[% PROCESS global/variables.none.tmpl %] + +[% PROCESS global/header.html.tmpl title = "Generate Report" onload = "selectProduct(document.forms['reportform']);" %] @@ -32,8 +34,8 @@ [% PROCESS "search/search-report-select.html.tmpl" %] <p> - Produce a table of bug counts by choosing one or more fields as your axes, - and then refining your set of bugs using the rest of the form. + Produce a table of [% terms.bug %] counts by choosing one or more fields as your axes, + and then refining your set of [% terms.bugs %] using the rest of the form. If you choose a third axis, it will be represented by multiple tables of data. </p> @@ -56,7 +58,7 @@ <input type="radio" name="ctype" value="csv">CSV </td> </tr> - + <tr> <td valign="middle" align="center"> <b>Vertical Axis:</b><br> @@ -73,7 +75,7 @@ </table> </td> </tr> -</table> +</table> <hr> diff --git a/template/en/default/search/search.html.tmpl b/template/en/default/search/search.html.tmpl index 765f08e25..a5fa51d7d 100644 --- a/template/en/default/search/search.html.tmpl +++ b/template/en/default/search/search.html.tmpl @@ -25,11 +25,13 @@ # search/boolean-charts.html.tmpl. #%] +[% PROCESS global/variables.none.tmpl %] + [% USE Bugzilla %] [% cgi = Bugzilla.cgi %] -[% PROCESS global/header.html.tmpl - title = "Search for bugs" +[% PROCESS global/header.html.tmpl + title = "Search for $terms.bugs" onload = "selectProduct(document.forms['queryform']);initHelp();" %] @@ -56,13 +58,13 @@ <font color="red"> [% IF cgi.user_agent("Mozilla/5") %] Note that if the help popups are hidden by form element scroll bars, - this is a bug in your browser, not in Bugzilla. + this is a bug in your browser, not in [% terms.Bugzilla %]. [% END %] - </font> + </font> </p> -[% END %] +[% END %] <form method="get" action="buglist.cgi" name="queryform"> - + [% PROCESS search/form.html.tmpl %] [% PROCESS search/knob.html.tmpl %] |