Initial revision
[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>
7<p><:message:> <:hiddenNote:></p>
8
9<form action="<:script:>" method=POST><p><input type=submit name=showimages value="Image Wizard"></p></form>
10
11<form action="<:script:>" enctype="multipart/form-data" method="POST">
12<input type="hidden" name="id" value="<:product id:>">
13 <table border="0" cellspacing="0" cellpadding="0" bgcolor="#000000">
14 <tr>
15 <td>
16 <table border=0 cellpadding="6" cellspacing="1">
17 <tr>
18 <th align="left">Title:</th>
19 <td bgcolor="#FFFFFF"><:product title:></td>
20 </tr>
21 <tr>
22 <th align="left">Catalog:</th>
23 <td bgcolor="#FFFFFF"><:catalogs:></td>
24 </tr>
25 <tr>
26 <th align="left">Description:</th>
27 <td bgcolor="#FFFFFF">
28 <textarea name=body rows=15 cols=60 wrap=virtual><:product body:></textarea>
29 </td>
30 </tr>
31 <tr>
32 <th nowrap align="left">Lead time:</th>
33 <td nowrap bgcolor="#FFFFFF">
34 <input type="text" name="leadTime" value="<:product leadTime:>" size=5>
35 days</td>
36 </tr>
37 <tr>
38 <th align="left">Retail price:</th>
39 <td bgcolor="#FFFFFF">$
40 <input type="text" name="retailPrice" value="<:money retailPrice:>" size=7>
41 (0.00)</td>
42 </tr>
43 <tr>
44 <th align="left">Wholesale price:</th>
45 <td bgcolor="#FFFFFF">$
46 <input type="text" name="wholesalePrice" value="<:money wholesalePrice:>" size=7>
47 (0.00)</td>
48 </tr>
49 <tr>
50 <th align="left">GST:</th>
51 <td bgcolor="#FFFFFF">$
52 <input type="text" name="gst" value="<:money gst:>" size=7>
53 (0.00)</td>
54 </tr>
55 <tr>
56 <th align="left">Release date:</th>
57 <td bgcolor="#FFFFFF">
58 <input type="text" name="release" value="<:date release:>" size=11>
59 (dd/mm/yyyy)</td>
60 </tr>
61 <tr>
62 <th align="left">Expiry date:</th>
63 <td bgcolor="#FFFFFF">
64 <input type="text" name="expire" value="<:date expire:>" size=11>
65 (dd/mm/yyyy)</td>
66 </tr>
67 <tr>
68 <th nowrap align="left">Thumbnail image:</th>
69 <td nowrap bgcolor="#FFFFFF">
70 <input type="file" name="thumbnail"> <:ifProduct thumbImage:><img src="/images/<:product thumbImage:>"><input type=checkbox name="remove_thumb"> Remove<:or:><:eif:>
71 </td>
72 </tr>
73 </table>
74 </td>
75 </tr>
76 </table>
77 <p><input type=submit name="save_product" value="Save"></p>
78</form>
79
80<p><a href="/admin/">Admin menu</a> | <a href="<:script:>">Product list</a> |
81 <a href="<:script:>?id=<:product id:>&product_detail=1">Product details</a>
82 <:if Product listed:> | <a href="<:script:>?id=<:product id:>&delete_product=1">Hide</a>
83 <:or Product:> | <a href="<:script:>?id=<:product id:>&undelete_product=1">Show</a>
84 <:eif Product:></p>
85</body>
86</html>