1 | # this file must be UTF-8 encoded
|
---|
2 |
|
---|
3 | package collector
|
---|
4 |
|
---|
5 | _imagethispage_ {<a href="_httppagecollector_">_iconhcolect_</a>}
|
---|
6 |
|
---|
7 | # _pagescriptextra_ will be set to the appropriate _***scriptextra_
|
---|
8 | # macro from within the server
|
---|
9 | _pagescriptextra_ {}
|
---|
10 |
|
---|
11 | # this is just like the _gsimage_ macro but it calls the check_submit() javascript
|
---|
12 | # function instead of linking directly to the page (_1_ argument isn't used)
|
---|
13 | _gsjimage_ {<a href="javascript:check\_submit('_4_');" onMouseover="roll('_4_',1);" onMouseOut="roll('_4_',0);" target=_top><img
|
---|
14 | name="_4_" src="_2_" onLoad="gbutton(this,'_3_');" border=0 alt="_5_" title="_5_"></a>}
|
---|
15 | _gsjimage_ [v=1] {<a href="javascript:check\_submit('_4_');" target=_top>_5_</a><br>}
|
---|
16 |
|
---|
17 | # _gstimage_ is also similar to _gsimage_ but is used where buttons occur in a sub-frame and
|
---|
18 | # require target=_top
|
---|
19 | _gstimage_ {<a href="_1_" onMouseover="roll('_4_',1);" onMouseOut="roll('_4_',0);" target="\_top"><img
|
---|
20 | name="_4_" src="_2_" onLoad="gbutton(this,'_3_');" border=0 alt="_5_" title="_5_"></a>}
|
---|
21 | _gstimage_ [v=1] {<a href="_1_" target="\_top">_5_</a><br>}
|
---|
22 |
|
---|
23 | # a plain header for those pages that need it (the _pagebanner_ macro
|
---|
24 | # will be set to this by the server for those pages.
|
---|
25 | _plainbanner_ {}
|
---|
26 |
|
---|
27 | # dont want links to "help" or "preferences" pages from within
|
---|
28 | # collector
|
---|
29 | _javalinks_ {_imagehome_}
|
---|
30 | _javalinks_ [v=1] {
|
---|
31 | _imagehome_<br>
|
---|
32 | }
|
---|
33 |
|
---|
34 |
|
---|
35 | #######################################################################
|
---|
36 | # icons
|
---|
37 |
|
---|
38 | _iconcross_ {<img src="_httpimg_/cross.gif">}
|
---|
39 | _iconcross_ [v=1] {<b>no</b>}
|
---|
40 | _icontick_ {<img src="_httpimg_/tick.gif">}
|
---|
41 | _icontick_ [v=1] {<b>yes</b>}
|
---|
42 | _iconblank_ {<img src="_httpimg_/blank.gif">}
|
---|
43 | _iconblank_ [v=1] {}
|
---|
44 |
|
---|
45 | _imagemore_ {<a href="javascript:more()" onMouseover="roll('more',1);" onMouseOut="roll('more',0);"><img
|
---|
46 | name="more" src="_httpimg_/moreof.gif" onLoad="gbutton(this,'_httpimg_/moreon.gif');" border=0 alt="_textmore_"
|
---|
47 | title="_textmore_" align=top></a>}
|
---|
48 | _imagemore_ [v=1] {_textmore_}
|
---|
49 |
|
---|
50 | _iconhcolect_ {<img src="_httpiconhcolect_" alt="_textcollector_" title="_textcollector_" border=0>}
|
---|
51 | _icongreyarrow_ {<img src="_httpimg_/grarrow.gif">}
|
---|
52 | _icongreyuparrow_ {<img src="_httpimg_/guarrow.gif">}
|
---|
53 | _iconstop_ {<img src="_httpimg_/stop.gif" border=0>}
|
---|
54 |
|
---|
55 | _icongcinfoof_ {<img src="_httpicongcinfoof_" alt="_textinfo_" title="_textinfo_">}
|
---|
56 | _icongcinfoon_ {<img src="_httpicongcinfoon_" alt="_textinfo_" title="_textinfo_">}
|
---|
57 | _iconycinfoof_ {<img src="_httpiconycinfoof_" alt="_textinfo_" title="_textinfo_">}
|
---|
58 | _iconycinfoon_ {<img src="_httpiconycinfoon_" alt="_textinfo_" title="_textinfo_">}
|
---|
59 | _iconncinfoof_ {<img src="_httpiconncinfoof_" alt="_textinfo_" title="_textinfo_">}
|
---|
60 |
|
---|
61 | _icongcsrceof_ {<img src="_httpicongcsrceof_" alt="_textsrce_" title="_textsrce_">}
|
---|
62 | _icongcsrceon_ {<img src="_httpicongcsrceon_" alt="_textsrce_" title="_textsrce_">}
|
---|
63 | _iconycsrceof_ {<img src="_httpiconycsrceof_" alt="_textsrce_" title="_textsrce_">}
|
---|
64 | _iconycsrceon_ {<img src="_httpiconycsrceon_" alt="_textsrce_" title="_textsrce_">}
|
---|
65 | _iconncsrceof_ {<img src="_httpiconncsrceof_" alt="_textsrce_" title="_textsrce_">}
|
---|
66 |
|
---|
67 | _icongcconfof_ {<img src="_httpicongcconfof_" alt="_textconf_" title="_textconf_">}
|
---|
68 | _icongcconfon_ {<img src="_httpicongcconfon_" alt="_textconf_" title="_textconf_">}
|
---|
69 | _iconycconfof_ {<img src="_httpiconycconfof_" alt="_textconf_" title="_textconf_">}
|
---|
70 | _iconycconfon_ {<img src="_httpiconycconfon_" alt="_textconf_" title="_textconf_">}
|
---|
71 | _iconncconfof_ {<img src="_httpiconncconfof_" alt="_textconf_" title="_textconf_">}
|
---|
72 |
|
---|
73 | _icongcbildof_ {<img src="_httpicongcbildof_" alt="_textbild_" title="_textbild_">}
|
---|
74 | _icongcbildon_ {<img src="_httpicongcbildon_" alt="_textbild_" title="_textbild_">}
|
---|
75 | _iconycbildof_ {<img src="_httpiconycbildof_" alt="_textbild_" title="_textbild_">}
|
---|
76 | _iconycbildon_ {<img src="_httpiconycbildon_" alt="_textbild_" title="_textbild_">}
|
---|
77 | _iconncbildof_ {<img src="_httpiconncbildof_" alt="_textbild_" title="_textbild_">}
|
---|
78 |
|
---|
79 | _icongcviewof_ {<img src="_httpicongcviewof_" alt="_textview_" title="_textview_">}
|
---|
80 | _icongcviewon_ {<img src="_httpicongcviewon_" alt="_textview_" title="_textview_">}
|
---|
81 | _iconycviewof_ {<img src="_httpiconycviewof_" alt="_textview_" title="_textview_">}
|
---|
82 | _iconycviewon_ {<img src="_httpiconycviewon_" alt="_textview_" title="_textview_">}
|
---|
83 | _iconncviewof_ {<img src="_httpiconncviewof_" alt="_textview_" title="_textview_">}
|
---|
84 |
|
---|
85 | _icongcdelof_ {<img src="_httpicongcdelof_" alt="_textdel_" title="_textdel_">}
|
---|
86 | _icongcdelon_ {<img src="_httpicongcdelon_" alt="_textdel_" title="_textdel_">}
|
---|
87 |
|
---|
88 | # these buttons fixed width 77x26 fontsize 13 bgcolor #96c19b
|
---|
89 |
|
---|
90 | _icongcexptof_ {<img src="_httpicongcexptof_" alt="_textexpt_" title="_textexpt_">}
|
---|
91 | _icongcexpton_ {<img src="_httpicongcexpton_" alt="_textexpt_" title="_textexpt_">}
|
---|
92 |
|
---|
93 | #######################################################################
|
---|
94 | # http macros
|
---|
95 |
|
---|
96 | _httpinfo_ {_gwcgi_?e=_compressedoptions_&p=info}
|
---|
97 | _httpsrce_ {_gwcgi_?e=_compressedoptions_&p=srce}
|
---|
98 | _httpconf_ {_gwcgi_?e=_compressedoptions_&p=conf}
|
---|
99 | _httpbild_ {_gwcgi_?e=_compressedoptions_&p=bild}
|
---|
100 | _httpview_ {_gwcgi_?a=p&p=about&c=_cgiargbc1dirname_}
|
---|
101 | _httpdel_ {javascript:do\_delete();}
|
---|
102 | _httpexpt_ {_gwcgi_?e=_compressedoptions_&p=expt}
|
---|
103 |
|
---|
104 |
|
---|
105 | #######################################################################
|
---|
106 | # intro
|
---|
107 | #######################################################################
|
---|
108 |
|
---|
109 | _introscriptextra_ {}
|
---|
110 |
|
---|
111 | _introcontent_ {
|
---|
112 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
113 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
114 |
|
---|
115 | <center>
|
---|
116 | <table width=_pagewidth_>
|
---|
117 | <tr><td>
|
---|
118 | _iconblankbar_
|
---|
119 | <center>
|
---|
120 | <h2>_textcollector_</h2>
|
---|
121 | <p>_textcollectorblurb_
|
---|
122 | </center>
|
---|
123 | <p>_iconblankbar_
|
---|
124 | <p>_textcb1_
|
---|
125 | <p>_textcb2_
|
---|
126 | <ul>
|
---|
127 | <input type=radio name=p value=new checked>
|
---|
128 | _textcnc_
|
---|
129 | <br>
|
---|
130 | <input type=radio name=p value=existing>
|
---|
131 | _textwec_
|
---|
132 | </ul>
|
---|
133 | <p>_iconblankbar_
|
---|
134 | <p>_textcb3_
|
---|
135 | <p>_textcb4_
|
---|
136 |
|
---|
137 | <table><tr><td width=80>_authen:textusername_</td>
|
---|
138 | <td><input type="text" name="un" value="" size=10></td>
|
---|
139 | <td></td></tr>
|
---|
140 | <tr><td>_authen:textpassword_</td>
|
---|
141 | <td><input type="password" name="pw" size=10></td>
|
---|
142 | <td><input type="submit" value="_textsignin_"></td>
|
---|
143 | </tr>
|
---|
144 | </table>
|
---|
145 | <p>_iconblankbar_
|
---|
146 | </td></tr>
|
---|
147 | </table></center>
|
---|
148 |
|
---|
149 | </form>
|
---|
150 | }
|
---|
151 |
|
---|
152 |
|
---|
153 | #######################################################################
|
---|
154 | # existing (Changing an existing collection page)
|
---|
155 | #######################################################################
|
---|
156 |
|
---|
157 | _existingscriptextra_ {
|
---|
158 | function check\_submit (gotopage) \{
|
---|
159 | var form = document.collectorform;
|
---|
160 | if (gotopage == "srce") \{
|
---|
161 | form.bc1esrce.value = "1";
|
---|
162 | \}
|
---|
163 | if (gotopage == "conf") \{
|
---|
164 | form.bc1econf.value = "1";
|
---|
165 | \}
|
---|
166 | form.p.value = gotopage;
|
---|
167 | form.submit();
|
---|
168 | \}
|
---|
169 |
|
---|
170 | function do\_delete () \{
|
---|
171 | var form = document.collectorform;
|
---|
172 | var i = form.bc1dirname.selectedIndex;
|
---|
173 | var del = confirm ("Confirm deletion of " + form.bc1dirname.options[i].value + " collection?");
|
---|
174 | if (del) \{
|
---|
175 | form.bc1dodelete.value = "1";
|
---|
176 | form.submit();
|
---|
177 | \}
|
---|
178 | \}
|
---|
179 | }
|
---|
180 |
|
---|
181 | _changeexisting_ {
|
---|
182 | <p>_textfsc_
|
---|
183 | <br>_fullnamemenu_<br>
|
---|
184 | <p>_textwtc_
|
---|
185 |
|
---|
186 | <table cellspacing=6>
|
---|
187 | <tr><td width=20 align=right valign=bottom>1.</td>
|
---|
188 | <td valign=bottom>_gsjimage_( ,_collector:httpicongcsrceof_,_collector:httpicongcsrceon_,srce,_collector:textsrce_)</td>
|
---|
189 | <td valign=bottom>_textamd_</td></tr>
|
---|
190 | <tr><td align=right valign=bottom>2.</td>
|
---|
191 | <td valign=bottom>_gsjimage_(_,_collector:httpicongcconfof_,_collector:httpicongcconfon_,conf,_collector:textconf_)</td>
|
---|
192 | <td valign=bottom>_textetc_</td></tr>
|
---|
193 | <tr><td align=right valign=bottom>3.</td>
|
---|
194 | <td valign=bottom>_gsimage_(_collector:httpdel_,_collector:httpicongcdelof_,_collector:httpicongcdelon_,del,_collector:textdel_)</td>
|
---|
195 | <td valign=bottom>_textdtc_</td></tr>
|
---|
196 | <tr><td align=right valign=bottom>4.</td>
|
---|
197 | <td valign=bottom>_gsjimage_( ,_collector:httpicongcexptof_,_collector:httpicongcexpton_,expt,_collector:textexpt_)</td>
|
---|
198 | <td valign=bottom>_textetcfcd_</td></tr>
|
---|
199 | </table>
|
---|
200 | }
|
---|
201 |
|
---|
202 | _existingcontent_ {
|
---|
203 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
204 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
205 | <input type=hidden name="p" value="_cgiargp_">
|
---|
206 | <input type=hidden name="bc1dodelete" value="0">
|
---|
207 | <input type=hidden name="bc1esrce" value="0">
|
---|
208 | <input type=hidden name="bc1econf" value="0">
|
---|
209 | <center>
|
---|
210 | <table width=_pagewidth_>
|
---|
211 | <tr><td>
|
---|
212 | _iconblankbar_
|
---|
213 | <center><h2>_textcaec_</h2></center>
|
---|
214 | _iconblankbar_
|
---|
215 | _If_("_fullnamemenu_" eq "",<p>_textnwec_,_changeexisting_)
|
---|
216 | <p>_iconblankbar_
|
---|
217 | </td></tr>
|
---|
218 | </table></center>
|
---|
219 | </form>
|
---|
220 | }
|
---|
221 |
|
---|
222 |
|
---|
223 | #######################################################################
|
---|
224 | # new (Create a new collection page)
|
---|
225 | #######################################################################
|
---|
226 |
|
---|
227 | _newscriptextra_ {}
|
---|
228 |
|
---|
229 | _newcontent_ {
|
---|
230 | <center>
|
---|
231 | <table width=_pagewidth_>
|
---|
232 | <tr><td>
|
---|
233 | _iconblankbar_
|
---|
234 | <center><h2>_textcianc_</h2></center>
|
---|
235 | _iconblankbar_
|
---|
236 |
|
---|
237 | <p>_texttsosn_
|
---|
238 | <table cellspacing=6>
|
---|
239 | <tr><td width=20 align=right valign=bottom>1.</td>
|
---|
240 | <td valign=bottom>_iconncinfoof_</td>
|
---|
241 | <td valign=bottom>_textsin_</td></tr>
|
---|
242 | <tr><td align=right valign=bottom>2.</td>
|
---|
243 | <td valign=bottom>_iconncsrceof_</td>
|
---|
244 | <td valign=bottom>_textswts_</td></tr>
|
---|
245 | <tr><td align=right valign=bottom>3.</td>
|
---|
246 | <td valign=bottom>_iconncconfof_</td>
|
---|
247 | <td valign=bottom>_textatco_</td></tr>
|
---|
248 | <tr><td align=right valign=bottom>4.</td>
|
---|
249 | <td valign=bottom>_iconncbildof_</td>
|
---|
250 | <td valign=bottom>_textbtc_</td></tr>
|
---|
251 | <tr><td align=right valign=bottom>5.</td>
|
---|
252 | <td valign=bottom>_iconncviewof_</td>
|
---|
253 | <td valign=bottom>_textpvyh_</td></tr>
|
---|
254 | </table>
|
---|
255 |
|
---|
256 | <p>_texttfsiw_
|
---|
257 | <p>_iconblankbar_
|
---|
258 | <p>_textadab_
|
---|
259 | <p>_textwyar_
|
---|
260 | <p><center>
|
---|
261 | _collectorbar_
|
---|
262 | </center>
|
---|
263 |
|
---|
264 | </td></tr>
|
---|
265 | </table></center>
|
---|
266 | }
|
---|
267 |
|
---|
268 |
|
---|
269 | #######################################################################
|
---|
270 | # info (Collection information page)
|
---|
271 | #######################################################################
|
---|
272 |
|
---|
273 | _infoscriptextra_ {
|
---|
274 | function check\_submit (gotopage) \{
|
---|
275 | var form = document.collectorform;
|
---|
276 | if (form.bc1fullname.value.match(/^\\s*$/))
|
---|
277 | \{
|
---|
278 | alert("_textcnmbs_");
|
---|
279 | form.bc1fullname.focus();
|
---|
280 | return;
|
---|
281 | \}
|
---|
282 | else if (form.bc1contactemail.value.match(/^\\s*$/))
|
---|
283 | \{
|
---|
284 | alert("_texteambs_");
|
---|
285 | form.bc1contactemail.focus();
|
---|
286 | return;
|
---|
287 | \}
|
---|
288 | else if (!form.bc1contactemail.value.match(/^([^@]+)@(.+)$/))
|
---|
289 | \{
|
---|
290 | alert("_textpsea_");
|
---|
291 | form.bc1contactemail.focus();
|
---|
292 | return;
|
---|
293 | \}
|
---|
294 | else if (form.bc1aboutdesc.value.match(/^\\s*$/))
|
---|
295 | \{
|
---|
296 | alert("_textdocmbs_");
|
---|
297 | form.bc1aboutdesc.focus();
|
---|
298 | return;
|
---|
299 | \}
|
---|
300 | form.p.value = gotopage;
|
---|
301 | form.submit();
|
---|
302 | \}
|
---|
303 | }
|
---|
304 |
|
---|
305 | _infocontent_ {
|
---|
306 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
307 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
308 | <input type=hidden name="p" value="_cgiargp_">
|
---|
309 | <input type=hidden name="bc1infochanged" value="0">
|
---|
310 |
|
---|
311 | <center>
|
---|
312 | <table width=_pagewidth_>
|
---|
313 | <tr><td>
|
---|
314 | _iconblankbar_
|
---|
315 | <center>
|
---|
316 | <h2>_textinfo_</h2>
|
---|
317 | </center>
|
---|
318 | <p>_iconblankbar_
|
---|
319 |
|
---|
320 | <p>_textwcanc_
|
---|
321 | <h4>_texttfc_</h4>
|
---|
322 | <input type="text" name="bc1fullname" value="_cgiargbc1fullname_"
|
---|
323 | onChange="document.collectorform.bc1infochanged.value=1;") size=72>
|
---|
324 | <br>_texttctiasp_
|
---|
325 | <h4>_textcea_</h4>
|
---|
326 | <input type="text" name="bc1contactemail" value="_cgiargbc1contactemail_"
|
---|
327 | onChange="document.collectorform.bc1infochanged.value=1;" size=72>
|
---|
328 | <br>
|
---|
329 | _textteas_
|
---|
330 |
|
---|
331 | <h4>_textatc_</h4>
|
---|
332 | <textarea name="bc1aboutdesc" cols=72 rows=6 wrap=physical
|
---|
333 | onChange="document.collectorform.bc1infochanged.value=1;">
|
---|
334 | _cgiargbc1aboutdesc_
|
---|
335 | </textarea>
|
---|
336 | <br>_texttiasd_
|
---|
337 |
|
---|
338 | <p>_iconblankbar_
|
---|
339 |
|
---|
340 | <p>_textypits_
|
---|
341 | <p><center>
|
---|
342 | _collectorbar_
|
---|
343 | </center>
|
---|
344 |
|
---|
345 | </td></tr>
|
---|
346 | </table></center>
|
---|
347 |
|
---|
348 | </form>
|
---|
349 | }
|
---|
350 |
|
---|
351 |
|
---|
352 | #######################################################################
|
---|
353 | # srce (Source data page)
|
---|
354 | #######################################################################
|
---|
355 |
|
---|
356 | # _fullnamemenu is set from within the server. If it's empty there are
|
---|
357 | # no valid collections
|
---|
358 | _fullnamemenu_ {}
|
---|
359 |
|
---|
360 | _srcescriptextra_ {
|
---|
361 | var selectedindex = _selectedindex_;
|
---|
362 |
|
---|
363 | function check\_submit (gotopage) \{
|
---|
364 | var form = document.collectorform;
|
---|
365 | form.p.value = gotopage;
|
---|
366 | form.bc1fromsrce.value = "1";
|
---|
367 | form.submit();
|
---|
368 | \}
|
---|
369 |
|
---|
370 | function menuchange () \{
|
---|
371 | var form = document.collectorform;
|
---|
372 | var warnlist = new Array (_warnindex_);
|
---|
373 |
|
---|
374 | if (warnlist[form.bc1clonecol.selectedIndex] == 1) \{
|
---|
375 | alert ("The collection you are cloning has a non-standard input file\\n" +
|
---|
376 | "format, and/or uses metadata specified in auxiliary files. If your\\n" +
|
---|
377 | "new input lacks this information, some browsing facilities may not\\n" +
|
---|
378 | "work properly.");
|
---|
379 | \}
|
---|
380 |
|
---|
381 | if (form.bc1clonecol.selectedIndex == 0) \{
|
---|
382 | form.bc1clone.value = "0";
|
---|
383 | \} else \{
|
---|
384 | form.bc1clone.value = "1";
|
---|
385 | \}
|
---|
386 |
|
---|
387 | if (form.bc1clonecol.selectedIndex == selectedindex) \{
|
---|
388 | form.bc1clonechanged.value = "0";
|
---|
389 | \} else \{
|
---|
390 | form.bc1clonechanged.value = "1";
|
---|
391 | \}
|
---|
392 | \}
|
---|
393 |
|
---|
394 | function more () \{
|
---|
395 | var form = document.collectorform;
|
---|
396 | form.bc1inputnum.value = parseInt(form.bc1inputnum.value) + 3;
|
---|
397 | form.p.value = "srce";
|
---|
398 | if (!form.action.match(/sources$/)) \{
|
---|
399 | form.action += "#sources";
|
---|
400 | \}
|
---|
401 | form.submit();
|
---|
402 | \}
|
---|
403 | }
|
---|
404 |
|
---|
405 | _srcenew_ {
|
---|
406 | <center>
|
---|
407 | <h2>_textsrce_</h2>
|
---|
408 | </center>
|
---|
409 | <p>_iconblankbar_
|
---|
410 | _If_("_badsources_" eq "1",_srcebadsources_,_srcenewcontent_)
|
---|
411 | }
|
---|
412 |
|
---|
413 | _srcenewcontent_ {
|
---|
414 | _textymbyco_
|
---|
415 | <p>_textbtco_
|
---|
416 | _fullnamemenu_
|
---|
417 | <p>_iconblankbar_
|
---|
418 | }
|
---|
419 |
|
---|
420 | _srceappend_ {
|
---|
421 | <center>
|
---|
422 | <h2>_textand_</h2>
|
---|
423 | </center>
|
---|
424 | <p>_iconblankbar_
|
---|
425 | <h4>_textad_</h4>
|
---|
426 | _texttftysb_
|
---|
427 | }
|
---|
428 |
|
---|
429 | _srcecontent_ {
|
---|
430 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
431 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
432 | <input type=hidden name="p" value="_cgiargp_">
|
---|
433 | <input type=hidden name="bc1fromsrce" value="0">
|
---|
434 | <input type=hidden name="bc1clonechanged" value="0">
|
---|
435 | <input type=hidden name="bc1clone" value="_cgiargbc1clone_">
|
---|
436 | <input type=hidden name="bc1inputnum" value="_cgiargbc1inputnum_">
|
---|
437 |
|
---|
438 | <center>
|
---|
439 | <table width=_pagewidth_>
|
---|
440 | <tr><td>
|
---|
441 | _iconblankbar_
|
---|
442 | _If_("_cgiargbc1esrce_" eq "1",_srceappend_,_srcenew_)
|
---|
443 |
|
---|
444 | <a name=sources>
|
---|
445 | <h4>_textis_</h4>
|
---|
446 | _sourcelist_
|
---|
447 |
|
---|
448 | _textddd1_
|
---|
449 | <p>_iconblankbar_
|
---|
450 | _textddd2_
|
---|
451 | <p><center>
|
---|
452 | _collectorbar_
|
---|
453 | </center>
|
---|
454 |
|
---|
455 | </td></tr>
|
---|
456 | </table></center>
|
---|
457 |
|
---|
458 | </form>
|
---|
459 | }
|
---|
460 |
|
---|
461 |
|
---|
462 | #######################################################################
|
---|
463 | # conf (Configure collection page)
|
---|
464 | #######################################################################
|
---|
465 |
|
---|
466 | _confscriptextra_ {
|
---|
467 | var changed = 0;
|
---|
468 |
|
---|
469 | function check\_submit (gotopage) \{
|
---|
470 | var form = document.collectorform;
|
---|
471 | form.bc1cfgchanged.value = changed;
|
---|
472 | form.p.value = gotopage;
|
---|
473 | form.submit();
|
---|
474 | \}
|
---|
475 |
|
---|
476 | function reset\_button () \{
|
---|
477 | document.collectorform.reset();
|
---|
478 | changed = 0;
|
---|
479 | \}
|
---|
480 | }
|
---|
481 |
|
---|
482 | _confcontent_ {
|
---|
483 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
484 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
485 | <input type=hidden name="p" value="_cgiargp_">
|
---|
486 | <input type=hidden name="bc1cfgchanged" value="_cgiargbc1cfgchanged_">
|
---|
487 |
|
---|
488 | <center>
|
---|
489 | <table width=_pagewidth_>
|
---|
490 | <tr><td>
|
---|
491 | _iconblankbar_
|
---|
492 | <center>
|
---|
493 | <h2>_textconf_</h2>
|
---|
494 | </center>
|
---|
495 | <p>_iconblankbar_
|
---|
496 | _textconf1_
|
---|
497 |
|
---|
498 | <p><textarea name="cfgfile" cols=72 rows=18 wrap=off onChange="changed=1;">
|
---|
499 | _cfgfile_
|
---|
500 | </textarea>
|
---|
501 | <table><tr valign=top>
|
---|
502 | <td><a href="javascript:reset\_button();">_iconstop_</a></td>
|
---|
503 | <td><a href="javascript:reset\_button();">_textreset_</a></td>
|
---|
504 | </tr></table>
|
---|
505 |
|
---|
506 | <p><center>
|
---|
507 | _collectorbar_
|
---|
508 | </center>
|
---|
509 |
|
---|
510 | </td></tr>
|
---|
511 | </table></center>
|
---|
512 |
|
---|
513 | </form>
|
---|
514 | }
|
---|
515 |
|
---|
516 |
|
---|
517 | #######################################################################
|
---|
518 | # bild (main frameset for build page)
|
---|
519 | #######################################################################
|
---|
520 |
|
---|
521 | _bildcontent_ {
|
---|
522 | <html>
|
---|
523 | <head>
|
---|
524 | <script>
|
---|
525 | <!--
|
---|
526 | function check\_submit (gotopage) \{
|
---|
527 | var form = document.collectorform;
|
---|
528 | form.p.value = gotopage;
|
---|
529 | form.submit();
|
---|
530 | \}
|
---|
531 | // -->
|
---|
532 | </script>
|
---|
533 | </head>
|
---|
534 |
|
---|
535 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
536 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
537 | <input type=hidden name="p" value="_cgiargp_">
|
---|
538 |
|
---|
539 | <frameset rows="*,160" border=0>
|
---|
540 | <noframes><body bgcolor="#ffffff">
|
---|
541 | <p>You must have a frame enabled browser to obtain feedback
|
---|
542 | on how the building process is progressing. The collection <i>will</i>
|
---|
543 | continue to build as normal however.
|
---|
544 |
|
---|
545 | <table>
|
---|
546 | <tr valign=center><td>
|
---|
547 | To stop the building process at any time, click here.
|
---|
548 | <br>The collection you are working on will remain intact.
|
---|
549 | </td>
|
---|
550 | <td><input type="submit" value="stop building"></td>
|
---|
551 | </table>
|
---|
552 |
|
---|
553 | </body>
|
---|
554 | </noframes>
|
---|
555 | <frame src="_gwcgi_?e=_compressedoptions_&p=bildframe1">
|
---|
556 | <frame src="_gwcgi_?e=_compressedoptions_&p=bildstatus">
|
---|
557 | </frameset>
|
---|
558 | </html>
|
---|
559 | }
|
---|
560 |
|
---|
561 | #######################################################################
|
---|
562 | # bildframe1
|
---|
563 | #######################################################################
|
---|
564 |
|
---|
565 | # header overridden to allow base target to be set
|
---|
566 | # also no page banner to maximise what we can fit in the frame without scrolling
|
---|
567 | _bildframe1header_ {_cgihead_
|
---|
568 | <html>
|
---|
569 | <head>
|
---|
570 | <base target=_top>
|
---|
571 | <title>_pagetitle_</title>
|
---|
572 | _globalscripts_
|
---|
573 | </head>
|
---|
574 | <body bgcolor="\#ffffff" text="\#000000" link="\#006666"
|
---|
575 | alink="\#cc9900" vlink="\#666633" background="_httpiconchalk_">
|
---|
576 | _startspacer_
|
---|
577 | }
|
---|
578 | _bildframe1header_[v=1] {_cgihead_
|
---|
579 | <html>
|
---|
580 | <head>
|
---|
581 | <base target=_top>
|
---|
582 | <title>_pagetitle_</title>
|
---|
583 | _globalscripts_
|
---|
584 | </head>
|
---|
585 | <body bgcolor="\#ffffff" text="\#000000" link="\#006666"
|
---|
586 | alink="\#cc9900" vlink="\#666633" background="_httpiconchalk_">
|
---|
587 | }
|
---|
588 | _bildframe1scriptextra_ {}
|
---|
589 | _bildframe1content_ {
|
---|
590 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
591 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
592 | <input type=hidden name="p" value="bildcancel">
|
---|
593 |
|
---|
594 | <center>
|
---|
595 | <table width=_pagewidth_>
|
---|
596 | <tr><td>
|
---|
597 | _iconblankbar_
|
---|
598 | <center>
|
---|
599 | <h2>_textbild_</h2>
|
---|
600 | </center>
|
---|
601 | <p>_iconblankbar_
|
---|
602 | <p>
|
---|
603 | _textbild1_
|
---|
604 | <p>
|
---|
605 |
|
---|
606 | <table>
|
---|
607 | <tr valign=center><td>
|
---|
608 | _textbild2_
|
---|
609 | </td>
|
---|
610 | <td><input type="submit" value="_textstopbuild_"></td>
|
---|
611 | </table>
|
---|
612 |
|
---|
613 | <p>
|
---|
614 | _textbild3_
|
---|
615 | </td></tr>
|
---|
616 | </table></center>
|
---|
617 | </form>
|
---|
618 | }
|
---|
619 |
|
---|
620 |
|
---|
621 | #######################################################################
|
---|
622 | # bildcancel
|
---|
623 | #######################################################################
|
---|
624 |
|
---|
625 | _bildcancelscriptextra_ {
|
---|
626 | function check\_submit (gotopage) \{
|
---|
627 | var form = document.collectorform;
|
---|
628 | form.p.value = gotopage;
|
---|
629 | form.submit();
|
---|
630 | \}
|
---|
631 | }
|
---|
632 | _bildcancelcontent_ {
|
---|
633 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
634 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
635 | <input type=hidden name="p" value="_cgiargp_">
|
---|
636 |
|
---|
637 | </form>
|
---|
638 | <center>
|
---|
639 | <table width=_pagewidth_>
|
---|
640 | <tr><td>
|
---|
641 | _iconblankbar_
|
---|
642 | <center>
|
---|
643 | <h2>_textbuildcancelled_</h2>
|
---|
644 | </center>
|
---|
645 | <p>_iconblankbar_
|
---|
646 | <p>
|
---|
647 | _textbildcancel1_
|
---|
648 | <p><center>
|
---|
649 | _collectorbar_
|
---|
650 | </center>
|
---|
651 |
|
---|
652 | </td></tr>
|
---|
653 | </table></center>
|
---|
654 | }
|
---|
655 |
|
---|
656 |
|
---|
657 | #######################################################################
|
---|
658 | # bildstatus
|
---|
659 | #######################################################################
|
---|
660 |
|
---|
661 | # special header for status page
|
---|
662 | _bildstatusheader_ {_cgihead_
|
---|
663 | _htmlhead_(background="_httpiconchalk_" onLoad="initialize();")_startspacer_
|
---|
664 | }
|
---|
665 | _bildstatusheader_[v=1] {_cgihead_
|
---|
666 | _htmlhead_(onLoad="initialize();")
|
---|
667 | }
|
---|
668 |
|
---|
669 | _bildstatusscriptextra_ {
|
---|
670 | var timer = 5;
|
---|
671 | function initialize() \{
|
---|
672 | setTimeout("count_down()",1000);
|
---|
673 | \}
|
---|
674 |
|
---|
675 | function count_down() \{
|
---|
676 | if (timer==0) \{
|
---|
677 | window.status = "";
|
---|
678 | document.collectorform.submit();
|
---|
679 | \} else \{
|
---|
680 | if (timer==1) \{
|
---|
681 | window.status = "_textbsupdate1_";
|
---|
682 | \} else \{
|
---|
683 | window.status = "_textbsupdate2_ "+timer+" _textseconds_";
|
---|
684 | \}
|
---|
685 | timer--;
|
---|
686 | setTimeout("count_down()",1000);
|
---|
687 | \}
|
---|
688 | \}
|
---|
689 | }
|
---|
690 |
|
---|
691 | _bildstatuscontent_ {
|
---|
692 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
693 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
694 |
|
---|
695 | <center>
|
---|
696 | <table width=_pagewidth_>
|
---|
697 | <tr><td>
|
---|
698 | _statusline_
|
---|
699 | </td></tr>
|
---|
700 | </table></center>
|
---|
701 | </form>
|
---|
702 | }
|
---|
703 |
|
---|
704 |
|
---|
705 | #######################################################################
|
---|
706 | # bilddone
|
---|
707 | #######################################################################
|
---|
708 |
|
---|
709 | _bilddoneheader_ {_cgihead_
|
---|
710 | _htmlhead_(background="_httpiconchalk_")_startspacer_
|
---|
711 | }
|
---|
712 | _bilddonescriptextra_ {}
|
---|
713 | _bilddonecontent_ {
|
---|
714 | <center>
|
---|
715 | <table width=_pagewidth_>
|
---|
716 | <tr><td>
|
---|
717 | <p>_textbildsuc_
|
---|
718 |
|
---|
719 | <p>_textviewbildsummary_
|
---|
720 |
|
---|
721 | <p><center>
|
---|
722 | _collectorbar_
|
---|
723 | </center>
|
---|
724 |
|
---|
725 | </td></tr>
|
---|
726 | </table></center>
|
---|
727 | }
|
---|
728 |
|
---|
729 |
|
---|
730 | #######################################################################
|
---|
731 | # bildfail
|
---|
732 | #######################################################################
|
---|
733 |
|
---|
734 | _bildfailheader_ {_cgihead_
|
---|
735 | _htmlhead_(background="_httpiconchalk_")_startspacer_
|
---|
736 | }
|
---|
737 | _bildfailscriptextra_ {
|
---|
738 | function check\_submit (gotopage) \{
|
---|
739 | var form = document.collectorform;
|
---|
740 | form.p.value = gotopage;
|
---|
741 | form.submit();
|
---|
742 | \}
|
---|
743 | }
|
---|
744 | _bildfailcontent_ {
|
---|
745 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
746 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
747 | <input type=hidden name="p" value="_cgiargp_">
|
---|
748 |
|
---|
749 | </form>
|
---|
750 | <center>
|
---|
751 | <table width=_pagewidth_>
|
---|
752 | <tr><td>
|
---|
753 | _textfailmsg_
|
---|
754 | </td></tr>
|
---|
755 | </table></center>
|
---|
756 | }
|
---|
757 |
|
---|
758 | # _textfailmsg_ will be set to one of the following macros from within
|
---|
759 | # the server
|
---|
760 |
|
---|
761 | _textfailmsg1_ {
|
---|
762 | _textfailmsg11_
|
---|
763 | <p><center>
|
---|
764 | _collectorbar_
|
---|
765 | </center>
|
---|
766 | }
|
---|
767 |
|
---|
768 | _textfailmsg6_ {_textfailmsg1_}
|
---|
769 |
|
---|
770 | _textfailmsg2_ {
|
---|
771 | _textfailmsg21_
|
---|
772 | <p>_textblcont_
|
---|
773 | <p>_faillog_
|
---|
774 | <p>_texttryagain_
|
---|
775 | }
|
---|
776 |
|
---|
777 | _textfailmsg3_ {
|
---|
778 | _textfailmsg31_
|
---|
779 | <p>_textblcont_
|
---|
780 | <p>_faillog_
|
---|
781 | <p>_texttryagain_
|
---|
782 | }
|
---|
783 |
|
---|
784 | _textfailmsg4_ {
|
---|
785 | _textfailmsg41_
|
---|
786 | <p>_textblcont_
|
---|
787 | <p>_faillog_
|
---|
788 | }
|
---|
789 |
|
---|
790 | _textfailmsg5_ {_textfailmsg4_}
|
---|
791 |
|
---|
792 | _textfailmsg7_ {
|
---|
793 | _textfailmsg71_
|
---|
794 | <p>_texttryagain_
|
---|
795 | }
|
---|
796 |
|
---|
797 | #######################################################################
|
---|
798 | # Error and message pages
|
---|
799 | #######################################################################
|
---|
800 |
|
---|
801 | _messagehead_ {
|
---|
802 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
803 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
804 |
|
---|
805 | <center>
|
---|
806 | <table width=_pagewidth_>
|
---|
807 | <tr><td>
|
---|
808 | _iconblankbar_
|
---|
809 | }
|
---|
810 |
|
---|
811 | _messagefoot_ {
|
---|
812 | <p>
|
---|
813 | <a href="javascript:document.collectorform.submit();">_textretcoll_</a>
|
---|
814 | <p>_iconblankbar_
|
---|
815 | </td></tr>
|
---|
816 | </table></center>
|
---|
817 | </form>
|
---|
818 | }
|
---|
819 |
|
---|
820 | _messagefootnolink_ {
|
---|
821 | <p>_iconblankbar_
|
---|
822 | </td></tr>
|
---|
823 | </table></center>
|
---|
824 | </form>
|
---|
825 | }
|
---|
826 |
|
---|
827 | _delpermissioncontent_ {
|
---|
828 | _messagehead_
|
---|
829 | <p>
|
---|
830 | _textdelperm_
|
---|
831 | _messagefoot_
|
---|
832 | }
|
---|
833 |
|
---|
834 | _delinvalidcontent_ {
|
---|
835 | _messagehead_
|
---|
836 | <p>
|
---|
837 | _textdelinv_
|
---|
838 | _messagefoot_
|
---|
839 | }
|
---|
840 |
|
---|
841 | _delsuccesscontent_ {
|
---|
842 | _messagehead_
|
---|
843 | <p>
|
---|
844 | _textdelsuc_
|
---|
845 | _messagefoot_
|
---|
846 | }
|
---|
847 |
|
---|
848 | _clonefailcontent_ {
|
---|
849 | _messagehead_
|
---|
850 | <input type=hidden name="bc1clone" value="0">
|
---|
851 | <p>_textclonefail_
|
---|
852 | _messagefoot_
|
---|
853 | }
|
---|
854 |
|
---|
855 | _genericcontent_ {
|
---|
856 | _messagehead_
|
---|
857 | <p>_textcolerr_
|
---|
858 | _messagefoot_
|
---|
859 | }
|
---|
860 |
|
---|
861 | _tmpfailcontent_ {
|
---|
862 | _messagehead_
|
---|
863 | <p>
|
---|
864 | _texttmpfail_
|
---|
865 | _messagefoot_
|
---|
866 | }
|
---|
867 |
|
---|
868 | _mkcolfailcontent_ {
|
---|
869 | _messagehead_
|
---|
870 | <p>_textmkcolfail_
|
---|
871 | _messagefoot_
|
---|
872 | }
|
---|
873 |
|
---|
874 | _nocollectioncontent_ {
|
---|
875 | _messagehead_
|
---|
876 | <p>_textnocontent_
|
---|
877 | <br><a href="_httppagecollector_">_textrestart_</a>
|
---|
878 | <p>
|
---|
879 | _messagefootnolink_
|
---|
880 | }
|
---|
881 |
|
---|
882 | _reloaderrorcontent_ {
|
---|
883 | _messagehead_
|
---|
884 | <p>_textreloaderror_
|
---|
885 | <br><a href="_httppagecollector_">_textrestart_</a>
|
---|
886 | <p>
|
---|
887 | _messagefootnolink_
|
---|
888 | }
|
---|
889 |
|
---|
890 | _exptscriptextra_ {}
|
---|
891 |
|
---|
892 | _exptsuccesscontent_ {
|
---|
893 | _messagehead_
|
---|
894 | <input type=hidden name=p value=existing>
|
---|
895 | <p>_textexptsuc_
|
---|
896 | _messagefoot_
|
---|
897 | }
|
---|
898 |
|
---|
899 | _exptfailcontent_ {
|
---|
900 | _messagehead_
|
---|
901 | <input type=hidden name=p value=existing>
|
---|
902 | _textexptfail_
|
---|
903 | _messagefoot_
|
---|
904 | }
|
---|