source: main/tags/2.51-jcdl/gsdl/macros/collect.dm@ 25200

Last change on this file since 25200 was 7343, checked in by jrm21, 20 years ago

added a comment at the start of all macro files about using UTF-8

  • Property svn:keywords set to Author Date Id Revision
File size: 22.1 KB
Line 
1# this file must be UTF-8 encoded
2
3package 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
14name="_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
20name="_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
46name="more" src="_httpimg_/moreof.gif" onLoad="gbutton(this,'_httpimg_/moreon.gif');" border=0 alt="_textmore_"
47title="_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_ {
158function 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
170function 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_ {
274function 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_"
323onChange="document.collectorform.bc1infochanged.value=1;") size=72>
324<br>_texttctiasp_
325<h4>_textcea_</h4>
326<input type="text" name="bc1contactemail" value="_cgiargbc1contactemail_"
327onChange="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
333onChange="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_ {
361var selectedindex = _selectedindex_;
362
363function check\_submit (gotopage) \{
364 var form = document.collectorform;
365 form.p.value = gotopage;
366 form.bc1fromsrce.value = "1";
367 form.submit();
368\}
369
370function 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
394function 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_ {
467var changed = 0;
468
469function check\_submit (gotopage) \{
470 var form = document.collectorform;
471 form.bc1cfgchanged.value = changed;
472 form.p.value = gotopage;
473 form.submit();
474\}
475
476function 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<!--
526function 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_ {
626function 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_ {
670var timer = 5;
671function initialize() \{
672 setTimeout("count_down()",1000);
673\}
674
675function 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_ {
738function 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}
Note: See TracBrowser for help on using the repository browser.