source: trunk/gsdl/macros/collect.dm@ 3775

Last change on this file since 3775 was 3775, checked in by sjboddie, 21 years ago

Added "title" attributes to img tags so that modern browsers display
tooltips as intended (previously we relied on the "alt" attribute which
doesn't display tooltips for netscape6/mozilla etc.).

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