adrian's updates (with minor changes)
[bse.git] / site / templates / admin / edit_product.tmpl
CommitLineData
5bc24704
TC
1<html><head><title>Edit product - Shop administration</title>
2 <link rel="stylesheet" type="text/css" href="/css/admin.css">
3</head>
4<body>
5<h1>Shop Administration</h1>
6<h2><:action:> Product</h2>
27feb834
TC
7<p><:ifMessage:></p>
8<p><b><:message:></b></p>
9<:or:><:eif:>
10<p>| <a href="/admin/">Admin menu</a> | <a href="<:script:>">Product list</a>
11 | <a href="<:script:>?id=<:product id:>&product_detail=1">Product details</a>
3dde66cd
TC
12 <:if Product listed:> | <a href="<:script:>?id=<:product id:>&delete_product=1">Hide</a>
13 |<:or Product:> | <a href="<:script:>?id=<:product id:>&undelete_product=1">Show</a>
27feb834
TC
14 |<:eif Product:> <a href="/cgi-bin/admin/add.pl?id=<:product id:>&_t=steps">Manage
15 stepparents</a> |<:hiddenNote:></p>
5bc24704 16
0f31cbe7 17<form action="<:script:>" enctype="multipart/form-data" method="POST"><p><input type=submit name=showimages value="Image Wizard"></p>
5bc24704 18
5bc24704
TC
19<input type="hidden" name="id" value="<:product id:>">
20 <table border="0" cellspacing="0" cellpadding="0" bgcolor="#000000">
21 <tr>
22 <td>
27feb834 23 <table border=0 cellpadding="6" cellspacing="1" width="100%">
5bc24704 24 <tr>
27feb834 25 <th align="left" bgcolor="#FFFFFF">Title:</th>
5bc24704
TC
26 <td bgcolor="#FFFFFF"><:product title:></td>
27 </tr>
28 <tr>
27feb834 29 <th align="left" bgcolor="#FFFFFF">Catalog:</th>
5bc24704
TC
30 <td bgcolor="#FFFFFF"><:catalogs:></td>
31 </tr>
27feb834
TC
32 <tr>
33 <th align="left" bgcolor="#FFFFFF">Description:</th>
34 <td bgcolor="#FFFFFF">
5bc24704
TC
35 <textarea name=body rows=15 cols=60 wrap=virtual><:product body:></textarea>
36 </td>
37 </tr>
38 <tr>
27feb834 39 <th nowrap align="left" bgcolor="#FFFFFF">Lead time:</th>
5bc24704
TC
40 <td nowrap bgcolor="#FFFFFF">
41 <input type="text" name="leadTime" value="<:product leadTime:>" size=5>
42 days</td>
43 </tr>
44 <tr>
27feb834 45 <th align="left" bgcolor="#FFFFFF">Retail price:</th>
5bc24704
TC
46 <td bgcolor="#FFFFFF">$
47 <input type="text" name="retailPrice" value="<:money retailPrice:>" size=7>
48 (0.00)</td>
49 </tr>
50 <tr>
27feb834 51 <th align="left" bgcolor="#FFFFFF">Wholesale price:</th>
5bc24704
TC
52 <td bgcolor="#FFFFFF">$
53 <input type="text" name="wholesalePrice" value="<:money wholesalePrice:>" size=7>
54 (0.00)</td>
55 </tr>
56 <tr>
27feb834 57 <th align="left" bgcolor="#FFFFFF">GST:</th>
5bc24704
TC
58 <td bgcolor="#FFFFFF">$
59 <input type="text" name="gst" value="<:money gst:>" size=7>
60 (0.00)</td>
61 </tr>
62 <tr>
27feb834 63 <th align="left" bgcolor="#FFFFFF">Release date:</th>
5bc24704 64 <td bgcolor="#FFFFFF">
99ef7979 65 <input type="text" name="release" value="<:date product release:>" size=11>
5bc24704
TC
66 (dd/mm/yyyy)</td>
67 </tr>
68 <tr>
27feb834 69 <th align="left" bgcolor="#FFFFFF">Expiry date:</th>
5bc24704 70 <td bgcolor="#FFFFFF">
99ef7979 71 <input type="text" name="expire" value="<:date product expire:>" size=11>
5bc24704
TC
72 (dd/mm/yyyy)</td>
73 </tr>
a11a0d7c 74 <tr>
27feb834 75 <th align="left" bgcolor="#FFFFFF">Options:</th>
a11a0d7c 76 <td bgcolor="#FFFFFF">
27feb834
TC
77 <input type="text" name="options" value="<:product options:>" size=30>
78 (<:alloptions:>) </td>
a11a0d7c 79 </tr>
27feb834
TC
80 <tr>
81 <th nowrap align="left" bgcolor="#FFFFFF">Thumbnail image:</th>
82 <td nowrap bgcolor="#FFFFFF">
83 <input type="file" name="thumbnail">
84 <:ifProduct thumbImage:><img src="/images/<:product thumbImage:>">
85 <input type=checkbox name="remove_thumb">
86 Remove<:or:><:eif:> </td>
5bc24704 87 </tr>
27feb834
TC
88 <tr>
89 <th nowrap align="left" bgcolor="#FFFFFF"><a name="files"></a>Files:</th>
90 <td nowrap bgcolor="#FFFFFF" width="100%"> <:if Files:>
91 <table cellpadding="0" cellspacing="0" border="0" bgcolor="#333333">
edc5d096 92 <tr>
27feb834
TC
93 <td>
94 <table cellpadding="5" cellspacing="1" border="0">
95 <tr bgcolor="#FFFFFF">
96 <th>Filename</th>
97 <th>Size</th>
98 <th>Type</th>
99 <th>Download?</th>
100 </tr>
101 <:iterator begin files:>
102 <tr bgcolor="#FFFFFF">
103 <td><:file displayName:></td>
104 <td align="center"><:file sizeInBytes:></td>
105 <td><:file contentType:></td>
106 <td align=center><:ifFile download:>Yes<:or:>No<:eif:></td>
107 </tr>
108 <:iterator end files:>
109 </table>
110 </td>
111 </tr>
112 </table>
113 <p><:or Files:> No files are attached to this article. <:eif Files:>
114 <a href="<:script:>?filelist=1&id=<:article id:>"><b>Manage Files</b></a></p>
edc5d096
TC
115 </td>
116 </tr>
5bc24704
TC
117 </table>
118 </td>
119 </tr>
120 </table>
27feb834
TC
121 <p>
122 <input type=submit name="save_product" value="Save changes">
123 </p>
5bc24704
TC
124</form>
125
7063727a 126<p><font size="-1">BSE Release <:release:></font></p>
5bc24704
TC
127</body>
128</html>