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