1 |
[%# The contents of this file are subject to the Mozilla Public |
2 |
# License Version 1.1 (the "License"); you may not use this file |
3 |
# except in compliance with the License. You may obtain a copy of |
4 |
# the License at http://www.mozilla.org/MPL/ |
5 |
# |
6 |
# Software distributed under the License is distributed on an "AS |
7 |
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or |
8 |
# implied. See the License for the specific language governing |
9 |
# rights and limitations under the License. |
10 |
# |
11 |
# The Original Code is the Bugzilla Bug Tracking System. |
12 |
# |
13 |
# The Initial Developer of the Original Code is Netscape Communications |
14 |
# Corporation. Portions created by Netscape are |
15 |
# Copyright (C) 1998 Netscape Communications Corporation. All |
16 |
# Rights Reserved. |
17 |
# |
18 |
# Contributor(s): Albert Ting <alt@sonic.net> |
19 |
#%] |
20 |
|
21 |
[% PROCESS global/header.html.tmpl |
22 |
title = "Reclassify products" |
23 |
%] |
24 |
|
25 |
<form method=post action="editclassifications.cgi"> |
26 |
<table border=0 cellpadding=4 cellspacing=0> |
27 |
<tr> |
28 |
<td valign="top">Classification:</td> |
29 |
<td valign="top" colspan=3>[% classification.name FILTER html %]</td> |
30 |
|
31 |
</tr><tr> |
32 |
<td valign="top">Description:</td> |
33 |
<td valign="top" colspan=3> |
34 |
[% IF classification.description %] |
35 |
[% classification.description FILTER html_light %] |
36 |
[% ELSE %] |
37 |
<font color="red">description missing</font> |
38 |
[% END %] |
39 |
</td> |
40 |
|
41 |
</tr><tr> |
42 |
<td valign="top">Sortkey:</td> |
43 |
<td valign="top" colspan=3>[% classification.sortkey FILTER html %]</td> |
44 |
|
45 |
</tr><tr> |
46 |
<td valign="top">Products:</td> |
47 |
<td valign="top">Other Classifications</td> |
48 |
<td></td> |
49 |
<td valign="top">This Classification</td> |
50 |
|
51 |
</tr><tr> |
52 |
<td></td> |
53 |
<td valign="top"> |
54 |
<select name="prodlist" id="prodlist" multiple="multiple" size="20"> |
55 |
[% FOREACH class = classifications %] |
56 |
[% IF class.id != classification.id %] |
57 |
[% FOREACH product = class.products %] |
58 |
<option value="[% product.name FILTER html %]"> |
59 |
[[% class.name FILTER html %]] [% product.name FILTER html %] |
60 |
</option> |
61 |
[% END %] |
62 |
[% END %] |
63 |
[% END %] |
64 |
</select></td> |
65 |
|
66 |
<td align="center"> |
67 |
<input type=submit value=" Add >> " name="add_products"><br><br> |
68 |
<input type=submit value="<< Remove" name="remove_products"> |
69 |
</td> |
70 |
|
71 |
<td valign="middle" rowspan=2> |
72 |
<select name="myprodlist" id="myprodlist" multiple="multiple" size="20"> |
73 |
[% FOREACH product = classification.products %] |
74 |
<option value="[% product.name FILTER html %]"> |
75 |
[% product.name FILTER html %] |
76 |
</option> |
77 |
[% END %] |
78 |
</select></td> |
79 |
</tr> |
80 |
</table> |
81 |
|
82 |
<input type=hidden name="action" value="reclassify"> |
83 |
<input type=hidden name="classification" value="[% classification.name FILTER html %]"> |
84 |
<input type="hidden" name="token" value="[% token FILTER html %]"> |
85 |
</form> |
86 |
|
87 |
[% PROCESS admin/classifications/footer.html.tmpl %] |
88 |
|
89 |
[% PROCESS global/footer.html.tmpl %] |
90 |
|