add dynallprods and dynallcats dynamic iterators
[bse.git] / site / templates / admin / edit_product.tmpl
CommitLineData
759c295d 1<html><head><title><:ifNew:>Add<:or:>Edit<:eif:> product - Shop administration</title>
5bc24704
TC
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:>
759c295d
TC
9<p>| <a href="/cgi-bin/admin/menu.pl">Admin menu</a> | <:if New:><:or New:><a href="<:product admin:>">See
10 product</a> | <a href="/cgi-bin/admin/add.pl?id=<:product parentid:>">Edit
11 parent</a>
12 |<:eif New:> <a href="/cgi-bin/admin/shopadmin.pl">Manage catalogs</a> |<:if
13 New:><:or New:><:if UserCan edit_save:product,edit_field_edit_listed:product
14 :> <a href="/cgi-bin/admin/add.pl?id=<:product id:>&_t=steps">Manage
15 step parents</a> | <:if Product listed:> <a href="<:script:>?id=<:product id:>&hide=1&r=<:script:>?id=<:product id:>">Hide
16 product</a> |<:or Product:> <a href="<:script:>?id=<:product id:>&unhide=1&r=<:script:>?id=<:product id:>">Show
c2096d67
TC
17 product</a> |
18<a href="<:script:>?id=<:article id:>&amp;_t=groups">Manage access</a> |
19<:eif Product:><:or UserCan:><:eif UserCan:><:ifProduct listed:><:or:> Hidden<:eif:><:eif
759c295d
TC
20 New:></p>
21 <h2>Product Details</h2>
22<:ifNew:><:or:><:if Or [iadminuser_count] [iadmingroup_count]:>
abf5bbc6 23 <form action="/cgi-bin/admin/adminusers.pl">
12bcb7ac 24 <input type="hidden" name="id" value="<: article id:>" />
abf5bbc6
TC
25 <table border="0" cellspacing="0" cellpadding="0" bgcolor="#000000" class="table">
26 <tr>
27 <td>
28 <table cellpadding="6" cellspacing="1" border="0" width="100%">
29 <tr>
12bcb7ac 30 <th nowrap="nowrap">
abf5bbc6 31
12bcb7ac 32 <font size="2">Manage access:</font>
abf5bbc6
TC
33 </th>
34 <td bgcolor="#FFFFFF">
12bcb7ac 35 <select name="adminid">
08123550 36<:iterator begin adminusers:>
12bcb7ac
TC
37<option value="<:iadminuser id:>">User <:iadminuser logon:>
38</option><:iterator end adminusers:>
08123550 39<:iterator begin admingroups:>
12bcb7ac
TC
40<option value="<:iadmingroup id:>">Group <:iadmingroup name:>
41</option><:iterator end admingroups:>
abf5bbc6 42 </select>
12bcb7ac 43 <input type="submit" name="a_showobjectart" value="Manage" />
abf5bbc6
TC
44 </td>
45 <td bgcolor="#FFFFFF"><:help access manage:>
46 </td>
47 </tr>
48 </table>
49 </td>
50 </tr>
51 </table>
52 </form>
53<br>
759c295d 54<:or Or:><:eif Or:><:eif:>
12b42a0b
TC
55<form action="<:script:>" enctype="multipart/form-data" method="post">
56 <input type="hidden" name="lastModified" value="<: old lastModified article lastModified :>" />
57 <input type="hidden" name="type" value="Product" />
58 <input type="hidden" name="id" value="<:product id:>" />
35c0719f 59 <table border="0" cellspacing="0" cellpadding="0" bgcolor="#000000" class="table">
5bc24704
TC
60 <tr>
61 <td>
27feb834 62 <table border=0 cellpadding="6" cellspacing="1" width="100%">
759c295d 63 <tr>
27feb834 64 <th align="left" bgcolor="#FFFFFF">Catalog:</th>
caa7299c 65 <td bgcolor="#FFFFFF">
abf5bbc6 66<:ifFieldPerm parentid:><select name="parentid"><:list:></select><:or:><:parent title:> (<:parent id:>)<:eif:></td>
12bcb7ac 67 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product catalog:> <:error_img
429e9103 68 parentid:></td>
759c295d
TC
69 </tr>
70 <tr>
74b21f6d 71 <th align="left" bgcolor="#FFFFFF">Title:</th>
deae2a52 72 <td bgcolor="#FFFFFF"><:ifFieldPerm title:><input type="text" name="title" value="<:old title default title:>" size="60"><:or:><:product title:><:eif:> </td>
12bcb7ac 73 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product title:> <:error_img title:></td>
5bc24704 74 </tr>
37726cc9
AO
75 <:if Cfg "title alias" [concatenate level [article level]]:><tr>
76 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left">Alias:</th>
77 <td bgcolor="#FFFFFF" width="100%">
78 <:if FieldPerm titleAlias:><input type="text" name="titleAlias" maxlength="<:cfg fields alias_size 60:>" size="60" value="<:old titleAlias article titleAlias:>" /><:or FieldPerm:><:article titleAlias:><:eif FieldPerm:>
79 </td>
80 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit titleAlias:> <:error_img titleAlias:></td>
81 </tr><:or Cfg:><:eif Cfg:>
ca9aa2bf 82 <tr>
74b21f6d 83 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Summary:</th>
12bcb7ac
TC
84 <td nowrap="nowrap" bgcolor="#FFFFFF"><:ifFieldPerm summary:><input type="text" name="summary" value="<:old summary default summary:>" size=60><:or:><:product summary:><:eif:> </td>
85 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product summary:> <:error_img
759c295d 86 summary:></td>
ca9aa2bf 87 </tr>
74b21f6d
TC
88 <tr>
89 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Description:</th>
90 <td nowrap="nowrap" bgcolor="#FFFFFF"><:ifFieldPerm description:><input type="text" name="description" value="<:old description default description:>" size=60><:or:><:product description:><:eif:> </td>
91 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product description:> <:error_img
92 description:></td>
93 </tr>
94 <tr>
95 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Product Code:</th>
96 <td nowrap="nowrap" bgcolor="#FFFFFF"><:ifFieldPerm product_code:><input type="text" name="product_code" value="<:old product_code default product_code:>" size=60><:or:><:product product_code:><:eif:> </td>
97 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product product_code:> <:error_img
98 product_code:></td>
99 </tr>
27feb834 100 <tr>
35c0719f 101 <th align="left" bgcolor="#FFFFFF" valign="top"> Body:</th>
27feb834 102 <td bgcolor="#FFFFFF">
12bcb7ac 103 <:ifFieldPerm body:><textarea name="body" rows="15" cols="60" wrap="virtual"><:old body default body:></textarea><:or:><:bodytext product body:><:eif:>
5bc24704 104 </td>
12bcb7ac 105 <td nowrap="nowrap" bgcolor="#FFFFFF" valign="top"><:help body body:> <:error_img
429e9103 106 body:></td>
759c295d 107 </tr>
0a66f55c
AO
108 <:if Cfgsection [concatenate level [article level] " menus"]:><tr>
109 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left">Menu:</th>
110 <td bgcolor="#FFFFFF" width="100%">
aef5bada 111 <:if FieldPerm menu:><select name="menu" id="menu">
0a66f55c
AO
112 <:iterator begin cfgsection [concatenate level [article level] " menus"] sort=key:><option value="<:cfgentry key:>"<:if Eq [old menu] [cfgentry key]:> selected="selected"<:or Eq:><:eif Eq:>><:cfgentry value:></option><:iterator separator cfgsection:>
113 <:iterator end cfgsection:>
aef5bada 114 </select><:or FieldPerm:><:article menu:><:eif FieldPerm:>
0a66f55c
AO
115 </td>
116 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help article menu:> <:error_img menu:></td>
117 </tr><:or Cfgsection:><:eif Cfgsection:>
759c295d 118 <tr>
12bcb7ac
TC
119 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Template:</th>
120 <td nowrap="nowrap" bgcolor="#FFFFFF"><:ifFieldPerm template:><:templates:><:or:><:product template:><:eif:></td>
121 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product template:> <:error_img
429e9103 122 template:></td>
759c295d
TC
123 </tr>
124 <tr>
12bcb7ac 125 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left">List article:</th>
759c295d 126 <td bgcolor="#FFFFFF" width="100%"> <:if FieldPerm listed:><:list listed:><:or FieldPerm:><:if Article listed:><:ifEq [article listed] "1":>Yes<:or:>In Sections, but not menu<:eif:><:or Article:>No<:eif Article:><:eif FieldPerm:> </td>
429e9103 127 <td bgcolor="#FFFFFF"><:help edit listed:> <:error_img listed:></td>
c76e86ea
TC
128 </tr>
129 <tr>
130 <th nowrap bgcolor="#FFFFFF" align="left">Link alias:
131 </th>
132 <td bgcolor="#FFFFFF" width="100%">
133 <:ifFieldPerm linkAlias:><input type="text" name="linkAlias" maxlength="<:cfg fields linkAlias_size 255:>" size="40" value="<: old linkAlias article linkAlias :>">
134 <:or:><:default linkAlias:><:eif:></td>
135 <td nowrap bgcolor="#FFFFFF"><:help edit linkAlias:> <:error_img linkAlias:></td>
759c295d 136 </tr>
429e9103 137 <tr>
12bcb7ac 138 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left">Flags:</th>
759c295d 139 <td bgcolor="#FFFFFF" width="100%"><:iterator begin flags:><:if FieldPerm flags:>
12bcb7ac
TC
140 <input type="checkbox" name="flags" value="<:flag id:>" <:ifFlagSet [flag id]:>checked<:or:>
141 <:eif:> /><:or FieldPerm:><:ifFlagSet [flag id]:>Yes<:or:>No<:eif:>
cc9019d1 142 <:eif FieldPerm:><:flag desc:><:iterator separator flags:><br /><:iterator end flags:></td>
429e9103 143 <td bgcolor="#FFFFFF"><:help edit flags:> <:error_img flags:></td>
5bc24704 144 </tr>
9604a90c
TC
145 <tr>
146 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Page title:</th>
147 <td width="100%" bgcolor="#FFFFFF">
12bcb7ac 148 <:ifFieldPerm pageTitle:><input type="text" name="pageTitle" value='<:old pageTitle article pageTitle:>' size="60" maxlength="255" /> (alternate title)<:or:><:article pageTitle:><:eif:>
9604a90c
TC
149 </td>
150 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit pageTitle:> <:error_img pageTitle:></td>
151 </tr>
12bcb7ac
TC
152 <tr>
153 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Meta description:</th>
154 <td width="100%" bgcolor="#FFFFFF">
155 <:ifFieldPerm metaDescription:><input type="text" name="metaDescription" value='<:old metaDescription article metaDescription:>' size="60" maxlength="255" /><:or:><:article metaDescription:><:eif:>
156 </td>
157 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit metaDescription:> <:error_img metaDescription:></td>
158 </tr>
159 <tr>
160 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Meta keywords:</th>
161 <td width="100%" bgcolor="#FFFFFF">
162 <:ifFieldPerm metaKeywords:><input type="text" name="metaKeywords" value='<:old metaKeywords article metaKeywords:>' size="60" maxlength="255" /> (comma separated)<:or:><:article metaKeywords:><:eif:>
163 </td>
164 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit metaKeywords:> <:error_img metaKeywords:></td>
165 </tr>
9604a90c
TC
166 <tr>
167 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Author name:</th>
168 <td width="100%" bgcolor="#FFFFFF" >
12bcb7ac 169 <:if FieldPerm author:><input type="text" name="author" value='<:ifCfg editor auto_author:><:old author adminuser name:><:or:><:old author:><:eif:>' size="40" maxlength="255" /><:or FieldPerm:><:article author:><:eif FieldPerm:>
9604a90c
TC
170 </td>
171 <td nowrap="nowrap" bgcolor="#FFFFFF" ><:help edit author:> <:error_img author:></td>
172 </tr>
5bc24704 173 <tr>
12bcb7ac
TC
174 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Lead time:</th>
175 <td nowrap="nowrap" bgcolor="#FFFFFF">
759c295d 176 <:ifFieldPerm leadTime:>
12bcb7ac 177 <input type="text" name="leadTime" value="<:old leadTime default leadTime:>" size="5" /><:or:><:product leadTime:><:eif:>
5bc24704 178 days</td>
12bcb7ac 179 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product leadtime:> <:error_img leadTime:></td>
5bc24704
TC
180 </tr>
181 <tr>
81f3292d 182 <th align="left" bgcolor="#FFFFFF"><:cfg "product fields" retailPrice "Retail price":>:</th>
5bc24704 183 <td bgcolor="#FFFFFF">$
12bcb7ac 184 <:ifFieldPerm retailPrice:><input type="text" name="retailPrice" value="<:old retailPrice money default retailPrice:>" size="7" />
759c295d 185 (0.00)<:or:><:money product retailPrice:><:eif:> </td>
12bcb7ac 186 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product retail:> <:error_img retailPrice:></td>
5bc24704
TC
187 </tr>
188 <tr>
27feb834 189 <th align="left" bgcolor="#FFFFFF">Wholesale price:</th>
5bc24704 190 <td bgcolor="#FFFFFF">$
12bcb7ac 191 <:ifFieldPerm wholesalePrice:><input type="text" name="wholesalePrice" value="<:old wholesalePrice money default wholesalePrice:>" size="7" />
abf5bbc6 192 (0.00)<:or:><:money product wholesalePrice:><:eif:></td>
12bcb7ac 193 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product wholesale:> <:error_img wholesalePrice:></td>
5bc24704
TC
194 </tr>
195 <tr>
27feb834 196 <th align="left" bgcolor="#FFFFFF">GST:</th>
5bc24704 197 <td bgcolor="#FFFFFF">$
12bcb7ac 198 <:ifFieldPerm gst:><input type="text" name="gst" value="<:old gst money default gst:>" size="7" />
abf5bbc6 199 (0.00)<:or:><:money product gst:><:eif:></td>
12bcb7ac 200 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product gst:> <:error_img gst:></td>
5bc24704
TC
201 </tr>
202 <tr>
27feb834 203 <th align="left" bgcolor="#FFFFFF">Release date:</th>
5bc24704 204 <td bgcolor="#FFFFFF">
12bcb7ac 205 <:ifFieldPerm release:><input type="text" name="release" value="<:old release date "%d/%m/%Y" default release:>" size="11" />
abf5bbc6 206 (dd/mm/yyyy)<:or:><:date "%d/%m/%Y" product release:><:eif:></td>
12bcb7ac 207 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product release:> <:error_img
429e9103 208 release:></td>
5bc24704
TC
209 </tr>
210 <tr>
27feb834 211 <th align="left" bgcolor="#FFFFFF">Expiry date:</th>
5bc24704 212 <td bgcolor="#FFFFFF">
12bcb7ac 213 <:ifFieldPerm expire:><input type="text" name="expire" value="<:old expire date "%d/%m/%Y" default expire:>" size="11" />
abf5bbc6 214 (dd/mm/yyyy)<:or:><:date "%d/%m/%Y" product expire:><:eif:></td>
12bcb7ac 215 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product expire:> <:error_img
429e9103 216 expire:></td>
5bc24704 217 </tr>
26094672 218 <tr>
12bcb7ac
TC
219 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Summary length:</th>
220 <td nowrap="nowrap" bgcolor="#FFFFFF">
221 <:ifFieldPerm summaryLength:><input type="text" name="summaryLength" size="10" maxlength="10" value="<:old summaryLength default summaryLength:>" /><:or:><:product summaryLength:><:eif:>
26094672 222 </td>
12bcb7ac 223 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product summary:> <:error_img summaryLength:></td>
26094672
TC
224 </tr>
225 <tr>
12bcb7ac
TC
226 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Display threshold:</th>
227 <td nowrap="nowrap" bgcolor="#FFFFFF">
228 <:ifFieldPerm threshold:><input type="text" name="threshold" size="10" maxlength="10" value="<:old threshold default threshold:>" /><:or:><:product threshold:><:eif:>
35c0719f 229 </td>
12bcb7ac 230 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product threshold:> <:error_img threshold:></td>
26094672 231 </tr>
c2096d67 232 <tr>
12bcb7ac 233 <th bgcolor="#FFFFFF" nowrap="nowrap" align="left"> Keywords: </th>
c2096d67 234 <td bgcolor="#FFFFFF" width="100%">
12bcb7ac 235 <:ifFieldPerm keyword:><input type="text" name="keyword" maxlength="255" size="60" value="<: old keyword default keyword :>" /><:or:><: article threshold :><:eif:>
c2096d67 236 (comma separated) </td>
12bcb7ac 237 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help catalog keywords:> <:error_img keyword:></td>
c2096d67
TC
238 </tr>
239 <tr>
240 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left">Always Dynamic:</th>
241 <td bgcolor="#FFFFFF" width="100%">
242 <:ifFieldPerm force_dynamic:><input type="hidden" name="save_force_dynamic" value="1" /><input type="checkbox" name="force_dynamic" value="1" <:if Article force_dynamic :>checked="checked"<:or Article:><:eif Article:> />
243 <:or:><:ifArticle force_dynamic :>Yes<:or Article:>No<:eif Article:><:eif:></td>
244 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit keywords:> <:error_img keyword:></td>
245 </tr>
a11a0d7c 246 <tr>
27feb834 247 <th align="left" bgcolor="#FFFFFF">Options:</th>
a11a0d7c 248 <td bgcolor="#FFFFFF">
12bcb7ac 249 <:ifFieldPerm options:><input type="text" name="options" value="<:old options default options:>" size="30" />
abf5bbc6 250 (<:alloptions:>)<:or:><:product options:><:eif:> </td>
429e9103 251 <td bgcolor="#FFFFFF"><:help product options:> <:error_img options:></td>
a11a0d7c 252 </tr>
d64413ee 253<:include admin/product_custom.tmpl optional:>
27feb834 254 <tr>
12bcb7ac
TC
255 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF" valign="top">Thumbnail image:</th>
256 <td nowrap="nowrap" bgcolor="#FFFFFF">
257 <:ifFieldPerm thumbImage:><input type="file" name="thumbnail" /><:or:><:eif:>
35c0719f 258 <:ifProduct thumbImage:><img src="/images/<:product thumbImage:>">
12bcb7ac 259 <:if FieldPerm thumbImage:><input type="checkbox" name="remove_thumb" />
abf5bbc6 260 Remove<:or FieldPerm:><:eif FieldPerm:><:or:><:eif:> </td>
12bcb7ac 261 <td nowrap="nowrap" bgcolor="#FFFFFF" valign="top"><:help product thumb:> <:error_img
429e9103 262 thumbImage:></td>
5bc24704 263 </tr>
759c295d 264 <:if Article id:>
27feb834 265 <tr>
12bcb7ac
TC
266 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF" valign="top"><a name="files"></a>Files:</th>
267 <td nowrap="nowrap" bgcolor="#FFFFFF"> <:if Files:>
27feb834 268 <table cellpadding="0" cellspacing="0" border="0" bgcolor="#333333">
35c0719f 269 <tr>
27feb834
TC
270 <td>
271 <table cellpadding="5" cellspacing="1" border="0">
272 <tr bgcolor="#FFFFFF">
273 <th>Filename</th>
274 <th>Size</th>
275 <th>Type</th>
35c0719f
TC
276 <th>D/l</th>
277 <th>Pay</th>
278 <th>User</th>
27feb834
TC
279 </tr>
280 <:iterator begin files:>
281 <tr bgcolor="#FFFFFF">
282 <td><:file displayName:></td>
35c0719f 283 <td align="center"><:kb file sizeInBytes:></td>
27feb834 284 <td><:file contentType:></td>
12bcb7ac
TC
285 <td align="center"><:ifFile download:>Yes<:or:>No<:eif:></td>
286 <td align="center"><:ifFile forSale:>Yes<:or:>No<:eif:></td>
287 <td align="center"><:ifFile requireUser:>Yes<:or:>No<:eif:></td>
27feb834
TC
288 </tr>
289 <:iterator end files:>
290 </table>
291 </td>
292 </tr>
caa7299c
TC
293 </table>
294 <p><a href="<:script:>?filelist=1&id=<:article id:>"><b>Manage Files</b></a>
295 </p>
296 <:or Files:>
297 <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 298 </td>
12bcb7ac 299 <td nowrap="nowrap" bgcolor="#FFFFFF" valign="top"><:help product
429e9103 300 files:> <:error_img files:></td>
edc5d096 301 </tr>
26094672 302 <tr>
12bcb7ac 303 <th valign="top" nowrap="nowrap" bgcolor="#FFFFFF" align="left"> Images:
35c0719f 304 </th>
caa7299c 305 <td align="center" bgcolor="#FFFFFF"> <:if Images:> <:iterator begin
55753022 306 images:> <img src="/images/<: image image :>" alt="<:image alt :>" width=
26094672
TC
307 <:image width:> height=<:image height:>> <:iterator separator images:>
308 <hr noshade size="1">
15fb10f2
TC
309 <: iterator end images :>
310 <p align="left"><a href="<:script:>?id=<:article id:>&showimages=1"><b>Manage Images</b></a></p>
311 <: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 312 <:eif Images:>
35c0719f 313 </td>
429e9103
TC
314 <td valign="top" bgcolor="#FFFFFF"><:help product images:> <:error_img
315 images:></td>
35c0719f 316 </tr>
759c295d 317 <:or Article:><:eif Article:>
d7538448 318 <tr>
12bcb7ac
TC
319 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Purchase subscribes to:</th>
320 <td nowrap="nowrap" bgcolor="#FFFFFF">
0ec4ac8a
TC
321 <select name="subscription_id">
322 <option value="-1"<:ifEq [old subscription_id] "-1":> selected="selected"<:or:><:eif:>>(nothing)</option>
323<:iterator begin subscriptions:>
324 <option value="<:subscription subscription_id:>"<:ifEq [old subscription_id] [subscription subscription_id]:> selected="selected"<:or:><:eif:>><:subscription title:></option>
325<:iterator end subscriptions:>
d7538448 326 </select> for <input type="text" name="subscription_period" value="<:ifEq [old subscription_period] "":><:default subscription_period:><:or:><:old subscription_period:><:eif:>" size="3" /><:error_img subscription_period:> months.
0ec4ac8a 327 </td>
12bcb7ac 328 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product subscription_id:></td>
0ec4ac8a
TC
329 </tr>
330 <tr>
12bcb7ac
TC
331 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Can be used to:</th>
332 <td nowrap="nowrap" bgcolor="#FFFFFF">
0ec4ac8a
TC
333 <select name="subscription_usage">
334 <option value="3"<:ifEq [old subscription_usage] "3":> selected="selected"<:or:><:eif:>>Start or renew a subscription</option>
335 <option value="1"<:ifEq [old subscription_usage] "1":> selected="selected"<:or:><:eif:>>Start a subscription only</option>
336 <option value="2"<:ifEq [old subscription_usage] "2":> selected="selected"<:or:><:eif:>>Renew a subscription only</option>
337 </select>
338 </td>
12bcb7ac 339 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product subscription_usage:></td>
0ec4ac8a
TC
340 </tr>
341 <tr>
12bcb7ac
TC
342 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">User must be subscribed to:</th>
343 <td nowrap="nowrap" bgcolor="#FFFFFF">
0ec4ac8a
TC
344 <select name="subscription_required">
345 <option value="-1"<:ifEq [old subscription_required] "-1":> selected="selected"<:or:><:eif:>>(nothing)</option>
346<:iterator begin subscriptions:>
347 <option value="<:subscription subscription_id:>"<:ifEq [old subscription_required] [subscription subscription_id]:> selected="selected"<:or:><:eif:>><:subscription title:></option>
348<:iterator end subscriptions:>
349 </select> to purchase this product
350 </td>
12bcb7ac 351 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product subscription_id:></td>
d7538448 352 </tr>
5bc24704
TC
353 </table>
354 </td>
355 </tr>
356 </table>
759c295d
TC
357 <p><font size="-1">*These fields cannot be modified once this product has been
358 included in an order.</font></p>
359 <:if UserCan edit_save:article:>
360 <p>
12bcb7ac 361 <:ifNew:><input type="submit" name="save" value="Add Product" /><:or:><input type="submit" name="save" value="Update Product" /><:eif:>
abf5bbc6 362 </p><:or UserCan:><:eif UserCan:>
5bc24704
TC
363</form>
364
7063727a 365<p><font size="-1">BSE Release <:release:></font></p>
5bc24704
TC
366</body>
367</html>