add dynallprods and dynallcats dynamic iterators
[bse.git] / site / templates / admin / edit_1.tmpl
CommitLineData
d09682dd
TC
1<:wrap admin/xbase.tmpl title=>"Edit [articleType]":>
2<h1><:ifNew:>New<:or:>Edit<:eif:> <:articleType:></h1>
35c0719f
TC
3<:ifMessage:>
4<p><b><:message:></b></p>
918735d1
TC
5<:or:><:eif:>
6<p>| <a href="/cgi-bin/admin/menu.pl">Admin menu</a> | <:ifNew:><:or:><:if Eq
7 [article id] [cfg articles shop]:><a href="<:article admin:>">See shop</a><:or
8 Eq:><a href="<:article admin:>">See article</a><:eif Eq:> | <:eif:><:editParent:>
9 <:if Eq [article id] [cfg articles shop]:><a href="/cgi-bin/admin/shopadmin.pl">Manage
d09682dd 10 catalogs</a> |<:or Eq:><:eif Eq:><:if New:><:or New:> <a href="<:script:>?id=<:article id:>&amp;_t=steps">Manage
c2096d67
TC
11 step children/parents</a> |
12<a href="<:script:>?id=<:article id:>&amp;_t=groups">Manage access</a> |
0d7271d9
TC
13<a href="<:script:>?id=<:article id:>&amp;_t=img"><b>Manage Images</b></a> |
14<a href="<:script:>?id=<:article id:>&amp;_t=file"><b>Manage Files</b></a> |
c2096d67 15<:eif New:></p>
f5d30ab9
TC
16
17 <h2><:articleType:> Details</h2>
18
8b0b2f34
TC
19<p>Path: / <a href="<:script:>?id=-1">(Sections)</a> <:iterator begin crumbs:>/ <a href="<:script:>?id=<:crumb id:>"><:crumb title |h:></a> <:iterator end crumbs:>/</p>
20
918735d1 21<:ifNew:><:or:>
abf5bbc6 22<:if Or [iadminuser_count] [iadmingroup_count]:>
de30d08a 23 <form action="/cgi-bin/admin/adminusers.pl" name="access">
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>
d09682dd 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>
54<:or Or:><:eif Or:>
55<:eif:>
de30d08a 56 <form enctype="multipart/form-data" method="post" action="<:script:>" name="edit">
dded3231 57
12b42a0b
TC
58 <input type="hidden" name="lastModified" value="<: old lastModified article lastModified :>" />
59 <input type="hidden" name="type" value="Article" />
d09682dd
TC
60 <input type="hidden" name="level" value="<: level :>" />
61 <input type="hidden" name="id" value="<: article id :>" />
35c0719f
TC
62
63 <table border="0" cellspacing="0" cellpadding="0" bgcolor="#000000" width="100%" class="table">
f5d30ab9
TC
64 <tr>
65 <td>
66
27feb834 67 <table cellpadding="6" border="0" cellspacing="1" width="100%">
80e6a095 68 <tr>
d09682dd 69 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left">Parent:</th>
27feb834 70 <td bgcolor="#FFFFFF" width="100%">
abf5bbc6 71 <:if FieldPerm parentid:><select name="parentid">
d09682dd 72 <option value="">Please select a <:parentType:></option><: list:>
abf5bbc6 73 </select><:or FieldPerm:><:parent title:> (<:parent id:>)<:eif FieldPerm:>
80e6a095 74 </td>
d09682dd 75 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit section:> <:error_img parentid:></td>
80e6a095 76 </tr>
f5d30ab9 77 <tr>
d09682dd 78 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left">Title:
9fae8be7 79 </th>
27feb834 80 <td bgcolor="#FFFFFF" width="100%">
deae2a52 81 <:ifFieldPerm title:><input type="text" name="title" maxlength="<:cfg fields title_size 255:>" size="64" value="<: old title default title :>" />
429e9103 82 <:or:><:default title:><:eif:></td>
d09682dd 83 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit title:> <:error_img title:></td>
f5d30ab9 84 </tr>
aef5bada
AO
85 <:if Cfg "title alias" [concatenate level [article level]]:><tr>
86 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left">Alias:</th>
87 <td bgcolor="#FFFFFF" width="100%">
88 <: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:>
89 </td>
90 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit titleAlias:> <:error_img titleAlias:></td>
91 </tr><:or Cfg:><:eif Cfg:>
74b21f6d
TC
92 <tr>
93 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left">Summary:
94 </th>
95 <td bgcolor="#FFFFFF" width="100%">
96 <:ifFieldPerm summary:><input type="text" name="summary" maxlength="<:cfg fields summary_size 255:>" size="64" value="<: old summary default summary :>" />
97 <:or:><:default summary:><:eif:></td>
98 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit summary:> <:error_img summary:></td>
99 </tr>
759c295d 100 <:if Cfg image title:><tr>
d09682dd 101 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left">Title image:</th>
abf5bbc6
TC
102 <td bgcolor="#FFFFFF" width="100%"><:ifFieldPerm titleImage:><:titleImages:> (upload this to
103 the /images/titles directory)<:or:><:article titleImage:><:eif:></td>
d09682dd 104 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit titleImage:> <:error_img titleImage:></td>
759c295d 105 </tr><:or Cfg:><:eif Cfg:>
f5d30ab9 106 <tr>
d09682dd 107 <th valign="top" nowrap="nowrap" bgcolor="#FFFFFF" align="left"> Body: </th>
27feb834 108 <td bgcolor="#FFFFFF" width="100%">
deae2a52 109 <:if FieldPerm body:><textarea name="body" rows="10" cols="60" wrap="virtual"><: old body default body :></textarea>
d09682dd 110 <:or FieldPerm:><:bodytext article body:><:eif FieldPerm:>
f5d30ab9 111 </td>
d09682dd 112 <td valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><:help body body:> <:error_img body:></td>
f5d30ab9 113 </tr>
0a66f55c
AO
114 <:if Cfgsection [concatenate level [article level] " menus"]:><tr>
115 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left">Menu:</th>
116 <td bgcolor="#FFFFFF" width="100%">
aef5bada 117 <:if FieldPerm menu:><select name="menu" id="menu">
0a66f55c
AO
118 <: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:>
119 <:iterator end cfgsection:>
aef5bada 120 </select><:or FieldPerm:><:article menu:><:eif FieldPerm:>
0a66f55c
AO
121 </td>
122 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help article menu:> <:error_img menu:></td>
123 </tr><:or Cfgsection:><:eif Cfgsection:>
f5d30ab9 124 <tr>
d09682dd 125 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left">Template:</th>
759c295d 126 <td bgcolor="#FFFFFF" width="100%"><:ifFieldPerm template:> <:templates:><:or:><:article template:><:eif:> </td>
d09682dd 127 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit template:> <:error_img template:></td>
759c295d
TC
128 </tr>
129 <tr>
d09682dd 130 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left">List article:</th>
759c295d 131 <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>
d09682dd 132 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit listed:> <:error_img listed:></td>
c76e86ea
TC
133 </tr>
134 <tr>
135 <th nowrap bgcolor="#FFFFFF" align="left">Link alias:
136 </th>
137 <td bgcolor="#FFFFFF" width="100%">
138 <:ifFieldPerm linkAlias:><input type="text" name="linkAlias" maxlength="<:cfg fields linkAlias_size 255:>" size="40" value="<: old linkAlias article linkAlias :>">
139 <:or:><:default linkAlias:><:eif:></td>
140 <td nowrap bgcolor="#FFFFFF"><:help edit linkAlias:> <:error_img linkAlias:></td>
759c295d
TC
141 </tr>
142 <tr>
d09682dd 143 <th valign="top" nowrap="nowrap" bgcolor="#FFFFFF" align="left">Flags:</th>
759c295d 144 <td bgcolor="#FFFFFF" width="100%"><:iterator begin flags:><:if FieldPerm flags:>
d09682dd
TC
145 <input type="checkbox" name="flags" value="<:flag id:>" <:ifFlagSet [flag id]:>checked<:or:>
146 <:eif:> /><:or FieldPerm:><:ifFlagSet [flag id]:>Yes<:or:>No<:eif:>
cc9019d1 147 <:eif FieldPerm:><:flag desc:><:iterator separator flags:><br /><:iterator end flags:></td>
d09682dd 148 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit flags:> <:error_img flags:></td>
9604a90c
TC
149 </tr>
150 <tr>
151 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Page title:</th>
152 <td width="100%" bgcolor="#FFFFFF">
12bcb7ac 153 <:ifFieldPerm pageTitle:><input type="text" name="pageTitle" value='<:old pageTitle article pageTitle:>' size="60" maxlength="255" /> (alternate title)<:or:><:article pageTitle:><:eif:>
9604a90c
TC
154 </td>
155 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit pageTitle:> <:error_img pageTitle:></td>
156 </tr>
157 <tr>
12bcb7ac
TC
158 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Meta description:</th>
159 <td width="100%" bgcolor="#FFFFFF">
160 <:ifFieldPerm metaDescription:><input type="text" name="metaDescription" value='<:old metaDescription article metaDescription:>' size="60" maxlength="255" /><:or:><:article metaDescription:><:eif:>
161 </td>
162 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit metaDescription:> <:error_img metaDescription:></td>
163 </tr>
164 <tr>
165 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Meta keywords:</th>
166 <td width="100%" bgcolor="#FFFFFF">
167 <:ifFieldPerm metaKeywords:><input type="text" name="metaKeywords" value='<:old metaKeywords article metaKeywords:>' size="60" maxlength="255" /> (comma separated)<:or:><:article metaKeywords:><:eif:>
168 </td>
169 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit metaKeywords:> <:error_img metaKeywords:></td>
170 </tr>
171 <tr>
9604a90c
TC
172 <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Author name:</th>
173 <td width="100%" bgcolor="#FFFFFF" >
12bcb7ac 174 <: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
175 </td>
176 <td nowrap="nowrap" bgcolor="#FFFFFF" ><:help edit author:> <:error_img author:></td>
759c295d
TC
177 </tr>
178 <tr>
d09682dd 179 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left">Release date:</th>
27feb834 180 <td bgcolor="#FFFFFF" width="100%">
deae2a52 181 <:if FieldPerm release:><input type="text" name="release" value="<: old release date "%d/%m/%Y" default release :>" size="10" maxlength="10" />
918735d1 182 (dd/mm/yyyy<: ifNew :> - default is today<: or :><: eif :>)<:or FieldPerm:><: date "%d/%m/%Y" article release :><:eif FieldPerm:></td>
d09682dd 183 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit release:> <:error_img release:></td>
f5d30ab9
TC
184 </tr>
185 <tr>
d09682dd 186 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left">Expiry date:</th>
27feb834 187 <td bgcolor="#FFFFFF" width="100%">
deae2a52 188 <:if FieldPerm expire:><input type="text" name="expire" value="<: old expire date "%d/%m/%Y" default expire :>" size="10" maxlength="10" />
918735d1 189 (dd/mm/yyyy - <: ifNew :>default is never, <: or :><: eif :>blank
abf5bbc6 190 for never expires)<:or FieldPerm:><: date "%d/%m/%Y" article expire :><:eif FieldPerm:></td>
d09682dd 191 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit expire:> <:error_img expire:></td>
f5d30ab9
TC
192 </tr>
193 <tr>
d09682dd 194 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left">Summary length:</th>
27feb834 195 <td bgcolor="#FFFFFF" width="100%">
deae2a52 196 <:if FieldPerm summaryLength:><input type="text" name="summaryLength" size="10" maxlength="10" value="<: old summaryLength default summaryLength :>" />
918735d1 197 (in characters - <: ifNew :>default inherited from <:parentType:>, <: or :><: eif :>
abf5bbc6 198 zero for no summary)<:or FieldPerm:><: article summaryLength :><:eif FieldPerm:></td>
d09682dd 199 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit summary:> <:error_img summaryLength:></td>
f5d30ab9
TC
200 </tr>
201 <tr>
d09682dd 202 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left">Display threshold:</th>
27feb834 203 <td bgcolor="#FFFFFF" width="100%">
deae2a52 204 <:ifFieldPerm threshold:><input type="text" name="threshold" size="10" maxlength="10" value="<: old threshold default threshold :>" /><:or:><: article threshold :><:eif:>
f5d30ab9 205 </td>
d09682dd 206 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit threshold:> <:error_img
429e9103 207 threshold:></td>
f5d30ab9
TC
208 </tr>
209 <tr>
d09682dd 210 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left">Keywords:</th>
27feb834 211 <td bgcolor="#FFFFFF" width="100%">
deae2a52 212 <:ifFieldPerm keyword:><input type="text" name="keyword" maxlength="255" size="60" value="<: old keyword default keyword :>" />
abf5bbc6 213 (comma separated)<:or:><: article threshold :><:eif:></td>
d09682dd 214 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit keywords:> <:error_img keyword:></td>
918735d1 215 </tr>
c2096d67
TC
216 <tr>
217 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left">Always Dynamic:</th>
218 <td bgcolor="#FFFFFF" width="100%">
219 <: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:> />
220 <:or:><:ifArticle force_dynamic :>Yes<:or Article:>No<:eif Article:><:eif:></td>
221 <td nowrap="nowrap" bgcolor="#FFFFFF"><:help edit keywords:> <:error_img keyword:></td>
222 </tr>
d64413ee 223<:include admin/article_custom.tmpl optional:>
f5d30ab9 224 <tr>
d09682dd 225 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left" valign="top">Thumbnail image:</th>
429e9103
TC
226 <td width="100%" valign="top" bgcolor="#FFFFFF">
227 <:ifFieldPerm thumbImage:>
d09682dd 228 <input type="file" name="thumbnail" /><:or:><:eif:>
27feb834 229 <:ifArticle thumbImage:><img src="/images/<:article thumbImage:>">
12bcb7ac 230 <:if FieldPerm thumbImage:><input type="checkbox" name="remove_thumb" />
429e9103 231 Remove<:or FieldPerm:><:eif FieldPerm:><:or:><:eif:></td>
d09682dd 232 <td valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><:help edit thumb:> <:error_img
429e9103 233 thumbImage:></td>
f5d30ab9 234 </tr>
27feb834
TC
235 <:if Article id:>
236 <tr>
d09682dd
TC
237 <th nowrap="nowrap" bgcolor="#FFFFFF" align="left" valign="top"><a name="files"></a>Files:</th>
238 <td nowrap="nowrap" bgcolor="#FFFFFF" width="100%"> <:if Files:>
27feb834 239 <table cellpadding="0" cellspacing="0" border="0" bgcolor="#333333">
abf5bbc6
TC
240 <tr>
241 <td>
27feb834
TC
242 <table cellpadding="5" cellspacing="1" border="0">
243 <tr bgcolor="#FFFFFF">
244 <th>Filename</th>
245 <th>Size</th>
246 <th>Type</th>
35c0719f
TC
247 <th>D/l</th>
248 <th>Pay</th>
249 <th>User</th>
250 </tr>
251 <:iterator begin files:>
27feb834
TC
252 <tr bgcolor="#FFFFFF">
253 <td><:file displayName:></td>
35c0719f 254 <td align="center"><:kb file sizeInBytes:></td>
27feb834 255 <td><:file contentType:></td>
12bcb7ac
TC
256 <td align="center"><:ifFile download:>Yes<:or:>No<:eif:></td>
257 <td align="center"><:ifFile forSale:>Yes<:or:>No<:eif:></td>
258 <td align="center"><:ifFile requireUser:>Yes<:or:>No<:eif:></td>
35c0719f
TC
259 </tr>
260 <:iterator end files:>
261 </table>
abf5bbc6
TC
262 </td>
263 </tr>
264 </table>
d09682dd 265 <p><a href="<:script:>?id=<:article id:>&amp;_t=file"><b>Manage Files</b></a>
caa7299c
TC
266 </p>
267 <:or Files:>
d09682dd 268 <p>No files are attached to this article. <a href="<:script:>?id=<:article id:>&amp;_t=file"><b>Manage Files</b></a></p>
abf5bbc6 269 <:eif Files:>
4afdbb1b 270 </td>
d09682dd 271 <td nowrap="nowrap" bgcolor="#FFFFFF" valign="top"><:help edit files:> <:error_img
429e9103 272 files:></td>
4afdbb1b 273 </tr>
f5d30ab9 274 <tr>
d09682dd 275 <th valign="top" nowrap="nowrap" bgcolor="#FFFFFF" align="left">Images:
9fae8be7 276 </th>
de30d08a 277 <td align="center" bgcolor="#FFFFFF" width="100%" name="images"><:if Images:> <:iterator begin
27feb834
TC
278 images:> <img src="/images/<: image image :>" alt="<:image alt :>" width=
279 <:image width:> height=<:image height:>> <:iterator separator images:>
f5d30ab9 280 <hr noshade size="1">
15fb10f2 281 <: iterator end images :>
d09682dd 282 <p align="left"><a href="<:script:>?id=<:article id:>&amp;_t=img"><b>Manage Images</b></a></p>
abf5bbc6 283 <:or Images:>
d09682dd 284 <p align="left">No images are attached to this article. <a href="<:script:>?id=<:article id:>&amp;_t=img"><b>Manage Images</b></a></p>
abf5bbc6 285 <:eif Images:>
55753022 286 </td>
d09682dd 287 <td valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><:help edit images:> <:error_img
429e9103 288 images:></td>
35c0719f 289 </tr>
ca9aa2bf 290 <:or Article:><:eif Article:>
f5d30ab9
TC
291 </table>
292</td>
293</tr>
294</table>
295
918735d1 296 <p><: ifNew :>
12bcb7ac 297 <input type="submit" name="save" value="Add New <: articleType:>" />
abf5bbc6 298 <:or:>
12bcb7ac 299 <:if UserCan edit_save:article:><input type="submit" name="save" value="Update <: articleType:>" /><:or UserCan:><:eif UserCan:>
abf5bbc6 300 <:eif:></p>
f5d30ab9 301 </form>
918735d1 302<:if children:> <:ifEq [article id] [cfg articles shop]:>
35c0719f
TC
303<h2>Catalogs</h2>
304<:or:>
305<h2><: childtype :></h2>
306<:eif:><a name="children"></a>
307<table border="0" cellspacing="0" cellpadding="0" bgcolor="#000000" width="100%" class="table">
27feb834 308 <tr>
f5d30ab9 309 <td>
27feb834
TC
310 <table border=0 cellpadding="6" cellspacing="1" width="100%">
311 <tr bgcolor="#FFFFFF">
9fae8be7
TC
312 <th width="30%">Title</th>
313 <th width="70%">Summary</th>
1d8d4a4a 314 <th>Listed</th>
d09682dd
TC
315 <th nowrap="nowrap">Modify</th>
316 <th nowrap="nowrap">Move</th>
1d8d4a4a 317 </tr>
1df3b258 318<:if UserCan edit_reorder_children:article:>
1d8d4a4a 319 <tr>
d09682dd 320 <td colspan="5" bgcolor="#FFFFFF">Sort by: <a href="/cgi-bin/admin/reorder.pl?parentid=<:article id:>&amp;sort=title&amp;refreshto=/cgi-bin/admin/add.pl?id=<:article id:>">title</a> | <a href="/cgi-bin/admin/reorder.pl?parentid=<:article id:>&amp;sort=date&amp;refreshto=/cgi-bin/admin/add.pl?id=<:article id:>">date</a> | <a href="/cgi-bin/admin/reorder.pl?parentid=<:article id:>&amp;reverse=1&amp;refreshto=/cgi-bin/admin/add.pl?id=<:article id:>">reverse</a></td>
1d8d4a4a 321 </tr>
abf5bbc6 322<:or UserCan:><:eif UserCan:>
1d8d4a4a 323 <:iterator begin children:>
f5d30ab9 324 <tr bgcolor="#FFFFFF">
9fae8be7
TC
325 <td width="30%"><a href="<:child admin:>"><:child title:></a></td>
326 <td width="70%"><: summary child body :></td>
f5d30ab9 327 <td align="center"><: is child listed :></td>
d09682dd
TC
328 <td nowrap="nowrap"> <a href="/cgi-bin/admin/add.pl?id=<:child id:>">Edit</a>
329 <:if UserCan edit_delete_article:child:><a href="/cgi-bin/admin/add.pl?id=<:child id:>&amp;remove=1" onclick="return window.confirm('Are you sure you want to delete this <:ifEq [article id] 3:>Catalog<:or:><: childtype :><:eif:>')">Delete</a><:or UserCan:><:eif UserCan:></td>
330 <td nowrap="nowrap"><:movechild:></td>
99ef7979
TC
331 </tr>
332 <:iterator separator children:> <:iterator end children:>
333 </table>
f5d30ab9
TC
334</td>
335</tr>
336</table>
337<:or children:>
338<:eif children:>
339<:if HaveChildType:>
918735d1
TC
340<:if New:>
341<:or New:>
de30d08a 342<:if UserCan edit_add_child:article:><form action="/cgi-bin/admin/add.pl" "addchild">
d09682dd 343<input type="hidden" name="parentid" value="<:article id:>" />
35c0719f 344 <p>
d09682dd 345 <input type="submit" value="Add <:ifEq [article id] [cfg articles shop]:>Catalog<:or:><: childtype :><:eif:>" />
35c0719f 346 </p>
abf5bbc6 347</form><:or UserCan:><:eif UserCan:>
918735d1 348<:eif New:> <:or HaveChildType:> <:eif HaveChildType:>