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.tmpl10
-rw-r--r--template/en/default/search/field.html.tmpl4
-rw-r--r--template/en/default/search/form.html.tmpl12
-rw-r--r--template/en/default/search/search-create-series.html.tmpl2
-rw-r--r--template/en/default/search/search-report-graph.html.tmpl2
-rw-r--r--template/en/default/search/search-specific.html.tmpl2
6 files changed, 16 insertions, 16 deletions
diff --git a/template/en/default/search/boolean-charts.html.tmpl b/template/en/default/search/boolean-charts.html.tmpl
index abfd164a1..455cb48b8 100644
--- a/template/en/default/search/boolean-charts.html.tmpl
+++ b/template/en/default/search/boolean-charts.html.tmpl
@@ -53,7 +53,7 @@
<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')" >
+ <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>
@@ -70,15 +70,15 @@
with_buttons = 1
condition = { f => 'noop' }
cond_num = cond_num + 1 %]
- <script type="text/javascript">
+ <script>
TUI_alternates['custom_search_query'] = '&#9658;';
TUI_hide_default('custom_search_query');
TUI_alternates['custom_search_advanced'] = "Show Advanced Features";
TUI_hide_default('custom_search_advanced');
</script>
- <script type="text/javascript" src="[% 'js/custom-search.js' FILTER version %]"></script>
- <script type="text/javascript" src="[% 'js/history.js/native.history.js' FILTER version %]"></script>
- <script type="text/javascript">
+ <script src="[% 'js/custom-search.js' FILTER version %]"></script>
+ <script src="[% 'js/history.js/native.history.js' FILTER version %]"></script>
+ <script>
redirect_html4_browsers();
[%# These are alternative labels for the AND and OR options in and_all_select %]
var cs_and_label = 'Match ALL of the following:';
diff --git a/template/en/default/search/field.html.tmpl b/template/en/default/search/field.html.tmpl
index d7cdfe886..a2ff5718b 100644
--- a/template/en/default/search/field.html.tmpl
+++ b/template/en/default/search/field.html.tmpl
@@ -62,7 +62,7 @@
[% IF onchange %] onchange="[% onchange FILTER html %]"[% END %]
value="[% value FILTER html %]"
data-values="[% field.name FILTER html %]">
- <script type="text/javascript">
+ <script>
if (typeof BUGZILLA.autocomplete_values === 'undefined')
BUGZILLA.autocomplete_values = [];
BUGZILLA.autocomplete_values['[% field.name FILTER js %]'] = [
@@ -99,7 +99,7 @@
<small>(YYYY-MM-DD or relative dates)</small>
<span id="con_calendar_[% field.name FILTER html %]to"></span>
- <script type="text/javascript">
+ <script>
createCalendar('[% field.name FILTER js %]');
createCalendar('[% field.name FILTER js %]to');
</script>
diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl
index 2e36eb9e3..02357e473 100644
--- a/template/en/default/search/form.html.tmpl
+++ b/template/en/default/search/form.html.tmpl
@@ -23,7 +23,7 @@
[% PROCESS "global/field-descs.none.tmpl" %]
-<script type="text/javascript">
+<script>
var first_load = true; [%# is this the first time we load the page? %]
var last_sel = new Array(); [%# caches last selection %]
@@ -142,7 +142,7 @@ TUI_hide_default('information_query');
type_selected = default.short_desc_type.0
accesskey = "s"
%]
- <script type="text/javascript"> <!--
+ <script> <!--
document.forms[queryform].short_desc.focus();
// -->
</script>
@@ -251,7 +251,7 @@ TUI_hide_default('information_query');
<div class="search_field_row">
<span class="field_label"><label for="bug_id">[% terms.Bugs %] numbered</label></span>
- <div id="bug_id_container" >
+ <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>
@@ -356,10 +356,10 @@ TUI_hide_default('information_query');
[%# *** 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>
+ <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" >
+<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 #%]
@@ -397,7 +397,7 @@ TUI_hide_default('information_query');
onclick="showCalendar('chfieldto')"><span>Calendar</span></button>
<div id="con_calendar_chfieldto"></div>
(YYYY-MM-DD or relative dates)
- <script type="text/javascript">
+ <script>
createCalendar('chfieldfrom');
createCalendar('chfieldto');
</script>
diff --git a/template/en/default/search/search-create-series.html.tmpl b/template/en/default/search/search-create-series.html.tmpl
index 69e7a6307..335448de9 100644
--- a/template/en/default/search/search-create-series.html.tmpl
+++ b/template/en/default/search/search-create-series.html.tmpl
@@ -56,7 +56,7 @@
<input type="hidden" name="action" value="create">
<input type="hidden" name="token" value="[% issue_hash_token(['create-series']) FILTER html %]">
-<script type="text/javascript">
+<script>
document.chartform.category[0].selected = true;
catSelected();
checkNewState();
diff --git a/template/en/default/search/search-report-graph.html.tmpl b/template/en/default/search/search-report-graph.html.tmpl
index b7e7b59c8..df9c9e8ad 100644
--- a/template/en/default/search/search-report-graph.html.tmpl
+++ b/template/en/default/search/search-report-graph.html.tmpl
@@ -46,7 +46,7 @@ var queryform = "reportform"
[% terms.bugs %] using the rest of the form.
</p>
-<script type="text/javascript"><!--
+<script><!--
[%# The Y-axis fields are not used for pie charts %]
function chartTypeChanged() {
// format[2] is the pie chart radio button
diff --git a/template/en/default/search/search-specific.html.tmpl b/template/en/default/search/search-specific.html.tmpl
index 7e5de2c4a..79b5b2932 100644
--- a/template/en/default/search/search-specific.html.tmpl
+++ b/template/en/default/search/search-specific.html.tmpl
@@ -100,7 +100,7 @@ for "crash secure SSL flash".
<td>
<input name="content" size="60" id="content"
value="[% default.content.0 FILTER html %]">
- <script type="text/javascript"> <!--
+ <script> <!--
document.forms['queryform'].content.focus();
// -->
</script>