Commit | Line | Data |
---|---|---|
f5d30ab9 TC |
1 | <html> |
2 | <head> | |
3 | ||
4 | <title> | |
5 | Administration - <: ifnew :>New<: or :>Edit<: eif :> <:articleType:> | |
6 | </title> | |
7 | ||
8 | <link rel="stylesheet" type="text/css" href="/css/admin.css"> | |
9 | ||
10 | </head> | |
11 | ||
12 | <body> | |
13 | ||
14 | <input type="button" onclick="history.go(0);" value=" Refresh "> | |
15 | ||
16 | <h1>Administration Page</h1> | |
17 | ||
18 | <h2>Select Images First</h2> | |
19 | ||
80e6a095 | 20 | <p><form enctype="multipart/form-data" method="POST" action="<:script:>"> |
f5d30ab9 TC |
21 | |
22 | <p> | |
23 | <input type="submit" name="artimg" value="<:articleType:> Image Wizard"> | |
24 | </p> | |
25 | ||
26 | ||
27 | <h2><:articleType:> Details</h2> | |
28 | ||
27feb834 TC |
29 | <:ifMessage:> |
30 | <p><b><:message:></b></p> | |
31 | <:or:><:eif:> | |
32 | <p>| <a href="/admin/">Admin menu</a> | <:ifnew:><:or:><a href="<:article admin:>">See | |
33 | article</a> | <:eif:><:editParent:> <:if new:><:or new:><a href="<:script:>?id=<:article id:>&_t=steps">Manage | |
34 | stepchildren/stepparents</a> | <:eif new:> | |
35 | <input type="hidden" name="level" value="<: level :>"> | |
d4def4c6 | 36 | <input type="hidden" name="id" value="<: article id :>"> |
d4def4c6 | 37 | </p> |
27feb834 | 38 | <table border="0" cellspacing="0" cellpadding="0" bgcolor="#000000" width="100%"> |
f5d30ab9 TC |
39 | <tr> |
40 | <td> | |
41 | ||
27feb834 | 42 | <table cellpadding="6" border="0" cellspacing="1" width="100%"> |
80e6a095 | 43 | <tr> |
9fae8be7 | 44 | <th nowrap bgcolor="#FFFFFF" align="left"> <:parentType:>: </th> |
27feb834 | 45 | <td bgcolor="#FFFFFF" width="100%"> |
80e6a095 | 46 | <select name="parentid"> |
27feb834 TC |
47 | <option value="">Please select a Section <: ifart :><: list subsections |
48 | :><:or:><:list sections:><:eif:> | |
80e6a095 TC |
49 | </select> |
50 | </td> | |
27feb834 | 51 | <td bgcolor="#FFFFFF"><:help edit section:> </td> |
80e6a095 | 52 | </tr> |
f5d30ab9 | 53 | <tr> |
9fae8be7 TC |
54 | <th nowrap bgcolor="#FFFFFF" align="left"> <:articleType:> Title: |
55 | </th> | |
27feb834 | 56 | <td bgcolor="#FFFFFF" width="100%"> |
6e3d2da5 | 57 | <input type="text" name="title" maxlength="<:cfg fields title_size 255:>" size="64" value="<: article title :>"> |
f5d30ab9 | 58 | </td> |
27feb834 | 59 | <td bgcolor="#FFFFFF"><:help edit title:> </td> |
f5d30ab9 TC |
60 | </tr> |
61 | <tr> | |
9fae8be7 | 62 | <th nowrap bgcolor="#FFFFFF" align="left"> Title Image: </th> |
27feb834 TC |
63 | <td bgcolor="#FFFFFF" width="100%"> <:titleImages:> (upload this to |
64 | the /images/titles directory)</td> | |
65 | <td bgcolor="#FFFFFF"> </td> | |
f5d30ab9 TC |
66 | </tr> |
67 | <tr> | |
9fae8be7 | 68 | <th nowrap bgcolor="#FFFFFF" align="left"> Template: </th> |
27feb834 TC |
69 | <td bgcolor="#FFFFFF" width="100%"> <:templates:> </td> |
70 | <td bgcolor="#FFFFFF"><:help edit template:> </td> | |
f5d30ab9 TC |
71 | </tr> |
72 | <tr> | |
9fae8be7 | 73 | <th valign="top" nowrap bgcolor="#FFFFFF" align="left"> Body: </th> |
27feb834 | 74 | <td bgcolor="#FFFFFF" width="100%"> |
f5d30ab9 TC |
75 | <textarea name="body" rows="10" cols="60" wrap="virtual"><: article body :></textarea> |
76 | </td> | |
27feb834 | 77 | <td bgcolor="#FFFFFF"><:help body body:> </td> |
f5d30ab9 TC |
78 | </tr> |
79 | <tr> | |
9fae8be7 | 80 | <th nowrap bgcolor="#FFFFFF" align="left"> Release Date: </th> |
27feb834 | 81 | <td bgcolor="#FFFFFF" width="100%"> |
f5d30ab9 | 82 | <input type="text" name="release" value="<: article release :>" size="10" maxlength="10"> |
d4def4c6 | 83 | (dd/mm/yyyy<: ifnew :> - default is today<: or :><: eif :>)</td> |
27feb834 | 84 | <td bgcolor="#FFFFFF"><:help edit release:></td> |
f5d30ab9 TC |
85 | </tr> |
86 | <tr> | |
9fae8be7 | 87 | <th nowrap bgcolor="#FFFFFF" align="left"> Expire Date: </th> |
27feb834 | 88 | <td bgcolor="#FFFFFF" width="100%"> |
f5d30ab9 | 89 | <input type="text" name="expire" value="<: article expire :>" size="10" maxlength="10"> |
30fa39f5 | 90 | (dd/mm/yyyy - <: ifnew :>default is never, <: or :><: eif :>blank |
f5d30ab9 | 91 | for never expires)</td> |
27feb834 | 92 | <td bgcolor="#FFFFFF"><:help edit expire:></td> |
f5d30ab9 TC |
93 | </tr> |
94 | <tr> | |
9fae8be7 | 95 | <th nowrap bgcolor="#FFFFFF" align="left"> Summary Length: </th> |
27feb834 | 96 | <td bgcolor="#FFFFFF" width="100%"> |
f5d30ab9 | 97 | <input type="text" name="summaryLength" size="10" maxlength="10" value="<: article summaryLength :>"> |
27feb834 TC |
98 | (in characters - <: ifnew :>default inherited from section<: if |
99 | art :> or sub-section<: or art :><: eif art :>, <: or :><: eif :> | |
100 | zero for no summary)</td> | |
101 | <td bgcolor="#FFFFFF"><:help edit summaryLength:></td> | |
f5d30ab9 TC |
102 | </tr> |
103 | <tr> | |
9fae8be7 | 104 | <th nowrap bgcolor="#FFFFFF" align="left"> Display threshold: </th> |
27feb834 | 105 | <td bgcolor="#FFFFFF" width="100%"> |
f5d30ab9 TC |
106 | <input type="text" name="threshold" size="10" maxlength="10" value="<: article threshold :>"> |
107 | </td> | |
27feb834 | 108 | <td bgcolor="#FFFFFF"><:help edit threshold:> </td> |
f5d30ab9 TC |
109 | </tr> |
110 | <tr> | |
9fae8be7 | 111 | <th nowrap bgcolor="#FFFFFF" align="left"> Keywords: </th> |
27feb834 | 112 | <td bgcolor="#FFFFFF" width="100%"> |
f5d30ab9 | 113 | <input type="text" name="keyword" maxlength="255" size="60" value="<: article keyword :>"> |
27feb834 TC |
114 | (comma separated)</td> |
115 | <td bgcolor="#FFFFFF"><:help edit keywords:> </td> | |
f5d30ab9 TC |
116 | </tr> |
117 | <tr> | |
9fae8be7 | 118 | <th nowrap bgcolor="#FFFFFF" align="left">List article:</th> |
27feb834 TC |
119 | <td bgcolor="#FFFFFF" width="100%"> <:list listed:> </td> |
120 | <td bgcolor="#FFFFFF"><:help edit listed:></td> | |
f5d30ab9 TC |
121 | </tr> |
122 | <tr> | |
9fae8be7 | 123 | <th nowrap bgcolor="#FFFFFF" align="left">Thumbnails:</th> |
27feb834 | 124 | <td bgcolor="#FFFFFF" width="100%"> |
f5d30ab9 | 125 | <input type=file name=thumbnail> |
27feb834 TC |
126 | <:ifArticle thumbImage:><img src="/images/<:article thumbImage:>"> |
127 | <input type=checkbox name="remove_thumb"> | |
128 | Remove<:or:><:eif:></td> | |
129 | <td bgcolor="#FFFFFF"><:help edit thumb:></td> | |
f5d30ab9 | 130 | </tr> |
27feb834 TC |
131 | <:if Article id:> |
132 | <tr> | |
9fae8be7 | 133 | <th nowrap bgcolor="#FFFFFF" align="left"><a name="files"></a>Files:</th> |
27feb834 TC |
134 | <td nowrap bgcolor="#FFFFFF" width="100%"> <:if Files:> |
135 | <table cellpadding="0" cellspacing="0" border="0" bgcolor="#333333"> | |
136 | <tr><td> | |
137 | <table cellpadding="5" cellspacing="1" border="0"> | |
138 | <tr bgcolor="#FFFFFF"> | |
139 | <th>Filename</th> | |
140 | <th>Size</th> | |
141 | <th>Type</th> | |
142 | <th>Download?</th> | |
143 | <th>Requires Payment</th> | |
144 | </tr> | |
145 | <:iterator begin files:> | |
146 | <tr bgcolor="#FFFFFF"> | |
147 | <td><:file displayName:></td> | |
148 | <td align="center"><:file sizeInBytes:></td> | |
149 | <td><:file contentType:></td> | |
150 | <td align=center><:ifFile download:>Yes<:or:>No<:eif:></td> | |
151 | <td align=center><:ifFile forSale:>Yes<:or:>No<:eif:></td> | |
152 | </tr> | |
153 | <:iterator end files:> | |
154 | </table> | |
155 | </td></tr></table> | |
156 | <p><:or Files:> No files are attached to this article. <:eif Files:> | |
157 | <a href="<:script:>?filelist=1&id=<:article id:>"><b>Manage Files</b></a></p> | |
4afdbb1b | 158 | </td> |
27feb834 | 159 | <td nowrap bgcolor="#FFFFFF"><:help edit files:></td> |
4afdbb1b | 160 | </tr> |
27feb834 | 161 | <:or Article:><:eif Article:> |
f5d30ab9 | 162 | <tr> |
9fae8be7 TC |
163 | <th valign="top" nowrap bgcolor="#FFFFFF" align="left"> Uploaded images: |
164 | </th> | |
27feb834 TC |
165 | <td align="center" bgcolor="#FFFFFF" width="100%"> <:iterator begin |
166 | images:> <img src="/images/<: image image :>" alt="<:image alt :>" width= | |
167 | <:image width:> height=<:image height:>> <:iterator separator images:> | |
f5d30ab9 | 168 | <hr noshade size="1"> |
9fae8be7 | 169 | <: iterator end images :> <br></td> |
27feb834 | 170 | <td align="center" bgcolor="#FFFFFF"><:help edit images:> |
9fae8be7 | 171 | </td></tr> |
f5d30ab9 TC |
172 | </table> |
173 | </td> | |
174 | </tr> | |
175 | </table> | |
176 | ||
177 | <p> | |
178 | <input type="submit" name="save" | |
179 | value=" <: ifnew :>Add New<: or :>Update<: eif :> <: articleType:> "></p> | |
180 | </form> | |
d4def4c6 | 181 | <:if children:> <a name="children"></a> |
27feb834 TC |
182 | <table border="0" cellspacing="0" cellpadding="0" bgcolor="#000000" width="100%"> |
183 | <tr> | |
f5d30ab9 | 184 | <td> |
27feb834 TC |
185 | <table border=0 cellpadding="6" cellspacing="1" width="100%"> |
186 | <tr bgcolor="#FFFFFF"> | |
9fae8be7 TC |
187 | <th width="30%">Title</th> |
188 | <th width="70%">Summary</th> | |
1d8d4a4a | 189 | <th>Listed</th> |
9fae8be7 | 190 | <th nowrap>Modify</th> |
1d8d4a4a TC |
191 | </tr> |
192 | <tr> | |
193 | <td colspan="4" bgcolor="#FFFFFF">Reorder child articles: <a href="/cgi-bin/admin/reorder.pl?parentid=<:article id:>&sort=title&refreshto=/cgi-bin/admin/add.pl?id=<:article id:>">by | |
194 | title</a> | <a href="/cgi-bin/admin/reorder.pl?parentid=<:article id:>&sort=date&refreshto=/cgi-bin/admin/add.pl?id=<:article id:>">by | |
195 | date</a> | <a href="/cgi-bin/admin/reorder.pl?parentid=<:article id:>&reverse=1&refreshto=/cgi-bin/admin/add.pl?id=<:article id:>">reverse | |
196 | order</a></td> | |
197 | </tr> | |
198 | <:iterator begin children:> | |
f5d30ab9 | 199 | <tr bgcolor="#FFFFFF"> |
9fae8be7 TC |
200 | <td width="30%"><a href="<:child admin:>"><:child title:></a></td> |
201 | <td width="70%"><: summary child body :></td> | |
f5d30ab9 | 202 | <td align="center"><: is child listed :></td> |
9fae8be7 TC |
203 | <td nowrap> <a href="/cgi-bin/admin/add.pl?id=<:child id:>">Edit</a> |
204 | <a href="/cgi-bin/admin/add.pl?id=<:article id:>&deleteid=<:child id:>&remove=1" onClick="return window.confirm('Are you sure you want to delete this article')">Delete</a> | |
205 | <:if NextChild:><a href="/cgi-bin/admin/move.pl?id=<:child id:>&d=down&edit=1&all=1"><img src="/images/admin/move_down.gif" width="17" height="13" alt="Move Down" border="0"></a><:or | |
206 | NextChild:><:eif NextChild:><:if PrevChild:><a href="/cgi-bin/admin/move.pl?id=<:child id:>&d=up&edit=1&all=1"><img src="/images/admin/move_up.gif" width="17" height="13" alt="Move Up" border="0"></a><:or | |
207 | PrevChild:><:eif PrevChild:> </td> | |
99ef7979 TC |
208 | </tr> |
209 | <:iterator separator children:> <:iterator end children:> | |
210 | </table> | |
f5d30ab9 TC |
211 | </td> |
212 | </tr> | |
213 | </table> | |
214 | <:or children:> | |
215 | <:eif children:> | |
216 | <:if HaveChildType:> | |
217 | <:if new:> | |
218 | <:or new:> | |
219 | <form action="/cgi-bin/admin/add.pl" method="POST"> | |
220 | <input type=hidden name="parentid" value="<:article id:>"> | |
221 | <p><input type=submit value="Add <:childtype:>"></p> | |
222 | </form> | |
d2730773 TC |
223 | <:eif new:> <:or HaveChildType:> <:eif HaveChildType:> |
224 | <p><font size="-1">BSE Release <:release:></font></p> | |
721cd24c | 225 | </body></html> |