search-advanced.html.tmpl 1.49 KB
Newer Older
1 2 3
[%# This Source Code Form is subject to the terms of the Mozilla Public
  # License, v. 2.0. If a copy of the MPL was not distributed with this
  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
  #
5 6
  # This Source Code Form is "Incompatible With Secondary Licenses", as
  # defined by the Mozilla Public License, v. 2.0.
7 8
  #%]

9 10 11 12 13 14
[%# 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.
  #%]

15 16 17
[% USE Bugzilla %]
[% cgi = Bugzilla.cgi %]

18 19 20 21 22 23 24 25
[% javascript = BLOCK %]
function remove_token() {
  if (queryform.token) {
    var asDefault = document.getElementById('remasdefault');
    queryform.token.disabled = !asDefault.checked;
  }
}
[% END %]
26

27 28
[% PROCESS global/header.html.tmpl
  title = "Search for $terms.bugs"
29
  yui = [ 'autocomplete', 'calendar' ]
30
  javascript = javascript
31
  javascript_urls = [ "js/util.js", "js/TUI.js", "js/field.js"]
32
  style_urls = ['skins/standard/buglist.css']
33
  doc_section = "using/finding.html"
34 35
%]

36
[% WRAPPER search/tabs.html.tmpl %]
37

38
[% button_name = "Search" %]
39

40
<p id="search_help">Hover your mouse over each field label to get help for that field.</p>
41

42 43
<form method="post" action="buglist.cgi" name="queryform" id="queryform"
      onsubmit="remove_token()">
44

45
[% PROCESS search/form.html.tmpl %]
46

47
[% PROCESS "search/boolean-charts.html.tmpl" %]
48

49 50
[% PROCESS search/knob.html.tmpl %]

51
</form>
52

53 54
[% END %]

55
[% PROCESS global/footer.html.tmpl %]