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
RevLine 
[1419]1package collector
2
[1449]3_imagethispage_ {<a href="_httppagecollector_">_iconhcolect_</a>}
[1419]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)
[1507]11_gsjimage_ {<a href="javascript:check\_submit('_4_');" onMouseover="roll('_4_',1);" onMouseOut="roll('_4_',0);" target=_top><img
[3775]12name="_4_" src="_2_" onLoad="gbutton(this,'_3_');" border=0 alt="_5_" title="_5_"></a>}
[1507]13_gsjimage_ [v=1] {<a href="javascript:check\_submit('_4_');" target=_top>_5_</a><br>}
[1419]14
[1449]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
[3775]18name="_4_" src="_2_" onLoad="gbutton(this,'_3_');" border=0 alt="_5_" title="_5_"></a>}
[1449]19_gstimage_ [v=1] {<a href="_1_" target="\_top">_5_</a><br>}
[1419]20
[1437]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
[1485]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
[1419]33#######################################################################
34# icons
35
[2407]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>}
[2427]40_iconblank_ {<img src="_httpimg_/blank.gif">}
[2407]41_iconblank_ [v=1] {}
42
43_imagemore_ {<a href="javascript:more()" onMouseover="roll('more',1);" onMouseOut="roll('more',0);"><img
[2777]44name="more" src="_httpimg_/moreof.gif" onLoad="gbutton(this,'_httpimg_/moreon.gif');" border=0 alt="_textmore_"
[3775]45title="_textmore_" align=top></a>}
[2777]46_imagemore_ [v=1] {_textmore_}
[2407]47
[3775]48_iconhcolect_ {<img src="_httpiconhcolect_" alt="_textcollector_" title="_textcollector_" border=0>}
[1419]49_icongreyarrow_ {<img src="_httpimg_/grarrow.gif">}
50_icongreyuparrow_ {<img src="_httpimg_/guarrow.gif">}
51_iconstop_ {<img src="_httpimg_/stop.gif" border=0>}
52
[3775]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_">}
[1419]58
[3775]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_">}
[1419]64
[3775]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_">}
[1419]70
[3775]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_">}
[1419]76
[3775]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_">}
[1419]82
[3775]83_icongcdelof_ {<img src="_httpicongcdelof_" alt="_textdel_" title="_textdel_">}
84_icongcdelon_ {<img src="_httpicongcdelon_" alt="_textdel_" title="_textdel_">}
[1433]85
[1557]86# these buttons fixed width 77x26 fontsize 13 bgcolor #96c19b
87
[3775]88_icongcexptof_ {<img src="_httpicongcexptof_" alt="_textexpt_" title="_textexpt_">}
89_icongcexpton_ {<img src="_httpicongcexpton_" alt="_textexpt_" title="_textexpt_">}
[1557]90
[1419]91#######################################################################
92# http macros
93
[1796]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}
[1485]98_httpview_ {_gwcgi_?a=p&p=about&c=_cgiargbc1dirname_}
[2112]99_httpdel_ {javascript:do\_delete();}
[1796]100_httpexpt_ {_gwcgi_?e=_compressedoptions_&p=expt}
[1419]101
102
103#######################################################################
[1455]104# intro
105#######################################################################
[1419]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>
[2777]118<h2>_textcollector_</h2>
119<p>_textcollectorblurb_
[1419]120</center>
121<p>_iconblankbar_
[2777]122<p>_textcb1_
123<p>_textcb2_
[1419]124<ul>
[1796]125<input type=radio name=p value=new checked>
[2777]126_textcnc_
[1419]127<br>
[1796]128<input type=radio name=p value=existing>
[2777]129_textwec_
[1419]130</ul>
131<p>_iconblankbar_
[2777]132<p>_textcb3_
133<p>_textcb4_
[1419]134
[2777]135<table><tr><td width=80>_authen:textusername_</td>
[1419]136<td><input type="text" name="un" value="" size=10></td>
137<td></td></tr>
[2777]138<tr><td>_authen:textpassword_</td>
[1419]139<td><input type="password" name="pw" size=10></td>
[3083]140<td><input type="submit" value="_textsignin_"></td>
[1419]141</tr>
142</table>
143<p>_iconblankbar_
144</td></tr>
145</table></center>
146
147</form>
148}
149
150
151#######################################################################
[1455]152# existing (Changing an existing collection page)
153#######################################################################
[1433]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 \}
[1796]164 form.p.value = gotopage;
[1433]165 form.submit();
166\}
167
[2112]168function do\_delete () \{
[1433]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_ {
[2777]180<p>_textfsc_
[1433]181<br>_fullnamemenu_<br>
[2777]182<p>_textwtc_
[1433]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>
[2777]187<td valign=bottom>_textamd_</td></tr>
[1433]188<tr><td align=right valign=bottom>2.</td>
189<td valign=bottom>_gsjimage_(_,_collector:httpicongcconfof_,_collector:httpicongcconfon_,conf,_collector:textconf_)</td>
[2777]190<td valign=bottom>_textetc_</td></tr>
[1433]191<tr><td align=right valign=bottom>3.</td>
192<td valign=bottom>_gsimage_(_collector:httpdel_,_collector:httpicongcdelof_,_collector:httpicongcdelon_,del,_collector:textdel_)</td>
[2777]193<td valign=bottom>_textdtc_</td></tr>
[1557]194<tr><td align=right valign=bottom>4.</td>
[2112]195<td valign=bottom>_gsjimage_( ,_collector:httpicongcexptof_,_collector:httpicongcexpton_,expt,_collector:textexpt_)</td>
[2777]196<td valign=bottom>_textetcfcd_</td></tr>
[1433]197</table>
198}
199
200_existingcontent_ {
201<form name="collectorform" method=post action="_gwcgi_">
202<input type=hidden name="e" value="_decodedcompressedoptions_">
[1796]203<input type=hidden name="p" value="_cgiargp_">
[1433]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_
[2777]211<center><h2>_textcaec_</h2></center>
[1433]212_iconblankbar_
[2777]213_If_("_fullnamemenu_" eq "",<p>_textnwec_,_changeexisting_)
[1433]214<p>_iconblankbar_
215</td></tr>
216</table></center>
217</form>
218}
219
[1455]220
[1433]221#######################################################################
[1455]222# new (Create a new collection page)
223#######################################################################
[1419]224
225_newscriptextra_ {}
226
227_newcontent_ {
228<center>
229<table width=_pagewidth_>
230<tr><td>
231_iconblankbar_
[2777]232<center><h2>_textcianc_</h2></center>
[1419]233_iconblankbar_
234
[2777]235<p>_texttsosn_
[1419]236<table cellspacing=6>
237<tr><td width=20 align=right valign=bottom>1.</td>
238 <td valign=bottom>_iconncinfoof_</td>
[2777]239 <td valign=bottom>_textsin_</td></tr>
[1419]240<tr><td align=right valign=bottom>2.</td>
241 <td valign=bottom>_iconncsrceof_</td>
[2777]242 <td valign=bottom>_textswts_</td></tr>
[1419]243<tr><td align=right valign=bottom>3.</td>
244 <td valign=bottom>_iconncconfof_</td>
[2777]245 <td valign=bottom>_textatco_</td></tr>
[1419]246<tr><td align=right valign=bottom>4.</td>
247 <td valign=bottom>_iconncbildof_</td>
[2777]248 <td valign=bottom>_textbtc_</td></tr>
[1419]249<tr><td align=right valign=bottom>5.</td>
250 <td valign=bottom>_iconncviewof_</td>
[2777]251 <td valign=bottom>_textpvyh_</td></tr>
[1419]252</table>
253
[2777]254<p>_texttfsiw_
[1419]255<p>_iconblankbar_
[2777]256<p>_textadab_
257<p>_textwyar_
[1419]258<p><center>
259_collectorbar_
260</center>
261
262</td></tr>
263</table></center>
264}
265
266
267#######################################################################
[1455]268# info (Collection information page)
269#######################################################################
[1419]270
271_infoscriptextra_ {
[1425]272function check\_submit (gotopage) \{
[1419]273 var form = document.collectorform;
274 if (form.bc1fullname.value.match(/^\\s*$/))
275 \{
[2777]276 alert("_textcnmbs_");
[1419]277 form.bc1fullname.focus();
278 return;
279 \}
280 else if (form.bc1contactemail.value.match(/^\\s*$/))
281 \{
[2777]282 alert("_texteambs_");
[1419]283 form.bc1contactemail.focus();
284 return;
285 \}
286 else if (!form.bc1contactemail.value.match(/^([^@]+)@(.+)$/))
287 \{
[2777]288 alert("_textpsea_");
[1419]289 form.bc1contactemail.focus();
290 return;
291 \}
292 else if (form.bc1aboutdesc.value.match(/^\\s*$/))
293 \{
[2777]294 alert("_textdocmbs_");
[1419]295 form.bc1aboutdesc.focus();
296 return;
297 \}
[1796]298 form.p.value = gotopage;
[1419]299 form.submit();
300\}
301}
302
303_infocontent_ {
304<form name="collectorform" method=post action="_gwcgi_">
305<input type=hidden name="e" value="_decodedcompressedoptions_">
[1796]306<input type=hidden name="p" value="_cgiargp_">
[1425]307<input type=hidden name="bc1infochanged" value="0">
[1419]308
309<center>
310<table width=_pagewidth_>
311<tr><td>
312_iconblankbar_
313<center>
[2777]314<h2>_textinfo_</h2>
[1419]315</center>
316<p>_iconblankbar_
317
[2777]318<p>_textwcanc_
319<h4>_texttfc_</h4>
[1425]320<input type="text" name="bc1fullname" value="_cgiargbc1fullname_"
321onChange="document.collectorform.bc1infochanged.value=1;") size=72>
[2777]322<br>_texttctiasp_
323<h4>_textcea_</h4>
[1425]324<input type="text" name="bc1contactemail" value="_cgiargbc1contactemail_"
325onChange="document.collectorform.bc1infochanged.value=1;" size=72>
[1419]326<br>
[2777]327_textteas_
[1419]328
[2777]329<h4>_textatc_</h4>
[1425]330<textarea name="bc1aboutdesc" cols=72 rows=6 wrap=physical
331onChange="document.collectorform.bc1infochanged.value=1;">
332_cgiargbc1aboutdesc_
333</textarea>
[2777]334<br>_texttiasd_
[1419]335
336<p>_iconblankbar_
337
[2777]338<p>_textypits_
[1419]339<p><center>
340_collectorbar_
341</center>
342
343</td></tr>
344</table></center>
345
346</form>
347}
348
349
350#######################################################################
[1455]351# srce (Source data page)
352#######################################################################
[1419]353
354# _fullnamemenu is set from within the server. If it's empty there are
355# no valid collections
356_fullnamemenu_ {}
357
358_srcescriptextra_ {
[2401]359var selectedindex = _selectedindex_;
[1433]360
[1425]361function check\_submit (gotopage) \{
[1419]362 var form = document.collectorform;
[1796]363 form.p.value = gotopage;
[2401]364 form.bc1fromsrce.value = "1";
[1419]365 form.submit();
366\}
[1433]367
[1485]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 \}
[2401]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 \}
[1485]390\}
[2401]391
[2407]392function more () \{
[2401]393 var form = document.collectorform;
[2425]394 form.bc1inputnum.value = parseInt(form.bc1inputnum.value) + 3;
[2401]395 form.p.value = "srce";
[2425]396 if (!form.action.match(/sources$/)) \{
397 form.action += "#sources";
398 \}
[2401]399 form.submit();
400\}
[1419]401}
402
[1433]403_srcenew_ {
[1419]404<center>
[2777]405<h2>_textsrce_</h2>
[1419]406</center>
407<p>_iconblankbar_
[2401]408_If_("_badsources_" eq "1",_srcebadsources_,_srcenewcontent_)
409}
[1419]410
[2401]411_srcenewcontent_ {
[2777]412_textymbyco_
413<p>_textbtco_
[2401]414_fullnamemenu_
415<p>_iconblankbar_
416}
417
[1433]418_srceappend_ {
419<center>
[2777]420<h2>_textand_</h2>
[1433]421</center>
422<p>_iconblankbar_
[2777]423<h4>_textad_</h4>
424_texttftysb_
[1433]425}
426
427_srcecontent_ {
428<form name="collectorform" method=post action="_gwcgi_">
429<input type=hidden name="e" value="_decodedcompressedoptions_">
[1796]430<input type=hidden name="p" value="_cgiargp_">
[2401]431<input type=hidden name="bc1fromsrce" value="0">
[1433]432<input type=hidden name="bc1clonechanged" value="0">
[2401]433<input type=hidden name="bc1clone" value="_cgiargbc1clone_">
[2407]434<input type=hidden name="bc1inputnum" value="_cgiargbc1inputnum_">
[1433]435
436<center>
437<table width=_pagewidth_>
438<tr><td>
439_iconblankbar_
440_If_("_cgiargbc1esrce_" eq "1",_srceappend_,_srcenew_)
441
[2425]442<a name=sources>
[2777]443<h4>_textis_</h4>
[2407]444_sourcelist_
[1419]445
[2777]446_textddd1_
[1419]447<p>_iconblankbar_
[2777]448_textddd2_
[1419]449<p><center>
450_collectorbar_
451</center>
452
453</td></tr>
454</table></center>
455
456</form>
457}
458
[1485]459
[1419]460#######################################################################
[1455]461# conf (Configure collection page)
462#######################################################################
[1419]463
464_confscriptextra_ {
465var changed = 0;
466
[1425]467function check\_submit (gotopage) \{
[1419]468 var form = document.collectorform;
469 form.bc1cfgchanged.value = changed;
[1796]470 form.p.value = gotopage;
[1419]471 form.submit();
472\}
473
[1425]474function reset\_button () \{
[1419]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_">
[1796]483<input type=hidden name="p" value="_cgiargp_">
[1419]484<input type=hidden name="bc1cfgchanged" value="_cgiargbc1cfgchanged_">
485
486<center>
487<table width=_pagewidth_>
488<tr><td>
489_iconblankbar_
490<center>
[2777]491<h2>_textconf_</h2>
[1419]492</center>
493<p>_iconblankbar_
[2777]494_textconf1_
[1419]495
[1796]496<p><textarea name="cfgfile" cols=72 rows=18 wrap=off onChange="changed=1;">
[1419]497_cfgfile_
498</textarea>
499<table><tr valign=top>
[1425]500<td><a href="javascript:reset\_button();">_iconstop_</a></td>
[2777]501<td><a href="javascript:reset\_button();">_textreset_</a></td>
[1419]502</tr></table>
503
504<p><center>
505_collectorbar_
506</center>
507
508</td></tr>
509</table></center>
510
511</form>
512}
513
514
[1425]515#######################################################################
[1455]516# bild (main frameset for build page)
517#######################################################################
[1419]518
[1437]519_bildcontent_ {
[1449]520<html>
[1507]521<head>
522<script>
523<!--
524function check\_submit (gotopage) \{
525 var form = document.collectorform;
[1796]526 form.p.value = gotopage;
[1507]527 form.submit();
528\}
529// -->
530</script>
[2401]531</head>
532
[1507]533<form name="collectorform" method=post action="_gwcgi_">
534<input type=hidden name="e" value="_decodedcompressedoptions_">
[1796]535<input type=hidden name="p" value="_cgiargp_">
[1655]536
[1507]537<frameset rows="*,160" border=0>
[1437]538 <noframes><body bgcolor="#ffffff">
[1485]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
[1437]551 </body>
552 </noframes>
[1796]553 <frame src="_gwcgi_?e=_compressedoptions_&p=bildframe1">
554 <frame src="_gwcgi_?e=_compressedoptions_&p=bildstatus">
[1437]555</frameset>
[1449]556</html>
[1425]557}
558
[1455]559#######################################################################
560# bildframe1
561#######################################################################
562
563# header overridden to allow base target to be set
[1507]564# also no page banner to maximise what we can fit in the frame without scrolling
[1455]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_">
[1507]574_startspacer_
[1455]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}
[1507]586_bildframe1scriptextra_ {}
[1437]587_bildframe1content_ {
[1455]588<form name="collectorform" method=post action="_gwcgi_">
589<input type=hidden name="e" value="_decodedcompressedoptions_">
[1796]590<input type=hidden name="p" value="bildcancel">
[1655]591
[1425]592<center>
593<table width=_pagewidth_>
594<tr><td>
595_iconblankbar_
596<center>
[2777]597<h2>_textbild_</h2>
[1425]598</center>
599<p>_iconblankbar_
[1437]600<p>
[2777]601_textbild1_
[1455]602<p>
[1485]603
604<table>
605<tr valign=center><td>
[2777]606_textbild2_
[1485]607</td>
[2777]608<td><input type="submit" value="_textstopbuild_"></td>
[1485]609</table>
610
[1455]611<p>
[2777]612_textbild3_
[1437]613</td></tr>
614</table></center>
[1455]615</form>
[1437]616}
[1425]617
[1455]618
619#######################################################################
620# bildcancel
621#######################################################################
622
623_bildcancelscriptextra_ {
624function check\_submit (gotopage) \{
625 var form = document.collectorform;
[1796]626 form.p.value = gotopage;
[1455]627 form.submit();
628\}
629}
630_bildcancelcontent_ {
631<form name="collectorform" method=post action="_gwcgi_">
632<input type=hidden name="e" value="_decodedcompressedoptions_">
[1796]633<input type=hidden name="p" value="_cgiargp_">
[1655]634
[1507]635</form>
[1455]636<center>
637<table width=_pagewidth_>
638<tr><td>
639_iconblankbar_
640<center>
[2777]641<h2>_textbuildcancelled_</h2>
[1455]642</center>
643<p>_iconblankbar_
644<p>
[2777]645_textbildcancel1_
[1455]646<p><center>
647_collectorbar_
648</center>
649
650</td></tr>
651</table></center>
652}
653
654
655#######################################################################
656# bildstatus
657#######################################################################
658
[1438]659# special header for status page
660_bildstatusheader_ {_cgihead_
[2559]661_htmlhead_(background="_httpiconchalk_" onLoad="initialize();")_startspacer_
[1438]662}
663_bildstatusheader_[v=1] {_cgihead_
[2559]664_htmlhead_(onLoad="initialize();")
[1438]665}
666
667_bildstatusscriptextra_ {
668var timer = 5;
669function initialize() \{
670 setTimeout("count_down()",1000);
671\}
672
673function count_down() \{
674 if (timer==0) \{
[1476]675 window.status = "";
[1438]676 document.collectorform.submit();
677 \} else \{
[2726]678 if (timer==1) \{
[2777]679 window.status = "_textbsupdate1_";
[2726]680 \} else \{
[2777]681 window.status = "_textbsupdate2_ "+timer+" _textseconds_";
[2726]682 \}
[1438]683 timer--;
684 setTimeout("count_down()",1000);
685 \}
686\}
687}
688
[1437]689_bildstatuscontent_ {
[1438]690<form name="collectorform" method=post action="_gwcgi_">
691<input type=hidden name="e" value="_decodedcompressedoptions_">
[1655]692
[1437]693<center>
694<table width=_pagewidth_>
695<tr><td>
696_statusline_
[1425]697</td></tr>
698</table></center>
[1438]699</form>
[1425]700}
701
[1455]702
703#######################################################################
704# bilddone
705#######################################################################
706
[1449]707_bilddoneheader_ {_cgihead_
708_htmlhead_(background="_httpiconchalk_")_startspacer_
709}
710_bilddonescriptextra_ {}
711_bilddonecontent_ {
712<center>
713<table width=_pagewidth_>
714<tr><td>
[2777]715<p>_textbildsuc_
[1449]716
[2785]717<p>_textviewbildsummary_
718
[1449]719<p><center>
720_collectorbar_
721</center>
722
723</td></tr>
724</table></center>
725}
726
[1455]727
728#######################################################################
729# bildfail
730#######################################################################
731
[1449]732_bildfailheader_ {_cgihead_
733_htmlhead_(background="_httpiconchalk_")_startspacer_
734}
[1507]735_bildfailscriptextra_ {
736function check\_submit (gotopage) \{
737 var form = document.collectorform;
[1796]738 form.p.value = gotopage;
[1507]739 form.submit();
740\}
741}
[1449]742_bildfailcontent_ {
743<form name="collectorform" method=post action="_gwcgi_">
744<input type=hidden name="e" value="_decodedcompressedoptions_">
[1796]745<input type=hidden name="p" value="_cgiargp_">
[1655]746
[1507]747</form>
[1449]748<center>
749<table width=_pagewidth_>
750<tr><td>
[2774]751_textfailmsg_
752</td></tr>
753</table></center>
754}
[1507]755
[2774]756# _textfailmsg_ will be set to one of the following macros from within
757# the server
758
759_textfailmsg1_ {
[2777]760_textfailmsg11_
[1507]761<p><center>
762_collectorbar_
763</center>
[2774]764}
[1507]765
[2774]766_textfailmsg6_ {_textfailmsg1_}
767
768_textfailmsg2_ {
[2777]769_textfailmsg21_
770<p>_textblcont_
[2774]771<p>_faillog_
[2777]772<p>_texttryagain_
[1449]773}
774
[2774]775_textfailmsg3_ {
[2777]776_textfailmsg31_
777<p>_textblcont_
[2774]778<p>_faillog_
[2777]779<p>_texttryagain_
[2774]780}
[1455]781
[2774]782_textfailmsg4_ {
[2777]783_textfailmsg41_
784<p>_textblcont_
[2774]785<p>_faillog_
786}
787
788_textfailmsg5_ {_textfailmsg4_}
789
790_textfailmsg7_ {
[2777]791_textfailmsg71_
792<p>_texttryagain_
[2774]793}
794
[1419]795#######################################################################
[1433]796# Error and message pages
[1419]797#######################################################################
798
[1433]799_messagehead_ {
800<form name="collectorform" method=post action="_gwcgi_">
801<input type=hidden name="e" value="_decodedcompressedoptions_">
[1437]802
803<center>
804<table width=_pagewidth_>
805<tr><td>
[1433]806_iconblankbar_
807}
808
809_messagefoot_ {
810<p>
[2777]811<a href="javascript:document.collectorform.submit();">_textretcoll_</a>
[1437]812<p>_iconblankbar_
813</td></tr>
814</table></center>
[1433]815</form>
816}
817
[1455]818_messagefootnolink_ {
819<p>_iconblankbar_
820</td></tr>
821</table></center>
822</form>
[1419]823}
[1433]824
825_delpermissioncontent_ {
826_messagehead_
827<p>
[2777]828_textdelperm_
[1433]829_messagefoot_
830}
831
832_delinvalidcontent_ {
833_messagehead_
834<p>
[2777]835_textdelinv_
[1433]836_messagefoot_
837}
838
839_delsuccesscontent_ {
840_messagehead_
841<p>
[2777]842_textdelsuc_
[1433]843_messagefoot_
844}
845
846_clonefailcontent_ {
847_messagehead_
848<input type=hidden name="bc1clone" value="0">
[2777]849<p>_textclonefail_
[1433]850_messagefoot_
851}
[1455]852
853_genericcontent_ {
854_messagehead_
[2777]855<p>_textcolerr_
[1455]856_messagefoot_
857}
858
859_tmpfailcontent_ {
860_messagehead_
861<p>
[2777]862_texttmpfail_
[1455]863_messagefoot_
864}
865
866_mkcolfailcontent_ {
867_messagehead_
[2777]868<p>_textmkcolfail_
[1455]869_messagefoot_
870}
871
872_nocollectioncontent_ {
873_messagehead_
[2777]874<p>_textnocontent_
875<br><a href="_httppagecollector_">_textrestart_</a>
[1455]876<p>
877_messagefootnolink_
878}
879
880_reloaderrorcontent_ {
881_messagehead_
[2777]882<p>_textreloaderror_
883<br><a href="_httppagecollector_">_textrestart_</a>
[1455]884<p>
885_messagefootnolink_
886}
887
[2851]888_exptscriptextra_ {}
889
[2112]890_exptsuccesscontent_ {
891_messagehead_
892<input type=hidden name=p value=existing>
[2777]893<p>_textexptsuc_
[2112]894_messagefoot_
895}
896
897_exptfailcontent_ {
898_messagehead_
899<input type=hidden name=p value=existing>
[2777]900_textexptfail_
[2112]901_messagefoot_
902}
Note: See TracBrowser for help on using the repository browser.