From a063aa364c6cafb341a1884691516fcc78a1187a Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Tue, 5 Feb 2002 05:17:10 +0000 Subject: show_bug.cgi templatisation. --- template/default/entry/enter_bug.tmpl | 255 ++++++++++++++++++++++++++++++++++ 1 file changed, 255 insertions(+) create mode 100644 template/default/entry/enter_bug.tmpl (limited to 'template/default/entry/enter_bug.tmpl') diff --git a/template/default/entry/enter_bug.tmpl b/template/default/entry/enter_bug.tmpl new file mode 100644 index 000000000..3a86b55db --- /dev/null +++ b/template/default/entry/enter_bug.tmpl @@ -0,0 +1,255 @@ +[%# 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 + #%] + +[% INCLUDE global/header + title = "Enter Bug" + h2 = "This page lets you enter a new bug into Bugzilla." +%] + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + [%# We can't use the select block in these two cases for various reasons. %] + + + + + + + + + + + + + + + [% sel = { description => 'Platform', name => 'rep_platform' } %] + [% INCLUDE select %] + + [% sel = { description => 'OS', name => 'op_sys' } %] + [% INCLUDE select %] + + + + [% IF Param('letsubmitterchoosepriority') %] + [% sel = { description => 'Priority', name => 'priority' } %] + [% INCLUDE select %] + [% ELSE %] + + [% END %] + + [% sel = { description => 'Severity', name => 'bug_severity' } %] + [% INCLUDE select %] + + + + + + + +[% IF bug_status.size > 1 %] + + [% sel = { description => 'Initial State', name => 'bug_status' } %] + [% INCLUDE select %] + + + +[% ELSE %] + +[% END %] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +[% IF Param('usebrowserinfo') %] + + + + +[% END %] + +

+ Before filling this in, please read the + bug-writing guidelines. +

Reporter:[% reporter FILTER html %]Product:[% product FILTER html %]
+ Version: + + + + + + Component: + + + +
 
 
+ + Assigned To: + + + + (Leave blank to assign to default component owner) +
Cc: + +
 
URL: + +
Summary: + +
Description: + +
+
+ [% IF group.size %] +
+ + Only users in the selected groups can view this bug: + +
+ + (Leave all boxes unchecked to make this a public bug.) + +
+
+ + + [% FOREACH g = group %] +      + [% g.description %]
+ [% END %] +
+ [% END %] +
+ +      + +
+
+ We've made a guess at your operating system and platform. + Please check them and, if we got it wrong, email + [% Param('maintainer') %]. +
+ +
+ +[% INCLUDE global/footer %] + +[%############################################################################%] +[%# Block for SELECT fields #%] +[%############################################################################%] + +[% BLOCK select %] + [% IF sel.description %] + + + [% sel.description %]: + + + [% END %] + + + + +[% END %] -- cgit v1.2.3-24-g4f1b