From 7ce67eec4fb2c17ee3621b1aad2f99295ed4649f Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 2 Sep 2005 04:33:06 +0000 Subject: Bug 302370: Remove the EmitFormElements() routine from editproducts.cgi and templatize that code - Patch by Gabriel Sales de Oliveira r=LpSolit a=myk --- .../en/default/admin/products/create.html.tmpl | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 template/en/default/admin/products/create.html.tmpl (limited to 'template/en/default/admin/products/create.html.tmpl') diff --git a/template/en/default/admin/products/create.html.tmpl b/template/en/default/admin/products/create.html.tmpl new file mode 100644 index 000000000..8dc6615b4 --- /dev/null +++ b/template/en/default/admin/products/create.html.tmpl @@ -0,0 +1,64 @@ +[%# 1.0@bugzilla.org %] +[%# 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. + # + # Contributor(s): Gabriel S. Oliveira + #%] + +[%# INTERFACE: + # classification: string; name of the classification in which the new + # product is created. + # + #%] + +[% title = BLOCK %]Add Product[% END %] + +[% PROCESS global/header.html.tmpl + title = title +%] + +[% DEFAULT + product.votesperuser = "0", + product.maxvotesperbug = "10000", + product.votestoconfirm = "0", + version = "unspecified", + product.defaultmilestone = "---" +%] + +
+ + + [% PROCESS "admin/products/edit-common.html.tmpl" %] + + + + + + + + + +
Version: +
Create chart datasets for this product:
+ + + + + + +
+ +[% PROCESS "admin/products/footer.html.tmpl" no_add_product_link = 1 %] + +[% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b