root/branches/New_Config_Format-branch/gsdl/macros/build.dm @ 1279

Revision 1279, 43.4 KB (checked in by sjboddie, 20 years ago)

merged changes to trunk into New_Config_Format branch

  • Property svn:keywords set to Author Date Id Revision
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 += "?httpbuild=" + escape("_httpbuild_");
699    cgi_prefix += "&bc1refine=" + escape(bc1refine);
700
701        simulate_get_action(cgi_prefix);
702   \}
703   // end hiding -->
704
705
706</script>
707
708<center><table><tr><td>
709<form name="form" method="post" action="_gwcgi_">
710<input type=hidden name="gsdlhome" value="_gsdlhome_">
711<input type=hidden name="a" value="bc">
712<input type=hidden name="bc" value="newcol">
713_hiddenargs_
714
715<input type=hidden name="bc1fullname" value="_bcargfullname_")>
716<input type=hidden name="bc1contactemail" value="_bcargcontactemail_")>
717<input type=hidden name="bc1aboutdesc" value="_bcargaboutdesc_")>
718<input type=hidden name="bc1srcformat" value="_bcargsrcformat_">
719<input type=hidden name="bc1fileorurl" value="_bcargfileorurl_">
720<input type=hidden name="bc1inputdir" value="_bcarginputdir_">
721<input type=hidden name="bc1copydir" value="_bcargcopydir_">
722<input type=hidden name="bc1ingsdlarea" value="_bcargingsdlarea_">
723<input type=hidden name="bc1refine" value="_bcargrefine_">
724
725<table border=0>
726<tr>
727  <td>
728    Extract acronyms:
729  </td>
730  <td colspan=3>
731    <input type=hidden name="bc1acronyms" value="_bcargacronyms_">
732    <input type=radio name="bc1acronymsradio" value="on"
733    onClick=document.form.bc1acronyms.value="on"
734    _If_('"_bcargacronyms_" eq "on"', checked)> on
735    &nbsp;&nbsp;&nbsp;&nbsp;
736    <input type=radio name="bc1acronymsradio" value="off"
737    onClick=document.form.bc1acronyms.value="off"
738    _If_('"_bcargacronyms_" eq "off"', checked)> off
739  </td>
740</tr>
741<tr>
742  <td></td>
743  <td colspan=3>
744     <font color="#909090">
745    Switch this option on if you want acronyms in the
746        text extracted as metadata.
747     </font>
748  </td>
749</tr>
750
751<tr><td><p>&nbsp;</td></tr>
752<tr><td colspan=4 align=middle>
753  <a href="javascript:save()">Save_iconwizardnext_</a>
754</table>
755</form>
756</td></tr></table></center>
757
758_wizardbar_
759}
760
761
762#---------------------------------------------------------------------------#
763
764_headmessdefinished_ { New collection wizard: data entry finished }
765
766_contentdefinished_ {
767
768
769<script language="javascript">
770
771   <!-- Hide code from non-js browsers
772   _commonjavascript_
773   //**********     page never used!!!
774   // end hiding -->
775
776
777</script>
778
779<center><table><tr><td>
780<form name="form" method="post" action="_gwcgi_">
781<input type=hidden name="gsdlhome" value="_gsdlhome_">
782<input type=hidden name="a" value="bc">
783<input type=hidden name="bc" value="newcol">
784_hiddenargs_
785
786<input type=hidden name="bc1fullname" value="_bcargfullname_")>
787<input type=hidden name="bc1contactemail" value="_bcargcontactemail_")>
788<input type=hidden name="bc1aboutdesc" value="_bcargaboutdesc_")>
789<input type=hidden name="bc1srcformat" value="_bcargsrcformat_">
790<input type=hidden name="bc1fileorurl" value="_bcargfileorurl_">
791<input type=hidden name="bc1inputdir" value="_bcarginputdir_">
792<input type=hidden name="bc1copydir" value="_bcargcopydir_">
793<input type=hidden name="bc1ingsdlarea" value="_bcargingsdlarea_">
794<input type=hidden name="bc1acronyms" value="_bcargacronyms_">
795<input type=hidden name="bc1refine" value="_bcargrefine_">
796
797<table border=0>
798<tr>
799  <td>
800    This concludes the data entry required to build a new collection.
801   
802
803    Away to (download) and then create config file
804
805    possible want to re-edit
806    build stuff
807  </td>
808</tr>
809
810<tr><td><p>&nbsp;</td></tr>
811<tr><td align=middle>
812  <a href="javascript:next_page();">Create new collection_iconwizardnext_</a>
813</table>
814</form>
815</td></tr></table></center>
816
817}
818
819#---------------------------------------------------------------------------#
820# Edit a collection
821#---------------------------------------------------------------------------#
822
823_headmesseditcol_ { Edit a collection }
824
825
826_contenteditcol_ {
827
828
829<script language="javascript">
830
831   <!-- Hide code from non-js browsers
832   function simulate_get_action(args)
833     \{
834        var form = document.form;
835
836//  args += "&bc1fullnameindex=" + escape(form.bc1fullnameindex.value);
837    args += "&bc1dirname=" + escape(form.bc1dirname.value);
838
839    document.location = args;
840     \}
841
842   function save() \{
843        _dirnamelist_
844        var form = document.form;
845
846    var fn_index = form.bc1fullnameindex.value;
847    var fullname = form.bc1fullnamemenu.options[fn_index].value;
848    form.bc1dirname.value = dirnamelist[fn_index];
849
850    var do_save = true;
851    if (form.bc1cfgfile.value.match(/^\\s*$/))
852    \{
853        var confirm_mess = "Configuration data to \\"" + fullname + "\\"";
854        confirm_mess += " is empty.  Are you sure you want to save?";
855
856        do_save = confirm(confirm_mess);
857    \}
858    if (do_save)
859    \{
860        var cgi_prefix = "webpage_editcol.pl";
861        cgi_prefix += "?httpbuild=" + escape("_httpbuild_");
862        cgi_prefix += "&bc1cfgfile=" + escape(form.bc1cfgfile.value);
863
864        simulate_get_action(cgi_prefix);
865    \}
866   \}
867
868   function fullnameindex_changed() \{
869        _dirnamelist_
870        var form = document.form;
871
872    var fn_index = form.bc1fullnamemenu.selectedIndex;
873    form.bc1fullnameindex.value = form.bc1fullnamemenu.selectedIndex;
874    form.bc1dirname.value = dirnamelist[fn_index];
875
876    var cgi_prefix = "_httpbuild_&bca=editcol";
877        simulate_get_action(cgi_prefix);
878   \}
879
880   // end hiding -->
881
882</script>
883
884<center><table><tr><td>
885<form name="form" method="post" action="_gwcgi_" >
886<input type=hidden name="gsdlhome" value="_gsdlhome_">
887<input type=hidden name="a" value="bc">
888<input type=hidden name="bc" value="editcol">
889_hiddenargs_
890
891
892<table border=0>
893<tr>
894  <td colspan=4>
895     
896      To edit the configuration settings for collection,
897    first choose the collection to edit through the pulldown
898    menu, then edit the data that appears.  To commit your
899    changes to disk, click on &quot;Save&quot;.
900  </td>
901</tr>
902
903
904<tr>
905  <td>Collection to edit:</td>
906  <td colspan=3>
907     _fullnamemenu_
908    <input type="hidden" name="bc1dirname" value="_bcargdirname_">
909  </td>
910<tr>
911  <td></td>
912  <td colspan=3>
913    <font color="#909090">
914    Use this pull-down menu to specify the collection to edit.
915    </font>
916  </td>
917</tr>
918
919<tr>
920  <td>Configuration settings:</td>
921  <td colspan=3>
922    <textarea name="bc1cfgfile" cols=50 rows=18 wrap=physical>_cfgfile_</textarea>
923  </td>
924</tr>
925<tr>
926  <td></td>
927  <td colspan=3>
928    <font color="#909090">
929    Alter the above data to change the configuration settings for a collection.
930    Click on &quot;Save&quot; to commit your changes to disk.
931     </font>
932  </td>
933</tr>
934
935
936<tr><td><p>&nbsp;</td></tr>
937<tr><td colspan=4 align=middle>
938 <table border=0>
939  <tr>
940    <td>
941        &nbsp;<a href="_httpbuild_&bca=editcol">_iconwizardreset_Reset page</a>
942    </td>
943    <td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
944    <td>
945     <a href="javascript:save();">Save configuration data_iconwizardnext_</a>&nbsp;<br>
946     <a href="_httpbuild_&bca=mess&head=_headnosave_&mess=_messnosave_&bc1dirname=_bcargdirname_">Don't
947    Save configuration data_iconwizardnext_</a>&nbsp;
948    </td>
949  </tr>
950 </table>
951</table>
952</form>
953</td></tr></table></center>
954
955}
956
957
958#---------------------------------------------------------------------------#
959# Build a collection
960#---------------------------------------------------------------------------#
961
962_headmessbuildcol_ { Build a collection }
963
964
965_allowcopydatano_ {
966  <td>
967    <input type=radio name="bc1copydataradio" value=false
968    _If_("_bcargcopydata_" eq "false", checked)
969    onClick=document.form.bc1copydata.value=false>No
970  </td>
971}
972
973_copydatatext_ {
974<tr>
975  <td>Copy data:</td>
976  <td>
977    <input type=hidden name="bc1copydata" value="_bcargcopydata_">
978    <input type=radio name="bc1copydataradio" value=true
979    _If_("_bcargcopydata_" eq "true", checked)
980    onClick=document.form.bc1copydata.value=true>Yes
981  </td>
982  _If_("_bcargfirsttime_" eq "false",_allowcopydatano_)
983</tr>
984<tr>
985  <td></td>
986  <td colspan=3>
987    <font color="#909090">
988    <p> Copying the data is necessary the very first time the collection is
989    built.  Subsequent builds do not need this option selected, unless new
990    data has been added to the original data, in which case the data should
991    be recopied.
992     </font>
993  </td>
994</tr>
995}
996
997_contentbuildcol_ {
998
999
1000<script language="javascript">
1001
1002   <!-- Hide code from non-js browsers
1003   function simulate_get_action(args)
1004     \{
1005        var form = document.form;
1006
1007//  args += "&bc1fullnameindex=" + escape(form.bc1fullnameindex.value); //****
1008    args += "&bc1dirname=" + escape(form.bc1dirname.value);
1009    args += "&bc1copydata=" + escape(form.bc1copydata.value);
1010    args += "&bc1doimport=" + escape(form.bc1doimport.value);
1011    args += "&bc1dobuild=" + escape(form.bc1dobuild.value);
1012
1013    document.location = args;
1014     \}
1015
1016   function build() \{
1017        _dirnamelist_
1018        var form = document.form;
1019
1020    var fn_index = form.bc1fullnameindex.value;
1021    var fullname = form.bc1fullnamemenu.options[fn_index].value;
1022
1023    form.bc1dirname.value = dirnamelist[fn_index];
1024
1025    var cgi_prefix = "_httpbuild_&bca=buildcol";
1026    cgi_prefix += "&httpbuild=" + escape("_httpbuild_");
1027    cgi_prefix += "&wizard=buildframe";
1028
1029        simulate_get_action(cgi_prefix);
1030   \}
1031
1032   function fullnameindex_changed() \{
1033        _dirnamelist_
1034
1035        var form = document.form;
1036    var fn_index = form.bc1fullnamemenu.selectedIndex;
1037    form.bc1fullnameindex.value = form.bc1fullnamemenu.selectedIndex;
1038    form.bc1dirname.value = dirnamelist[fn_index];
1039
1040    var cgi_prefix = "_httpbuild_&bca=buildcol";
1041    cgi_prefix += "&httpbuild=" + escape("_httpbuild_");
1042    cgi_prefix += "&wizard=buildcol";
1043
1044    simulate_get_action(cgi_prefix);
1045   \}
1046
1047   // end hiding -->
1048
1049</script>
1050
1051<center><table><tr><td>
1052<form name="form" method="post" action="_gwcgi_" >
1053<input type=hidden name="gsdlhome" value="_gsdlhome_">
1054<input type=hidden name="a" value="bc">
1055<input type=hidden name="bc" value="buildcol">
1056_hiddenargs_
1057
1058
1059<table border=0>
1060<tr>
1061  <td colspan=4>
1062      Building a collection is a multi-staged process.  After selecting the
1063    collection you wish to be built, you must specify with stages of
1064        the building process you want executed.
1065  </td>
1066</tr>
1067
1068
1069<tr>
1070  <td>Collection to build:</td>
1071  <td colspan=3>
1072     _fullnamemenu_
1073    <input type="hidden" name="bc1dirname" value="_bcargdirname_">
1074  </td>
1075<tr>
1076  <td></td>
1077  <td colspan=3>
1078    <font color="#909090">
1079    Select from the pull-down menu the collection you wish to build.
1080    </font>
1081  </td>
1082</tr>
1083
1084
1085_If_("_bcargcopydir_" eq "yes",
1086  _copydatatext_
1087  ,
1088    <input type=hidden name="bc1copydata" value="false">
1089)
1090
1091
1092<tr>
1093  <td>Cache intermediate data:</td>
1094  <td>
1095    <input type=hidden name="bc1doimport" value="_bcargdoimport_">
1096    <input type=radio name="bc1doimportradio" value=true
1097    _If_("_bcargdoimport_" eq "true", checked)
1098    onClick=document.form.bc1doimport.value=true>Yes
1099  </td>
1100  <td>
1101    <input type=radio name="bc1doimportradio" value=false
1102    _If_("_bcargdoimport_" eq "false", checked)
1103    onClick=document.form.bc1doimport.value=false>No
1104  </td>
1105</tr>
1106<tr>
1107  <td></td>
1108  <td colspan=3>
1109    <font color="#909090">
1110    <p> To speed up the collection building process, intermediate data can be
1111    cached to file.  Set this option to &quot;yes&quot; (the default) unless
1112    the collection is prohibitively large or the amount of available disk space
1113    is small.
1114     </font>
1115  </td>
1116</tr>
1117
1118<tr>
1119  <td>Create indexes:</td>
1120  <td>
1121    <input type=hidden name="bc1dobuild" value="_bcargdobuild_">
1122    <input type=radio name="bc1dobuildradio" value=true
1123    _If_("_bcargdobuild_" eq "true", checked)
1124    onClick=document.form.bc1dobuild.value=true>Yes
1125  </td>
1126  <td>
1127    <input type=radio name="bc1dobuildradio" value=false
1128    _If_("_bcargdobuild_" eq "false", checked)
1129    onClick=document.form.bc1dobuild.value=false>No
1130  </td>
1131</tr>
1132<tr>
1133  <td></td>
1134  <td colspan=3>
1135    <font color="#909090">
1136    <p> The final stage of building a collection is the creation of the indexes.
1137        Except in very unusual circumstances this option should be
1138    set to &quot;yes&quot; (the default).
1139     </font>
1140  </td>
1141</tr>
1142
1143
1144
1145<tr><td><p>&nbsp;</td></tr>
1146<tr><td colspan=4 align=middle>
1147  &nbsp;<a href="_httpbuild_&bca=buildcol">_iconwizardreset_Reset page</a>&nbsp;&nbsp;&nbsp;&nbsp;
1148  <a href="javascript:build();">Build collection_iconwizardnext_</a>&nbsp;
1149</table>
1150</form>
1151</td></tr></table></center>
1152
1153}
1154
1155
1156#---------------------------------------------------------------------------#
1157
1158_headmessbuildframe_ { Executing build commands }
1159
1160
1161# not sure why we need 3 frames here when one appears to always be blank
1162# - Stefan
1163#_contentbuildframe_ {
1164
1165#<frameset rows="*,150,*" border=0>
1166#  <noframes><body bgcolor="#ffffff">
1167#  <p>You must have a frame enabled browser to view this.</p>
1168#  </body>
1169#  </noframes>
1170#  <frame src="_httpbuild_&bca=buildcol&wizard=buildexec&bc1dirname=_bcargdirname_&bc1tmpname=_bcargtmpname_" name=infoframe>
1171#  <frame src="_httpbuild_&bca=buildstatus&bc1tmpname=_bcargtmpname_" name=execframe>
1172#  <frame src="_httpbuild_&bca=blankpage" name=blankframe>
1173#</frameset>
1174#}
1175
1176_contentbuildframe_ {
1177
1178<frameset rows="200,150" border=0>
1179  <noframes><body bgcolor="#ffffff">
1180  <p>You must have a frame enabled browser to view this.</p>
1181  </body>
1182  </noframes>
1183  <frame src="_httpbuild_&bca=buildcol&wizard=buildexec&bc1dirname=_bcargdirname_&bc1tmpname=_bcargtmpname_" name=infoframe>
1184  <frame src="_httpbuild_&bca=buildstatus&bc1tmpname=_bcargtmpname_" name=execframe>
1185</frameset>
1186}
1187
1188
1189#---------------------------------------------------------------------------#
1190
1191_headmessbuildexec_ { Executing build commands }
1192
1193
1194_contentbuildexec_ {
1195
1196
1197<script language="javascript">
1198
1199   <!-- Hide code from non-js browsers
1200   var timer = 10;
1201   function restart_count_down() \{
1202    timer=10;
1203    setTimeout("count_down()",1000);
1204   \}
1205
1206   function count_down() \{
1207    if (timer==0)
1208    \{
1209      update_status_page();
1210    \}
1211    else
1212    \{
1213      window.status = "Building status update in  "+timer+" seconds";
1214      timer--;
1215      setTimeout("count_down()",1000);
1216    \} 
1217   \}
1218
1219   function update_status_page() \{
1220    var cgi_cmd = "webpage_buildstatus.pl";
1221    cgi_cmd += "?httpbuild=" + escape("_httpbuild_");
1222    cgi_cmd += "&bc1dirname=" + escape("_bcargdirname_");
1223    cgi_cmd += "&bc1tmpname=" + escape("_bcargtmpname_");
1224    parent.execframe.document.location = cgi_cmd;
1225
1226    var finished = document.form.bc1finished.value;
1227    if (finished==0)
1228      \{   
1229//           setTimeout("update_status_page()",5000);      //****
1230//           setTimeout("count_down()",1000);
1231         restart_count_down();
1232      \}
1233    else
1234      \{
1235         var cgi_cmd = "_httpbuild_&bca=mess";
1236         if (finished>0)
1237           \{
1238          cgi_cmd += "&head=_headdone_&mess=_messdonebuildcol_";
1239           \}
1240         else
1241           \{
1242          cgi_cmd += "&head=_headerror_&mess=_messerrorbuildcol_";
1243           \}
1244
1245         cgi_cmd += "&httpbuild=" + escape("_httpbuild_");
1246         cgi_cmd += "&bc1dirname=" + escape("_bcargdirname_");
1247         parent.document.location = cgi_cmd;   
1248      \}
1249   \}
1250
1251   // end hiding -->
1252
1253</script>
1254
1255<center><table><tr><td>
1256<form name="form" method="post" action="_gwcgi_" >
1257<!-- <input type=hidden name="gsdlhome" value="_gsdlhome_">
1258<input type=hidden name="httpbuild" value="_httpbuild_"> ********* and others !!! -->
1259<input type=hidden name="a" value="bc">
1260<input type=hidden name="bc" value="buildcol">
1261_hiddenargs_
1262
1263<input type=hidden name="bc1finished" value=0>
1264
1265
1266
1267<table border=0>
1268<tr>
1269  <td colspan=4>
1270    The collection is now being built.  See the building status line
1271        below for feedback on how the operation is progressing.
1272  </td>
1273</tr>
1274
1275</table>
1276</form>
1277</td></tr></table></center>
1278
1279<script language="javascript">
1280   <!-- Hide code from non-js browsers
1281   update_status_page();
1282   // end hiding -->
1283</script>
1284
1285}
1286
1287package buildstatus
1288
1289_header_ {
1290<html>
1291<head>
1292<title>Building status</title>
1293</head>
1294<body bgcolor="#ffffff" text="#000000" link="#006666"
1295      alink="#cc9900" vlink="#666633">
1296<h3>Building status:</h3>
1297}
1298
1299_footer_ {
1300</body>
1301</html>
1302}
1303
1304_content_ {
1305
1306<script language="javascript">
1307   <!-- Hide code from non-js browsers
1308   if (parent.infoframe.document.form) // form loaded
1309     \{
1310         parent.infoframe.document.form.bc1finished.value = "_build:bcargfinished_";
1311     \}
1312   // end hiding -->
1313</script>
1314
1315    _contentpara_
1316}
1317
1318
1319#---------------------------------------------------------------------------#
1320# Delete a collection
1321#---------------------------------------------------------------------------#
1322
1323package build
1324
1325_headmessdelcol_ { Delete a collection }
1326
1327
1328_contentdelcol_ {
1329
1330
1331<script language="javascript">
1332
1333   <!-- Hide code from non-js browsers
1334   function simulate_get_action(args)
1335     \{
1336        var form = document.form;
1337
1338//  args += "&bc1fullnameindex=" + escape(form.bc1fullnameindex.value);
1339    args += "&bc1dirname=" + escape(form.bc1dirname.value);
1340    args += "&bc1deletearea=" + escape(form.bc1deletearea.value);
1341
1342    document.location = args;
1343     \}
1344
1345   function delete_area() \{
1346        _dirnamelist_
1347        var form = document.form;
1348
1349    var fn_index = form.bc1fullnameindex.value;
1350    var fullname = form.bc1fullnamemenu.options[fn_index].value;
1351    var deletearea = form.bc1deletearea.value;
1352
1353    form.bc1dirname.value = dirnamelist[fn_index];
1354
1355    var da_mess = "";
1356    if (deletearea == "archives") \{ da_mess = "cached building data"; \}
1357    else if (deletearea == "import") \{ da_mess = "source data"; \}
1358    else \{ da_mess = "all data"; \}
1359
1360    var confirm_mess = "Confirm deletion of \\"" + da_mess + "\\"";
1361    confirm_mess += " from \\"the " + fullname + " collection\\"";
1362
1363    var do_delete = confirm(confirm_mess);
1364    if (do_delete)
1365      \{
1366        var cgi_prefix = "webpage_delcol.pl";
1367        cgi_prefix += "?httpbuild=" + escape("_httpbuild_");
1368
1369            simulate_get_action(cgi_prefix);
1370      \}
1371   \}
1372
1373   function fullnameindex_changed() \{
1374        var form = document.form;
1375    var fn_index = form.bc1fullnamemenu.selectedIndex;
1376    form.bc1fullnameindex.value = form.bc1fullnamemenu.selectedIndex;
1377   \}
1378
1379   // end hiding -->
1380
1381</script>
1382
1383<center><table><tr><td>
1384<form name="form" method="post" action="_gwcgi_" >
1385<input type=hidden name="gsdlhome" value="_gsdlhome_">
1386<input type=hidden name="a" value="bc">
1387<input type=hidden name="bc" value="delcol">
1388_hiddenargs_
1389
1390
1391<table border=0>
1392<tr>
1393  <td colspan=4>
1394     
1395      Deletion of data from a collection can be selective or all encompassing.
1396    Use the options below to specified the required deletion operation.
1397  </td>
1398</tr>
1399
1400
1401<tr>
1402  <td>Collection to delete:</td>
1403  <td colspan=3>
1404     _fullnamemenu_
1405    <input type="hidden" name="bc1dirname" value="_bcargdirname_">
1406  </td>
1407<tr>
1408  <td></td>
1409  <td colspan=3>
1410    <font color="#909090">
1411    Use this pull-down menu to target the collection that has files deleted.
1412    </font>
1413  </td>
1414</tr>
1415
1416<tr>
1417  <td>Type of data to delete:</td>
1418  <td>
1419    <input type=hidden name="bc1deletearea" value="_bcargdeletearea_">
1420    <input type=radio name="bc1deletearearadio" value="archives"
1421    onClick=document.form.bc1deletearea.value="archives"
1422    _If_("_bcargdeletearea_" eq "archives", checked)
1423    _If_("_bcargdeletearea_" eq "", checked)> cached data
1424  </td>
1425  <td>
1426    <input type=radio name="bc1deletearearadio" value="import"
1427    onClick=document.form.bc1deletearea.value="import"
1428    _If_('"_bcargdeletearea_" eq "import"', checked)> cached and source data
1429  </td>
1430  <td>
1431    <input type=radio name="bc1deletearearadio" value="all"
1432    onClick=document.form.bc1deletearea.value="all"
1433    _If_('"_bcargdeletearea_" eq "all"', checked)> all data
1434  </td>
1435</tr>
1436<tr>
1437  <td></td>
1438  <td colspan=3>
1439    <font color="#909090">
1440    There are three levels to deletion: cached data; cached and
1441    source data; and all data. 
1442
1443    <p> Cached data is generated during
1444    a building operation, and is superfluous to a collection that
1445    is &quot;live&quot;.  Keeping this data, however, can save
1446    time if the only required step in a rebuild is index creation.
1447
1448    <p> Source data, like cached data, is superflous to a collection
1449    that is &quot;live&quot;.  However, you must keep this data if
1450    indend to rebuild the collection in the future.
1451
1452    <p> The final level to collection deletion is delete &quot;all data&quot;
1453    Selecting this option removes all traces of the collection
1454    from the digital library.
1455
1456     </font>
1457  </td>
1458</tr>
1459
1460
1461<tr><td><p>&nbsp;</td></tr>
1462<tr><td colspan=4 align=middle>
1463  &nbsp;<a href="_httpbuild_&bca=delcol">_iconwizardreset_Reset page</a>&nbsp;&nbsp;&nbsp;&nbsp;
1464  <a href="javascript:delete_area();">Delete specified data_iconwizardnext_</a>&nbsp;
1465</table>
1466</form>
1467</td></tr></table></center>
1468
1469}
1470
1471
1472
1473
1474
1475
1476package buildmess
1477
1478_headmess_ {}
1479_headdone_ {Successful Operation}
1480_headnosave_ {Configuration Unchanged}
1481_headerror_ {Error Encountered}
1482
1483_messdonenewcol_ {
1484    <p> Configuration of the new collection was successfully saved.
1485        Would you like to:
1486    <ul>
1487      <li><a href="_httpbuild_&bca=newcol">Make a new
1488    collection_build:iconwizardnext_</a>
1489      <li><a href="_httpbuild_&bca=editcol&bc1dirname=_build:bcargdirname_">Edit
1490    this collection's configuration file_build:iconwizardnext_</a>
1491      <li><a href="_httpbuild_&bca=buildcol&bc1dirname=_build:bcargdirname_">Build
1492    this collection_build:iconwizardnext_</a>
1493      <li><a href="_httpbuild_&bca=delcol">Delete data from a
1494    collection_build:iconwizardnext_</a>
1495      <li><a href="_httppagehome_" target="_top">Return to the Greenstone home
1496    page_build:iconwizardnext_</a>
1497    </ul>
1498}
1499
1500_messdoneeditcol_ {
1501    <p> Configuration of collection successfully updated.
1502        Would you like to:
1503    <ul>
1504      <li><a href="_httppageabout_&c=_build:bcargdirname_" target="_top">Access
1505    this collection_build:iconwizardnext_</a>
1506      <li><a href="_httpbuild_&bca=newcol">Make a new
1507    collection_build:iconwizardnext_</a>
1508      <li><a href="_httpbuild_&bca=editcol&bc1dirname=_build:bcargdirname_">Edit
1509    this collection's configuration file_build:iconwizardnext_</a>
1510      <li><a href="_httpbuild_&bca=buildcol&bc1dirname=_build:bcargdirname_">Build
1511    this collection_build:iconwizardnext_</a>
1512      <li><a href="_httpbuild_&bca=delcol">Delete data from a
1513    collection_build:iconwizardnext_</a>
1514      <li><a href="_httppagehome_" target="_top">Return to the Greenstone home
1515    page_build:iconwizardnext_</a>
1516    </ul>
1517}
1518
1519_messnosave_ {
1520    <p> Configuration unchanged.
1521        Would you like to:
1522    <ul>
1523      <li><a href="_httppageabout_&c=_build:bcargdirname_" target="_top">Access
1524    this collection_build:iconwizardnext_</a>
1525      <li><a href="_httpbuild_&bca=newcol">Make a new
1526    collection_build:iconwizardnext_</a>
1527      <li><a href="_httpbuild_&bca=editcol&bc1dirname=_build:bcargdirname_">Edit
1528    this collection's configuration file_build:iconwizardnext_</a>
1529      <li><a href="_httpbuild_&bca=buildcol&bc1dirname=_build:bcargdirname_">Build
1530    this collection_build:iconwizardnext_</a>
1531      <li><a href="_httpbuild_&bca=delcol">Delete data from a
1532    collection_build:iconwizardnext_</a>
1533      <li><a href="_httppagehome_" target="_top">Return to the Greenstone home
1534    page_build:iconwizardnext_</a>
1535    </ul>
1536}
1537
1538_messdonebuildcol_ {
1539    <p> The collection has been successfully built.
1540        Would you like to:
1541    <ul>
1542      <li><a href="_httppageabout_&c=_build:bcargdirname_" target="_top">Access
1543    the newly built collection_build:iconwizardnext_</a>
1544      <li><a href="_httpbuild_&bca=newcol">Make a new
1545    collection_build:iconwizardnext_</a>
1546      <li><a href="_httpbuild_&bca=editcol&bc1dirname=_build:bcargdirname_">Edit
1547    this collection's configuration file_build:iconwizardnext_</a>
1548      <li><a href="_httpbuild_&bca=buildcol&bc1dirname=_build:bcargdirname_">Rebuild
1549    this collection_build:iconwizardnext_</a>
1550      <li><a href="_httpbuild_&bca=delcol">Delete data from a
1551    collection_build:iconwizardnext_</a>
1552      <li><a href="_httppagehome_" target="_top">Return to the Greenstone home
1553    page_build:iconwizardnext_</a>
1554    </ul>
1555}
1556
1557_messdonedelcol_ {
1558    <p> Files successfully deleted.  Would you like to:
1559    <ul>
1560      <li><a href="_httpbuild_&bca=newcol">Make a new
1561    collection_build:iconwizardnext_</a>
1562      <li><a href="_httpbuild_&bca=editcol">Edit
1563    a collection's configuration file_build:iconwizardnext_</a>
1564      <li><a href="_httpbuild_&bca=buildcol">Build
1565    a collection_build:iconwizardnext_</a>
1566      <li><a href="_httpbuild_&bca=delcol">Delete data from another
1567    collection_build:iconwizardnext_</a>
1568      <li><a href="_httppagehome_" target="_top">Return to the Greenstone home
1569    page_build:iconwizardnext_</a>
1570    </ul>
1571}
1572
1573_messnofn_ {
1574  <p> <center>Empty collection title</center> }
1575
1576_messconfigexists_ {
1577  <p> <center>A configuration file already exists for this collection.</center> }
1578
1579_messerrorbuildcol_ {
1580  <p> An error was encountered during the building operation, and
1581      consequently the generated files have not been
1582      transfered to the &quot;live&quot; collection.  Would you like to:
1583
1584    <ul>
1585      <li><a href="_httppageabout_&c=_build:bcargdirname_" target="_top">Access
1586    the existing collection_build:iconwizardnext_</a>
1587      <li><a href="_httpbuild_&bca=newcol">Make a new
1588    collection_build:iconwizardnext_</a>
1589      <li><a href="_httpbuild_&bca=editcol&bc1dirname=_build:bcargdirname_">Edit
1590    this collection's configuration file_build:iconwizardnext_</a>
1591      <li><a href="_httpbuild_&bca=buildcol&bc1dirname=_build:bcargdirname_">Rebuild
1592    this collection_build:iconwizardnext_</a>
1593      <li><a href="_httpbuild_&bca=delcol">Delete data from a
1594    collection_build:iconwizardnext_</a>
1595      <li><a href="_httppagehome_" target="_top">Return to the Greenstone home
1596    page_build:iconwizardnext_</a>
1597    </ul>
1598
1599}
1600
1601_messerror_ {<center>An error was encountered.</center> }
1602
1603
1604_content_ {
1605    _contentpara_
1606}
1607
1608_colexists_ {
1609  <p> The collection title you have specified already exists.  Please choose another.
1610
1611}
1612
1613
1614
1615
1616
1617
Note: See TracBrowser for help on using the browser.