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