0.11_19 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>
27feb834
TC
7<p><:ifMessage:></p>
8<p><b><:message:></b></p>
9<:or:><:eif:>
9fae8be7
TC
10<p>| <a href="/admin/">Admin menu</a> | <a href="<:product admin:>">See
11 product</a> | <a href="<:script:>">Manage store</a> <:if Product listed:> |
12 <a href="<:script:>?id=<:product id:>&delete_product=1">Hide</a> |<:or Product:>
13 | <a href="<:script:>?id=<:product id:>&undelete_product=1">Show</a> |<:eif
14 Product:> <a href="/cgi-bin/admin/add.pl?id=<:product id:>&_t=steps">Manage
27feb834 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 32 <tr>
9fae8be7 33 <th align="left" bgcolor="#FFFFFF" valign="top">Description:</th>
27feb834 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>
26094672
TC
74 <tr>
75 <th nowrap align="left" bgcolor="#FFFFFF">Summary length:</th>
76 <td nowrap bgcolor="#FFFFFF">
77 <input type="text" name="summaryLength" size="10" maxlength="10" value="<:product summaryLength:>">
78 </td>
79 </tr>
80 <tr>
81 <th nowrap align="left" bgcolor="#FFFFFF">Display threshold:</th>
82 <td nowrap bgcolor="#FFFFFF">
83 <input type="text" name="threshold" size=10 maxlength=10 value="<:product threshold:>">
84 </td>
85 </tr>
a11a0d7c 86 <tr>
27feb834 87 <th align="left" bgcolor="#FFFFFF">Options:</th>
a11a0d7c 88 <td bgcolor="#FFFFFF">
27feb834
TC
89 <input type="text" name="options" value="<:product options:>" size=30>
90 (<:alloptions:>) </td>
a11a0d7c 91 </tr>
27feb834
TC
92 <tr>
93 <th nowrap align="left" bgcolor="#FFFFFF">Thumbnail image:</th>
94 <td nowrap bgcolor="#FFFFFF">
95 <input type="file" name="thumbnail">
96 <:ifProduct thumbImage:><img src="/images/<:product thumbImage:>">
97 <input type=checkbox name="remove_thumb">
98 Remove<:or:><:eif:> </td>
5bc24704 99 </tr>
27feb834
TC
100 <tr>
101 <th nowrap align="left" bgcolor="#FFFFFF"><a name="files"></a>Files:</th>
102 <td nowrap bgcolor="#FFFFFF" width="100%"> <:if Files:>
103 <table cellpadding="0" cellspacing="0" border="0" bgcolor="#333333">
edc5d096 104 <tr>
27feb834
TC
105 <td>
106 <table cellpadding="5" cellspacing="1" border="0">
107 <tr bgcolor="#FFFFFF">
108 <th>Filename</th>
109 <th>Size</th>
110 <th>Type</th>
111 <th>Download?</th>
112 </tr>
113 <:iterator begin files:>
114 <tr bgcolor="#FFFFFF">
115 <td><:file displayName:></td>
116 <td align="center"><:file sizeInBytes:></td>
117 <td><:file contentType:></td>
118 <td align=center><:ifFile download:>Yes<:or:>No<:eif:></td>
119 </tr>
120 <:iterator end files:>
121 </table>
122 </td>
123 </tr>
124 </table>
125 <p><:or Files:> No files are attached to this article. <:eif Files:>
9fae8be7
TC
126 <a href="<:script:>?filelist=1&id=<:product id:>"><b>Manage
127 Files</b></a></p>
edc5d096
TC
128 </td>
129 </tr>
26094672
TC
130 <tr>
131 <th valign="top" nowrap bgcolor="#FFFFFF"> Uploaded images: </th>
132 <td align="center" bgcolor="#FFFFFF" width="100%">
133 <:if Images:> <:iterator begin
134 images:> <img src="/images/<: image image :>" alt="<:image alt :>" width=
135 <:image width:> height=<:image height:>> <:iterator separator images:>
136 <hr noshade size="1">
137 <: iterator end images :> &nbsp;
138 <:or Images:>No images<:eif Images:>
139 </td>
140 </tr>
5bc24704
TC
141 </table>
142 </td>
143 </tr>
144 </table>
27feb834
TC
145 <p>
146 <input type=submit name="save_product" value="Save changes">
147 </p>
5bc24704
TC
148</form>
149
7063727a 150<p><font size="-1">BSE Release <:release:></font></p>
5bc24704
TC
151</body>
152</html>