0.12_11 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>
35c0719f 6<:ifMessage:>
27feb834
TC
7<p><b><:message:></b></p>
8<:or:><:eif:>
35c0719f 9<p>| <a href="/admin/">Admin menu</a> | <a href="<:product admin:>">See product</a>
71fe4ab8
TC
10 | <a href="/cgi-bin/admin/add.pl?id=<:product parentid:>">Edit parent</a>
11 | <a href="/cgi-bin/admin/shopadmin.pl">Manage catalogs</a><:if Product listed:>
12 | <a href="<:script:>?id=<:product id:>&delete_product=1">Hide product</a> <:or
13 Product:> | <a href="<:script:>?id=<:product id:>&undelete_product=1">Show product</a>
14 <:eif Product:>| <a href="/cgi-bin/admin/add.pl?id=<:product id:>&_t=steps">Manage
ca9aa2bf 15 step parents</a> | <:ifProduct listed:><:or:>Hidden<:eif:></p>
ca9aa2bf 16 <h2>Edit Product</h2>
9168c88c 17<table><tr><td nowrap><form action="/cgi-bin/admin/adminusers.pl"><font size=2>Manage access: <input type=hidden name=id value="<: article id:>">
08123550
TC
18<select name=adminid>
19<:iterator begin adminusers:>
20<option value=<:iadminuser id:>>User <:iadminuser logon:>
21<:iterator end adminusers:>
22<:iterator begin admingroups:>
23<option value=<:iadmingroup id:>>Group <:iadmingroup name:>
24<:iterator end admingroups:>
9168c88c
TC
25</select><input type=submit name="a_showobjectart" value="Manage">
26</font></form></td></tr></table>
55753022 27<form action="<:script:>" enctype="multipart/form-data" method="POST">
35c0719f 28 <input type="hidden" name="id" value="<:product id:>">
35c0719f 29 <table border="0" cellspacing="0" cellpadding="0" bgcolor="#000000" class="table">
5bc24704
TC
30 <tr>
31 <td>
27feb834 32 <table border=0 cellpadding="6" cellspacing="1" width="100%">
5bc24704 33 <tr>
27feb834 34 <th align="left" bgcolor="#FFFFFF">Title:</th>
5bc24704 35 <td bgcolor="#FFFFFF"><:product title:></td>
35c0719f
TC
36 <td nowrap bgcolor="#FFFFFF"><:help product title:></td>
37 </tr>
38 <tr>
39 <th nowrap align="left" bgcolor="#FFFFFF">Summary:</th>
40 <td nowrap bgcolor="#FFFFFF"><:product summary:></td>
41 <td nowrap bgcolor="#FFFFFF"><:help product summary:></td>
5bc24704
TC
42 </tr>
43 <tr>
27feb834 44 <th align="left" bgcolor="#FFFFFF">Catalog:</th>
caa7299c
TC
45 <td bgcolor="#FFFFFF">
46<select name="parentid"><:list:></select></td>
35c0719f 47 <td nowrap bgcolor="#FFFFFF"><:help product catalog:></td>
5bc24704 48 </tr>
ca9aa2bf
TC
49 <tr>
50 <th nowrap align="left" bgcolor="#FFFFFF">Template:</th>
51 <td nowrap bgcolor="#FFFFFF"><:templates:></td>
52 <td nowrap bgcolor="#FFFFFF"><:help product template:></td>
53 </tr>
27feb834 54 <tr>
35c0719f 55 <th align="left" bgcolor="#FFFFFF" valign="top"> Body:</th>
27feb834 56 <td bgcolor="#FFFFFF">
5bc24704
TC
57 <textarea name=body rows=15 cols=60 wrap=virtual><:product body:></textarea>
58 </td>
35c0719f 59 <td nowrap bgcolor="#FFFFFF" valign="top"><:help body body:></td>
5bc24704
TC
60 </tr>
61 <tr>
27feb834 62 <th nowrap align="left" bgcolor="#FFFFFF">Lead time:</th>
5bc24704
TC
63 <td nowrap bgcolor="#FFFFFF">
64 <input type="text" name="leadTime" value="<:product leadTime:>" size=5>
65 days</td>
35c0719f 66 <td nowrap bgcolor="#FFFFFF"><:help product leadtime:></td>
5bc24704
TC
67 </tr>
68 <tr>
27feb834 69 <th align="left" bgcolor="#FFFFFF">Retail price:</th>
5bc24704 70 <td bgcolor="#FFFFFF">$
ca9aa2bf 71 <input type="text" name="retailPrice" value="<:money product retailPrice:>" size=7>
5bc24704 72 (0.00)</td>
35c0719f 73 <td nowrap bgcolor="#FFFFFF"><:help product retail:></td>
5bc24704
TC
74 </tr>
75 <tr>
27feb834 76 <th align="left" bgcolor="#FFFFFF">Wholesale price:</th>
5bc24704 77 <td bgcolor="#FFFFFF">$
ca9aa2bf 78 <input type="text" name="wholesalePrice" value="<:money product wholesalePrice:>" size=7>
5bc24704 79 (0.00)</td>
35c0719f 80 <td nowrap bgcolor="#FFFFFF"><:help product wholesale:></td>
5bc24704
TC
81 </tr>
82 <tr>
27feb834 83 <th align="left" bgcolor="#FFFFFF">GST:</th>
5bc24704 84 <td bgcolor="#FFFFFF">$
ca9aa2bf 85 <input type="text" name="gst" value="<:money product gst:>" size=7>
5bc24704 86 (0.00)</td>
35c0719f 87 <td nowrap bgcolor="#FFFFFF"><:help product gst:></td>
5bc24704
TC
88 </tr>
89 <tr>
27feb834 90 <th align="left" bgcolor="#FFFFFF">Release date:</th>
5bc24704 91 <td bgcolor="#FFFFFF">
ca9aa2bf 92 <input type="text" name="release" value="<:date "%d/%m/%Y" product release:>" size=11>
5bc24704 93 (dd/mm/yyyy)</td>
35c0719f 94 <td nowrap bgcolor="#FFFFFF"><:help product release:></td>
5bc24704
TC
95 </tr>
96 <tr>
27feb834 97 <th align="left" bgcolor="#FFFFFF">Expiry date:</th>
5bc24704 98 <td bgcolor="#FFFFFF">
ca9aa2bf 99 <input type="text" name="expire" value="<:date "%d/%m/%Y" product expire:>" size=11>
5bc24704 100 (dd/mm/yyyy)</td>
35c0719f 101 <td nowrap bgcolor="#FFFFFF"><:help product expire:></td>
5bc24704 102 </tr>
26094672
TC
103 <tr>
104 <th nowrap align="left" bgcolor="#FFFFFF">Summary length:</th>
105 <td nowrap bgcolor="#FFFFFF">
106 <input type="text" name="summaryLength" size="10" maxlength="10" value="<:product summaryLength:>">
107 </td>
35c0719f 108 <td nowrap bgcolor="#FFFFFF"><:help product summary:></td>
26094672
TC
109 </tr>
110 <tr>
111 <th nowrap align="left" bgcolor="#FFFFFF">Display threshold:</th>
112 <td nowrap bgcolor="#FFFFFF">
113 <input type="text" name="threshold" size=10 maxlength=10 value="<:product threshold:>">
35c0719f
TC
114 </td>
115 <td nowrap bgcolor="#FFFFFF"><:help product threshold:></td>
26094672 116 </tr>
a11a0d7c 117 <tr>
27feb834 118 <th align="left" bgcolor="#FFFFFF">Options:</th>
a11a0d7c 119 <td bgcolor="#FFFFFF">
27feb834
TC
120 <input type="text" name="options" value="<:product options:>" size=30>
121 (<:alloptions:>) </td>
35c0719f 122 <td bgcolor="#FFFFFF"><:help product options:></td>
a11a0d7c 123 </tr>
27feb834 124 <tr>
35c0719f 125 <th nowrap align="left" bgcolor="#FFFFFF" valign="top">Thumbnail image:</th>
27feb834
TC
126 <td nowrap bgcolor="#FFFFFF">
127 <input type="file" name="thumbnail">
35c0719f 128 <:ifProduct thumbImage:><img src="/images/<:product thumbImage:>">
27feb834
TC
129 <input type=checkbox name="remove_thumb">
130 Remove<:or:><:eif:> </td>
35c0719f 131 <td nowrap bgcolor="#FFFFFF" valign="top"><:help product thumb:></td>
5bc24704 132 </tr>
27feb834 133 <tr>
35c0719f 134 <th nowrap align="left" bgcolor="#FFFFFF" valign="top"><a name="files"></a>Files:</th>
caa7299c 135 <td nowrap bgcolor="#FFFFFF"> <:if Files:>
27feb834 136 <table cellpadding="0" cellspacing="0" border="0" bgcolor="#333333">
35c0719f 137 <tr>
27feb834
TC
138 <td>
139 <table cellpadding="5" cellspacing="1" border="0">
140 <tr bgcolor="#FFFFFF">
141 <th>Filename</th>
142 <th>Size</th>
143 <th>Type</th>
35c0719f
TC
144 <th>D/l</th>
145 <th>Pay</th>
146 <th>User</th>
27feb834
TC
147 </tr>
148 <:iterator begin files:>
149 <tr bgcolor="#FFFFFF">
150 <td><:file displayName:></td>
35c0719f 151 <td align="center"><:kb file sizeInBytes:></td>
27feb834
TC
152 <td><:file contentType:></td>
153 <td align=center><:ifFile download:>Yes<:or:>No<:eif:></td>
35c0719f
TC
154 <td align=center><:ifFile forSale:>Yes<:or:>No<:eif:></td>
155 <td align=center><:ifFile requireUser:>Yes<:or:>No<:eif:></td>
27feb834
TC
156 </tr>
157 <:iterator end files:>
158 </table>
159 </td>
160 </tr>
caa7299c
TC
161 </table>
162 <p><a href="<:script:>?filelist=1&id=<:article id:>"><b>Manage Files</b></a>
163 </p>
164 <:or Files:>
165 <p>No files are attached to this article. <a href="<:script:>?filelist=1&id=<:article id:>"><b>Manage Files</b></a></p><:eif Files:>
edc5d096 166 </td>
caa7299c 167 <td nowrap bgcolor="#FFFFFF" valign="top"><:help product
35c0719f 168 files:></td>
edc5d096 169 </tr>
26094672 170 <tr>
15fb10f2 171 <th valign="top" nowrap bgcolor="#FFFFFF" align="left"> Images:
35c0719f 172 </th>
caa7299c 173 <td align="center" bgcolor="#FFFFFF"> <:if Images:> <:iterator begin
55753022 174 images:> <img src="/images/<: image image :>" alt="<:image alt :>" width=
26094672
TC
175 <:image width:> height=<:image height:>> <:iterator separator images:>
176 <hr noshade size="1">
15fb10f2
TC
177 <: iterator end images :>
178 <p align="left"><a href="<:script:>?id=<:article id:>&showimages=1"><b>Manage Images</b></a></p>
179 <:or Images:><p align="left">No images are attached to this article. <a href="<:script:>?id=<:article id:>&showimages=1"><b>Manage Images</b></a></p>
55753022 180 <:eif Images:>
35c0719f 181 </td>
caa7299c 182 <td valign="top" bgcolor="#FFFFFF"><:help product images:></td>
35c0719f 183 </tr>
5bc24704
TC
184 </table>
185 </td>
186 </tr>
187 </table>
27feb834 188 <p>
ca9aa2bf 189 <input type=submit name="save" value="Save changes">
27feb834 190 </p>
5bc24704
TC
191</form>
192
7063727a 193<p><font size="-1">BSE Release <:release:></font></p>
5bc24704
TC
194</body>
195</html>