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

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