summaryrefslogtreecommitdiffstats
path: root/template/en/default/search
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/search')
-rw-r--r--template/en/default/search/boolean-charts.html.tmpl143
-rw-r--r--template/en/default/search/field.html.tmpl142
-rw-r--r--template/en/default/search/form.html.tmpl423
-rw-r--r--template/en/default/search/knob.html.tmpl85
-rw-r--r--template/en/default/search/search-advanced.html.tmpl69
-rw-r--r--template/en/default/search/search-create-series.html.tmpl71
-rw-r--r--template/en/default/search/search-help.html.tmpl107
-rw-r--r--template/en/default/search/search-plugin.xml.tmpl28
-rw-r--r--template/en/default/search/search-report-graph.html.tmpl142
-rw-r--r--template/en/default/search/search-report-select.html.tmpl50
-rw-r--r--template/en/default/search/search-report-table.html.tmpl95
-rw-r--r--template/en/default/search/search-specific.html.tmpl129
-rw-r--r--template/en/default/search/tabs.html.tmpl36
-rw-r--r--template/en/default/search/type-select.html.tmpl29
14 files changed, 0 insertions, 1549 deletions
diff --git a/template/en/default/search/boolean-charts.html.tmpl b/template/en/default/search/boolean-charts.html.tmpl
deleted file mode 100644
index 90b5c79..0000000
--- a/template/en/default/search/boolean-charts.html.tmpl
+++ /dev/null
@@ -1,143 +0,0 @@
-[%# The contents of this file are subject to the Mozilla Public
- # License Version 1.1 (the "License"); you may not use this file
- # except in compliance with the License. You may obtain a copy of
- # the License at http://www.mozilla.org/MPL/
- #
- # Software distributed under the License is distributed on an "AS
- # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- # implied. See the License for the specific language governing
- # rights and limitations under the License.
- #
- # The Original Code is the Bugzilla Bug Tracking System.
- #
- # The Initial Developer of the Original Code is Netscape Communications
- # Corporation. Portions created by Netscape are
- # Copyright (C) 1998 Netscape Communications Corporation. All
- # Rights Reserved.
- #
- # Contributor(s): Gervase Markham <gerv@gerv.net>
- #%]
-
-[% PROCESS "global/field-descs.none.tmpl" %]
-
-[% types = [
- "noop",
- "equals",
- "notequals",
- "anyexact",
- "substring",
- "casesubstring",
- "notsubstring",
- "anywordssubstr",
- "allwordssubstr",
- "nowordssubstr",
- "regexp",
- "notregexp",
- "lessthan",
- "lessthaneq",
- "greaterthan",
- "greaterthaneq",
- "anywords",
- "allwords",
- "nowords",
- "changedbefore",
- "changedafter",
- "changedfrom",
- "changedto",
- "changedby",
- "matches",
- "notmatches",
-] %]
-<script type="text/javascript">
- TUI_alternates['custom_search_query'] = '&#9658;';
- TUI_hide_default('custom_search_query');
-</script>
-<div class="bz_section_title" id="custom_search_filter">
- <div id="custom_search_query_controller" class="arrow">&#9660;</div>
- <a id="chart" href="javascript:TUI_toggle_class('custom_search_query')" >
- Custom Search</a> <span class="section_help">Didn't find what
- you're looking for above? This area allows for ANDs, ORs,
- and other more complex searches.</span>
- </div>
- <div id="custom_search_filter_section" class="bz_search_section custom_search_query" >
-[%# Whoever wrote the original version of boolean charts had a seriously twisted mind %]
-
-[% jsmagic = "onclick=\"this.form.action='query.cgi#chart'; this.form.method='POST'; return 1;\"" %]
-
-[% FOREACH chart = default.charts %]
- [% chartnum = loop.count - 1 %]
- <table>
- <tr>
- <td>
- <input type="checkbox" id="negate[% chartnum FILTER html %]"
- name="negate[% chartnum FILTER html %]" value="1"
- [%+ "checked" IF chart.negate %]>
- <label for="negate[% chartnum FILTER html %]">
- Not (negate this whole chart)
- </label>
- </td>
- </tr>
- [% FOREACH row = chart.rows %]
- [% rownum = loop.count - 1 %]
- <tr>
- [% FOREACH col = row %]
- [% colnum = loop.count - 1 %]
- <td>
- <select name="[% "field${chartnum}-${rownum}-${colnum}" %]">
- [% FOREACH field = fields %]
- <option value="[% field.name %]" [% "selected" IF field.name == col.field %]>
- [% field_descs.${field.name} || field.description FILTER html %]
- </option>
- [% END %]
- </select>
-
- [% INCLUDE "search/type-select.html.tmpl"
- name = "type${chartnum}-${rownum}-${colnum}",
- types = types, selected = col.type %]
- <input name="[% "value${chartnum}-${rownum}-${colnum}" %]"
- value="[% col.value FILTER html %]">
- </td>
-
- [% UNLESS loop.last %]
- <td align="center">
- Or
- </td>
- </tr>
- <tr>
- [% ELSE %]
- <td>
- [% newor = colnum + 1 %]
- <input type="submit" value="Or" [% jsmagic %]
- name="cmd-add[% "${chartnum}-${rownum}-${newor}" %]"
- id="cmd-add[% "${chartnum}-${rownum}-${newor}" %]">
- </td>
- [% END %]
-
- [% END %]
- </tr>
-
- [% UNLESS loop.last %]
- <tr>
- <td>And</td>
- </tr>
- [% ELSE %]
- <tr>
- <td>
- [% newand = rownum + 1; newchart = chartnum + 1 %]
- <input type="submit" value="And" [% jsmagic %]
- name="cmd-add[% "${chartnum}-${newand}-0" %]"
- id="cmd-add[% "${chartnum}-${newand}-0" %]">
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
- <input type="submit" value="Add another boolean chart" [% jsmagic %]
- name="cmd-add[% newchart %]-0-0"
- id="cmd-add[% newchart %]-0-0">
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
- </td>
- </tr>
- [% END %]
-
- [% END %]
- </table>
- [% "<hr>" IF NOT loop.last %]
-[% END %]
-</div> \ No newline at end of file
diff --git a/template/en/default/search/field.html.tmpl b/template/en/default/search/field.html.tmpl
deleted file mode 100644
index defc94c..0000000
--- a/template/en/default/search/field.html.tmpl
+++ /dev/null
@@ -1,142 +0,0 @@
-[%# The contents of this file are subject to the Mozilla Public
- # License Version 1.1 (the "License"); you may not use this file
- # except in compliance with the License. You may obtain a copy of
- # the License at http://www.mozilla.org/MPL/
- #
- # Software distributed under the License is distributed on an "AS
- # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- # implied. See the License for the specific language governing
- # rights and limitations under the License.
- #
- # The Original Code is the Bugzilla Bug Tracking System.
- #
- # The Initial Developer of the Original Code is Guy Pyrzak
- # Portions created by the Initial Developer are Copyright (C) 2010 the
- # Initial Developer. All Rights Reserved.
- #
- # Contributor(s): Guy Pyrzak <guy.pyrzak@gmail.com>
- # Reed Loden <reed@reedloden.com>
- #
- #%]
-[%# INTERFACE:
- # field: a Bugzilla::Field object
- # value: the value or values that should be used to prepopulate the field
- # accesskey: the access key used to access the field more quickly
- # onchange: js to run when the change event fires on the field
- # type_selected: used by the free text to indicate which type of text
- # search was selected for a particular field
- #%]
-
-[% SWITCH field.type %]
- [% CASE [ constants.FIELD_TYPE_FREETEXT,
- constants.FIELD_TYPE_TEXTAREA,
- constants.FIELD_TYPE_UNKNOWN ] %]
- [% INCLUDE "bug/field-label.html.tmpl"
- field = field
- tag_name = "span"
- editable = 1
- %]
- [% INCLUDE "search/type-select.html.tmpl"
- name = field.name _ "_type",
- types = types,
- selected = type_selected
- %]
- <input name="[% field.name FILTER html %]"
- id="[% field.name FILTER html %]" size="40"
- [% IF onchange %] onchange="[% onchange FILTER html %]"[% END %]
- value="[% value FILTER html %]">
- [% CASE constants.FIELD_TYPE_KEYWORDS %]
- [% INCLUDE "bug/field-label.html.tmpl"
- field = field
- tag_name = "span"
- editable = 1
- %]
- [% INCLUDE "search/type-select.html.tmpl"
- name = field.name _ "_type",
- types = types,
- selected = type_selected
- %]
- <div id="keyword_container">
- <input name="[% field.name FILTER html %]"
- id="[% field.name FILTER html %]" size="40"
- [% IF onchange %] onchange="[% onchange FILTER html %]"[% END %]
- value="[% value FILTER html %]">
- <div id="keyword_autocomplete"></div>
- </div>
- <script type="text/javascript" defer="defer">
- YAHOO.bugzilla.keyword_array = [
- [%- FOREACH keyword = all_keywords %]
- [%-# %]"[% keyword.name FILTER js %]"
- [%- "," IF NOT loop.last %][% END %]];
- YAHOO.bugzilla.keywordAutocomplete.init('[% field.name FILTER js %]',
- 'keyword_autocomplete');
- </script>
- [% CASE constants.FIELD_TYPE_DATETIME %]
- [% INCLUDE "bug/field-label.html.tmpl"
- field = field
- tag_name = "span"
- editable = 1
- %]
- from <input name="[% field.name FILTER html %]from"
- id="[% field.name FILTER html %]"
- size="10" maxlength="10"
- value="[% value.0 FILTER html %]"
- onchange="updateCalendarFromField(this);[% onchange FILTER html %]">
- <button type="button" class="calendar_button"
- id="button_calendar_[% field.name FILTER html %]"
- onclick="showCalendar('[% field.name FILTER js %]')">
- <span>Calendar</span>
- </button>
- <span id="con_calendar_[% field.name FILTER html %]"></span>
- to <input name="[% field.name FILTER html %]to"
- id="[% field.name FILTER html %]to" size="10" maxlength="10"
- value="[% value.1 FILTER html %]"
- onchange="updateCalendarFromField(this);[% onchange FILTER html %]">
- <button type="button" class="calendar_button"
- id="button_calendar_[% field.name FILTER html %]to"
- onclick="showCalendar('[% field.name FILTER js %]to')">
- <span>Calendar</span>
- </button>
- <small>(YYYY-MM-DD or relative dates)</small>
-
- <span id="con_calendar_[% field.name FILTER html %]to"></span>
- <script type="text/javascript">
- createCalendar('[% field.name FILTER js %]');
- createCalendar('[% field.name FILTER js %]to');
- </script>
- [% CASE [ constants.FIELD_TYPE_SINGLE_SELECT,
- constants.FIELD_TYPE_MULTI_SELECT ] %]
- <div id="container_[% field.name FILTER html %]" class="search_field_grid">
- [% INCLUDE "bug/field-label.html.tmpl"
- field = field
- editable = 1
- tag_name = "span"
- %]
- <select name="[% field.name FILTER html%]"
- id="[% field.name FILTER html %]"
- [% IF onchange %] onchange="[% onchange FILTER html %]"[% END %]
- multiple="multiple" size="7">
- [% legal_values = ${field.name} %]
- [% IF field.name == "component" %]
- [% legal_values = ${"component_"} %]
- [% END %]
- [% FOREACH current_value = legal_values %]
- [% IF current_value.id %]
- [%# current_value is a hash instead of a value which
- only applies for Resolution really, everywhere else current_value
- is just the value %]
- [% v = current_value.name OR '---' -%]
- <option value="[% v FILTER html %]"
- [% ' selected="selected"' IF value.contains( v ) %]>
- [% display_value(field.name, current_value.name) FILTER html %]
- </option>
- [% ELSE %]
- <option value="[% current_value OR '---' FILTER html %]"
- [% ' selected="selected"' IF value.contains( current_value ) %]>
- [% display_value(field.name, current_value) FILTER html %]
- </option>
- [% END %]
- [% END %]
- </select>
- </div>
- [% END %]
diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl
deleted file mode 100644
index f310420..0000000
--- a/template/en/default/search/form.html.tmpl
+++ /dev/null
@@ -1,423 +0,0 @@
-[%# The contents of this file are subject to the Mozilla Public
- # License Version 1.1 (the "License"); you may not use this file
- # except in compliance with the License. You may obtain a copy of
- # the License at http://www.mozilla.org/MPL/
- #
- # Software distributed under the License is distributed on an "AS
- # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- # implied. See the License for the specific language governing
- # rights and limitations under the License.
- #
- # The Original Code is the Bugzilla Bug Tracking System.
- #
- # The Initial Developer of the Original Code is Netscape Communications
- # Corporation. Portions created by Netscape are
- # Copyright (C) 1998 Netscape Communications Corporation. All
- # Rights Reserved.
- #
- # Contributor(s): Chris Lahey <clahey@ximian.com> [javascript fixes]
- # Christian Reis <kiko@async.com.br> [javascript rewrite]
- # Gervase Markham <gerv@gerv.net>
- # Guy Pyrzak <guy.pyrzak@gmail.com>
- #%]
-
-[% PROCESS "global/field-descs.none.tmpl" %]
-
-<script type="text/javascript">
-
-var first_load = true; [%# is this the first time we load the page? %]
-var last_sel = new Array(); [%# caches last selection %]
-
-[% IF Param('useclassification') %]
-var useclassification = true;
-var prods = new Array();
-[% ELSE %]
-var useclassification = false;
-[% END %]
-var cpts = new Array();
-var vers = new Array();
-[% IF Param('usetargetmilestone') %]
-var tms = new Array();
-[% END %]
-
-[%# Create an array of products, indexed by the classification #%]
-
-[% nclass = 0 %]
-[% FOREACH c = classification %]
- prods[[% nclass FILTER js %]] = [
- [% sep = '' %]
- [%- FOREACH item = user.get_selectable_products(c.id) -%]
- [%- IF item.components.size -%]
- [%- sep FILTER js %]'[% item.name FILTER js %]'
- [%- sep = ',' -%]
- [%- END -%]
- [%- END -%] ];
- [% nclass = nclass+1 %]
-[% END %]
-
-[%# Create three arrays of components, versions and target milestones, indexed
- # numerically according to the product they refer to. #%]
-
-[% n = 0 %]
-[% FOREACH p = product %]
- [% NEXT IF NOT p.components.size %]
- [% IF Param('useclassification') %]
- prods['[% p.name FILTER js %]'] = [% n %]
- [% END %]
- cpts[[% n %]] = [
- [%- FOREACH item = p.components %]'[% item.name FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ];
- vers[[% n %]] = [
- [%- FOREACH item = p.versions -%]'[% item.name FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ];
- [% IF Param('usetargetmilestone') %]
- tms[[% n %]] = [
- [%- FOREACH item = p.milestones %]'[% item.name FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ];
- [% END %]
- [% n = n+1 %]
-[% END %]
-
-/*
- * doOnSelectProduct determines which selection should get updated
- *
- * - selectmode = 0 - init
- * selectmode = 1 - classification selected
- * selectmode = 2 - product selected
- *
- * globals:
- * queryform - string holding the name of the selection form
- */
-function doOnSelectProduct(selectmode) {
- var f = document.forms[queryform];
- var milestone = (typeof(f.target_milestone) == "undefined" ?
- null : f.target_milestone);
- if (selectmode == 0) {
- // If there is no classification selected, give us a chance to fill
- // the select fields with values from the possibly selected product.
- if (useclassification && f.classification.selectedIndex > -1) {
- selectClassification(f.classification, f.product, f.component, f.version, milestone);
- } else {
- selectProduct(f.product, f.component, f.version, milestone, null);
- }
- } else if (selectmode == 1) {
- selectClassification(f.classification, f.product, f.component, f.version, milestone);
- } else {
- selectProduct(f.product, f.component, f.version, milestone, null);
- }
-}
-
-// Hide the Advanced Fields by default, unless the user has a cookie
-// that specifies otherwise.
-// &#9656; and &#9662; are both utf8 escaped characters for right
-// and down facing arrows respectivly.
-TUI_alternates['history_query'] = '&#9658;';
-TUI_alternates['people_query'] = '&#9658;';
-TUI_alternates['information_query'] = '&#9658;';
-
-TUI_hide_default('history_query');
-TUI_hide_default('people_query');
-TUI_hide_default('information_query');
-</script>
-
-[% query_types = [
- "allwordssubstr",
- "anywordssubstr",
- "substring",
- "casesubstring",
- "allwords",
- "anywords",
- "regexp",
- "notregexp",
-] %]
-
-[%# If we resubmit to ourselves, we need to know if we are using a format. %]
-[% thisformat = query_format != '' ? query_format : format %]
-<input type="hidden" name="query_format" value="[% thisformat FILTER html %]">
-
-[%# *** Summary *** %]
-
- <div class="search_field_row" id="summary_field">
- [% INCLUDE "search/field.html.tmpl"
- field = bug_fields.short_desc
- types = query_types
- value = default.short_desc.0
- type_selected = default.short_desc_type.0
- accesskey = "s"
- %]
- <script type="text/javascript"> <!--
- document.forms[queryform].short_desc.focus();
- // -->
- </script>
-
- [% IF button_name %]
- <input type="submit" id="[% button_name FILTER css_class_quote %]_top"
- value="[% button_name FILTER html %]">
- [% END %]
- </div>
-
-[%# *** Classification Product Component *** %]
-
-[% Hook.process('before_selects_top') %]
-[% IF Param('useclassification') %]
- [% fake_classfication = { name => bug_fields.classification.name,
- type => constants.FIELD_TYPE_SINGLE_SELECT } %]
- [% INCLUDE "search/field.html.tmpl"
- field => fake_classfication
- accesskey => "c"
- onchange => "doOnSelectProduct(1);"
- value => default.classification
- %]
-[% END %]
-
-[% INCLUDE "search/field.html.tmpl"
- field => bug_fields.product
- accesskey => "p"
- onchange => "doOnSelectProduct(2);"
- value => default.product
-%]
-[% INCLUDE "search/field.html.tmpl"
- field => bug_fields.component
- accesskey => "m"
- value => default.component
-%]
-[% INCLUDE "search/field.html.tmpl"
- field => bug_fields.bug_status
- accesskey => "a"
- value => default.bug_status
-%]
-[% INCLUDE "search/field.html.tmpl"
- field => bug_fields.resolution
- accesskey => "r"
- value => default.resolution
-%]
-
-[% Hook.process('after_selects_top') %]
-
-<div id="detailed_information" class="bz_section_title">
- <div id="information_query_controller" class="arrow">&#9660;</div>
- <a href="javascript:TUI_toggle_class('information_query')">
- Detailed [% terms.Bug %] Information
- </a>
- <span class="section_help">Narrow results by the following fields:
- [%+ field_descs.longdesc FILTER html %]s, [%+ field_descs.bug_file_loc FILTER html %],
- [% IF Param('usestatuswhiteboard') %] [%+ field_descs.status_whiteboard FILTER html %], [%+ END %]
- [% IF use_keywords %] [%+ field_descs.keywords FILTER html %], [%+ END %]
- [% IF user.is_timetracker %] [%+ field_descs.deadline FILTER html %], [%+ END %]
- [% terms.Bug %] Numbers, [%+ field_descs.version FILTER html %],
- [% IF Param('usetargetmilestone') %] [%+ field_descs.target_milestone FILTER html %], [%+ END %]
- [% field_descs.bug_severity FILTER html %], [%+ field_descs.priority FILTER html %], [%+ field_descs.rep_platform FILTER html %],
- [%+ field_descs.op_sys FILTER html %]
- </span>
-</div>
-[%# *** Comment URL Whiteboard Keywords *** %]
-<div id="detailed_information_section" class="bz_search_section information_query">
- [% SET freetext_fields = [
- { field => bug_fields.longdesc, accesskey => 'c' },
- { field => bug_fields.bug_file_loc, accesskey => 'u' },
- { field => bug_fields.status_whiteboard, accesskey => 'w' },
- { field => bug_fields.keywords, accesskey => 'k',
- qtypes => ['allwords', 'anywords', 'nowords', 'regexp', 'notregexp'] }
- ] %]
- [% Hook.process('before_freetext_fields') %]
-
- [%# loop through a bunch of free text fields and print out their text stuff %]
- [% FOREACH field_container = freetext_fields %]
- [% NEXT IF field_container.field.name == 'status_whiteboard'
- AND NOT Param('usestatuswhiteboard')
- %]
- [% NEXT IF field_container.field.name == 'keywords'
- AND NOT use_keywords
- %]
- <div class="search_field_row">
- [% type = field_container.field.name _ "_type" %]
- [% INCLUDE "search/field.html.tmpl"
- field => field_container.field
- types => field_container.qtypes || query_types
- accesskey => field_container.accesskey
- value => default.${field_container.field.name}.0
- type_selected => default.$type.0
- %]
- </div>
- [% END %]
-
- [%# Deadline %]
- [% IF user.is_timetracker %]
- <div class="search_field_row">
- [% INCLUDE "search/field.html.tmpl"
- field = bug_fields.deadline
- accesskey = "l"
- value = [ default.deadlinefrom.0, default.deadlineto.0 ]
- %]
- </div>
- [% END %]
-
- <div class="search_field_row">
- <span class="field_label"><label for="bug_id">[% terms.Bugs %] numbered</label></span>
- <div id="bug_id_container" >
- <input type="text" name="bug_id" id="bug_id"
- value="[% default.bug_id.0 FILTER html %]" size="20">
- <div class="field_help">(comma-separated list)</div>
- </div>
- should be
- <select name="bug_id_type" id="bug_id_type">
- <option value="anyexact"[% " selected" IF default.bug_id_type.0 == "anyexact" %]>only included in</option>
- <option value="nowords"[% " selected" IF default.bug_id_type.0 == "nowords" %]>excluded from</option>
- </select> the results
- </div>
-
- [% Hook.process('after_freetext_fields') %]
-
- [%# *** Status Resolution Severity Priority Hardware OS *** %]
- <div>
- [% Hook.process('before_selects_bottom') %]
- [% fake_version_field = { name => bug_fields.version.name,
- type => constants.FIELD_TYPE_SINGLE_SELECT }%]
- [% INCLUDE "search/field.html.tmpl"
- field => fake_version_field
- value => default.version
- %]
- [% IF Param('usetargetmilestone') %]
- [% fake_target_milestone_field = { name => bug_fields.target_milestone.name ,
- type => constants.FIELD_TYPE_SINGLE_SELECT } %]
- [% INCLUDE "search/field.html.tmpl"
- field => fake_target_milestone_field
- value => default.target_milestone
- %]
- [% END %]
- [% INCLUDE "search/field.html.tmpl"
- field => bug_fields.bug_severity
- accesskey=> "v"
- value => default.bug_severity
- %]
- [% INCLUDE "search/field.html.tmpl"
- field => bug_fields.priority
- accesskey => "i"
- value => default.priority
- %]
- [% INCLUDE "search/field.html.tmpl"
- field => bug_fields.rep_platform
- accesskey =>"h"
- value => default.rep_platform
- %]
- [% INCLUDE "search/field.html.tmpl"
- field => bug_fields.op_sys
- accesskey =>"o"
- value => default.op_sys
- %]
- [% Hook.process('after_selects_bottom') %]
- </div>
-</div>
-[%# *** Email Numbering *** %]
- <div class="bz_section_title" id="people_filter">
- <div id="people_query_controller" class="arrow">&#9660;</div>
- <a href="javascript:TUI_toggle_class('people_query')">Search By People</a>
- <span>Narrow results to a role (i.e. [% field_descs.assigned_to FILTER html %],
- [%+ field_descs.reporter FILTER html %], [% field_descs.commenter FILTER html %],
- etc.) a person has on [% terms.abug %]
- </span>
- </div>
- <div id="people_filter_section" class="bz_search_section people_query">
- [% FOREACH n = [1, 2, 3] %]
- <div class="search_email_fields">
- Any of:
- [% PROCESS role_types field = { count => n, name => "emailassigned_to",
- label=> "the ${terms.Bug} ${field_descs.assigned_to}" } %]
- [% PROCESS role_types field = { count => n, name => "emailreporter",
- label=> "the ${field_descs.reporter}" } %]
- [% IF Param('useqacontact') %]
- [% PROCESS role_types field = { count => n, name => "emailqa_contact",
- label=> "the ${field_descs.qa_contact}" } %]
- [% END %]
- [% PROCESS role_types field = { count => n, name => "emailcc",
- label=> "a ${field_descs.cc} list member" } %]
- [% PROCESS role_types field = { count => n, name => "emaillongdesc",
- label=> " a ${field_descs.commenter}" } %]
- <select name="emailtype[% n %]">
- [% FOREACH qv = [
- { name => "substring", description => "contains" },
- { name => "exact", description => "is" },
- { name => "notequals", description => "is not" },
- { 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 %]
- </select>
- [% IF feature_enabled('jsonrpc') %]
- <div id="email[% n %]_autocomplete">
- [% END %]
- <input name="email[% n %]" class="email" id="email[% n %]"
- value="[% default.email.$n FILTER html %]">
- [% IF feature_enabled('jsonrpc') %]
- <div id="email[% n %]_autocomplete_container"></div>
- </div>
- <script type="text/javascript">
- YAHOO.bugzilla.userAutocomplete.init( "email[% n %]",
- "email[% n %]_autocomplete_container");
- </script>
- [% END %]
- </div>
- [% END %]
- [% Hook.process('email_numbering_end') %]
- </div>
-[%# *** Bug Changes *** %]
-<div class="bz_section_title" id="history_filter">
- <div id="history_query_controller" class="arrow">&#9660;</div>
- <a href="javascript:TUI_toggle_class('history_query')" >Search By Change History</a>
- <span>Narrow results to how fields have changed during a specific time period</span>
-</div>
-<ul class="bug_changes bz_search_section history_query" id="history_filter_section" >
- <li>
- <label for="chfield">where ANY of the fields:</label>
- [%# Create array, so we can sort it by description #%]
- [% chfields = [] %]
- [% FOREACH field = chfield %]
- [% chfields.push({value => field, desc => (field_descs.$field || field) }) %]
- [% END %]
- <select name="chfield" id="chfield" multiple="multiple" size="4">
- [% FOREACH field = chfields.sort('desc') %]
- <option value="[% field.value FILTER html %]"
- [% " selected" IF default.chfield.contains(field.value) %]>
- [% field.desc FILTER html %]</option>
- [% END %]
- </select>
- </li>
- <li>
- <label for="chfieldvalue">[% search_descs.changedto FILTER html %]:</label>
- <input name="chfieldvalue" id="chfieldvalue"
- size="20" value="[% default.chfieldvalue.0 FILTER html %]">
- </li>
- <li>
- <label for="chfieldfrom">between:</label>
- <input name="chfieldfrom" id="chfieldfrom" size="10"
- value="[% default.chfieldfrom.0 FILTER html %]" onchange="updateCalendarFromField(this)">
- <button type="button" class="calendar_button"
- id="button_calendar_chfieldfrom"
- onclick="showCalendar('chfieldfrom')"><span>Calendar</span></button>
- and
- <div id="con_calendar_chfieldfrom"></div>
- <input name="chfieldto" size="10" id="chfieldto"
- value="[% default.chfieldto.0 FILTER html %]" onchange="updateCalendarFromField(this)">
- <button type="button" class="calendar_button"
- id="button_calendar_chfieldto"
- onclick="showCalendar('chfieldto')"><span>Calendar</span></button>
- <div id="con_calendar_chfieldto"></div>
- (YYYY-MM-DD or relative dates)
- <script type="text/javascript">
- createCalendar('chfieldfrom');
- createCalendar('chfieldto');
- </script>
- </li>
-</ul>
-
-[%############################################################################%]
-[%# Block for email role type use to select which email to search through #%]
-[%############################################################################%]
-[% BLOCK role_types %]
- <div class="role_type">
- <input type="checkbox" name="[% field.name _ field.count FILTER html %]"
- id="[% field.name _ field.count FILTER html %]" value="1"
- [% " checked" IF default.${field.name}.${field.count} %]>
- <label for="[% field.name _ field.count FILTER html%]">
- [% field.label FILTER html%]
- </label>
- </div>
-[% END %]
diff --git a/template/en/default/search/knob.html.tmpl b/template/en/default/search/knob.html.tmpl
deleted file mode 100644
index 17ff63a..0000000
--- a/template/en/default/search/knob.html.tmpl
+++ /dev/null
@@ -1,85 +0,0 @@
-[%# The contents of this file are subject to the Mozilla Public
- # License Version 1.1 (the "License"); you may not use this file
- # except in compliance with the License. You may obtain a copy of
- # the License at http://www.mozilla.org/MPL/
- #
- # Software distributed under the License is distributed on an "AS
- # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- # implied. See the License for the specific language governing
- # rights and limitations under the License.
- #
- # The Original Code is the Bugzilla Bug Tracking System.
- #
- # The Initial Developer of the Original Code is Netscape Communications
- # Corporation. Portions created by Netscape are
- # Copyright (C) 1998 Netscape Communications Corporation. All
- # Rights Reserved.
- #
- # Contributor(s): Gervase Markham <gerv@gerv.net>
- # Tobias Burnus <burnus@net-b.de>
- # Jouni Heikniemi <jouni@heikniemi.net>
- #%]
-
-[%# INTERFACE:
- # (incomplete!)
- # ...
- # known_name: string. Possibly known stored name for the query being
- # edited. This value is just passed through in a
- # hidden field.
- #%]
-
-
-[% PROCESS global/variables.none.tmpl %]
-
-[%# This is not necessary for English templates, but useful for localizers. %]
-[% ordersdesc = {
- "Reuse same sort as last time" => "Reuse same sort as last time",
- "Bug Number" => "$terms.Bug Number",
- "Importance" => "Importance",
- "Assignee" => "Assignee",
- "Last Changed" => "Last Changed" } %]
-
-<input type="hidden" name="cmdtype" value="doit">
-
-<p>
- <label for="order">Sort results by</label>:
- <select name="order" id="order">
- [% FOREACH order = orders %]
- <option value="[% order FILTER html %]"
- [% " selected" IF default.order.0 == order %]>
- [% ordersdesc.$order FILTER html %]</option>
- [% END %]
- </select>
-</p>
-
-<p>
- <input type="submit" id="[% button_name FILTER html %]"
- value="[% button_name FILTER html %]">
- [% IF known_name %]
- [%# We store known_name in case the user add a boolean chart. %]
- <input type="hidden" name="known_name" value="[% known_name FILTER html %]">
-
- [%# The name of the existing query will be passed to buglist.cgi. %]
- <input type="hidden" name="query_based_on" value="[% known_name FILTER html %]">
- [% END %]
- [%# Preserve any custom column list that might be set. %]
- [% IF columnlist %]
- <input type="hidden" name="columnlist" value="[% columnlist FILTER html %]">
- [% END %]
-</p>
-
-<p>
- &nbsp;&nbsp;&nbsp;
- <input type="checkbox" id="remasdefault"
- name="remtype" value="asdefault">
- <label for="remasdefault">
- and remember these as my default search options
- </label>
-</p>
-
-[% IF userdefaultquery %]
- <p>
- <a href="query.cgi?nukedefaultquery=1">
- Set my default search back to the system default</a>.
- </p>
-[% END %]
diff --git a/template/en/default/search/search-advanced.html.tmpl b/template/en/default/search/search-advanced.html.tmpl
deleted file mode 100644
index ef7fa76..0000000
--- a/template/en/default/search/search-advanced.html.tmpl
+++ /dev/null
@@ -1,69 +0,0 @@
-[%# The contents of this file are subject to the Mozilla Public
- # License Version 1.1 (the "License"); you may not use this file
- # except in compliance with the License. You may obtain a copy of
- # the License at http://www.mozilla.org/MPL/
- #
- # Software distributed under the License is distributed on an "AS
- # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- # implied. See the License for the specific language governing
- # rights and limitations under the License.
- #
- # The Original Code is the Bugzilla Bug Tracking System.
- #
- # The Initial Developer of the Original Code is Netscape Communications
- # Corporation. Portions created by Netscape are
- # Copyright (C) 1998 Netscape Communications Corporation. All
- # Rights Reserved.
- #
- # Contributor(s): Gervase Markham <gerv@gerv.net>
- #%]
-
-[%# INTERFACE:
- # This template has no interface. However, to use it, you need to fulfill
- # the interfaces of search/form.html.tmpl, search/knob.html.tmpl and
- # search/boolean-charts.html.tmpl.
- #%]
-
-[% PROCESS global/variables.none.tmpl %]
-
-[% USE Bugzilla %]
-[% cgi = Bugzilla.cgi %]
-
-
-[% js_data = BLOCK %]
-var queryform = "queryform"
-[% END %]
-
-[% PROCESS global/header.html.tmpl
- title = "Search for $terms.bugs"
- onload = "doOnSelectProduct(0);"
- javascript = js_data
- yui = [ 'autocomplete', 'calendar' ]
- javascript_urls = [ "js/productform.js", "js/util.js", "js/TUI.js", "js/field.js"]
- style_urls = [ "skins/standard/search_form.css" ]
- doc_section = "query.html"
- style = "dl.bug_changes dt {
- margin-top: 15px;
- }"
-%]
-
-[% WRAPPER search/tabs.html.tmpl %]
-
-[% button_name = "Search" %]
-
-<p id="search_help">Hover your mouse over each field label to get help for that field.</p>
-
-<form method="post" action="buglist.cgi" name="queryform" id="queryform">
-
-[% PROCESS search/form.html.tmpl %]
-
-[% PROCESS "search/boolean-charts.html.tmpl" %]
-
-[% PROCESS search/knob.html.tmpl %]
-
-</form>
-
-
-[% END %]
-
-[% PROCESS global/footer.html.tmpl %]
diff --git a/template/en/default/search/search-create-series.html.tmpl b/template/en/default/search/search-create-series.html.tmpl
deleted file mode 100644
index c425fbd..0000000
--- a/template/en/default/search/search-create-series.html.tmpl
+++ /dev/null
@@ -1,71 +0,0 @@
-[%# The contents of this file are subject to the Mozilla Public
- # License Version 1.1 (the "License"); you may not use this file
- # except in compliance with the License. You may obtain a copy of
- # the License at http://www.mozilla.org/MPL/
- #
- # Software distributed under the License is distributed on an "AS
- # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- # implied. See the License for the specific language governing
- # rights and limitations under the License.
- #
- # The Original Code is the Bugzilla Bug Tracking System.
- #
- # The Initial Developer of the Original Code is Netscape Communications
- # Corporation. Portions created by Netscape are
- # Copyright (C) 1998 Netscape Communications Corporation. All
- # Rights Reserved.
- #
- # Contributor(s): Gervase Markham <gerv@gerv.net>
- #%]
-
-[%# INTERFACE:
- # This template has no interface. However, to use it, you need to fulfill
- # the interfaces of search/form.html.tmpl, reports/series.html.tmpl and
- # search/boolean-charts.html.tmpl.
- #%]
-
-[% PROCESS global/variables.none.tmpl %]
-
-[% js_data = BLOCK %]
- var queryform = "chartform";
-[% END %]
-
-[% PROCESS global/header.html.tmpl
- title = "Create New Data Set"
- onload = "doOnSelectProduct(0);"
- yui = [ 'autocomplete', 'calendar' ]
- javascript = js_data
- javascript_urls = [ "js/util.js", "js/productform.js", "js/TUI.js", "js/field.js" ]
- style_urls = [ "skins/standard/search_form.css" ]
- doc_section = "reporting.html#charts-new-series"
-%]
-
-<form method="get" action="chart.cgi" name="chartform">
-
-[% PROCESS search/form.html.tmpl %]
-
-<p>
- <input type="submit" name="action-search" value="Run Search">
- to see which [% terms.bugs %] would be included in this data set.
-</p>
-
-<h3>Data Set Parameters</h3>
-
-[% PROCESS reports/series.html.tmpl
- button_name = "Create Data Set" %]
- <input type="hidden" name="action" value="create">
- <input type="hidden" name="token" value="[% issue_hash_token(['create-series']) FILTER html %]">
-
-<script type="text/javascript">
- document.chartform.category[0].selected = true;
- catSelected();
- checkNewState();
-</script>
-
-<hr>
-
-[% PROCESS "search/boolean-charts.html.tmpl" %]
-
-</form>
-
-[% PROCESS global/footer.html.tmpl %]
diff --git a/template/en/default/search/search-help.html.tmpl b/template/en/default/search/search-help.html.tmpl
deleted file mode 100644
index 12e82ba..0000000
--- a/template/en/default/search/search-help.html.tmpl
+++ /dev/null
@@ -1,107 +0,0 @@
-[%# The contents of this file are subject to the Mozilla Public
- # License Version 1.1 (the "License"); you may not use this file
- # except in compliance with the License. You may obtain a copy of
- # the License at http://www.mozilla.org/MPL/
- #
- # Software distributed under the License is distributed on an "AS
- # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- # implied. See the License for the specific language governing
- # rights and limitations under the License.
- #
- # The Original Code is the Bugzilla Bug Tracking System.
- #
- # The Initial Developer of the Original Code is Netscape Communications
- # Corporation. Portions created by Netscape are
- # Copyright (C) 1998 Netscape Communications Corporation. All
- # Rights Reserved.
- #
- # Contributor(s): Gervase Markham <gerv@gerv.net>
- #%]
-
-[% help_html = [
-{ id => "short_desc_type",
- html => "The type of summary search you would like" },
-{ id => "short_desc",
- html => "The $terms.bug summary is a short sentence which succinctly
- describes <br> what the $terms.bug is about." },
-{ id => "classification",
- html => "$terms.Bugs are categorised into Classifications, Products and Components. classifications is the<br>
- top-level categorisation." },
-{ id => "product",
- html => Param('useclassification') ?
- "$terms.Bugs are categorised into Products and Components. Select a Classification to narrow down this list" :
- "$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
- $terms.bug<br>was found in." },
-{ id => "target_milestone",
- html => "The target_milestone field is used to define when the engineer<br>
- the $terms.bug is assigned to expects to fix it." },
-{ id => "longdesc",
- html => "$terms.Bugs have comments added to them by $terms.Bugzilla users.
- You can<br>search for some text in those comments." },
-{ id => "longdesc_type",
- html => "The type of comment search you would like" },
-{ id => "bug_file_loc",
- 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 $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 $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 => "$terms.Abug may be in any of a number of states." },
-{ id => "resolution",
- html => "If $terms.abug is in a resolved state, then one of these reasons
- will<br>be given for its resolution." },
-{ id => "bug_severity",
- html => "How severe the $terms.bug is, or whether it's an enhancement." },
-{ id => "priority",
- html => "Engineers prioritize their $terms.bugs using this field." },
-{ id => "rep_platform",
- html => "The hardware platform the $terms.bug was observed on." },
-{ id => "op_sys",
- html => "The operating system the $terms.bug was observed on." },
-{ id => "email1",
- 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 $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 $terms.bugs ." },
-{ id => "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." },
-{ id => "chfieldfrom",
- html => "Specify the start and end dates either in YYYY-MM-DD format<br>
- (optionally followed by HH:mm, in 24 hour clock), or in relative<br>
- dates such as 1h, 2d, 3w, 4m, 5y, which respectively mean one hour,<br>
- two days, three weeks, four months, or five years ago. 0d is last<br>
- midnight, and 0h, 0w, 0m, 0y is the beginning of this hour, week,<br>
- month, or year." },
-{ id => "chfieldto",
- html => "Specify the start and end dates either in YYYY-MM-DD format<br>
- (optionally followed by HH:mm, in 24 hour clock), or in relative<br>
- dates such as 1h, 2d, 3w, 4m, 5y, which respectively mean one hour,<br>
- two days, three weeks, four months, or five years ago. 0d is last<br>
- midnight, and 0h, 0w, 0m, 0y is the beginning of this hour, week,<br>
- month, or year." },
-{ id => "chfieldvalue",
- html => "The value the field defined above changed to during that time." },
-] %]
diff --git a/template/en/default/search/search-plugin.xml.tmpl b/template/en/default/search/search-plugin.xml.tmpl
deleted file mode 100644
index 8564dca..0000000
--- a/template/en/default/search/search-plugin.xml.tmpl
+++ /dev/null
@@ -1,28 +0,0 @@
-[%# The contents of this file are subject to the Mozilla Public
- # License Version 1.1 (the "License"); you may not use this file
- # except in compliance with the License. You may obtain a copy of
- # the License at http://www.mozilla.org/MPL/
- #
- # Software distributed under the License is distributed on an "AS
- # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- # implied. See the License for the specific language governing
- # rights and limitations under the License.
- #
- # The Original Code is the Bugzilla Bug Tracking System.
- #
- # Contributor(s): Frédéric Buclin <LpSolit@gmail.com>
- #
- #%]
-[% PROCESS global/variables.none.tmpl %]
-<?xml version="1.0" encoding="UTF-8"?>
-<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
-<ShortName>[% terms.Bugzilla %]</ShortName>
-<Description>[% terms.Bugzilla %] Quick Search</Description>
-<InputEncoding>UTF-8</InputEncoding>
-[% IF favicon %]
- <Image width="16" height="16">data:image/x-icon;base64,[% favicon FILTER base64 %]</Image>
-[% ELSE %]
- <Image width="16" height="16">data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAABGdBTUEAAK%2FINwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAALBSURBVHjaYnxckcEAA3%2F%2B%2FT%2F17LUcH%2Fevf%2F8U%2BHmYGBkZMABAALEgc%2B68%2F3T227cf2tJKKhJLt59n%2FfmbnYnZV1KEhYkJrgYggBghNrz78fPIi3d8uvKBIdb%2FOaWPnzitLc97%2Bc5rFXnhnVO3%2BslLwjUABBDIhnsfPl%2Fj53VO91FX4Gfgkjxw%2Fd%2F6Q49%2FWStqyAj%2B%2B88gZqn%2B9u5rYU52iAaAAGL69%2F%2F%2F2d9%2FYiMclGT4fv76%2BZ9DbO%2FeA39%2BfJHVcvj5l%2Bnh03e%2FWThOvnwLtwEgAAAxAM7%2FBPj8%2FRYkHQYHAf3%2F%2Fv%2F%2B%2Fv8BAVNTUPX18yorLNHE2S8mB%2FT2%2Bq7a4dvu8iUSDgAAAAKICRgUv3%2F8ZGKGeIvpz6eXBvq61lZWLMwMv%2F5zMP7%2FqSAjVFyZ%2FNvZftuT10DnAAQAMQDO%2FwQIBAPz5Or6%2Ff0CBQEAAgT99ubq38z2%2BwT18%2FAM%2F%2BkNDAv6%2FQMCAA1GVVrhMze5h4kCCORpkd9%2F3n74KiHO%2B%2BffX8b%2Ff7m%2BXWP985%2Bf5R%2BPLNdfoK%2F%2F%2Ffv39%2BePj2%2FkZYR0fe0BAgikQZGX%2B9b9FzLS%2FH%2F%2B%2FGVgYGRlZWNlA7nv7z9QuDP8%2B8nw%2FRXjn68Mv4Gu%2FAwQQCCni3FxPLn7nIGZGegfNhYmNjYWZnBMASOakZER6Eumf9%2FYGT4y%2FHx%2F%2BfBFgAAC2cDGzPT99WeGvwzvv%2Fx89vrr%2F39%2FJER4pcT5Gf4z%2FP37D2jtj9%2B%2FL918fmzrKSsWNoAAgiaN%2Fz9%2Fff%2F6S4CP8%2BWbz9vWHfv54aukpAAz0Og%2Ff%2F7%2F%2Bs36668cO3ugED9QJUAAQTUArf7%2F8x87D9vRjcejhPiZhAUYcACAAGI5%2FOHH9ddvXzAxmjz%2B8P8lw4fXn5l4eRlwA4AAYmaTkBFg%2FKvJwfbkwZuXN57y%2Fv%2F34stXGR4uRmxpGwgAAgwA4%2FkfrfCWvLQAAAAASUVORK5CYII%3D</Image>
-[% END %]
-<Url type="text/html" method="GET" template="[% urlbase FILTER xml %]buglist.cgi?quicksearch={searchTerms}"/>
-</OpenSearchDescription>
diff --git a/template/en/default/search/search-report-graph.html.tmpl b/template/en/default/search/search-report-graph.html.tmpl
deleted file mode 100644
index 3c894cf..0000000
--- a/template/en/default/search/search-report-graph.html.tmpl
+++ /dev/null
@@ -1,142 +0,0 @@
-[%# The contents of this file are subject to the Mozilla Public
- # License Version 1.1 (the "License"); you may not use this file
- # except in compliance with the License. You may obtain a copy of
- # the License at http://www.mozilla.org/MPL/
- #
- # Software distributed under the License is distributed on an "AS
- # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- # implied. See the License for the specific language governing
- # rights and limitations under the License.
- #
- # The Original Code is the Bugzilla Bug Tracking System.
- #
- # The Initial Developer of the Original Code is Netscape Communications
- # Corporation. Portions created by Netscape are
- # Copyright (C) 1998 Netscape Communications Corporation. All
- # Rights Reserved.
- #
- # Contributor(s): Gervase Markham <gerv@gerv.net>
- #%]
-
-[%# INTERFACE:
- # This template has no interface. However, to use it, you need to fulfill
- # the interfaces of the templates it contains.
- #%]
-
-[% PROCESS global/variables.none.tmpl %]
-
-[% js_data = BLOCK %]
-var queryform = "reportform"
-[% END %]
-
-[% PROCESS global/header.html.tmpl
- title = "Generate Graphical Report"
- onload = "doOnSelectProduct(0); chartTypeChanged()"
- yui = [ 'autocomplete', 'calendar' ]
- javascript = js_data
- javascript_urls = [ "js/util.js", "js/productform.js", "js/TUI.js", "js/field.js" ]
- style_urls = [ "skins/standard/search_form.css" ]
- doc_section = "reporting.html#reports"
-%]
-
-[% PROCESS "search/search-report-select.html.tmpl" %]
-
-<p>
- Choose one or more fields as your axes, and then refine your set of
- [% terms.bugs %] using the rest of the form.
-</p>
-
-<script type="text/javascript"><!--
- [%# The Y-axis fields are not used for pie charts %]
- function chartTypeChanged() {
- // format[2] is the pie chart radio button
- if (document.reportform.format[2].checked == true) {
- document.reportform.y_axis_field.disabled = true;
- document.reportform.cumulate[0].disabled = true;
- document.reportform.cumulate[1].disabled = true;
- } else {
- document.reportform.y_axis_field.disabled = false;
- document.reportform.cumulate[0].disabled = false;
- document.reportform.cumulate[1].disabled = false;
- }
- }
-// -->
-</script>
-
-[% button_name = "Generate Report" %]
-
-<form method="get" action="report.cgi" name="reportform" id="reportform">
-
-<table align="center">
- <tr>
- <td valign="middle">
- <b>Vertical Axis:</b><br>
- <noscript><small>(not for pie charts)</small><br></noscript>
- [% PROCESS select name = 'y_axis_field' %]<br>
- <br>
- <b>Plot Data Sets:</b><br>
- <input type="radio" name="cumulate" value="0"
- [% " checked" IF default.cumulate.0 != "1" %]>
- Individually<br>
- <input type="radio" name="cumulate" value="1"
- [% " checked" IF default.cumulate.0 == "1" %]>
- Stacked
- </td>
- <td width="150" height="150">
- <table border="1" width="100%" height="100%">
- <tr>
- <td align="center" valign="middle">
- <b>Multiple Images:</b><br>
- [% PROCESS select name = 'z_axis_field' %]
- </td>
- </tr>
- </table>
- </td>
- <td rowspan="2">
- <b>Format:</b><br>
- [% chart_formats = [
- { name => "line", description => "Line Graph" },
- { 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 %]"
- onchange="chartTypeChanged()"
- [% " 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"
- value="1"
- [% " checked" IF default.x_labels_vertical.0 == "1" %]>
- </td>
- <td>
- </td>
- </tr>
-</table>
-
-<hr>
-
-[% PROCESS search/form.html.tmpl %]
-
-[% PROCESS "search/boolean-charts.html.tmpl" %]
-
- <div id="knob">
- <input type="submit" id="[% button_name FILTER css_class_quote %]"
- value="[% button_name FILTER html %]">
- <input type="hidden" name="action" value="wrap">
- </div>
-</form>
-
-[% PROCESS global/footer.html.tmpl %]
diff --git a/template/en/default/search/search-report-select.html.tmpl b/template/en/default/search/search-report-select.html.tmpl
deleted file mode 100644
index 5e5db06..0000000
--- a/template/en/default/search/search-report-select.html.tmpl
+++ /dev/null
@@ -1,50 +0,0 @@
-[%# The contents of this file are subject to the Mozilla Public
- # License Version 1.1 (the "License"); you may not use this file
- # except in compliance with the License. You may obtain a copy of
- # the License at http://www.mozilla.org/MPL/
- #
- # Software distributed under the License is distributed on an "AS
- # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- # implied. See the License for the specific language governing
- # rights and limitations under the License.
- #
- # The Original Code is the Bugzilla Bug Tracking System.
- #
- # The Initial Developer of the Original Code is Netscape Communications
- # Corporation. Portions created by Netscape are
- # Copyright (C) 1998 Netscape Communications Corporation. All
- # Rights Reserved.
- #
- # Contributor(s): Gervase Markham <gerv@gerv.net>
- #%]
-
-[%# INTERFACE:
- # name: string. The name of the select block to output.
- # default.$name.0: string. The default value for the block, if any.
- #%]
-
-[% PROCESS "global/field-descs.none.tmpl" %]
-
-[% BLOCK select %]
- [% Hook.process('rep_fields', 'search/search-report-select.html.tmpl') %]
-
- <select name="[% name FILTER html %]">
- <option value="">&lt;none&gt;</option>
-
- [% FOREACH field = report_columns.keys.sort %]
- [% NEXT IF field == "classification" AND !Param('useclassification') %]
- [% NEXT IF field == "target_milestone" AND !Param('usetargetmilestone') %]
- [% NEXT IF field == "qa_contact" AND !Param('useqacontact') %]
- <option value="[% field FILTER html %]"
- [% " selected" IF default.$name.0 == field %]>
- [% field_descs.$field || field FILTER html %]</option>
- [% END %]
-
- [%# Single-select fields are also valid column names. %]
- [% FOREACH field = custom_fields %]
- <option value="[% field.name FILTER html %]"
- [% " selected" IF default.$name.0 == field.name %]>
- [% field.description FILTER html %]</option>
- [% END %]
- </select>
-[% END %]
diff --git a/template/en/default/search/search-report-table.html.tmpl b/template/en/default/search/search-report-table.html.tmpl
deleted file mode 100644
index 7e087e7..0000000
--- a/template/en/default/search/search-report-table.html.tmpl
+++ /dev/null
@@ -1,95 +0,0 @@
-[%# The contents of this file are subject to the Mozilla Public
- # License Version 1.1 (the "License"); you may not use this file
- # except in compliance with the License. You may obtain a copy of
- # the License at http://www.mozilla.org/MPL/
- #
- # Software distributed under the License is distributed on an "AS
- # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- # implied. See the License for the specific language governing
- # rights and limitations under the License.
- #
- # The Original Code is the Bugzilla Bug Tracking System.
- #
- # The Initial Developer of the Original Code is Netscape Communications
- # Corporation. Portions created by Netscape are
- # Copyright (C) 1998 Netscape Communications Corporation. All
- # Rights Reserved.
- #
- # Contributor(s): Gervase Markham <gerv@gerv.net>
- #%]
-
-[%# INTERFACE:
- # This template has no interface. However, to use it, you need to fulfill
- # the interfaces of the templates it contains.
- #%]
-
-[% PROCESS global/variables.none.tmpl %]
-
-[% js_data = BLOCK %]
-var queryform = "reportform"
-[% END %]
-
-[% PROCESS global/header.html.tmpl
- title = "Generate Tabular Report"
- onload = "doOnSelectProduct(0)"
- yui = [ 'autocomplete', 'calendar' ]
- javascript = js_data
- javascript_urls = [ "js/util.js", "js/productform.js", "js/TUI.js", "js/field.js" ]
- style_urls = [ "skins/standard/search_form.css" ]
- doc_section = "reporting.html#reports"
-%]
-
-[% PROCESS "search/search-report-select.html.tmpl" %]
-
-<p>
- Choose one or more fields as your axes, and then refine your set of
- [% terms.bugs %] using the rest of the form.
-</p>
-
-[% button_name = "Generate Report" %]
-
-<form method="get" action="report.cgi" name="reportform" id="reportform">
-
-<table align="center">
- <tr>
- <td>
- </td>
- <td align="center">
- <b>Horizontal Axis:</b>
- [% PROCESS select name = 'x_axis_field' %]
- </td>
- </tr>
-
- <tr>
- <td valign="middle" align="center">
- <b>Vertical Axis:</b><br>
- [% PROCESS select name = 'y_axis_field' %]
- </td>
- <td width="150" height="150">
- <table border="1" width="100%">
- <tr>
- <td align="center" valign="middle" height="150">
- <b>Multiple Tables:</b><br>
- [% PROCESS select name = 'z_axis_field' %]
- </td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-
-<hr>
-
- [% PROCESS search/form.html.tmpl %]
-
- [% PROCESS "search/boolean-charts.html.tmpl" %]
-
- <div id="knob">
- <input type="submit" id="[% button_name FILTER css_class_quote %]"
- value="[% button_name FILTER html %]">
- <input type="hidden" name="format" value="table">
- <input type="hidden" name="action" value="wrap">
- </div>
-</form>
-
-[% PROCESS global/footer.html.tmpl %]
diff --git a/template/en/default/search/search-specific.html.tmpl b/template/en/default/search/search-specific.html.tmpl
deleted file mode 100644
index 78e5506..0000000
--- a/template/en/default/search/search-specific.html.tmpl
+++ /dev/null
@@ -1,129 +0,0 @@
-[%# The contents of this file are subject to the Mozilla Public
- # License Version 1.1 (the "License"); you may not use this file
- # except in compliance with the License. You may obtain a copy of
- # the License at http://www.mozilla.org/MPL/
- #
- # Software distributed under the License is distributed on an "AS
- # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- # implied. See the License for the specific language governing
- # rights and limitations under the License.
- #
- # The Original Code is the Bugzilla Bug Tracking System.
- #
- # The Initial Developer of the Original Code is Netscape Communications
- # Corporation. Portions created by Netscape are
- # Copyright (C) 1998 Netscape Communications Corporation. All
- # Rights Reserved.
- #
- # Contributor(s): Myk Melez <myk@mozilla.org>
- #%]
-
-[% PROCESS global/variables.none.tmpl %]
-
-[% PROCESS global/header.html.tmpl
- title = "Simple Search"
-%]
-
-[% WRAPPER search/tabs.html.tmpl %]
-
-<p>
-Find a specific [% terms.bug %] by entering words that describe it.
-[% terms.Bugzilla %] will search [% terms.bug %] descriptions and comments
-for those words and return a list of matching [% terms.bugs %] sorted
-by relevance.
-</p>
-
-<p>
-For example, if the [% terms.bug %] you are looking for is a browser crash when you go to a secure web site with an embedded Flash animation, you might search
-for "crash secure SSL flash".
-</p>
-
-<form name="queryform" method="get" action="buglist.cgi">
-<input type="hidden" name="query_format" value="specific">
-<input type="hidden" name="order" value="relevance desc">
-
-<table>
- <tr>
- <td align="right" valign="baseline">
- <b><label for="bug_status">Status:</label></b>
- </td>
- <td>
- <select name="bug_status" id="bug_status">
- [% statuses = [ { name = 'open', label = "Open" },
- { name = 'closed', label = "Closed" },
- { name = 'all', label = "All" } ] %]
- [% FOREACH status = statuses %]
- <option value="__[% status.name %]__"
- [% " selected" IF default.bug_status.0 == "__${status.name}__" %]>
- [% status.label FILTER html %]
- </option>
- [% END %]
- </select>
- </td>
- </tr>
- <tr>
- <td align="right" valign="baseline">
- <b><label for="product">Product:</label></b>
- </td>
- <td>
- <select name="product" id="product">
- <option value="">All</option>
- [% IF Param('useclassification') %]
- [% FOREACH c = classification %]
- <optgroup label="[% c.name FILTER html %]">
- [% FOREACH p = user.get_selectable_products(c.id) %]
- [% IF p.components.size %]
- <option value="[% p.name FILTER html %]"
- [% " selected" IF lsearch(default.product, p.name) != -1 %]>
- [% p.name FILTER html %]
- </option>
- [% END %]
- [% END %]
- </optgroup>
- [% END %]
- [% ELSE %]
- [% FOREACH p = product %]
- <option value="[% p.name FILTER html %]"
- [% " selected" IF lsearch(default.product, p.name) != -1 %]>
- [% p.name FILTER html %]
- </option>
- [% END %]
- [% END %]
- </select>
- </td>
- </tr>
- <tr>
- <td align="right" valign="baseline">
- <b><label for="content">Words:</label></b>
- </td>
- <td>
- <input name="content" size="40" id="content"
- value="[% default.content.0 FILTER html %]">
- <script type="text/javascript"> <!--
- document.forms['queryform'].content.focus();
- // -->
- </script>
- </td>
- </tr>
- <tr>
- <td></td>
- <td>
-
- [% IF Param('specific_search_allow_empty_words') %]
- <input type="submit" id="search" value="Search">
- [% ELSE %]
- <input type="submit" id="search" value="Search"
- onclick="if (this.form.content.value == '')
- {alert('The Words field cannot be empty. You have to ' +
- 'enter at least one word in your search criteria.');
- return false;} return true;">
- [% END %]
- </td>
- </tr>
-</table>
-</form>
-
-[% END %]
-
-[% PROCESS global/footer.html.tmpl %]
-
diff --git a/template/en/default/search/tabs.html.tmpl b/template/en/default/search/tabs.html.tmpl
deleted file mode 100644
index 119b30f..0000000
--- a/template/en/default/search/tabs.html.tmpl
+++ /dev/null
@@ -1,36 +0,0 @@
-[%# The contents of this file are subject to the Mozilla Public
- # License Version 1.1 (the "License"); you may not use this file
- # except in compliance with the License. You may obtain a copy of
- # the License at http://www.mozilla.org/MPL/
- #
- # Software distributed under the License is distributed on an "AS
- # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- # implied. See the License for the specific language governing
- # rights and limitations under the License.
- #
- # The Original Code is the Bugzilla Bug Tracking System.
- #
- # The Initial Developer of the Original Code is Netscape Communications
- # Corporation. Portions created by Netscape are
- # Copyright (C) 1998 Netscape Communications Corporation. All
- # Rights Reserved.
- #
- # Contributor(s): Gervase Markham <gerv@gerv.net>
- # Myk Melez <myk@mozilla.org>
- #%]
-
-[%# INTERFACE:
- # This template has no interface.
- #%]
-
-[% WRAPPER global/tabs.html.tmpl
- tabs = [ { name => 'specific', label => "Simple Search",
- link => "query.cgi?format=specific" },
- { name => 'advanced', label => "Advanced Search",
- link => "query.cgi?format=advanced" } ]
- current_tab_name = query_format || format || "advanced"
-%]
-
-[% content %]
-
-[% END %]
diff --git a/template/en/default/search/type-select.html.tmpl b/template/en/default/search/type-select.html.tmpl
deleted file mode 100644
index 043c419..0000000
--- a/template/en/default/search/type-select.html.tmpl
+++ /dev/null
@@ -1,29 +0,0 @@
-[%# The contents of this file are subject to the Mozilla Public
- # License Version 1.1 (the "License"); you may not use this file
- # except in compliance with the License. You may obtain a copy of
- # the License at http://www.mozilla.org/MPL/
- #
- # Software distributed under the License is distributed on an "AS
- # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- # implied. See the License for the specific language governing
- # rights and limitations under the License.
- #
- # The Original Code is the Bugzilla Bug Tracking System.
- #
- # The Initial Developer of the Original Code is the San Jose State
- # University Foundation. Portions created by the Initial Developer are
- # Copyright (C) 2008 the Initial Developer. All Rights Reserved.
- #
- # Contributor(s):
- # Max Kanat-Alexander <mkanat@bugzilla.org>
- #%]
-
-[% PROCESS "global/field-descs.none.tmpl" %]
-
-<select name="[% name FILTER html %]">
- [% FOREACH type = types %]
- <option value="[% type FILTER html %]"
- [%- ' selected="selected"' IF type == selected %]>
- [%- search_descs.$type FILTER html %]</option>
- [% END %]
-</select>