summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/classifications
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin/classifications')
-rw-r--r--template/en/default/admin/classifications/add.html.tmpl39
-rw-r--r--template/en/default/admin/classifications/del.html.tmpl63
-rw-r--r--template/en/default/admin/classifications/edit-common.html.tmpl47
-rw-r--r--template/en/default/admin/classifications/edit.html.tmpl67
-rw-r--r--template/en/default/admin/classifications/footer.html.tmpl24
-rw-r--r--template/en/default/admin/classifications/reclassify.html.tmpl90
-rw-r--r--template/en/default/admin/classifications/select.html.tmpl66
7 files changed, 0 insertions, 396 deletions
diff --git a/template/en/default/admin/classifications/add.html.tmpl b/template/en/default/admin/classifications/add.html.tmpl
deleted file mode 100644
index 1a6941f..0000000
--- a/template/en/default/admin/classifications/add.html.tmpl
+++ /dev/null
@@ -1,39 +0,0 @@
-[%# 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): Albert Ting <alt@sonic.net>
- #%]
-
-[% PROCESS global/header.html.tmpl
- title = "Add new classification"
-%]
-
-<form method=post action="editclassifications.cgi">
- <table border=0 cellpadding=4 cellspacing=0>
-
- [% PROCESS "admin/classifications/edit-common.html.tmpl" %]
-
- </table>
- <hr>
- <input type=submit value="Add">
- <input type=hidden name="action" value="new">
- <input type="hidden" name="token" value="[% token FILTER html %]">
-</FORM>
-
-[% PROCESS admin/classifications/footer.html.tmpl %]
-
-[% PROCESS global/footer.html.tmpl %]
diff --git a/template/en/default/admin/classifications/del.html.tmpl b/template/en/default/admin/classifications/del.html.tmpl
deleted file mode 100644
index 5a3800f..0000000
--- a/template/en/default/admin/classifications/del.html.tmpl
+++ /dev/null
@@ -1,63 +0,0 @@
-[%# 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): Albert Ting <alt@sonic.net>
- #%]
-
-[% PROCESS global/header.html.tmpl
- title = "Delete classification"
-%]
-
-<table border=1 cellpadding=4 cellspacing=0>
-<tr bgcolor="#6666ff">
- <th valign="top" align="left">Part</th>
- <th valign="top" align="left">Value</th>
-
-</tr><tr>
- <td valign="top">Classification:</td>
- <td valign="top">[% classification.name FILTER html %]</td>
-
-</tr><tr>
- <td valign="top">Description:</td>
- <td valign="top">
- [% IF classification.description %]
- [% classification.description FILTER html_light %]
- [% ELSE %]
- <font color="red">description missing</font>
- [% END %]
- </td>
-
-</tr><tr>
- <td valign="top">Sortkey:</td>
- <td valign="top">[% classification.sortkey FILTER html %]</td>
-
-</tr>
-</table>
-
-<h2>Confirmation</h2>
-
-<p>Do you really want to delete this classification?</p>
-<form method=post action="editclassifications.cgi">
- <input type=submit value="Yes, delete">
- <input type=hidden name="action" value="delete">
- <input type=hidden name="classification" value="[% classification.name FILTER html %]">
- <input type="hidden" name="token" value="[% token FILTER html %]">
-</form>
-
-[% PROCESS admin/classifications/footer.html.tmpl %]
-
-[% PROCESS global/footer.html.tmpl %]
diff --git a/template/en/default/admin/classifications/edit-common.html.tmpl b/template/en/default/admin/classifications/edit-common.html.tmpl
deleted file mode 100644
index e0db008..0000000
--- a/template/en/default/admin/classifications/edit-common.html.tmpl
+++ /dev/null
@@ -1,47 +0,0 @@
-[%# 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): Tiago Rodrigues de Mello <timello@linux.vnet.ibm.com>
- #%]
-
-[%# INTERFACE:
- # classification: Bugzilla::Classifiation object.
- #%]
-
-<tr>
- <th align="right">Classification:</th>
- <td><input size=64 maxlength=64 name="classification"
- value="[% classification.name FILTER html %]"></td>
-</tr>
-<tr>
- <th align="right">Description:</th>
- <td>
- [% INCLUDE global/textarea.html.tmpl
- name = 'description'
- minrows = 4
- cols = 64
- defaultcontent = classification.description
- %]
- </td>
-</tr>
-<tr>
- <th align="right"><label for="sortkey">Sortkey:</label></th>
- <td><input id="sortkey" size="20" maxlength="20" name="sortkey"
- value="[%- classification.sortkey FILTER html %]"></td>
-</tr>
-
-[% Hook.process('rows') %]
diff --git a/template/en/default/admin/classifications/edit.html.tmpl b/template/en/default/admin/classifications/edit.html.tmpl
deleted file mode 100644
index 2ef1725..0000000
--- a/template/en/default/admin/classifications/edit.html.tmpl
+++ /dev/null
@@ -1,67 +0,0 @@
-[%# 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): Albert Ting <alt@sonic.net>
- #%]
-
-[% PROCESS global/header.html.tmpl
- title = "Edit classification"
-%]
-
-<form method=post action="editclassifications.cgi">
- <table border=0 cellpadding=4 cellspacing=0>
-
- [% PROCESS "admin/classifications/edit-common.html.tmpl" %]
-
- <tr valign=top>
- <th align="right">
- <a href="editproducts.cgi?classification=[% classification.name FILTER url_quote %]">
- Edit Products</a>:
- </th>
- <td>
- [% IF classification.products.size > 0 %]
- <table>
- [% FOREACH product = classification.products %]
- <tr>
- <th align=right valign=top>[% product.name FILTER html %]</th>
- <td valign=top>
- [% IF product.description %]
- [% product.description FILTER html_light %]
- [% ELSE %]
- <font color="red">description missing</font>
- [% END %]
- </td>
- </tr>
- [% END %]
- </table>
- [% ELSE %]
- <font color="red">none</font>
- [% END %]
- </td>
- </tr>
- </table>
-
- <input type=hidden name="classificationold"
- value="[% classification.name FILTER html %]">
- <input type=hidden name="action" value="update">
- <input type="hidden" name="token" value="[% token FILTER html %]">
- <input type=submit value="Update">
-</form>
-
-[% PROCESS admin/classifications/footer.html.tmpl %]
-
-[% PROCESS global/footer.html.tmpl %]
diff --git a/template/en/default/admin/classifications/footer.html.tmpl b/template/en/default/admin/classifications/footer.html.tmpl
deleted file mode 100644
index db983aa..0000000
--- a/template/en/default/admin/classifications/footer.html.tmpl
+++ /dev/null
@@ -1,24 +0,0 @@
-[%# 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): Nitish Bezzala <nbezzala@yahoo.com>
- #%]
-
-[% PROCESS global/variables.none.tmpl %]
-
-<p>Back to the <a href="./">main [% terms.bugs %] page</a>
-or <a href="editclassifications.cgi"> edit</a> more classifications.</p>
diff --git a/template/en/default/admin/classifications/reclassify.html.tmpl b/template/en/default/admin/classifications/reclassify.html.tmpl
deleted file mode 100644
index 146a1ac..0000000
--- a/template/en/default/admin/classifications/reclassify.html.tmpl
+++ /dev/null
@@ -1,90 +0,0 @@
-[%# 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): Albert Ting <alt@sonic.net>
- #%]
-
-[% PROCESS global/header.html.tmpl
- title = "Reclassify products"
-%]
-
-<form method=post action="editclassifications.cgi">
- <table border=0 cellpadding=4 cellspacing=0>
- <tr>
- <td valign="top">Classification:</td>
- <td valign="top" colspan=3>[% classification.name FILTER html %]</td>
-
- </tr><tr>
- <td valign="top">Description:</td>
- <td valign="top" colspan=3>
- [% IF classification.description %]
- [% classification.description FILTER html_light %]
- [% ELSE %]
- <font color="red">description missing</font>
- [% END %]
- </td>
-
- </tr><tr>
- <td valign="top">Sortkey:</td>
- <td valign="top" colspan=3>[% classification.sortkey FILTER html %]</td>
-
- </tr><tr>
- <td valign="top">Products:</td>
- <td valign="top">Other Classifications</td>
- <td></td>
- <td valign="top">This Classification</td>
-
- </tr><tr>
- <td></td>
- <td valign="top">
- <select name="prodlist" id="prodlist" multiple="multiple" size="20">
- [% FOREACH class = classifications %]
- [% IF class.id != classification.id %]
- [% FOREACH product = class.products %]
- <option value="[% product.name FILTER html %]">
- [[% class.name FILTER html %]]&nbsp;[% product.name FILTER html %]
- </option>
- [% END %]
- [% END %]
- [% END %]
- </select></td>
-
- <td align="center">
- <input type=submit value=" Add &gt;&gt; " name="add_products"><br><br>
- <input type=submit value="&lt;&lt; Remove" name="remove_products">
- </td>
-
- <td valign="middle" rowspan=2>
- <select name="myprodlist" id="myprodlist" multiple="multiple" size="20">
- [% FOREACH product = classification.products %]
- <option value="[% product.name FILTER html %]">
- [% product.name FILTER html %]
- </option>
- [% END %]
- </select></td>
- </tr>
- </table>
-
- <input type=hidden name="action" value="reclassify">
- <input type=hidden name="classification" value="[% classification.name FILTER html %]">
- <input type="hidden" name="token" value="[% token FILTER html %]">
-</form>
-
-[% PROCESS admin/classifications/footer.html.tmpl %]
-
-[% PROCESS global/footer.html.tmpl %]
-
diff --git a/template/en/default/admin/classifications/select.html.tmpl b/template/en/default/admin/classifications/select.html.tmpl
deleted file mode 100644
index d6b352d..0000000
--- a/template/en/default/admin/classifications/select.html.tmpl
+++ /dev/null
@@ -1,66 +0,0 @@
-[%# 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): Albert Ting <alt@sonic.net>
- #%]
-
-[% PROCESS global/header.html.tmpl
- title = "Select classification"
-%]
-
-<table border=1 cellpadding=4 cellspacing=0>
- <tr bgcolor="#6666ff">
- <th align="left">Edit Classification ...</th>
- <th align="left">Description</th>
- <th align="left">Sortkey</th>
- <th align="left">Products</th>
- <th align="left">Action</th>
- </tr>
-
- [% FOREACH cl = classifications %]
- <tr>
- <td valign="top"><a href="editclassifications.cgi?action=edit&amp;classification=[% cl.name FILTER url_quote %]"><b>[% cl.name FILTER html %]</b></a></td>
- <td valign="top">
- [% IF cl.description %]
- [% cl.description FILTER html_light %]
- [% ELSE %]
- <font color="red">none</font>
- [% END %]
- </td>
- <td valign="top">[% cl.sortkey FILTER html %]</td>
- [% IF (cl.id == 1) %]
- <td valign="top">[% cl.product_count FILTER html %]</td>
- [% ELSE %]
- <td valign="top"><a href="editclassifications.cgi?action=reclassify&amp;classification=[% cl.name FILTER url_quote %]">reclassify ([% cl.product_count FILTER html %])</a></td>
- [% END %]
-
- [%# don't allow user to delete the default id. %]
- [% IF (cl.id == 1) %]
- <td valign="top">&nbsp;</td>
- [% ELSE %]
- <td valign="top"><a href="editclassifications.cgi?action=del&amp;classification=[% cl.name FILTER url_quote %]">delete</a></td>
- [% END %]
- </tr>
- [% END %]
-
- <tr>
- <td valign="top" colspan=4>Add a new classification</td>
- <td valign="top" align="center"><a href="editclassifications.cgi?action=add">Add</a></td>
- </tr>
-</table>
-
-[% PROCESS global/footer.html.tmpl %]