[%# 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 #%] [%# INTERFACE: # searchtype: string. Type of search - either "series", "saved" or undef. # ... # defaultsavename: string. The default name for saving the query. #%] [%############################################################################%] [%# Template Initialization #%] [%############################################################################%] [% PROCESS "global/field-descs.none.tmpl" %] [% title = "$terms.Bug List" %] [% IF searchname || defaultsavename %] [% title = title _ ": " _ (searchname OR defaultsavename) FILTER html %] [% END %] [% qorder = order FILTER url_quote IF order %] [%############################################################################%] [%# Page Header #%] [%############################################################################%] [% PROCESS global/header.html.tmpl title = title style = style atomlink = "buglist.cgi?$urlquerypart&title=$title&ctype=atom" javascript_urls = [ "js/util.js", "js/field.js", "js/yui/calendar.js" ] style_urls = [ "skins/standard/buglist.css", "skins/standard/yui/calendar.css" ] doc_section = "query.html#list" %]
[% currenttime FILTER time('%a %b %e %Y %T %Z') FILTER html %]
[% IF debug %]

[% query FILTER html %]

[% IF query_explain.defined %]
[% query_explain FILTER html %]
[% END %] [% END %] [% IF user.settings.display_quips.value == 'on' %] [% DEFAULT quip = "$terms.Bugzilla would like to put a random quip here, but no one has entered any." %] [% quip FILTER html %] [% END %]
[% IF toolong %]

This list is too long for [% terms.Bugzilla %]'s little mind; the Next/Prev/First/Last buttons won't appear on individual [% terms.bugs %].

[% END %] [% SET shown_types = [ 'notequal', 'regexp', 'notregexp', 'lessthan', 'lessthaneq', 'greaterthan', 'greaterthaneq', 'changedbefore', 'changedafter', 'changedfrom', 'changedto', 'changedby', ] %]
[%############################################################################%] [%# Preceding Status Line #%] [%############################################################################%] [% IF bugs.size > 9 %] [% bugs.size %] [%+ terms.bugs %] found. [% END %] [%############################################################################%] [%# Start of Change Form #%] [%############################################################################%] [% IF dotweak %]
[% END %] [%############################################################################%] [%# Bug Table #%] [%############################################################################%] [% FLUSH %] [% PROCESS list/table.html.tmpl %] [%############################################################################%] [%# Succeeding Status Line #%] [%############################################################################%] [% IF bugs.size == 0 %] [% terms.zeroSearchResults %]. [% ELSIF bugs.size == 1 %] One [% terms.bug %] found. [% ELSE %] [% bugs.size %] [%+ terms.bugs %] found. [% END %]
[%############################################################################%] [%# Rest of Change Form #%] [%############################################################################%] [% IF dotweak %] [% PROCESS "list/edit-multiple.html.tmpl" %]

[% END %] [%############################################################################%] [%# Navigation Bar #%] [%############################################################################%] [% IF bugs.size > 0 %] [% END %] [% IF searchtype == "saved" %] [% ELSE %] [% END %]
[% FOREACH id = buglist %] [% END %]
[% FOREACH id = buglist %] [% END %]
[% IF user.in_group(Param('timetrackinggroup')) %]
[% END %]
  [% editqueryname = searchname OR defaultsavename OR '' %] Edit Search | Forget Search '[% searchname FILTER html %]'  
as
[% IF cgi.param('product').size == 1 && cgi.param('product') != "" %]

File a new [% terms.bug %] in the "[% cgi.param('product') FILTER html %]" product

[% END %] [%############################################################################%] [%# Page Footer #%] [%############################################################################%] [% PROCESS global/footer.html.tmpl %]