[%# 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/. # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. #%] [%# INTERFACE: # This template has the same interface as create.html.tmpl #%] [% USE Bugzilla %] [% cgi = Bugzilla.cgi %] [% PROCESS global/header.html.tmpl title = "Enter $terms.ABug" onload = "PutDescription()" style = "#somebugs { width: 100%; height: 500px }" %] [% style = "" %]
This is a template used on mozilla.org. This template, and the comment-guided.txt.tmpl template that formats the data submitted via the form in this template, are included as a demo of what it's possible to do with custom templates in general, and custom [% terms.bug %] entry templates in particular. As much of the text will not apply, you should alter it if you want to use this form on your [% terms.Bugzilla %] installation.
[% tablecolour = "#FFFFCC" %] [%# This script displays the descriptions for selected components. %]Please don't skip this step - half of all [% terms.bugs %] filed are reported already. Check the two lists of frequently-reported [% terms.bugs %]:
[%# Include other products if sensible %] [% IF product.name == "Firefox" %] [% productstring = "product=Mozilla%20Application%20Suite&product=Firefox" %] [% ELSIF product.name == "Thunderbird" %] [% productstring = "product=Mozilla%20Application%20Suite&product=Thunderbird" %] [% ELSE %] [% productstring = BLOCK %]product=[% product.name FILTER uri %][% END %] [% END %]All-time Top 100 (loaded initially) | Hot in the last two weeks
If your [% terms.bug %] isn't there, search [% terms.Bugzilla %] by entering a few key words having to do with your [% terms.bug %] in this box. For example: pop3 mail or copy paste. The results will appear above.
[%# All bugs opened inside the past six months %]Look through the search results. If you get the [% terms.zeroSearchResults %] message, [% terms.Bugzilla %] found no [% terms.bugs %] that match. Check for typing mistakes, or try fewer or different keywords. If you find [% terms.abug %] that looks the same as yours, please add any useful extra information you have to it, rather than opening a new one.
If you've tried a few searches and your [% terms.bug %] really isn't in there, tell us all about it.
[% PROCESS global/footer.html.tmpl %] [%############################################################################%] [%# Block for SELECT fields #%] [%############################################################################%] [% BLOCK select %] [% END %]