Changeset 1455 for trunk


Ignore:
Timestamp:
2000-08-27T23:06:39+12:00 (24 years ago)
Author:
stefan
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/macros/collect.dm

    r1449 r1455  
    115115_httpicongcdelon_ {_httpimg_/gcdelon.gif}
    116116
    117 #######################################################################
    118 # intro page
     117
     118#######################################################################
     119# intro
     120#######################################################################
    119121
    120122_introscriptextra_ {}
     
    184186
    185187#######################################################################
    186 # Changing an existing collection page
     188# existing (Changing an existing collection page)
     189#######################################################################
    187190
    188191_existingscriptextra_ {
     
    249252}
    250253
    251 #######################################################################
    252 # Creating a new collection page
     254
     255#######################################################################
     256# new (Create a new collection page)
     257#######################################################################
    253258
    254259_newscriptextra_ {}
     
    306311
    307312#######################################################################
    308 # Collection information page
     313# info (Collection information page)
     314#######################################################################
    309315
    310316_infoscriptextra_ {
     
    411417
    412418#######################################################################
    413 # Source data page
     419# srce (Source data page)
     420#######################################################################
    414421
    415422# _fullnamemenu is set from within the server. If it's empty there are
     
    543550
    544551#######################################################################
    545 # Configure collection page
     552# conf (Configure collection page)
     553#######################################################################
    546554
    547555_confscriptextra_ {
     
    607615
    608616#######################################################################
    609 # Build page
     617# bild (main frameset for build page)
     618#######################################################################
    610619
    611620_bildcontent_ {
     
    622631}
    623632
    624 _bildframe1scriptextra_ {}
     633#######################################################################
     634# bildframe1
     635#######################################################################
     636
     637# header overridden to allow base target to be set
     638_bildframe1header_ {_cgihead_
     639<html>
     640<head>
     641<base target=_top>
     642<title>_pagetitle_</title>
     643_globalscripts_
     644</head>
     645<body bgcolor="\#ffffff" text="\#000000" link="\#006666"
     646      alink="\#cc9900" vlink="\#666633" background="_httpiconchalk_">
     647_startspacer__pagebanner_
     648}
     649_bildframe1header_[v=1] {_cgihead_
     650<html>
     651<head>
     652<base target=_top>
     653<title>_pagetitle_</title>
     654_globalscripts_
     655</head>
     656<body bgcolor="\#ffffff" text="\#000000" link="\#006666"
     657      alink="\#cc9900" vlink="\#666633" background="_httpiconchalk_">
     658_pagebanner_
     659}
     660_bildframe1scriptextra_ {
     661function check\_submit (gotopage) \{
     662  var form = document.collectorform;
     663  form.cp.value = gotopage;
     664  form.submit();
     665\}
     666}
    625667_bildframe1content_ {
     668<form name="collectorform" method=post action="_gwcgi_">
     669<input type=hidden name="e" value="_decodedcompressedoptions_">
     670<input type=hidden name="cp" value="bildcancel">
    626671<center>
    627672<table width=_pagewidth_>
     
    635680The collection is now being built: this might take some time. The building
    636681status line below gives feedback on how the operation is progressing.
    637 </td></tr>
    638 </table></center>
    639 }
     682<p>
     683To stop the building process at any time, click here:
     684<input type="submit" value="stop building">
     685<br>The collection you are working on will remain intact.
     686<p>
     687If you leave this page (and have not cancelled the building process with
     688the "stop building" button) the collection will continue to build and will
     689be installed upon successful completion.
     690</td></tr>
     691</table></center>
     692</form>
     693}
     694
     695
     696#######################################################################
     697# bildcancel
     698#######################################################################
     699
     700_bildcancelscriptextra_ {
     701function check\_submit (gotopage) \{
     702  var form = document.collectorform;
     703  form.cp.value = gotopage;
     704  form.submit();
     705\}
     706}
     707_bildcancelcontent_ {
     708<form name="collectorform" method=post action="_gwcgi_">
     709<input type=hidden name="e" value="_decodedcompressedoptions_">
     710<input type=hidden name="cp" value="_cgiargcp_">
     711<center>
     712<table width=_pagewidth_>
     713<tr><td>
     714_iconblankbar_
     715<center>
     716<h2>Build cancelled</h2>
     717</center>
     718<p>_iconblankbar_
     719<p>
     720The collection building process was cancelled. Use the yellow buttons below
     721to make changes to your collection or restart the building process.
     722<p><center>
     723_collectorbar_
     724</center>
     725
     726</td></tr>
     727</table></center>
     728</form>
     729}
     730
     731
     732#######################################################################
     733# bildstatus
     734#######################################################################
    640735
    641736# special header for status page
     
    676771}
    677772
     773
     774#######################################################################
     775# bilddone
     776#######################################################################
     777
    678778_bilddoneheader_ {_cgihead_
    679779_htmlhead_(background="_httpiconchalk_")_startspacer_
     
    697797}
    698798
     799
     800#######################################################################
     801# bildfail
     802#######################################################################
     803
    699804_bildfailheader_ {_cgihead_
    700805_htmlhead_(background="_httpiconchalk_")_startspacer_
     
    713818}
    714819
     820
    715821#######################################################################
    716822# Error and message pages
     
    736842}
    737843
    738 _mkcolfailcontent_ {
    739 _messagehead_
    740 <p>
    741 Greenstone failed to create the directory structure required to create your
    742 new collection. Possible causes are:
    743 <ul>
    744 <li> Greenstone does not have permission to write to the gsdl/collect
    745      directory.
    746 </ul>
    747 _messagefoot_
     844_messagefootnolink_ {
     845<p>_iconblankbar_
     846</td></tr>
     847</table></center>
     848</form>
    748849}
    749850
     
    778879<input type=hidden name="bc1clone" value="0">
    779880<p>
    780 The _cgiargclonecol_ collection cound not be cloned.
     881The _cgiargclonecol_ collection cound not be cloned. Possible causes are:
     882<ul>
     883<li> The _cgiargclonecol_ collection doesn't exist
     884<li> The _cgiargclonecol_ collection has no collect.cfg configuration file
     885<li> Greenstone does not have permission to read the collect.cfg configuration file
    781886_messagefoot_
    782887}
     888
     889_genericcontent_ {
     890_messagehead_
     891<p>
     892Collector error.
     893_messagefoot_
     894}
     895
     896_tmpfailcontent_ {
     897_messagehead_
     898<p>
     899The collector failed to read from or write to a temporary file or
     900directory. Possible causes are:
     901<ul>
     902<li> Greenstone does not have read/write access to the gsdl/tmp
     903     directory.
     904</ul>
     905_messagefoot_
     906}
     907
     908_mkcolfailcontent_ {
     909_messagehead_
     910<p>
     911
     912The collector failed to create the directory structure required by the new
     913collection (mkcol.pl failed). Possible causes are:
     914<ul>
     915<li> Greenstone does not have permission to write to the gsdl/tmp
     916     directory.
     917<li> mkcol.pl perl script errors.
     918</ul>
     919_messagefoot_
     920}
     921
     922_nocollectioncontent_ {
     923_messagehead_
     924<p>
     925Collector error: no collection name was provided for the new collection. Try
     926restarting the Collector from the beginning.
     927<br><a href="_httppagecollector_">Restart the Collector</a>
     928<p>
     929_messagefootnolink_
     930}
     931
     932_reloaderrorcontent_ {
     933_messagehead_
     934<p>
     935An error occurred while creating the new collection. This may have been due
     936to Greenstone getting confused by the use of your browser's "reload" or
     937"back" buttons (please try to avoid using these buttons while creating a
     938collection with the Collector).  It is recommended that you restart the
     939Collector from the beginning.
     940<br><a href="_httppagecollector_">Restart the Collector</a>
     941<p>
     942_messagefootnolink_
     943}
     944
     945_installfailcontent_ {
     946_messagehead_
     947<p>
     948
     949The collector failed to install your new collection correctly.
     950Possible causes are:
     951<ul>
     952<li> Greenstone does not have permission to write to the gsdl/collect
     953     directory.
     954<li> A _cgiargsbc1dirname_ collection already exists in the gsdl/collect
     955     directory.
     956</ul>
     957_messagefoot_
     958}
Note: See TracChangeset for help on using the changeset viewer.