source: trunk/gsdl/macros/build.dm@ 1129

Last change on this file since 1129 was 1129, checked in by sjboddie, 24 years ago

tidied up status pages and end-user collection building

  • Property svn:keywords set to Author Date Id Revision
File size: 43.3 KB
Line 
1package build
2
3_header_ {
4<html>
5<head>
6<title>_1_</title>
7</head>
8<body bgcolor="#ffffff" text="#000000" link="#006666"
9 alink="#cc9900" vlink="#666633">
10<table width=100%>
11 <tr>
12 <td><img src="_httpimg_/spacer.gif" width=2 height=77></td>
13 <td>_iconblankbar_
14 <center><h2>_1_</h2></center>
15 _iconblankbar_</td>
16 </tr>
17</table>
18}
19
20
21_footer_ {
22_iconblankbar_
23
24</body>
25</html>
26}
27
28
29_frameheader_ {
30<html>
31<head>
32<title>_1_</title>
33</head>
34}
35
36_framefooter_ {
37</html>
38}
39
40_wizardfooter_ {
41
42</body>
43</html>
44}
45
46_httpiconstop_ {_httpimg_/stop.gif}
47
48_iconwizardnext_{<img src="_httpiconmore_" align=absbottom
49width=_widthmore_ height=_heightmore_ border=0 alt="_texticonwizardnext_">}
50_iconwizardnext_[v=1] {_texticonwizardnext_}
51
52_iconwizardcurr_{<img src="_httpiconmore_" align=absbottom
53width=_widthmore_ height=_heightmore_ border=0 alt="_texticonwizardcurr_">}
54
55_iconwizardprev_{<img src="_httpiconless_" align=absbottom
56width=_widthless_ height=_heightless_ border=0 alt="_texticonwizardprev_">}
57_iconwizardprev_[v=1] {_texticonwizardprev_}
58
59_iconwizardreset_{<img src="_httpiconstop_" align=absbottom
60width=_widthstop_ height=_heightstop_ border=0 alt="_texticonwizardreset_">}
61_iconwizardreset_[v=1] {_texticonwizardreset_}
62
63_texticonwizardnext_ {to next page}
64_texticonwizardcurr_ {this page}
65_texticonwizardprev_ {to previous page}
66_texticonwizardreset_ {reset page}
67
68
69# new collection
70_bcargfullname_ {}
71_bcargcontactemail_ {}
72_bcargaboutdesc_ {}
73_bcargsrcformat_ {TEXT}
74_bcargfileorurl_ {file}
75_bcarginputdir_ {}
76_bcargcopydir_ {yes}
77_bcargingsdlarea_ {no}
78_bcargacronyms_ {off}
79_bcargrefine_ {}
80
81# delete collection
82_bcargfullnameindex_ {0}
83_bcargdeletearea_ {archives}
84_bcargdirname_ {}
85
86# build collection
87_bcargcopydata_ {false}
88_bcargdoimport_ {true}
89_bcargdobuild_ {true}
90
91
92_commonjavascript_ {
93 function simulate_get_action(args)
94 \{
95 var form = document.form;
96 args += "&bc1fullname=" + escape(form.bc1fullname.value);
97 args += "&bc1contactemail=" + escape(form.bc1contactemail.value);
98 args += "&bc1aboutdesc=" + escape(form.bc1aboutdesc.value);
99 args += "&bc1srcformat=" + escape(form.bc1srcformat.value);
100 args += "&bc1fileorurl=" + escape(form.bc1fileorurl.value);
101 args += "&bc1inputdir=" + escape(form.bc1inputdir.value);
102 args += "&bc1copydir=" + escape(form.bc1copydir.value);
103 args += "&bc1ingsdlarea=" + escape(form.bc1ingsdlarea.value);
104 args += "&bc1acronyms=" + escape(form.bc1acronyms.value);
105 args += "&bc1refine=" + escape(form.bc1refine.value);
106 args += "&wizard=" + escape(form.wizard.value);
107
108 document.location = args;
109 \}
110
111 function prev_page(new_wizard) \{
112 var form = document.form;
113 form.wizard.value = new_wizard;
114
115 simulate_get_action("_httpbuild_&bca=newcol");
116 \}
117}
118
119_wizardbarforu_ {
120 _wizardlink_(:archiveopts,Archive options)
121}
122
123_wizardlink_ {
124<script language="javascript">
125 <!-- Hide code from non-js browsers
126 var bgcol = "";
127 var fgcol = "";
128 var text = "";
129
130 var wizard = "_wizard_";
131 if (wizard.match(/_1_/)) \{
132
133 if (wizard.match(/_1_$/)) \{
134 // change here to give current page different background
135 // to previous pages
136 bgcol = "bgcolor=\\"#cece00\\"";
137 fgcol = "color=\\"#006666\\"";
138 text = "_2_";
139 \}
140 else \{
141 bgcol = "bgcolor=\\"#ce9c00\\"";
142 fgcol = "color=\\"#006666\\"";
143 var page = "_1_";
144 var break_pt = wizard.indexOf(page) + page.length;
145 var wizard_direct = wizard.substring(0,break_pt);
146 text = "<a href=javascript:prev_page(\\""+wizard_direct+"\\")>_2_</a>";
147 \}
148
149
150 \}
151 else \{
152 fgcol = "color=\\"#006666\\"";
153 text = "_2_";
154 \}
155
156
157 document.writeln("<td "+bgcol+">");
158 document.writeln(" <font "+fgcol+">");
159 document.writeln(" "+text);
160 document.writeln(" </font>");
161 document.writeln("</td>");
162
163 // end hiding -->
164</script>
165}
166
167_wizardbar_ {
168<center>
169<table border=0 cellspacing=1 cellpadding=3>
170<tr bgcolor="#90c098">
171 <td bgcolor="#ffffff">
172 <font color="#000000">
173 Wizard page:
174 </font>
175 </td>
176 <td bgcolor="#ce9c00">
177 <font color="#006666">
178 <a href="_httpbuild_&bca=newcol">Reset</a>
179 </font>
180 </td>
181 _wizardlink_(textinfo,Textual information)
182 _wizardlink_(:source,Source data)
183 _If_("_bcargfileorurl_" eq "file", _wizardbarforu_)
184 _wizardlink_(:metadata,Metadata)
185 <td>
186 <font color="#006666">
187 Save
188 </font>
189 </td>
190</tr>
191</table>
192</font>
193</center>
194}
195
196#---------------------------------------------------------------------------#
197# Create a new collection
198#---------------------------------------------------------------------------#
199
200_headmesstextinfo_ { New collection wizard: textual information }
201
202
203_contenttextinfo_ {
204
205
206<script language="javascript">
207
208 <!-- Hide code from non-js browsers
209 _commonjavascript_
210
211 function next_page() \{
212 _fullnamelist_
213 var form = document.form;
214
215 // check args
216 if (form.bc1fullname.value.match(/^\\s*$/))
217 \{
218 alert("Collection name needs to be specified");
219 form.bc1fullname.focus();
220 return;
221 \}
222 else if (form.bc1contactemail.value.match(/^\\s*$/))
223 \{
224 var mess = "Email address of the person responsible";
225 mess += " for the collection needs";
226 alert(mess);
227 form.bc1contactemail.focus();
228 return;
229 \}
230 else if (!form.bc1contactemail.value.match(/^([^@]+)@(.+)$/))
231 \{
232 alert("Please specify email address in the form: usename@domain");
233 form.bc1contactemail.focus();
234 return;
235 \}
236 else if (form.bc1aboutdesc.value.match(/^\\s*$/))
237 \{
238 alert("Description for about this collection needs to be specified");
239 form.bc1aboutdesc.focus();
240 return;
241 \}
242 var i;
243 for (i=0; i<fullnamelist.length; i++)
244 \{
245 var j;
246 for (j=0; j<fullnamelist[i].length; j++)
247 \{
248 var fn_re = "/"+fullnamelist[i][j]+"/i";
249 if (form.bc1fullname.value == fullnamelist[i][j])
250 \{
251 alert("Collection title already exists");
252 form.bc1fullname.focus();
253 return;
254 \}
255 \}
256 \}
257
258 // if control reached here then args check out
259 form.wizard.value += ":source";
260
261 simulate_get_action("_httpbuild_&bca=newcol");
262 \}
263 // end hiding -->
264
265
266</script>
267
268<center><table><tr><td>
269<form name="form" method="post" action="_gwcgi_" >
270<input type=hidden name="gsdlhome" value="_gsdlhome_">
271<input type=hidden name="a" value="bc">
272<input type=hidden name="bc" value="newcol">
273_hiddenargs_
274
275<input type=hidden name="bc1srcformat" value="_bcargsrcformat_">
276<input type=hidden name="bc1fileorurl" value="_bcargfileorurl_">
277<input type=hidden name="bc1inputdir" value="_bcarginputdir_">
278<input type=hidden name="bc1copydir" value="_bcargcopydir_">
279<input type=hidden name="bc1ingsdlarea" value="_bcargingsdlarea_">
280<input type=hidden name="bc1acronyms" value="_bcargacronyms_">
281<input type=hidden name="bc1refine" value="_bcargrefine_">
282
283<table border=0>
284<tr>
285 <td colspan=4>
286 To create a new collection you are required to enter some preliminary
287 information about the source data.
288 This process is structured as a series of Web pages, overseen by the
289 new-collection &quot;wizard.&quot The wizard bar at the bottom of the page
290 shows you the sequence of pages to be completed. You can return to
291 a previous page by clicking on the corresponding item in the wizard bar.
292 </td>
293</tr>
294<tr>
295 <td>Title for collection:</td>
296 <td colspan=3>
297 <input type="text" name="bc1fullname"
298 value="_bcargfullname_") size=50>
299 </td>
300<tr>
301 <td></td>
302 <td colspan=3>
303 <font color="#909090">The collection title is a text phrase that encapsulates
304 the content of the collection and is used throughout the digital library.
305 Example titles include &quot;Computer Science Technical Reports&quot; and
306 &quot;Humanity Development Library.&quot;
307 </font>
308 </td>
309</tr>
310
311<tr>
312 <td>Contact email address:</td>
313 <td colspan=3>
314 <input type="text" name="bc1contactemail"
315 value="_bcargcontactemail_" size=50>
316 </td>
317</tr>
318<tr>
319 <td></td>
320 <td colspan=3>
321 <font color="#909090">This email address specifies the first point of
322 contact for the collection. If the collection software detects a problem,
323 then a diagnostic report is sent to this address. Enter an email address
324 in its full form: <tt>name@domain</tt>.
325 </font>
326 </td>
327</tr>
328
329<tr>
330 <td>About this collection:</td>
331
332 <td colspan=3>
333 <textarea name="bc1aboutdesc" cols=50 rows=6
334 wrap=physical>_bcargaboutdesc_</textarea>
335 </td>
336</tr>
337<tr>
338 <td></td>
339 <td colspan=3>
340 <font color="#909090">
341 A statement describing the principles governing what is included in the collection.
342 </font>
343 </td>
344</tr>
345
346<tr><td><p>&nbsp;</td></tr>
347<tr><td colspan=4 align=middle>
348 <a href="javascript:next_page();">Next page_iconwizardnext_</a>
349</table>
350</form>
351</td></tr></table></center>
352
353_wizardbar_
354}
355
356
357#---------------------------------------------------------------------------#
358
359_headmesssource_ { New collection wizard: source data }
360
361_fileortextinput_ {
362 _If_("_bcarginputdir_" eq "",
363 <input type="file" name="bc1inputdir" size=42>,
364 <input type="text" name="bc1inputdir" value="_bcarginputdir_" size=50>)
365}
366
367_contentsource_ {
368
369
370<script language="javascript">
371
372 <!-- Hide code from non-js browsers
373 _commonjavascript_
374
375 function next_page() \{
376 _fullnamelist_
377 var form = document.form;
378 if (form.bc1inputdir.value.match(/^\\s*$/))
379 \{
380 if (form.bc1fileorurl.value == "file")
381 \{
382 alert("Directory for source files needs to be specified");
383 \}
384 else
385 \{
386 alert("At least one URL for source files needs to be specified");
387 \}
388
389 form.bc1inputdir.focus();
390 return;
391 \}
392
393 // work out the next newcol "wizard" page
394 if (form.bc1fileorurl.value == "file")
395 \{
396 var prefix_re
397 = new RegExp(form.gsdlhome.value + "/collect/([^/]+)/(import|archive)");
398
399 if (form.bc1inputdir.value.match(prefix_re))
400 \{
401 form.bc1ingsdlarea.value = "yes";
402 if (form.bc1inputdir.value != "_bcarginputdir_")
403 \{
404 // input dir has been changed
405 form.bc1copydir.value = "no";
406 \}
407 \}
408 else
409 \{
410 form.bc1ingsdlarea.value = "no";
411 \}
412 form.wizard.value += ":archiveopts";
413 \}
414 else
415 \{
416 form.bc1ingsdlarea.value = "no";
417 form.bc1copydir.value = "yes";
418 form.wizard.value += ":metadata";
419 \}
420
421 simulate_get_action("_httpbuild_&bca=newcol");
422 \}
423
424
425 function srcformat_changed() \{
426 var form = document.form;
427 var sf_index = form.bc1srcformatmenu.selectedIndex;
428 var sf_choice = form.bc1srcformatmenu.options[sf_index].value;
429 form.bc1srcformat.value = sf_choice;
430 \}
431
432 function datasource_changed() \{
433 var form = document.form;
434 var fou_index = form.bc1fileorurlmenu.selectedIndex;
435 var fou_choice = form.bc1fileorurlmenu.options[fou_index].value;
436 form.bc1fileorurl.value = fou_choice;
437
438 var inputdir = form.bc1inputdir.value;
439 if (fou_choice == "url")
440 \{
441 if (!inputdir.match(/^file:/i))
442 \{
443 form.bc1inputdir.value = "file:"+inputdir;
444 \}
445 \}
446 else
447 \{
448 var first_line_index = inputdir.indexOf("\\n",0);
449 var first_line
450 = (first_line_index>0) ? inputdir.substring(0,first_line_index-1) : inputdir;
451 if (first_line.match(/^file:/))
452 \{
453 var file = first_line.substring(5,inputdir.length);
454 form.bc1inputdir.value = file;
455 \}
456 \}
457 simulate_get_action("_httpbuild_&bca=newcol");
458 \}
459 // end hiding -->
460
461
462</script>
463
464<center><table><tr><td>
465<form name="form" method="post" action="_gwcgi_">
466<input type=hidden name="gsdlhome" value="_gsdlhome_">
467<input type=hidden name="a" value="bc">
468<input type=hidden name="bc" value="newcol">
469_hiddenargs_
470
471<input type=hidden name="bc1fullname" value="_bcargfullname_")>
472<input type=hidden name="bc1contactemail" value="_bcargcontactemail_")>
473<input type=hidden name="bc1aboutdesc" value="_bcargaboutdesc_")>
474<input type=hidden name="bc1copydir" value="_bcargcopydir_">
475<input type=hidden name="bc1ingsdlarea" value="_bcargingsdlarea_">
476<input type=hidden name="bc1acronyms" value="_bcargacronyms_">
477<input type=hidden name="bc1refine" value="_bcargrefine_">
478
479<table border=0>
480<tr>
481 <td>Type of data:</td>
482 <td>
483 <input type="hidden" name="bc1srcformat" value="_bcargsrcformat_">
484 <select name="bc1srcformatmenu" onChange=srcformat_changed()>
485 <option value="TEXT" _If_("_bcargsrcformat_" eq "TEXT",selected)>Plain TEXT&nbsp;&nbsp;(.txt)
486 <option value="HTML" _If_("_bcargsrcformat_" eq "HTML",selected)>HTML&nbsp;&nbsp;(.htm, html)
487 <option value="EMAIL" _If_("_bcargsrcformat_" eq "EMAIL",selected)>E-mail&nbsp;&nbsp;(.email)
488 <option value="BRS" _If_("_bcargsrcformat_" eq "BRS",selected)>BBC format&nbsp;&nbsp;(.brs)
489 </select>
490 </td>
491</tr>
492<tr>
493 <td></td>
494 <td colspan=3>
495 <font color="#909090">This pull-down menu specifies the type of file format the
496 source data is in: TEXT for plain text documents, HTML for Web pages and so for.
497 Also listed in the pull-down menu are the permissible file names extensions (for
498 instance <tt>.htm</tt> and <tt>.html</tt>) for the source files (Web pages
499 in this case).
500 </font>
501 </td>
502</tr>
503<tr>
504 <td>Source location:</td>
505 <td>
506 <input type="hidden" name="bc1fileorurl" value="_bcargfileorurl_">
507 <select name="bc1fileorurlmenu" onChange=datasource_changed()>
508 <option value="file" _If_("_bcargfileorurl_" eq "file",selected)>Local disk
509 <option value="url" _If_("_bcargfileorurl_" eq "url",selected)>The Internet
510 </select>
511 </td>
512</tr>
513<tr>
514 <td></td>
515 <td colspan=3>
516 <font color="#909090">
517 The source data used to build a collection can be on either the local disk
518 or externally accessible over the Web. Use this pull-down menu to
519 control this setting. On selecting an item from the menu this page will
520 automatically reconfigure itself so the request for input (below) will be
521 a local directory or a URL as appropriate.
522
523 _If_('"_bcargfileorurl_" eq "url"',
524 <p> When entering a URL it is important to distinguish between a directory
525 and a file. A directory must end with <tt>/</tt>
526 )
527
528 </font>
529 </td>
530</tr>
531
532<tr>
533 <td>
534 _If_('"_bcargfileorurl_" eq "file"',
535 Input directory:,Input URL/URLS)
536 </td>
537
538 <td colspan=3>
539 _If_('"_bcargfileorurl_" eq "file"',
540 _fileortextinput_,
541 <textarea name="bc1inputdir" cols=50 rows=3
542 wrap=physical>_bcarginputdir_</textarea>
543 )
544 </td>
545 </td>
546</tr>
547
548<tr>
549 <td></td>
550 <td colspan=3>
551 <font color="#909090">
552 _If_('"_bcargfileorurl_" eq "file"',
553 The input directory specifies where on the local disk the source data is
554 located.
555 ,
556 Any URL specified here is downloaded and any links within that page that
557 refer to further documents at that site\, contained within the same directory
558 structure are recursively copied. At least one URL needs to be specified.
559 )
560 </font>
561 </td>
562</tr>
563
564<tr><td><p>&nbsp;</td></tr>
565<tr><td colspan=4 align=middle>
566 <a href="javascript:next_page();">Next page_iconwizardnext_</a>
567</table>
568</form>
569</td></tr></table></center>
570
571_wizardbar_
572}
573
574
575
576#---------------------------------------------------------------------------#
577
578_headmessarchiveopts_ { New collection wizard: archive options }
579
580_contentarchiveopts_ {
581
582
583<script language="javascript">
584
585 <!-- Hide code from non-js browsers
586 _commonjavascript_
587
588 function next_page() \{
589 _fullnamelist_
590 var form = document.form;
591
592 form.wizard.value += ":metadata";
593
594 simulate_get_action("_httpbuild_&bca=newcol");
595 \}
596
597
598 function copydir_changed() \{
599 var form = document.form;
600 var cd_index = form.bc1copydirmenu.selectedIndex;
601 var cd_choice = form.bc1copydirmenu.options[cd_index].value;
602 form.bc1copydir.value = cd_choice;
603 \}
604 // end hiding -->
605
606
607</script>
608
609<center><table><tr><td>
610<form name="form" method="post" action="_gwcgi_">
611<input type=hidden name="gsdlhome" value="_gsdlhome_">
612<input type=hidden name="a" value="bc">
613<input type=hidden name="bc" value="newcol">
614_hiddenargs_
615
616<input type=hidden name="bc1fullname" value="_bcargfullname_")>
617<input type=hidden name="bc1contactemail" value="_bcargcontactemail_")>
618<input type=hidden name="bc1aboutdesc" value="_bcargaboutdesc_")>
619<input type=hidden name="bc1srcformat" value="_bcargsrcformat_">
620<input type=hidden name="bc1fileorurl" value="_bcargfileorurl_">
621<input type=hidden name="bc1inputdir" value="_bcarginputdir_">
622<input type=hidden name="bc1ingsdlarea" value="_bcargingsdlarea_">
623<input type=hidden name="bc1acronyms" value="_bcargacronyms_">
624<input type=hidden name="bc1refine" value="_bcargrefine_">
625
626<table border=0>
627<tr>
628
629 <td>Copy data:</td>
630 <td>
631 <input type="hidden" name="bc1copydir" value="_bcargcopydir_">
632 <select name="bc1copydirmenu" onChange=copydir_changed()>
633 <option value="yes" _If_("_bcargcopydir_" eq "yes",selected)>Yes, make a local copy for the digital library
634 <option value="no" _If_("_bcargcopydir_" eq "no",selected)>No, form a link in digital library to source data
635 </select>
636 </td>
637</tr>
638
639<tr>
640 <td></td>
641 <td colspan=3>
642 <font color="#909090">
643 _If_("_bcargingsdlarea_" eq "yes",
644 The input directory <tt>_bcarginputdir_</tt> is internal to the
645 Greenstone collection file area. In this situation the default
646 behaviour is to build the collection directly from this
647 source data. Use the pull-down menu to alter this behaviour.
648 ,
649 The input directory <tt>_bcarginputdir_</tt> is external to the
650 Greenstone collection file area. Use this pull-down menu to
651 control whether or not a copy of the data is made for collection
652 building purposes.
653 )
654 Note, once a collection has been built it
655 is not necessary for the source data to remain in the Greenstone
656 collection area -- the collection can be safely accessed, browsed
657 and searched without this. If you wish, however, to make changes
658 to the collection and then rebuild, the source data must still be available.
659 </font>
660 </td>
661</tr>
662
663<tr><td><p>&nbsp;</td></tr>
664<tr><td colspan=4 align=middle>
665 <a href="javascript:next_page();">Next page_iconwizardnext_</a>
666</table>
667</form>
668</td></tr></table></center>
669
670_wizardbar_
671}
672
673
674#---------------------------------------------------------------------------#
675
676_headmessmetadata_ { New collection wizard: metadata }
677
678_contentmetadata_ {
679
680
681<script language="javascript">
682
683 <!-- Hide code from non-js browsers
684 _commonjavascript_
685
686 function save() \{
687 _fullnamelist_
688 var form = document.form;
689
690 var bc1refine = "";
691 if (form.bc1acronyms == "on") \{
692 bc1refine += "AcronymPlug ";
693 \}
694
695 form.wizard.value += ":definished"; //*****
696
697 var cgi_prefix = "webpage_mkcol.pl";
698 cgi_prefix += "?gsdlhome=" + escape("_gsdlhome_");
699 cgi_prefix += "&httpbuild=" + escape("_httpbuild_");
700 cgi_prefix += "&bc1refine=" + escape(bc1refine);
701
702 simulate_get_action(cgi_prefix);
703 \}
704 // end hiding -->
705
706
707</script>
708
709<center><table><tr><td>
710<form name="form" method="post" action="_gwcgi_">
711<input type=hidden name="gsdlhome" value="_gsdlhome_">
712<input type=hidden name="a" value="bc">
713<input type=hidden name="bc" value="newcol">
714_hiddenargs_
715
716<input type=hidden name="bc1fullname" value="_bcargfullname_")>
717<input type=hidden name="bc1contactemail" value="_bcargcontactemail_")>
718<input type=hidden name="bc1aboutdesc" value="_bcargaboutdesc_")>
719<input type=hidden name="bc1srcformat" value="_bcargsrcformat_">
720<input type=hidden name="bc1fileorurl" value="_bcargfileorurl_">
721<input type=hidden name="bc1inputdir" value="_bcarginputdir_">
722<input type=hidden name="bc1copydir" value="_bcargcopydir_">
723<input type=hidden name="bc1ingsdlarea" value="_bcargingsdlarea_">
724<input type=hidden name="bc1refine" value="_bcargrefine_">
725
726<table border=0>
727<tr>
728 <td>
729 Extract acronyms:
730 </td>
731 <td colspan=3>
732 <input type=hidden name="bc1acronyms" value="_bcargacronyms_">
733 <input type=radio name="bc1acronymsradio" value="on"
734 onClick=document.form.bc1acronyms.value="on"
735 _If_('"_bcargacronyms_" eq "on"', checked)> on
736 &nbsp;&nbsp;&nbsp;&nbsp;
737 <input type=radio name="bc1acronymsradio" value="off"
738 onClick=document.form.bc1acronyms.value="off"
739 _If_('"_bcargacronyms_" eq "off"', checked)> off
740 </td>
741</tr>
742<tr>
743 <td></td>
744 <td colspan=3>
745 <font color="#909090">
746 Switch this option on if you want acronyms in the
747 text extracted as metadata.
748 </font>
749 </td>
750</tr>
751
752<tr><td><p>&nbsp;</td></tr>
753<tr><td colspan=4 align=middle>
754 <a href="javascript:save()">Save_iconwizardnext_</a>
755</table>
756</form>
757</td></tr></table></center>
758
759_wizardbar_
760}
761
762
763#---------------------------------------------------------------------------#
764
765_headmessdefinished_ { New collection wizard: data entry finished }
766
767_contentdefinished_ {
768
769
770<script language="javascript">
771
772 <!-- Hide code from non-js browsers
773 _commonjavascript_
774 //********** page never used!!!
775 // end hiding -->
776
777
778</script>
779
780<center><table><tr><td>
781<form name="form" method="post" action="_gwcgi_">
782<input type=hidden name="gsdlhome" value="_gsdlhome_">
783<input type=hidden name="a" value="bc">
784<input type=hidden name="bc" value="newcol">
785_hiddenargs_
786
787<input type=hidden name="bc1fullname" value="_bcargfullname_")>
788<input type=hidden name="bc1contactemail" value="_bcargcontactemail_")>
789<input type=hidden name="bc1aboutdesc" value="_bcargaboutdesc_")>
790<input type=hidden name="bc1srcformat" value="_bcargsrcformat_">
791<input type=hidden name="bc1fileorurl" value="_bcargfileorurl_">
792<input type=hidden name="bc1inputdir" value="_bcarginputdir_">
793<input type=hidden name="bc1copydir" value="_bcargcopydir_">
794<input type=hidden name="bc1ingsdlarea" value="_bcargingsdlarea_">
795<input type=hidden name="bc1acronyms" value="_bcargacronyms_">
796<input type=hidden name="bc1refine" value="_bcargrefine_">
797
798<table border=0>
799<tr>
800 <td>
801 This concludes the data entry required to build a new collection.
802
803
804 Away to (download) and then create config file
805
806 possible want to re-edit
807 build stuff
808 </td>
809</tr>
810
811<tr><td><p>&nbsp;</td></tr>
812<tr><td align=middle>
813 <a href="javascript:next_page();">Create new collection_iconwizardnext_</a>
814</table>
815</form>
816</td></tr></table></center>
817
818}
819
820#---------------------------------------------------------------------------#
821# Edit a collection
822#---------------------------------------------------------------------------#
823
824_headmesseditcol_ { Edit a collection }
825
826
827_contenteditcol_ {
828
829
830<script language="javascript">
831
832 <!-- Hide code from non-js browsers
833 function simulate_get_action(args)
834 \{
835 var form = document.form;
836
837// args += "&bc1fullnameindex=" + escape(form.bc1fullnameindex.value);
838 args += "&bc1dirname=" + escape(form.bc1dirname.value);
839
840 document.location = args;
841 \}
842
843 function save() \{
844 _dirnamelist_
845 var form = document.form;
846
847 var fn_index = form.bc1fullnameindex.value;
848 var fullname = form.bc1fullnamemenu.options[fn_index].value;
849 form.bc1dirname.value = dirnamelist[fn_index];
850
851 var do_save = true;
852 if (form.bc1cfgfile.value.match(/^\\s*$/))
853 \{
854 var confirm_mess = "Configuration data to \\"" + fullname + "\\"";
855 confirm_mess += " is empty. Are you sure you want to save?";
856
857 do_save = confirm(confirm_mess);
858 \}
859 if (do_save)
860 \{
861 var cgi_prefix = "webpage_editcol.pl";
862 cgi_prefix += "?gsdlhome=" + escape("_gsdlhome_");
863 cgi_prefix += "&httpbuild=" + escape("_httpbuild_");
864 cgi_prefix += "&bc1cfgfile=" + escape(form.bc1cfgfile.value);
865
866 simulate_get_action(cgi_prefix);
867 \}
868 \}
869
870 function fullnameindex_changed() \{
871 _dirnamelist_
872 var form = document.form;
873
874 var fn_index = form.bc1fullnamemenu.selectedIndex;
875 form.bc1fullnameindex.value = form.bc1fullnamemenu.selectedIndex;
876 form.bc1dirname.value = dirnamelist[fn_index];
877
878 var cgi_prefix = "_httpbuild_&bca=editcol";
879 simulate_get_action(cgi_prefix);
880 \}
881
882 // end hiding -->
883
884</script>
885
886<center><table><tr><td>
887<form name="form" method="post" action="_gwcgi_" >
888<input type=hidden name="gsdlhome" value="_gsdlhome_">
889<input type=hidden name="a" value="bc">
890<input type=hidden name="bc" value="editcol">
891_hiddenargs_
892
893
894<table border=0>
895<tr>
896 <td colspan=4>
897
898 To edit the configuration settings for collection,
899 first choose the collection to edit through the pulldown
900 menu, then edit the data that appears. To commit your
901 changes to disk, click on &quot;Save&quot;.
902 </td>
903</tr>
904
905
906<tr>
907 <td>Collection to edit:</td>
908 <td colspan=3>
909 _fullnamemenu_
910 <input type="hidden" name="bc1dirname" value="_bcargdirname_">
911 </td>
912<tr>
913 <td></td>
914 <td colspan=3>
915 <font color="#909090">
916 Use this pull-down menu to specify the collection to edit.
917 </font>
918 </td>
919</tr>
920
921<tr>
922 <td>Configuration settings:</td>
923 <td colspan=3>
924 <textarea name="bc1cfgfile" cols=50 rows=18 wrap=physical>_cfgfile_</textarea>
925 </td>
926</tr>
927<tr>
928 <td></td>
929 <td colspan=3>
930 <font color="#909090">
931 Alter the above data to change the configuration settings for a collection.
932 Click on &quot;Save&quot; to commit your changes to disk.
933 </font>
934 </td>
935</tr>
936
937
938<tr><td><p>&nbsp;</td></tr>
939<tr><td colspan=4 align=middle>
940 <table border=0>
941 <tr>
942 <td>
943 &nbsp;<a href="_httpbuild_&bca=editcol">_iconwizardreset_Reset page</a>
944 </td>
945 <td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
946 <td>
947 <a href="javascript:save();">Save configuration data_iconwizardnext_</a>&nbsp;<br>
948 <a href="_httpbuild_&bca=mess&head=_headnosave_&mess=_messnosave_&bc1dirname=_bcargdirname_">Don't
949 Save configuration data_iconwizardnext_</a>&nbsp;
950 </td>
951 </tr>
952 </table>
953</table>
954</form>
955</td></tr></table></center>
956
957}
958
959
960#---------------------------------------------------------------------------#
961# Build a collection
962#---------------------------------------------------------------------------#
963
964_headmessbuildcol_ { Build a collection }
965
966
967_allowcopydatano_ {
968 <td>
969 <input type=radio name="bc1copydataradio" value=false
970 _If_("_bcargcopydata_" eq "false", checked)
971 onClick=document.form.bc1copydata.value=false>No
972 </td>
973}
974
975_copydatatext_ {
976<tr>
977 <td>Copy data:</td>
978 <td>
979 <input type=hidden name="bc1copydata" value="_bcargcopydata_">
980 <input type=radio name="bc1copydataradio" value=true
981 _If_("_bcargcopydata_" eq "true", checked)
982 onClick=document.form.bc1copydata.value=true>Yes
983 </td>
984 _If_("_bcargfirsttime_" eq "false",_allowcopydatano_)
985</tr>
986<tr>
987 <td></td>
988 <td colspan=3>
989 <font color="#909090">
990 <p> Copying the data is necessary the very first time the collection is
991 built. Subsequent builds do not need this option selected, unless new
992 data has been added to the original data, in which case the data should
993 be recopied.
994 </font>
995 </td>
996</tr>
997}
998
999_contentbuildcol_ {
1000
1001
1002<script language="javascript">
1003
1004 <!-- Hide code from non-js browsers
1005 function simulate_get_action(args)
1006 \{
1007 var form = document.form;
1008
1009// args += "&bc1fullnameindex=" + escape(form.bc1fullnameindex.value); //****
1010 args += "&bc1dirname=" + escape(form.bc1dirname.value);
1011 args += "&bc1copydata=" + escape(form.bc1copydata.value);
1012 args += "&bc1doimport=" + escape(form.bc1doimport.value);
1013 args += "&bc1dobuild=" + escape(form.bc1dobuild.value);
1014
1015 document.location = args;
1016 \}
1017
1018 function build() \{
1019 _dirnamelist_
1020 var form = document.form;
1021
1022 var fn_index = form.bc1fullnameindex.value;
1023 var fullname = form.bc1fullnamemenu.options[fn_index].value;
1024
1025 form.bc1dirname.value = dirnamelist[fn_index];
1026
1027 var cgi_prefix = "_httpbuild_&bca=buildcol";
1028 cgi_prefix += "&gsdlhome=" + escape("_gsdlhome_");
1029 cgi_prefix += "&httpbuild=" + escape("_httpbuild_");
1030 cgi_prefix += "&wizard=buildframe";
1031
1032 simulate_get_action(cgi_prefix);
1033 \}
1034
1035 function fullnameindex_changed() \{
1036 _dirnamelist_
1037
1038 var form = document.form;
1039 var fn_index = form.bc1fullnamemenu.selectedIndex;
1040 form.bc1fullnameindex.value = form.bc1fullnamemenu.selectedIndex;
1041 form.bc1dirname.value = dirnamelist[fn_index];
1042
1043 var cgi_prefix = "_httpbuild_&bca=buildcol";
1044 cgi_prefix += "&gsdlhome=" + escape("_gsdlhome_");
1045 cgi_prefix += "&httpbuild=" + escape("_httpbuild_");
1046 cgi_prefix += "&wizard=buildcol";
1047
1048 simulate_get_action(cgi_prefix);
1049 \}
1050
1051 // end hiding -->
1052
1053</script>
1054
1055<center><table><tr><td>
1056<form name="form" method="post" action="_gwcgi_" >
1057<input type=hidden name="gsdlhome" value="_gsdlhome_">
1058<input type=hidden name="a" value="bc">
1059<input type=hidden name="bc" value="buildcol">
1060_hiddenargs_
1061
1062
1063<table border=0>
1064<tr>
1065 <td colspan=4>
1066 Building a collection is a multi-staged process. After selecting the
1067 collection you wish to be built, you must specify with stages of
1068 the building process you want executed.
1069 </td>
1070</tr>
1071
1072
1073<tr>
1074 <td>Collection to build:</td>
1075 <td colspan=3>
1076 _fullnamemenu_
1077 <input type="hidden" name="bc1dirname" value="_bcargdirname_">
1078 </td>
1079<tr>
1080 <td></td>
1081 <td colspan=3>
1082 <font color="#909090">
1083 Select from the pull-down menu the collection you wish to build.
1084 </font>
1085 </td>
1086</tr>
1087
1088
1089_If_("_bcargcopydir_" eq "yes",
1090 _copydatatext_
1091 ,
1092 <input type=hidden name="bc1copydata" value="false">
1093)
1094
1095
1096<tr>
1097 <td>Cache intermediate data:</td>
1098 <td>
1099 <input type=hidden name="bc1doimport" value="_bcargdoimport_">
1100 <input type=radio name="bc1doimportradio" value=true
1101 _If_("_bcargdoimport_" eq "true", checked)
1102 onClick=document.form.bc1doimport.value=true>Yes
1103 </td>
1104 <td>
1105 <input type=radio name="bc1doimportradio" value=false
1106 _If_("_bcargdoimport_" eq "false", checked)
1107 onClick=document.form.bc1doimport.value=false>No
1108 </td>
1109</tr>
1110<tr>
1111 <td></td>
1112 <td colspan=3>
1113 <font color="#909090">
1114 <p> To speed up the collection building process, intermediate data can be
1115 cached to file. Set this option to &quot;yes&quot; (the default) unless
1116 the collection is prohibitively large or the amount of available disk space
1117 is small.
1118 </font>
1119 </td>
1120</tr>
1121
1122<tr>
1123 <td>Create indexes:</td>
1124 <td>
1125 <input type=hidden name="bc1dobuild" value="_bcargdobuild_">
1126 <input type=radio name="bc1dobuildradio" value=true
1127 _If_("_bcargdobuild_" eq "true", checked)
1128 onClick=document.form.bc1dobuild.value=true>Yes
1129 </td>
1130 <td>
1131 <input type=radio name="bc1dobuildradio" value=false
1132 _If_("_bcargdobuild_" eq "false", checked)
1133 onClick=document.form.bc1dobuild.value=false>No
1134 </td>
1135</tr>
1136<tr>
1137 <td></td>
1138 <td colspan=3>
1139 <font color="#909090">
1140 <p> The final stage of building a collection is the creation of the indexes.
1141 Except in very unusual circumstances this option should be
1142 set to &quot;yes&quot; (the default).
1143 </font>
1144 </td>
1145</tr>
1146
1147
1148
1149<tr><td><p>&nbsp;</td></tr>
1150<tr><td colspan=4 align=middle>
1151 &nbsp;<a href="_httpbuild_&bca=buildcol">_iconwizardreset_Reset page</a>&nbsp;&nbsp;&nbsp;&nbsp;
1152 <a href="javascript:build();">Build collection_iconwizardnext_</a>&nbsp;
1153</table>
1154</form>
1155</td></tr></table></center>
1156
1157}
1158
1159
1160#---------------------------------------------------------------------------#
1161
1162_headmessbuildframe_ { Executing build commands }
1163
1164
1165_contentbuildframe_ {
1166
1167<frameset rows="*,150,*" border=0>
1168 <noframes><body bgcolor="#ffffff">
1169 <p>You must have a frame enabled browser to view this.</p>
1170 </body>
1171 </noframes>
1172 <frame src="_httpbuild_&bca=buildcol&wizard=buildexec&bc1dirname=_bcargdirname_&bc1tmpname=_bcargtmpname_" name=infoframe>
1173 <frame src="_httpbuild_&bca=buildstatus&bc1tmpname=_bcargtmpname_" name=execframe>
1174 <frame src="_httpbuild_&bca=blankpage" name=blankframe>
1175</frameset>
1176}
1177
1178
1179#---------------------------------------------------------------------------#
1180
1181_headmessbuildexec_ { Executing build commands }
1182
1183
1184_contentbuildexec_ {
1185
1186
1187<script language="javascript">
1188
1189 <!-- Hide code from non-js browsers
1190 var timer = 10;
1191 function restart_count_down() \{
1192 timer=10;
1193 setTimeout("count_down()",1000);
1194 \}
1195
1196 function count_down() \{
1197 if (timer==0)
1198 \{
1199 update_status_page();
1200 \}
1201 else
1202 \{
1203 window.status = "Building status update in "+timer+" seconds";
1204 timer--;
1205 setTimeout("count_down()",1000);
1206 \}
1207 \}
1208
1209 function update_status_page() \{
1210 var cgi_cmd = "webpage_buildstatus.pl";
1211 cgi_cmd += "?gsdlhome=" + escape("_gsdlhome_");
1212 cgi_cmd += "&httpbuild=" + escape("_httpbuild_");
1213 cgi_cmd += "&bc1dirname=" + escape("_bcargdirname_");
1214 cgi_cmd += "&bc1tmpname=" + escape("_bcargtmpname_");
1215 parent.execframe.document.location = cgi_cmd;
1216
1217 var finished = document.form.bc1finished.value;
1218 if (finished==0)
1219 \{
1220// setTimeout("update_status_page()",5000); //****
1221// setTimeout("count_down()",1000);
1222 restart_count_down();
1223 \}
1224 else
1225 \{
1226 var cgi_cmd = "_httpbuild_&bca=mess";
1227 if (finished>0)
1228 \{
1229 cgi_cmd += "&head=_headdone_&mess=_messdonebuildcol_";
1230 \}
1231 else
1232 \{
1233 cgi_cmd += "&head=_headerror_&mess=_messerrorbuildcol_";
1234 \}
1235
1236 cgi_cmd += "&gsdlhome=" + escape("_gsdlhome_");
1237 cgi_cmd += "&httpbuild=" + escape("_httpbuild_");
1238 cgi_cmd += "&bc1dirname=" + escape("_bcargdirname_");
1239 parent.document.location = cgi_cmd;
1240 \}
1241 \}
1242
1243 // end hiding -->
1244
1245</script>
1246
1247<center><table><tr><td>
1248<form name="form" method="post" action="_gwcgi_" >
1249<!-- <input type=hidden name="gsdlhome" value="_gsdlhome_">
1250<input type=hidden name="httpbuild" value="_httpbuild_"> ********* and others !!! -->
1251<input type=hidden name="a" value="bc">
1252<input type=hidden name="bc" value="buildcol">
1253_hiddenargs_
1254
1255<input type=hidden name="bc1finished" value=0>
1256
1257
1258
1259<table border=0>
1260<tr>
1261 <td colspan=4>
1262 The collection is now being built. See the building status line
1263 below for feedback on how the operation is progressing.
1264 </td>
1265</tr>
1266
1267</table>
1268</form>
1269</td></tr></table></center>
1270
1271<script language="javascript">
1272 <!-- Hide code from non-js browsers
1273 update_status_page();
1274 // end hiding -->
1275</script>
1276
1277}
1278
1279package buildstatus
1280
1281_header_ {
1282<html>
1283<head>
1284<title>Building status</title>
1285</head>
1286<body bgcolor="#ffffff" text="#000000" link="#006666"
1287 alink="#cc9900" vlink="#666633">
1288<h3>Building status:</h3>
1289}
1290
1291_footer_ {
1292</body>
1293</html>
1294}
1295
1296_content_ {
1297
1298<script language="javascript">
1299 <!-- Hide code from non-js browsers
1300 if (parent.infoframe.document.form) // form loaded
1301 \{
1302 parent.infoframe.document.form.bc1finished.value = "_build:bcargfinished_";
1303 \}
1304 // end hiding -->
1305</script>
1306
1307 _contentpara_
1308}
1309
1310
1311#---------------------------------------------------------------------------#
1312# Delete a collection
1313#---------------------------------------------------------------------------#
1314
1315package build
1316
1317_headmessdelcol_ { Delete a collection }
1318
1319
1320_contentdelcol_ {
1321
1322
1323<script language="javascript">
1324
1325 <!-- Hide code from non-js browsers
1326 function simulate_get_action(args)
1327 \{
1328 var form = document.form;
1329
1330// args += "&bc1fullnameindex=" + escape(form.bc1fullnameindex.value);
1331 args += "&bc1dirname=" + escape(form.bc1dirname.value);
1332 args += "&bc1deletearea=" + escape(form.bc1deletearea.value);
1333
1334 document.location = args;
1335 \}
1336
1337 function delete_area() \{
1338 _dirnamelist_
1339 var form = document.form;
1340
1341 var fn_index = form.bc1fullnameindex.value;
1342 var fullname = form.bc1fullnamemenu.options[fn_index].value;
1343 var deletearea = form.bc1deletearea.value;
1344
1345 form.bc1dirname.value = dirnamelist[fn_index];
1346
1347 var da_mess = "";
1348 if (deletearea == "archives") \{ da_mess = "cached building data"; \}
1349 else if (deletearea == "import") \{ da_mess = "source data"; \}
1350 else \{ da_mess = "all data"; \}
1351
1352 var confirm_mess = "Confirm deletion of \\"" + da_mess + "\\"";
1353 confirm_mess += " from \\"the " + fullname + " collection\\"";
1354
1355 var do_delete = confirm(confirm_mess);
1356 if (do_delete)
1357 \{
1358 var cgi_prefix = "webpage_delcol.pl";
1359 cgi_prefix += "?gsdlhome=" + escape("_gsdlhome_");
1360 cgi_prefix += "&httpbuild=" + escape("_httpbuild_");
1361
1362 simulate_get_action(cgi_prefix);
1363 \}
1364 \}
1365
1366 function fullnameindex_changed() \{
1367 var form = document.form;
1368 var fn_index = form.bc1fullnamemenu.selectedIndex;
1369 form.bc1fullnameindex.value = form.bc1fullnamemenu.selectedIndex;
1370 \}
1371
1372 // end hiding -->
1373
1374</script>
1375
1376<center><table><tr><td>
1377<form name="form" method="post" action="_gwcgi_" >
1378<input type=hidden name="gsdlhome" value="_gsdlhome_">
1379<input type=hidden name="a" value="bc">
1380<input type=hidden name="bc" value="delcol">
1381_hiddenargs_
1382
1383
1384<table border=0>
1385<tr>
1386 <td colspan=4>
1387
1388 Deletion of data from a collection can be selective or all encompassing.
1389 Use the options below to specified the required deletion operation.
1390 </td>
1391</tr>
1392
1393
1394<tr>
1395 <td>Collection to delete:</td>
1396 <td colspan=3>
1397 _fullnamemenu_
1398 <input type="hidden" name="bc1dirname" value="_bcargdirname_">
1399 </td>
1400<tr>
1401 <td></td>
1402 <td colspan=3>
1403 <font color="#909090">
1404 Use this pull-down menu to target the collection that has files deleted.
1405 </font>
1406 </td>
1407</tr>
1408
1409<tr>
1410 <td>Type of data to delete:</td>
1411 <td>
1412 <input type=hidden name="bc1deletearea" value="_bcargdeletearea_">
1413 <input type=radio name="bc1deletearearadio" value="archives"
1414 onClick=document.form.bc1deletearea.value="archives"
1415 _If_("_bcargdeletearea_" eq "archives", checked)
1416 _If_("_bcargdeletearea_" eq "", checked)> cached data
1417 </td>
1418 <td>
1419 <input type=radio name="bc1deletearearadio" value="import"
1420 onClick=document.form.bc1deletearea.value="import"
1421 _If_('"_bcargdeletearea_" eq "import"', checked)> cached and source data
1422 </td>
1423 <td>
1424 <input type=radio name="bc1deletearearadio" value="all"
1425 onClick=document.form.bc1deletearea.value="all"
1426 _If_('"_bcargdeletearea_" eq "all"', checked)> all data
1427 </td>
1428</tr>
1429<tr>
1430 <td></td>
1431 <td colspan=3>
1432 <font color="#909090">
1433 There are three levels to deletion: cached data; cached and
1434 source data; and all data.
1435
1436 <p> Cached data is generated during
1437 a building operation, and is superfluous to a collection that
1438 is &quot;live&quot;. Keeping this data, however, can save
1439 time if the only required step in a rebuild is index creation.
1440
1441 <p> Source data, like cached data, is superflous to a collection
1442 that is &quot;live&quot;. However, you must keep this data if
1443 indend to rebuild the collection in the future.
1444
1445 <p> The final level to collection deletion is delete &quot;all data&quot;
1446 Selecting this option removes all traces of the collection
1447 from the digital library.
1448
1449 </font>
1450 </td>
1451</tr>
1452
1453
1454<tr><td><p>&nbsp;</td></tr>
1455<tr><td colspan=4 align=middle>
1456 &nbsp;<a href="_httpbuild_&bca=delcol">_iconwizardreset_Reset page</a>&nbsp;&nbsp;&nbsp;&nbsp;
1457 <a href="javascript:delete_area();">Delete specified data_iconwizardnext_</a>&nbsp;
1458</table>
1459</form>
1460</td></tr></table></center>
1461
1462}
1463
1464
1465
1466
1467
1468
1469package buildmess
1470
1471_headmess_ {}
1472_headdone_ {Successful Operation}
1473_headnosave_ {Configuration Unchanged}
1474_headerror_ {Error Encountered}
1475
1476_messdonenewcol_ {
1477 <p> Configuration of the new collection was successfully saved.
1478 Would you like to:
1479 <ul>
1480 <li><a href="_httpbuild_&bca=newcol">Make a new
1481 collection_build:iconwizardnext_</a>
1482 <li><a href="_httpbuild_&bca=editcol&bc1dirname=_build:bcargdirname_">Edit
1483 this collection's configuration file_build:iconwizardnext_</a>
1484 <li><a href="_httpbuild_&bca=buildcol&bc1dirname=_build:bcargdirname_">Build
1485 this collection_build:iconwizardnext_</a>
1486 <li><a href="_httpbuild_&bca=delcol">Delete data from a
1487 collection_build:iconwizardnext_</a>
1488 <li><a href="_httppagehome_" target="_top">Return to the Greenstone home
1489 page_build:iconwizardnext_</a>
1490 </ul>
1491}
1492
1493_messdoneeditcol_ {
1494 <p> Configuration of collection successfully updated.
1495 Would you like to:
1496 <ul>
1497 <li><a href="_httppageabout_&c=_build:bcargdirname_" target="_top">Access
1498 this collection_build:iconwizardnext_</a>
1499 <li><a href="_httpbuild_&bca=newcol">Make a new
1500 collection_build:iconwizardnext_</a>
1501 <li><a href="_httpbuild_&bca=editcol&bc1dirname=_build:bcargdirname_">Edit
1502 this collection's configuration file_build:iconwizardnext_</a>
1503 <li><a href="_httpbuild_&bca=buildcol&bc1dirname=_build:bcargdirname_">Build
1504 this collection_build:iconwizardnext_</a>
1505 <li><a href="_httpbuild_&bca=delcol">Delete data from a
1506 collection_build:iconwizardnext_</a>
1507 <li><a href="_httppagehome_" target="_top">Return to the Greenstone home
1508 page_build:iconwizardnext_</a>
1509 </ul>
1510}
1511
1512_messnosave_ {
1513 <p> Configuration unchanged.
1514 Would you like to:
1515 <ul>
1516 <li><a href="_httppageabout_&c=_build:bcargdirname_" target="_top">Access
1517 this collection_build:iconwizardnext_</a>
1518 <li><a href="_httpbuild_&bca=newcol">Make a new
1519 collection_build:iconwizardnext_</a>
1520 <li><a href="_httpbuild_&bca=editcol&bc1dirname=_build:bcargdirname_">Edit
1521 this collection's configuration file_build:iconwizardnext_</a>
1522 <li><a href="_httpbuild_&bca=buildcol&bc1dirname=_build:bcargdirname_">Build
1523 this collection_build:iconwizardnext_</a>
1524 <li><a href="_httpbuild_&bca=delcol">Delete data from a
1525 collection_build:iconwizardnext_</a>
1526 <li><a href="_httppagehome_" target="_top">Return to the Greenstone home
1527 page_build:iconwizardnext_</a>
1528 </ul>
1529}
1530
1531_messdonebuildcol_ {
1532 <p> The collection has been successfully built.
1533 Would you like to:
1534 <ul>
1535 <li><a href="_httppageabout_&c=_build:bcargdirname_" target="_top">Access
1536 the newly built collection_build:iconwizardnext_</a>
1537 <li><a href="_httpbuild_&bca=newcol">Make a new
1538 collection_build:iconwizardnext_</a>
1539 <li><a href="_httpbuild_&bca=editcol&bc1dirname=_build:bcargdirname_">Edit
1540 this collection's configuration file_build:iconwizardnext_</a>
1541 <li><a href="_httpbuild_&bca=buildcol&bc1dirname=_build:bcargdirname_">Rebuild
1542 this collection_build:iconwizardnext_</a>
1543 <li><a href="_httpbuild_&bca=delcol">Delete data from a
1544 collection_build:iconwizardnext_</a>
1545 <li><a href="_httppagehome_" target="_top">Return to the Greenstone home
1546 page_build:iconwizardnext_</a>
1547 </ul>
1548}
1549
1550_messdonedelcol_ {
1551 <p> Files successfully deleted. Would you like to:
1552 <ul>
1553 <li><a href="_httpbuild_&bca=newcol">Make a new
1554 collection_build:iconwizardnext_</a>
1555 <li><a href="_httpbuild_&bca=editcol">Edit
1556 a collection's configuration file_build:iconwizardnext_</a>
1557 <li><a href="_httpbuild_&bca=buildcol">Build
1558 a collection_build:iconwizardnext_</a>
1559 <li><a href="_httpbuild_&bca=delcol">Delete data from another
1560 collection_build:iconwizardnext_</a>
1561 <li><a href="_httppagehome_" target="_top">Return to the Greenstone home
1562 page_build:iconwizardnext_</a>
1563 </ul>
1564}
1565
1566_messnofn_ {
1567 <p> <center>Empty collection title</center> }
1568
1569_messconfigexists_ {
1570 <p> <center>A configuration file already exists for this collection.</center> }
1571
1572_messerrorbuildcol_ {
1573 <p> An error was encountered during the building operation, and
1574 consequently the generated files have not been
1575 transfered to the &quot;live&quot; collection. Would you like to:
1576
1577 <ul>
1578 <li><a href="_httppageabout_&c=_build:bcargdirname_" target="_top">Access
1579 the existing collection_build:iconwizardnext_</a>
1580 <li><a href="_httpbuild_&bca=newcol">Make a new
1581 collection_build:iconwizardnext_</a>
1582 <li><a href="_httpbuild_&bca=editcol&bc1dirname=_build:bcargdirname_">Edit
1583 this collection's configuration file_build:iconwizardnext_</a>
1584 <li><a href="_httpbuild_&bca=buildcol&bc1dirname=_build:bcargdirname_">Rebuild
1585 this collection_build:iconwizardnext_</a>
1586 <li><a href="_httpbuild_&bca=delcol">Delete data from a
1587 collection_build:iconwizardnext_</a>
1588 <li><a href="_httppagehome_" target="_top">Return to the Greenstone home
1589 page_build:iconwizardnext_</a>
1590 </ul>
1591
1592}
1593
1594_messerror_ {<center>An error was encountered.</center> }
1595
1596
1597_content_ {
1598 _contentpara_
1599}
1600
1601_colexists_ {
1602 <p> The collection title you have specified already exists. Please choose another.
1603
1604}
1605
1606
1607
1608
1609
1610
Note: See TracBrowser for help on using the repository browser.