[1419] | 1 | package collector
|
---|
| 2 |
|
---|
[1449] | 3 | _imagethispage_ {<a href="_httppagecollector_">_iconhcolect_</a>}
|
---|
[1419] | 4 |
|
---|
| 5 | # _pagescriptextra_ will be set to the appropriate _***scriptextra_
|
---|
| 6 | # macro from within the server
|
---|
| 7 | _pagescriptextra_ {}
|
---|
| 8 |
|
---|
| 9 | # this is just like the _gsimage_ macro but it calls the check_submit() javascript
|
---|
| 10 | # function instead of linking directly to the page (_1_ argument isn't used)
|
---|
[1507] | 11 | _gsjimage_ {<a href="javascript:check\_submit('_4_');" onMouseover="roll('_4_',1);" onMouseOut="roll('_4_',0);" target=_top><img
|
---|
[1419] | 12 | name="_4_" src="_2_" onLoad="gbutton(this,'_3_');" border=0 alt="_5_"></a>}
|
---|
[1507] | 13 | _gsjimage_ [v=1] {<a href="javascript:check\_submit('_4_');" target=_top>_5_</a><br>}
|
---|
[1419] | 14 |
|
---|
[1449] | 15 | # _gstimage_ is also similar to _gsimage_ but is used where buttons occur in a sub-frame and
|
---|
| 16 | # require target=_top
|
---|
| 17 | _gstimage_ {<a href="_1_" onMouseover="roll('_4_',1);" onMouseOut="roll('_4_',0);" target="\_top"><img
|
---|
| 18 | name="_4_" src="_2_" onLoad="gbutton(this,'_3_');" border=0 alt="_5_"></a>}
|
---|
| 19 | _gstimage_ [v=1] {<a href="_1_" target="\_top">_5_</a><br>}
|
---|
[1419] | 20 |
|
---|
[1437] | 21 | # a plain header for those pages that need it (the _pagebanner_ macro
|
---|
| 22 | # will be set to this by the server for those pages.
|
---|
| 23 | _plainbanner_ {}
|
---|
| 24 |
|
---|
[1485] | 25 | # dont want links to "help" or "preferences" pages from within
|
---|
| 26 | # collector
|
---|
| 27 | _javalinks_ {_imagehome_}
|
---|
| 28 | _javalinks_ [v=1] {
|
---|
| 29 | _imagehome_<br>
|
---|
| 30 | }
|
---|
| 31 |
|
---|
| 32 |
|
---|
[1419] | 33 | #######################################################################
|
---|
| 34 | # icons
|
---|
| 35 |
|
---|
[1449] | 36 | _iconhcolect_ {<img src="_httpimg_/h_colect.gif" alt="the collector" border=0>}
|
---|
[1419] | 37 | _icongreyarrow_ {<img src="_httpimg_/grarrow.gif">}
|
---|
| 38 | _icongreyuparrow_ {<img src="_httpimg_/guarrow.gif">}
|
---|
| 39 | _iconstop_ {<img src="_httpimg_/stop.gif" border=0>}
|
---|
| 40 |
|
---|
| 41 | _icongcinfoof_ {<img src="_httpicongcinfoof_" alt="_textinfo_">}
|
---|
| 42 | _icongcinfoon_ {<img src="_httpicongcinfoon_" alt="_textinfo_">}
|
---|
| 43 | _iconycinfoof_ {<img src="_httpiconycinfoof_" alt="_textinfo_">}
|
---|
| 44 | _iconycinfoon_ {<img src="_httpiconycinfoon_" alt="_textinfo_">}
|
---|
| 45 | _iconncinfoof_ {<img src="_httpiconncinfoof_" alt="_textinfo_">}
|
---|
| 46 | _textinfo_ {collection information}
|
---|
| 47 |
|
---|
| 48 | _icongcsrceof_ {<img src="_httpicongcsrceof_" alt="_textsrce_">}
|
---|
| 49 | _icongcsrceon_ {<img src="_httpicongcsrceon_" alt="_textsrce_">}
|
---|
| 50 | _iconycsrceof_ {<img src="_httpiconycsrceof_" alt="_textsrce_">}
|
---|
| 51 | _iconycsrceon_ {<img src="_httpiconycsrceon_" alt="_textsrce_">}
|
---|
| 52 | _iconncsrceof_ {<img src="_httpiconncsrceof_" alt="_textsrce_">}
|
---|
| 53 | _textsrce_ {source data}
|
---|
| 54 |
|
---|
| 55 | _icongcconfof_ {<img src="_httpicongcconfof_" alt="_textconf_">}
|
---|
| 56 | _icongcconfon_ {<img src="_httpicongcconfon_" alt="_textconf_">}
|
---|
| 57 | _iconycconfof_ {<img src="_httpiconycconfof_" alt="_textconf_">}
|
---|
| 58 | _iconycconfon_ {<img src="_httpiconycconfon_" alt="_textconf_">}
|
---|
| 59 | _iconncconfof_ {<img src="_httpiconncconfof_" alt="_textconf_">}
|
---|
| 60 | _textconf_ {configure collection}
|
---|
| 61 |
|
---|
| 62 | _icongcbildof_ {<img src="_httpicongcbildof_" alt="_textbild_">}
|
---|
| 63 | _icongcbildon_ {<img src="_httpicongcbildon_" alt="_textbild_">}
|
---|
| 64 | _iconycbildof_ {<img src="_httpiconycbildof_" alt="_textbild_">}
|
---|
| 65 | _iconycbildon_ {<img src="_httpiconycbildon_" alt="_textbild_">}
|
---|
| 66 | _iconncbildof_ {<img src="_httpiconncbildof_" alt="_textbild_">}
|
---|
| 67 | _textbild_ {build}
|
---|
| 68 |
|
---|
| 69 | _icongcviewof_ {<img src="_httpicongcviewof_" alt="_textview_">}
|
---|
| 70 | _icongcviewon_ {<img src="_httpicongcviewon_" alt="_textview_">}
|
---|
| 71 | _iconycviewof_ {<img src="_httpiconycviewof_" alt="_textview_">}
|
---|
| 72 | _iconycviewon_ {<img src="_httpiconycviewon_" alt="_textview_">}
|
---|
| 73 | _iconncviewof_ {<img src="_httpiconncviewof_" alt="_textview_">}
|
---|
| 74 | _textview_ {view}
|
---|
| 75 |
|
---|
[1433] | 76 | _icongcdelof_ {<img src="_httpicongcdelof_" alt="_textdel_">}
|
---|
| 77 | _icongcdelon_ {<img src="_httpicongcdelon_" alt="_textdel_">}
|
---|
| 78 | _textdel_ {delete collection}
|
---|
| 79 |
|
---|
[1419] | 80 | #######################################################################
|
---|
| 81 | # http macros
|
---|
| 82 |
|
---|
| 83 | _httpinfo_ {_gwcgi_?e=_compressedoptions_&cp=info}
|
---|
| 84 | _httpsrce_ {_gwcgi_?e=_compressedoptions_&cp=srce}
|
---|
| 85 | _httpconf_ {_gwcgi_?e=_compressedoptions_&cp=conf}
|
---|
| 86 | _httpbild_ {_gwcgi_?e=_compressedoptions_&cp=bild}
|
---|
[1485] | 87 | _httpview_ {_gwcgi_?a=p&p=about&c=_cgiargbc1dirname_}
|
---|
[1433] | 88 | _httpdel_ {javascript:do_delete();}
|
---|
[1419] | 89 |
|
---|
| 90 | _httpicongcinfoof_ {_httpimg_/gcinfoof.gif}
|
---|
| 91 | _httpicongcinfoon_ {_httpimg_/gcinfoon.gif}
|
---|
| 92 | _httpiconycinfoof_ {_httpimg_/ycinfoof.gif}
|
---|
| 93 | _httpiconycinfoon_ {_httpimg_/ycinfoon.gif}
|
---|
| 94 | _httpiconncinfoof_ {_httpimg_/ncinfoof.gif}
|
---|
| 95 |
|
---|
| 96 | _httpicongcsrceof_ {_httpimg_/gcsrceof.gif}
|
---|
| 97 | _httpicongcsrceon_ {_httpimg_/gcsrceon.gif}
|
---|
| 98 | _httpiconycsrceof_ {_httpimg_/ycsrceof.gif}
|
---|
| 99 | _httpiconycsrceon_ {_httpimg_/ycsrceon.gif}
|
---|
| 100 | _httpiconncsrceof_ {_httpimg_/ncsrceof.gif}
|
---|
| 101 |
|
---|
| 102 | _httpicongcconfof_ {_httpimg_/gcconfof.gif}
|
---|
| 103 | _httpicongcconfon_ {_httpimg_/gcconfon.gif}
|
---|
| 104 | _httpiconycconfof_ {_httpimg_/ycconfof.gif}
|
---|
| 105 | _httpiconycconfon_ {_httpimg_/ycconfon.gif}
|
---|
| 106 | _httpiconncconfof_ {_httpimg_/ncconfof.gif}
|
---|
| 107 |
|
---|
| 108 | _httpicongcbildof_ {_httpimg_/gcbildof.gif}
|
---|
| 109 | _httpicongcbildon_ {_httpimg_/gcbildon.gif}
|
---|
| 110 | _httpiconycbildof_ {_httpimg_/ycbildof.gif}
|
---|
| 111 | _httpiconycbildon_ {_httpimg_/ycbildon.gif}
|
---|
| 112 | _httpiconncbildof_ {_httpimg_/ncbildof.gif}
|
---|
| 113 |
|
---|
| 114 | _httpicongcviewof_ {_httpimg_/gcviewof.gif}
|
---|
| 115 | _httpicongcviewon_ {_httpimg_/gcviewon.gif}
|
---|
| 116 | _httpiconycviewof_ {_httpimg_/ycviewof.gif}
|
---|
| 117 | _httpiconycviewon_ {_httpimg_/ycviewon.gif}
|
---|
| 118 | _httpiconncviewof_ {_httpimg_/ncviewof.gif}
|
---|
| 119 |
|
---|
[1433] | 120 | _httpicongcdelof_ {_httpimg_/gcdelof.gif}
|
---|
| 121 | _httpicongcdelon_ {_httpimg_/gcdelon.gif}
|
---|
[1419] | 122 |
|
---|
[1455] | 123 |
|
---|
[1419] | 124 | #######################################################################
|
---|
[1455] | 125 | # intro
|
---|
| 126 | #######################################################################
|
---|
[1419] | 127 |
|
---|
| 128 | _introscriptextra_ {}
|
---|
| 129 |
|
---|
| 130 | _introcontent_ {
|
---|
| 131 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
| 132 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
| 133 |
|
---|
| 134 | <center>
|
---|
| 135 | <table width=_pagewidth_>
|
---|
| 136 | <tr><td>
|
---|
| 137 | _iconblankbar_
|
---|
| 138 | <center>
|
---|
| 139 | <h2>The Collector</h2>
|
---|
| 140 | <p><i>The pen is mightier than the sword!
|
---|
| 141 | <br>Building and distributing information collections carries responsibilities
|
---|
| 142 | that you may want to reflect on before you begin.
|
---|
| 143 | There are legal issues of copyright: being able to access documents doesn't
|
---|
| 144 | mean you can necessarily give them to others.
|
---|
| 145 | There are social issues: collections should respect the customs of the
|
---|
| 146 | community out of which the documents arise.
|
---|
[1449] | 147 | And there are ethical issues: some things simply should not be made
|
---|
| 148 | available to others.
|
---|
| 149 | <br>Be sensitive to the power of information and use it wisely.
|
---|
[1419] | 150 | </i>
|
---|
| 151 | </center>
|
---|
| 152 | <p>_iconblankbar_
|
---|
| 153 |
|
---|
| 154 | <p>The Collector helps you to create new collections, modify or add to
|
---|
| 155 | existing ones, or delete collections. To do this you will be guided through a
|
---|
| 156 | sequence of Web pages which request the information that is needed.
|
---|
| 157 |
|
---|
| 158 | <p>First, you must decide whether to
|
---|
| 159 | <ul>
|
---|
| 160 | <input type=radio name=cp value=new checked>
|
---|
| 161 | create an entirely new collection
|
---|
| 162 | <br>
|
---|
| 163 | <input type=radio name=cp value=existing>
|
---|
| 164 | work with an existing one, adding data to it or deleting it.
|
---|
| 165 | </ul>
|
---|
| 166 | <p>_iconblankbar_
|
---|
| 167 |
|
---|
| 168 | <p>In order to build or modify digital library collections you must sign in.
|
---|
| 169 | This is to protect you from others logging in to your computer and altering the
|
---|
| 170 | information on it. Note: for security reasons you will be automatically logged
|
---|
| 171 | out once a 30 minute period has elapsed since you logged in. If this happens,
|
---|
| 172 | don't worry! -- you will be invited to log in again and can continue from where
|
---|
| 173 | you left off.
|
---|
| 174 |
|
---|
| 175 | <p>Please enter your username and password, and click the button to sign in.
|
---|
| 176 |
|
---|
| 177 | <table><tr><td width=80>Name:</td>
|
---|
| 178 | <td><input type="text" name="un" value="" size=10></td>
|
---|
| 179 | <td></td></tr>
|
---|
| 180 | <tr><td>Password:</td>
|
---|
| 181 | <td><input type="password" name="pw" size=10></td>
|
---|
| 182 | <td><input type="submit" value="sign in"></td>
|
---|
| 183 | </tr>
|
---|
| 184 | </table>
|
---|
| 185 | <p>_iconblankbar_
|
---|
| 186 | </td></tr>
|
---|
| 187 | </table></center>
|
---|
| 188 |
|
---|
| 189 | </form>
|
---|
| 190 | }
|
---|
| 191 |
|
---|
| 192 |
|
---|
| 193 | #######################################################################
|
---|
[1455] | 194 | # existing (Changing an existing collection page)
|
---|
| 195 | #######################################################################
|
---|
[1433] | 196 |
|
---|
| 197 | _existingscriptextra_ {
|
---|
| 198 | function check\_submit (gotopage) \{
|
---|
| 199 | var form = document.collectorform;
|
---|
| 200 | if (gotopage == "srce") \{
|
---|
| 201 | form.bc1esrce.value = "1";
|
---|
| 202 | \}
|
---|
| 203 | if (gotopage == "conf") \{
|
---|
| 204 | form.bc1econf.value = "1";
|
---|
| 205 | \}
|
---|
| 206 | form.cp.value = gotopage;
|
---|
| 207 | form.submit();
|
---|
| 208 | \}
|
---|
| 209 |
|
---|
| 210 | function do_delete () \{
|
---|
| 211 | var form = document.collectorform;
|
---|
| 212 | var i = form.bc1dirname.selectedIndex;
|
---|
| 213 | var del = confirm ("Confirm deletion of " + form.bc1dirname.options[i].value + " collection?");
|
---|
| 214 | if (del) \{
|
---|
| 215 | form.bc1dodelete.value = "1";
|
---|
| 216 | form.submit();
|
---|
| 217 | \}
|
---|
| 218 | \}
|
---|
| 219 | }
|
---|
| 220 |
|
---|
| 221 | _changeexisting_ {
|
---|
| 222 | <p>First select the collection that you want to work with (write protected
|
---|
| 223 | collections won't appear in this list).
|
---|
| 224 | <br>_fullnamemenu_<br>
|
---|
| 225 | <p>With the collection you have selected, you can
|
---|
| 226 |
|
---|
| 227 | <table cellspacing=6>
|
---|
| 228 | <tr><td width=20 align=right valign=bottom>1.</td>
|
---|
| 229 | <td valign=bottom>_gsjimage_( ,_collector:httpicongcsrceof_,_collector:httpicongcsrceon_,srce,_collector:textsrce_)</td>
|
---|
| 230 | <td valign=bottom>Add more data and rebuild the collection</td></tr>
|
---|
| 231 | <tr><td align=right valign=bottom>2.</td>
|
---|
| 232 | <td valign=bottom>_gsjimage_(_,_collector:httpicongcconfof_,_collector:httpicongcconfon_,conf,_collector:textconf_)</td>
|
---|
[1476] | 233 | <td valign=bottom>Edit the collection configuration file and rebuild the collection</td></tr>
|
---|
[1433] | 234 | <tr><td align=right valign=bottom>3.</td>
|
---|
| 235 | <td valign=bottom>_gsimage_(_collector:httpdel_,_collector:httpicongcdelof_,_collector:httpicongcdelon_,del,_collector:textdel_)</td>
|
---|
| 236 | <td valign=bottom>Delete the collection entirely</td></tr>
|
---|
| 237 | </table>
|
---|
| 238 | }
|
---|
| 239 |
|
---|
| 240 | _existingcontent_ {
|
---|
| 241 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
| 242 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
| 243 | <input type=hidden name="cp" value="_cgiargcp_">
|
---|
| 244 | <input type=hidden name="bc1dodelete" value="0">
|
---|
| 245 | <input type=hidden name="bc1esrce" value="0">
|
---|
| 246 | <input type=hidden name="bc1econf" value="0">
|
---|
| 247 | <center>
|
---|
| 248 | <table width=_pagewidth_>
|
---|
| 249 | <tr><td>
|
---|
| 250 | _iconblankbar_
|
---|
| 251 | <center><h2>Changing an existing collection</h2></center>
|
---|
| 252 | _iconblankbar_
|
---|
| 253 | _If_("_fullnamemenu_" eq "",<p>No write-enabled collections are available for modifying,_changeexisting_)
|
---|
| 254 | <p>_iconblankbar_
|
---|
| 255 | </td></tr>
|
---|
| 256 | </table></center>
|
---|
| 257 | </form>
|
---|
| 258 | }
|
---|
| 259 |
|
---|
[1455] | 260 |
|
---|
[1433] | 261 | #######################################################################
|
---|
[1455] | 262 | # new (Create a new collection page)
|
---|
| 263 | #######################################################################
|
---|
[1419] | 264 |
|
---|
| 265 | _newscriptextra_ {}
|
---|
| 266 |
|
---|
| 267 | _newcontent_ {
|
---|
| 268 | <center>
|
---|
| 269 | <table width=_pagewidth_>
|
---|
| 270 | <tr><td>
|
---|
| 271 | _iconblankbar_
|
---|
| 272 | <center><h2>Creating a new collection</h2></center>
|
---|
| 273 | _iconblankbar_
|
---|
| 274 |
|
---|
| 275 | <p>The sequence of steps needed to create a new digital library collection is:
|
---|
| 276 | <table cellspacing=6>
|
---|
| 277 | <tr><td width=20 align=right valign=bottom>1.</td>
|
---|
| 278 | <td valign=bottom>_iconncinfoof_</td>
|
---|
| 279 | <td valign=bottom>Specify its name (and associated information)</td></tr>
|
---|
| 280 | <tr><td align=right valign=bottom>2.</td>
|
---|
| 281 | <td valign=bottom>_iconncsrceof_</td>
|
---|
| 282 | <td valign=bottom>Specify where the source data comes from</td></tr>
|
---|
| 283 | <tr><td align=right valign=bottom>3.</td>
|
---|
| 284 | <td valign=bottom>_iconncconfof_</td>
|
---|
| 285 | <td valign=bottom>Adjust the configuration options (advanced users only)</td></tr>
|
---|
| 286 | <tr><td align=right valign=bottom>4.</td>
|
---|
| 287 | <td valign=bottom>_iconncbildof_</td>
|
---|
| 288 | <td valign=bottom>"Build" the collection (see below)</td></tr>
|
---|
| 289 | <tr><td align=right valign=bottom>5.</td>
|
---|
| 290 | <td valign=bottom>_iconncviewof_</td>
|
---|
| 291 | <td valign=bottom>Proudly view your handiwork.</td></tr>
|
---|
| 292 | </table>
|
---|
| 293 |
|
---|
| 294 | <p>The fourth step is where the computer does all the work. In the "building"
|
---|
| 295 | process the computer makes all the indexes and gathers together any other
|
---|
| 296 | information that is required to make things work. But first you have to
|
---|
| 297 | specify the information.
|
---|
| 298 |
|
---|
| 299 | <p>_iconblankbar_
|
---|
| 300 |
|
---|
| 301 | <p>A diagram appears below that will help you keep track of where you are. The
|
---|
| 302 | green button is the one that you click to carry on in the sequence. As you go
|
---|
| 303 | through the sequence, the buttons will change to yellow. You can return to a
|
---|
| 304 | previous page by clicking on the corresponding yellow button in the diagram.
|
---|
| 305 |
|
---|
| 306 | <p>When you are ready, click the green "collection information" button to
|
---|
| 307 | begin creating your new digital library collection!
|
---|
| 308 |
|
---|
| 309 | <p><center>
|
---|
| 310 | _collectorbar_
|
---|
| 311 | </center>
|
---|
| 312 |
|
---|
| 313 | </td></tr>
|
---|
| 314 | </table></center>
|
---|
| 315 | }
|
---|
| 316 |
|
---|
| 317 |
|
---|
| 318 | #######################################################################
|
---|
[1455] | 319 | # info (Collection information page)
|
---|
| 320 | #######################################################################
|
---|
[1419] | 321 |
|
---|
| 322 | _infoscriptextra_ {
|
---|
[1425] | 323 | function check\_submit (gotopage) \{
|
---|
[1419] | 324 | var form = document.collectorform;
|
---|
| 325 | if (form.bc1fullname.value.match(/^\\s*$/))
|
---|
| 326 | \{
|
---|
| 327 | alert("Collection name must be specified");
|
---|
| 328 | form.bc1fullname.focus();
|
---|
| 329 | return;
|
---|
| 330 | \}
|
---|
| 331 | else if (form.bc1contactemail.value.match(/^\\s*$/))
|
---|
| 332 | \{
|
---|
| 333 | alert("Email address must be specified");
|
---|
| 334 | form.bc1contactemail.focus();
|
---|
| 335 | return;
|
---|
| 336 | \}
|
---|
| 337 | else if (!form.bc1contactemail.value.match(/^([^@]+)@(.+)$/))
|
---|
| 338 | \{
|
---|
| 339 | alert("Please specify email address in the form: usename@domain");
|
---|
| 340 | form.bc1contactemail.focus();
|
---|
| 341 | return;
|
---|
| 342 | \}
|
---|
| 343 | else if (form.bc1aboutdesc.value.match(/^\\s*$/))
|
---|
| 344 | \{
|
---|
| 345 | alert("Description of collection must be specified");
|
---|
| 346 | form.bc1aboutdesc.focus();
|
---|
| 347 | return;
|
---|
| 348 | \}
|
---|
| 349 | form.cp.value = gotopage;
|
---|
| 350 | form.submit();
|
---|
| 351 | \}
|
---|
| 352 | }
|
---|
| 353 |
|
---|
| 354 | _infocontent_ {
|
---|
| 355 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
| 356 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
| 357 | <input type=hidden name="cp" value="_cgiargcp_">
|
---|
[1425] | 358 | <input type=hidden name="bc1infochanged" value="0">
|
---|
[1419] | 359 |
|
---|
| 360 | <center>
|
---|
| 361 | <table width=_pagewidth_>
|
---|
| 362 | <tr><td>
|
---|
| 363 | _iconblankbar_
|
---|
| 364 | <center>
|
---|
| 365 | <h2>Collection information</h2>
|
---|
| 366 | </center>
|
---|
| 367 | <p>_iconblankbar_
|
---|
| 368 |
|
---|
| 369 | <p>When creating a new collection you need to enter some preliminary
|
---|
| 370 | information about the source data. This process is structured as a series
|
---|
| 371 | of Web pages, overseen by The Collector. The bar at the bottom of the page
|
---|
| 372 | shows you the sequence of pages to be completed.
|
---|
| 373 |
|
---|
| 374 | <h4>Title for collection:</h4>
|
---|
[1425] | 375 | <input type="text" name="bc1fullname" value="_cgiargbc1fullname_"
|
---|
| 376 | onChange="document.collectorform.bc1infochanged.value=1;") size=72>
|
---|
[1419] | 377 | <br>
|
---|
| 378 | <font color="#909090">
|
---|
| 379 | The collection title is a short phrase used throughout the digital library to
|
---|
| 380 | identify the content of the collection. Example titles
|
---|
| 381 | include "Computer Science Technical Reports" and "Humanity
|
---|
| 382 | Development Library."
|
---|
| 383 | </font>
|
---|
| 384 |
|
---|
| 385 | <h4>Contact email address:</h4>
|
---|
[1425] | 386 | <input type="text" name="bc1contactemail" value="_cgiargbc1contactemail_"
|
---|
| 387 | onChange="document.collectorform.bc1infochanged.value=1;" size=72>
|
---|
[1419] | 388 | <br>
|
---|
| 389 | <font color="#909090">
|
---|
| 390 | This email address specifies the first point of contact for the collection.
|
---|
| 391 | If the Greenstone software detects a problem, a diagnostic report is
|
---|
| 392 | sent to this address. Enter an email address in its full form:
|
---|
| 393 | <tt>name@domain</tt>.
|
---|
| 394 | </font>
|
---|
| 395 |
|
---|
| 396 | <h4>About this collection:</h4>
|
---|
[1425] | 397 | <textarea name="bc1aboutdesc" cols=72 rows=6 wrap=physical
|
---|
| 398 | onChange="document.collectorform.bc1infochanged.value=1;">
|
---|
| 399 | _cgiargbc1aboutdesc_
|
---|
| 400 | </textarea>
|
---|
[1419] | 401 | <br>
|
---|
| 402 | <font color="#909090">
|
---|
| 403 | This is statement describing the principles governing what is included in the
|
---|
| 404 | collection. It appears on the first page when the collection is presented.
|
---|
| 405 | </font>
|
---|
| 406 |
|
---|
| 407 | <p>_iconblankbar_
|
---|
| 408 |
|
---|
| 409 | <p>Your position in the sequence is indicated by an arrow underneath--in this
|
---|
| 410 | case, the "collection information" stage. To proceed, click the green "source
|
---|
| 411 | data" button.
|
---|
| 412 |
|
---|
| 413 | <p><center>
|
---|
| 414 | _collectorbar_
|
---|
| 415 | </center>
|
---|
| 416 |
|
---|
| 417 | </td></tr>
|
---|
| 418 | </table></center>
|
---|
| 419 |
|
---|
| 420 | </form>
|
---|
| 421 | }
|
---|
| 422 |
|
---|
| 423 |
|
---|
| 424 | #######################################################################
|
---|
[1455] | 425 | # srce (Source data page)
|
---|
| 426 | #######################################################################
|
---|
[1419] | 427 |
|
---|
| 428 | # _fullnamemenu is set from within the server. If it's empty there are
|
---|
| 429 | # no valid collections
|
---|
| 430 | _fullnamemenu_ {}
|
---|
| 431 |
|
---|
| 432 | _srcescriptextra_ {
|
---|
[1433] | 433 | var cloneval = _cgiargbc1clone_;
|
---|
| 434 |
|
---|
[1425] | 435 | function check\_submit (gotopage) \{
|
---|
[1419] | 436 | var form = document.collectorform;
|
---|
[1485] | 437 | var found = 0;
|
---|
| 438 | var i = 0;
|
---|
| 439 | if (!form.bc1inputdir1.value.match(/^\\s*$/)) \{
|
---|
| 440 | if (!form.bc1inputdir1.value.match(/^\(http|ftp|file\):/)) \{
|
---|
| 441 | i = form.sel1.selectedIndex;
|
---|
| 442 | form.bc1inputdir1.value = form.sel1.options[i].value + form.bc1inputdir1.value;
|
---|
| 443 | \}
|
---|
| 444 | found = 1;
|
---|
| 445 | \}
|
---|
| 446 | if (!form.bc1inputdir2.value.match(/^\\s*$/)) \{
|
---|
| 447 | if (!form.bc1inputdir2.value.match(/^\(http|ftp|file\):/)) \{
|
---|
| 448 | i = form.sel2.selectedIndex;
|
---|
| 449 | form.bc1inputdir2.value = form.sel2.options[i].value + form.bc1inputdir2.value;
|
---|
| 450 | \}
|
---|
| 451 | found = 1;
|
---|
| 452 | \}
|
---|
| 453 | if (!form.bc1inputdir3.value.match(/^\\s*$/)) \{
|
---|
| 454 | if (!form.bc1inputdir3.value.match(/^\(http|ftp|file\):/)) \{
|
---|
| 455 | i = form.sel3.selectedIndex;
|
---|
| 456 | form.bc1inputdir3.value = form.sel3.options[i].value + form.bc1inputdir3.value;
|
---|
| 457 | \}
|
---|
| 458 | found = 1;
|
---|
| 459 | \}
|
---|
| 460 | if (!form.bc1inputdir4.value.match(/^\\s*$/)) \{
|
---|
| 461 | if (!form.bc1inputdir4.value.match(/^\(http|ftp|file\):/)) \{
|
---|
| 462 | i = form.sel4.selectedIndex;
|
---|
| 463 | form.bc1inputdir4.value = form.sel4.options[i].value + form.bc1inputdir4.value;
|
---|
| 464 | \}
|
---|
| 465 | found = 1;
|
---|
| 466 | \}
|
---|
| 467 |
|
---|
| 468 | if (!found)
|
---|
[1419] | 469 | \{
|
---|
| 470 | alert("At least one input source must be specified");
|
---|
| 471 | form.bc1inputdir1.focus();
|
---|
| 472 | return;
|
---|
| 473 | \}
|
---|
| 474 |
|
---|
| 475 | form.cp.value = gotopage;
|
---|
| 476 | form.submit();
|
---|
| 477 | \}
|
---|
[1433] | 478 |
|
---|
| 479 | function clone\_changed (changedto) \{
|
---|
| 480 | var form = document.collectorform;
|
---|
| 481 | if (changedto != cloneval) \{
|
---|
| 482 | form.bc1clonechanged.value = 1;
|
---|
| 483 | \} else \{
|
---|
| 484 | form.bc1clonechanged.value = 0;
|
---|
| 485 | \}
|
---|
[1485] | 486 | menuchange();
|
---|
[1433] | 487 | \}
|
---|
[1485] | 488 |
|
---|
| 489 | function menuchange () \{
|
---|
| 490 | var form = document.collectorform;
|
---|
| 491 | var warnlist = new Array (_warnindex_);
|
---|
| 492 |
|
---|
| 493 | if (warnlist[form.bc1clonecol.selectedIndex] == 1) \{
|
---|
| 494 | alert ("The collection you are cloning has a non-standard input file\\n" +
|
---|
| 495 | "format, and/or uses metadata specified in auxiliary files. If your\\n" +
|
---|
| 496 | "new input lacks this information, some browsing facilities may not\\n" +
|
---|
| 497 | "work properly.");
|
---|
| 498 | \}
|
---|
| 499 | \}
|
---|
[1419] | 500 | }
|
---|
| 501 |
|
---|
[1433] | 502 | _srcenew_ {
|
---|
[1419] | 503 | <center>
|
---|
| 504 | <h2>Source data</h2>
|
---|
| 505 | </center>
|
---|
| 506 | <p>_iconblankbar_
|
---|
| 507 |
|
---|
| 508 | <p>You can either create a completely new collection, or "clone" an existing one
|
---|
| 509 | -- that is, base the structure of your new collection on one that exists already.
|
---|
| 510 | <ul>
|
---|
[1433] | 511 | <input type=radio onClick="clone_changed(0);" name=bc1clone value=0
|
---|
| 512 | _If_("_cgiargbc1clone_" eq "0",checked)><b>Create new collection</b>
|
---|
[1419] | 513 | <br><font color="#909090">
|
---|
| 514 | Create a completely new collection. The collection may contain html documents (.htm, .html), plain text
|
---|
| 515 | documents (.txt, .text), or email documents (.email).
|
---|
| 516 | </font>
|
---|
| 517 | </ul>
|
---|
| 518 | <ul>_If_("_fullnamemenu_" eq "",
|
---|
| 519 | No collections available for cloning.,_srcemenu_)
|
---|
| 520 | </ul>
|
---|
[1433] | 521 | }
|
---|
[1419] | 522 |
|
---|
[1433] | 523 | _srceappend_ {
|
---|
| 524 | <center>
|
---|
| 525 | <h2>Add new data</h2>
|
---|
| 526 | </center>
|
---|
| 527 | <p>_iconblankbar_
|
---|
| 528 | <h4>Adding data:</h4>
|
---|
| 529 | The files that you specify below will be added to the collection. Make sure
|
---|
| 530 | that you do not re-specify files that are already in the collection:
|
---|
| 531 | otherwise two copies will be included. Files are identified by their full
|
---|
| 532 | pathname, Web pages by their absolute Web address.
|
---|
| 533 | }
|
---|
| 534 |
|
---|
| 535 | _srcecontent_ {
|
---|
| 536 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
| 537 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
| 538 | <input type=hidden name="cp" value="_cgiargcp_">
|
---|
| 539 | <input type=hidden name="bc1clonechanged" value="0">
|
---|
| 540 |
|
---|
| 541 | <center>
|
---|
| 542 | <table width=_pagewidth_>
|
---|
| 543 | <tr><td>
|
---|
| 544 | _iconblankbar_
|
---|
| 545 | _If_("_cgiargbc1esrce_" eq "1",_srceappend_,_srcenew_)
|
---|
| 546 |
|
---|
[1419] | 547 | <h4>Input source:</h4>
|
---|
[1507] | 548 | <nobr>_typeselect_(1,file)<input type=text name="bc1inputdir1" value="_cgiargbc1inputdir1_" size=60></nobr>
|
---|
[1419] | 549 | <br>
|
---|
[1507] | 550 | <nobr>_typeselect_(2,http)<input type=text name="bc1inputdir2" value="_cgiargbc1inputdir2_" size=60></nobr>
|
---|
[1419] | 551 | <br>
|
---|
[1507] | 552 | <nobr>_typeselect_(3,ftp)<input type=text name="bc1inputdir3" value="_cgiargbc1inputdir3_" size=60></nobr>
|
---|
[1419] | 553 | <br>
|
---|
[1507] | 554 | <nobr>_typeselect_(4,file)<input type=text name="bc1inputdir4" value="_cgiargbc1inputdir4_" size=60></nobr>
|
---|
[1419] | 555 | <br>
|
---|
| 556 | <font color="#909090">
|
---|
| 557 | These specify where the source data is located. There are three kinds of
|
---|
| 558 | location:
|
---|
| 559 | <ul>
|
---|
| 560 | <li> a directory name on your computer system (beginning with "file://"),
|
---|
| 561 | <li> an address beginning with "http://" for files to be downloaded from the
|
---|
| 562 | Web,
|
---|
| 563 | <li> an address beginning with "ftp://" for files to be downloaded using FTP
|
---|
| 564 | (file transfer protocol).
|
---|
| 565 | </ul>
|
---|
| 566 | In each case, the collection will include all files of the appropriate type in
|
---|
| 567 | the specified directory, in any directories it contains, in any directories
|
---|
| 568 | they contain, and so on.
|
---|
| 569 | <p>You can specify up to four different input sources. If you specify a
|
---|
| 570 | filename, just that file will be included.
|
---|
| 571 | </font>
|
---|
| 572 |
|
---|
| 573 | <p>_iconblankbar_
|
---|
[1485] | 574 | <p>Click one of the green buttons. If you are an advanced user you may want
|
---|
| 575 | to adjust the collection configuration. Alternatively, go straight to the
|
---|
| 576 | building stage. Remember, you can always revisit an earlier stage by
|
---|
| 577 | clicking its yellow button.
|
---|
[1419] | 578 |
|
---|
| 579 | <p><center>
|
---|
| 580 | _collectorbar_
|
---|
| 581 | </center>
|
---|
| 582 |
|
---|
| 583 | </td></tr>
|
---|
| 584 | </table></center>
|
---|
| 585 |
|
---|
| 586 | </form>
|
---|
| 587 | }
|
---|
| 588 |
|
---|
[1485] | 589 | _typeselect_ {<select name="sel_1_">
|
---|
| 590 | <option value="file://" _If_("_2_" eq "file",selected)>file://
|
---|
| 591 | <option value="http://" _If_("_2_" eq "http",selected)>http://
|
---|
| 592 | <option value="ftp://" _If_("_2_" eq "ftp",selected)>ftp://
|
---|
| 593 | </select>}
|
---|
| 594 |
|
---|
[1433] | 595 | _srcemenu_ {<input type=radio name=bc1clone onClick="clone_changed(1);" value=1
|
---|
| 596 | _If_("_cgiargbc1clone_" eq "1",checked)><b>Clone existing collection</b>
|
---|
[1419] | 597 | <br>_fullnamemenu_<br>
|
---|
| 598 | <font color=#909090>
|
---|
| 599 | This pull-down menu specifies which collection you want to clone. The files in
|
---|
| 600 | your new collection must be exactly the same type as those used to build
|
---|
| 601 | the existing one.
|
---|
| 602 | </font>
|
---|
| 603 | }
|
---|
| 604 |
|
---|
| 605 |
|
---|
| 606 | #######################################################################
|
---|
[1455] | 607 | # conf (Configure collection page)
|
---|
| 608 | #######################################################################
|
---|
[1419] | 609 |
|
---|
| 610 | _confscriptextra_ {
|
---|
| 611 | var changed = 0;
|
---|
| 612 |
|
---|
[1425] | 613 | function check\_submit (gotopage) \{
|
---|
[1419] | 614 | var form = document.collectorform;
|
---|
| 615 | form.bc1cfgchanged.value = changed;
|
---|
| 616 | form.cp.value = gotopage;
|
---|
| 617 | form.submit();
|
---|
| 618 | \}
|
---|
| 619 |
|
---|
[1425] | 620 | function reset\_button () \{
|
---|
[1419] | 621 | document.collectorform.reset();
|
---|
| 622 | changed = 0;
|
---|
| 623 | \}
|
---|
| 624 | }
|
---|
| 625 |
|
---|
| 626 | _confcontent_ {
|
---|
| 627 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
| 628 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
| 629 | <input type=hidden name="cp" value="_cgiargcp_">
|
---|
| 630 | <input type=hidden name="bc1cfgchanged" value="_cgiargbc1cfgchanged_">
|
---|
| 631 |
|
---|
| 632 | <center>
|
---|
| 633 | <table width=_pagewidth_>
|
---|
| 634 | <tr><td>
|
---|
| 635 | _iconblankbar_
|
---|
| 636 | <center>
|
---|
| 637 | <h2>Configure collection</h2>
|
---|
| 638 | </center>
|
---|
| 639 | <p>_iconblankbar_
|
---|
| 640 |
|
---|
| 641 | <p>The building and presentation of your collection are controlled by
|
---|
| 642 | specifications in a special "configuration file". Advanced users may want
|
---|
| 643 | to alter the configuration settings.
|
---|
| 644 |
|
---|
| 645 | <center><p><b>If you are not an advanced user, just go to the bottom of the
|
---|
| 646 | page.</b></center>
|
---|
| 647 |
|
---|
| 648 | <p>To alter the configuration settings, edit the data that appears below.
|
---|
| 649 | If you make a mistake, click on "Reset" to reinstate the
|
---|
| 650 | original configuration settings.
|
---|
| 651 |
|
---|
| 652 | <p><textarea name="bc1cfgfile" cols=72 rows=18 wrap=off onChange="changed=1;">
|
---|
| 653 | _cfgfile_
|
---|
| 654 | </textarea>
|
---|
| 655 | <table><tr valign=top>
|
---|
[1425] | 656 | <td><a href="javascript:reset\_button();">_iconstop_</a></td>
|
---|
| 657 | <td><a href="javascript:reset\_button();">Reset</a></td>
|
---|
[1419] | 658 | </tr></table>
|
---|
| 659 |
|
---|
| 660 | <p><center>
|
---|
| 661 | _collectorbar_
|
---|
| 662 | </center>
|
---|
| 663 |
|
---|
| 664 | </td></tr>
|
---|
| 665 | </table></center>
|
---|
| 666 |
|
---|
| 667 | </form>
|
---|
| 668 | }
|
---|
| 669 |
|
---|
| 670 |
|
---|
[1425] | 671 | #######################################################################
|
---|
[1455] | 672 | # bild (main frameset for build page)
|
---|
| 673 | #######################################################################
|
---|
[1419] | 674 |
|
---|
[1437] | 675 | _bildcontent_ {
|
---|
[1449] | 676 | <html>
|
---|
[1507] | 677 | <head>
|
---|
| 678 | <script>
|
---|
| 679 | <!--
|
---|
| 680 | function check\_submit (gotopage) \{
|
---|
| 681 | var form = document.collectorform;
|
---|
| 682 | form.cp.value = gotopage;
|
---|
| 683 | form.submit();
|
---|
| 684 | \}
|
---|
| 685 | // -->
|
---|
| 686 | </script>
|
---|
| 687 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
| 688 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
| 689 | <input type=hidden name="cp" value="_cgiargcp_">
|
---|
| 690 | </head>
|
---|
| 691 |
|
---|
| 692 | <frameset rows="*,160" border=0>
|
---|
[1437] | 693 | <noframes><body bgcolor="#ffffff">
|
---|
[1485] | 694 | <p>You must have a frame enabled browser to obtain feedback
|
---|
| 695 | on how the building process is progressing. The collection <i>will</i>
|
---|
| 696 | continue to build as normal however.
|
---|
| 697 |
|
---|
| 698 | <table>
|
---|
| 699 | <tr valign=center><td>
|
---|
| 700 | To stop the building process at any time, click here.
|
---|
| 701 | <br>The collection you are working on will remain intact.
|
---|
| 702 | </td>
|
---|
| 703 | <td><input type="submit" value="stop building"></td>
|
---|
| 704 | </table>
|
---|
| 705 |
|
---|
[1437] | 706 | </body>
|
---|
| 707 | </noframes>
|
---|
| 708 | <frame src="_gwcgi_?e=_compressedoptions_&cp=bildframe1">
|
---|
| 709 | <frame src="_gwcgi_?e=_compressedoptions_&cp=bildstatus">
|
---|
| 710 | </frameset>
|
---|
[1449] | 711 | </html>
|
---|
[1425] | 712 | }
|
---|
| 713 |
|
---|
[1455] | 714 | #######################################################################
|
---|
| 715 | # bildframe1
|
---|
| 716 | #######################################################################
|
---|
| 717 |
|
---|
| 718 | # header overridden to allow base target to be set
|
---|
[1507] | 719 | # also no page banner to maximise what we can fit in the frame without scrolling
|
---|
[1455] | 720 | _bildframe1header_ {_cgihead_
|
---|
| 721 | <html>
|
---|
| 722 | <head>
|
---|
| 723 | <base target=_top>
|
---|
| 724 | <title>_pagetitle_</title>
|
---|
| 725 | _globalscripts_
|
---|
| 726 | </head>
|
---|
| 727 | <body bgcolor="\#ffffff" text="\#000000" link="\#006666"
|
---|
| 728 | alink="\#cc9900" vlink="\#666633" background="_httpiconchalk_">
|
---|
[1507] | 729 | _startspacer_
|
---|
[1455] | 730 | }
|
---|
| 731 | _bildframe1header_[v=1] {_cgihead_
|
---|
| 732 | <html>
|
---|
| 733 | <head>
|
---|
| 734 | <base target=_top>
|
---|
| 735 | <title>_pagetitle_</title>
|
---|
| 736 | _globalscripts_
|
---|
| 737 | </head>
|
---|
| 738 | <body bgcolor="\#ffffff" text="\#000000" link="\#006666"
|
---|
| 739 | alink="\#cc9900" vlink="\#666633" background="_httpiconchalk_">
|
---|
| 740 | }
|
---|
[1507] | 741 | _bildframe1scriptextra_ {}
|
---|
[1437] | 742 | _bildframe1content_ {
|
---|
[1455] | 743 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
| 744 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
| 745 | <input type=hidden name="cp" value="bildcancel">
|
---|
[1425] | 746 | <center>
|
---|
| 747 | <table width=_pagewidth_>
|
---|
| 748 | <tr><td>
|
---|
| 749 | _iconblankbar_
|
---|
| 750 | <center>
|
---|
| 751 | <h2>Build</h2>
|
---|
| 752 | </center>
|
---|
| 753 | <p>_iconblankbar_
|
---|
[1437] | 754 | <p>
|
---|
| 755 | The collection is now being built: this might take some time. The building
|
---|
| 756 | status line below gives feedback on how the operation is progressing.
|
---|
[1455] | 757 | <p>
|
---|
[1485] | 758 |
|
---|
| 759 | <table>
|
---|
| 760 | <tr valign=center><td>
|
---|
| 761 | To stop the building process at any time, click here.
|
---|
[1455] | 762 | <br>The collection you are working on will remain intact.
|
---|
[1485] | 763 | </td>
|
---|
| 764 | <td><input type="submit" value="stop building"></td>
|
---|
| 765 | </table>
|
---|
| 766 |
|
---|
[1455] | 767 | <p>
|
---|
| 768 | If you leave this page (and have not cancelled the building process with
|
---|
| 769 | the "stop building" button) the collection will continue to build and will
|
---|
| 770 | be installed upon successful completion.
|
---|
[1437] | 771 | </td></tr>
|
---|
| 772 | </table></center>
|
---|
[1455] | 773 | </form>
|
---|
[1437] | 774 | }
|
---|
[1425] | 775 |
|
---|
[1455] | 776 |
|
---|
| 777 | #######################################################################
|
---|
| 778 | # bildcancel
|
---|
| 779 | #######################################################################
|
---|
| 780 |
|
---|
| 781 | _bildcancelscriptextra_ {
|
---|
| 782 | function check\_submit (gotopage) \{
|
---|
| 783 | var form = document.collectorform;
|
---|
| 784 | form.cp.value = gotopage;
|
---|
| 785 | form.submit();
|
---|
| 786 | \}
|
---|
| 787 | }
|
---|
| 788 | _bildcancelcontent_ {
|
---|
| 789 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
| 790 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
| 791 | <input type=hidden name="cp" value="_cgiargcp_">
|
---|
[1507] | 792 | </form>
|
---|
[1455] | 793 | <center>
|
---|
| 794 | <table width=_pagewidth_>
|
---|
| 795 | <tr><td>
|
---|
| 796 | _iconblankbar_
|
---|
| 797 | <center>
|
---|
| 798 | <h2>Build cancelled</h2>
|
---|
| 799 | </center>
|
---|
| 800 | <p>_iconblankbar_
|
---|
| 801 | <p>
|
---|
| 802 | The collection building process was cancelled. Use the yellow buttons below
|
---|
| 803 | to make changes to your collection or restart the building process.
|
---|
| 804 | <p><center>
|
---|
| 805 | _collectorbar_
|
---|
| 806 | </center>
|
---|
| 807 |
|
---|
| 808 | </td></tr>
|
---|
| 809 | </table></center>
|
---|
| 810 | }
|
---|
| 811 |
|
---|
| 812 |
|
---|
| 813 | #######################################################################
|
---|
| 814 | # bildstatus
|
---|
| 815 | #######################################################################
|
---|
| 816 |
|
---|
[1438] | 817 | # special header for status page
|
---|
| 818 | _bildstatusheader_ {_cgihead_
|
---|
| 819 | _htmlhead_(background="_httpiconchalk_" onLoad="initialize();")_startspacer_
|
---|
| 820 | }
|
---|
| 821 | _bildstatusheader_[v=1] {_cgihead_
|
---|
| 822 | _htmlhead_(onLoad="initialize();")
|
---|
| 823 | }
|
---|
| 824 |
|
---|
| 825 | _bildstatusscriptextra_ {
|
---|
| 826 | var timer = 5;
|
---|
| 827 | function initialize() \{
|
---|
| 828 | setTimeout("count_down()",1000);
|
---|
| 829 | \}
|
---|
| 830 |
|
---|
| 831 | function count_down() \{
|
---|
| 832 | if (timer==0) \{
|
---|
[1476] | 833 | window.status = "";
|
---|
[1438] | 834 | document.collectorform.submit();
|
---|
| 835 | \} else \{
|
---|
| 836 | window.status = "Building status update in "+timer+" seconds";
|
---|
| 837 | timer--;
|
---|
| 838 | setTimeout("count_down()",1000);
|
---|
| 839 | \}
|
---|
| 840 | \}
|
---|
| 841 | }
|
---|
| 842 |
|
---|
[1437] | 843 | _bildstatuscontent_ {
|
---|
[1438] | 844 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
| 845 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
[1437] | 846 | <center>
|
---|
| 847 | <table width=_pagewidth_>
|
---|
| 848 | <tr><td>
|
---|
| 849 | _statusline_
|
---|
[1425] | 850 | </td></tr>
|
---|
| 851 | </table></center>
|
---|
[1438] | 852 | </form>
|
---|
[1425] | 853 | }
|
---|
| 854 |
|
---|
[1455] | 855 |
|
---|
| 856 | #######################################################################
|
---|
| 857 | # bilddone
|
---|
| 858 | #######################################################################
|
---|
| 859 |
|
---|
[1449] | 860 | _bilddoneheader_ {_cgihead_
|
---|
| 861 | _htmlhead_(background="_httpiconchalk_")_startspacer_
|
---|
| 862 | }
|
---|
| 863 | _bilddonescriptextra_ {}
|
---|
| 864 | _bilddonecontent_ {
|
---|
| 865 | <center>
|
---|
| 866 | <table width=_pagewidth_>
|
---|
| 867 | <tr><td>
|
---|
| 868 | <p>Collection built successfully.
|
---|
| 869 |
|
---|
| 870 | <p><center>
|
---|
| 871 | _collectorbar_
|
---|
| 872 | </center>
|
---|
| 873 |
|
---|
| 874 | </td></tr>
|
---|
| 875 | </table></center>
|
---|
| 876 | }
|
---|
| 877 |
|
---|
[1455] | 878 |
|
---|
| 879 | #######################################################################
|
---|
| 880 | # bildfail
|
---|
| 881 | #######################################################################
|
---|
| 882 |
|
---|
[1449] | 883 | _bildfailheader_ {_cgihead_
|
---|
| 884 | _htmlhead_(background="_httpiconchalk_")_startspacer_
|
---|
| 885 | }
|
---|
[1507] | 886 | _bildfailscriptextra_ {
|
---|
| 887 | function check\_submit (gotopage) \{
|
---|
| 888 | var form = document.collectorform;
|
---|
| 889 | form.cp.value = gotopage;
|
---|
| 890 | form.submit();
|
---|
| 891 | \}
|
---|
| 892 | }
|
---|
[1449] | 893 | _bildfailcontent_ {
|
---|
| 894 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
| 895 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
[1507] | 896 | <input type=hidden name="cp" value="_cgiargcp_">
|
---|
| 897 | </form>
|
---|
[1449] | 898 | <center>
|
---|
| 899 | <table width=_pagewidth_>
|
---|
| 900 | <tr><td>
|
---|
| 901 | <p>An error has occurred while attempting to build your collection.
|
---|
[1485] | 902 | <br> The build log contains the following:
|
---|
| 903 | <p>_faillog_
|
---|
[1507] | 904 |
|
---|
| 905 | <p><center>
|
---|
| 906 | _collectorbar_
|
---|
| 907 | </center>
|
---|
| 908 |
|
---|
[1449] | 909 | </td></tr>
|
---|
| 910 | </table></center>
|
---|
| 911 | }
|
---|
| 912 |
|
---|
[1455] | 913 |
|
---|
[1419] | 914 | #######################################################################
|
---|
[1433] | 915 | # Error and message pages
|
---|
[1419] | 916 | #######################################################################
|
---|
| 917 |
|
---|
[1433] | 918 | _messagehead_ {
|
---|
| 919 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
| 920 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
[1437] | 921 |
|
---|
| 922 | <center>
|
---|
| 923 | <table width=_pagewidth_>
|
---|
| 924 | <tr><td>
|
---|
[1433] | 925 | _iconblankbar_
|
---|
| 926 | }
|
---|
| 927 |
|
---|
| 928 | _messagefoot_ {
|
---|
| 929 | <p>
|
---|
| 930 | <a href="javascript:document.collectorform.submit();">Return to the collector</a>
|
---|
[1437] | 931 | <p>_iconblankbar_
|
---|
| 932 | </td></tr>
|
---|
| 933 | </table></center>
|
---|
[1433] | 934 | </form>
|
---|
| 935 | }
|
---|
| 936 |
|
---|
[1455] | 937 | _messagefootnolink_ {
|
---|
| 938 | <p>_iconblankbar_
|
---|
| 939 | </td></tr>
|
---|
| 940 | </table></center>
|
---|
| 941 | </form>
|
---|
[1419] | 942 | }
|
---|
[1433] | 943 |
|
---|
| 944 | _delpermissioncontent_ {
|
---|
| 945 | _messagehead_
|
---|
| 946 | <p>
|
---|
| 947 | Some or all of the _cgiargbc1dirname_ collection could not be
|
---|
| 948 | deleted. Possible causes are:
|
---|
| 949 | <ul>
|
---|
| 950 | <li> Greenstone does not have permission to delete the gsdl/collect/_cgibc1dirname_
|
---|
| 951 | directory.
|
---|
| 952 | </ul>
|
---|
| 953 | _messagefoot_
|
---|
| 954 | }
|
---|
| 955 |
|
---|
| 956 | _delinvalidcontent_ {
|
---|
| 957 | _messagehead_
|
---|
| 958 | <p>
|
---|
| 959 | The _cgiargbc1dirname_ collection is protected or invalid. Deletion was cancelled.
|
---|
| 960 | _messagefoot_
|
---|
| 961 | }
|
---|
| 962 |
|
---|
| 963 | _delsuccesscontent_ {
|
---|
| 964 | _messagehead_
|
---|
| 965 | <p>
|
---|
| 966 | The _cgiargbc1dirname_ collection was successfully deleted.
|
---|
| 967 | _messagefoot_
|
---|
| 968 | }
|
---|
| 969 |
|
---|
| 970 | _clonefailcontent_ {
|
---|
| 971 | _messagehead_
|
---|
| 972 | <input type=hidden name="bc1clone" value="0">
|
---|
| 973 | <p>
|
---|
[1455] | 974 | The _cgiargclonecol_ collection cound not be cloned. Possible causes are:
|
---|
| 975 | <ul>
|
---|
| 976 | <li> The _cgiargclonecol_ collection doesn't exist
|
---|
| 977 | <li> The _cgiargclonecol_ collection has no collect.cfg configuration file
|
---|
| 978 | <li> Greenstone does not have permission to read the collect.cfg configuration file
|
---|
[1433] | 979 | _messagefoot_
|
---|
| 980 | }
|
---|
[1455] | 981 |
|
---|
| 982 | _genericcontent_ {
|
---|
| 983 | _messagehead_
|
---|
| 984 | <p>
|
---|
| 985 | Collector error.
|
---|
| 986 | _messagefoot_
|
---|
| 987 | }
|
---|
| 988 |
|
---|
| 989 | _tmpfailcontent_ {
|
---|
| 990 | _messagehead_
|
---|
| 991 | <p>
|
---|
| 992 | The collector failed to read from or write to a temporary file or
|
---|
| 993 | directory. Possible causes are:
|
---|
| 994 | <ul>
|
---|
| 995 | <li> Greenstone does not have read/write access to the gsdl/tmp
|
---|
| 996 | directory.
|
---|
| 997 | </ul>
|
---|
| 998 | _messagefoot_
|
---|
| 999 | }
|
---|
| 1000 |
|
---|
| 1001 | _mkcolfailcontent_ {
|
---|
| 1002 | _messagehead_
|
---|
| 1003 | <p>
|
---|
| 1004 |
|
---|
| 1005 | The collector failed to create the directory structure required by the new
|
---|
| 1006 | collection (mkcol.pl failed). Possible causes are:
|
---|
| 1007 | <ul>
|
---|
| 1008 | <li> Greenstone does not have permission to write to the gsdl/tmp
|
---|
| 1009 | directory.
|
---|
| 1010 | <li> mkcol.pl perl script errors.
|
---|
| 1011 | </ul>
|
---|
| 1012 | _messagefoot_
|
---|
| 1013 | }
|
---|
| 1014 |
|
---|
| 1015 | _nocollectioncontent_ {
|
---|
| 1016 | _messagehead_
|
---|
| 1017 | <p>
|
---|
| 1018 | Collector error: no collection name was provided for the new collection. Try
|
---|
| 1019 | restarting the Collector from the beginning.
|
---|
| 1020 | <br><a href="_httppagecollector_">Restart the Collector</a>
|
---|
| 1021 | <p>
|
---|
| 1022 | _messagefootnolink_
|
---|
| 1023 | }
|
---|
| 1024 |
|
---|
| 1025 | _reloaderrorcontent_ {
|
---|
| 1026 | _messagehead_
|
---|
| 1027 | <p>
|
---|
| 1028 | An error occurred while creating the new collection. This may have been due
|
---|
| 1029 | to Greenstone getting confused by the use of your browser's "reload" or
|
---|
| 1030 | "back" buttons (please try to avoid using these buttons while creating a
|
---|
| 1031 | collection with the Collector). It is recommended that you restart the
|
---|
| 1032 | Collector from the beginning.
|
---|
| 1033 | <br><a href="_httppagecollector_">Restart the Collector</a>
|
---|
| 1034 | <p>
|
---|
| 1035 | _messagefootnolink_
|
---|
| 1036 | }
|
---|
| 1037 |
|
---|
| 1038 | _installfailcontent_ {
|
---|
| 1039 | _messagehead_
|
---|
| 1040 | <p>
|
---|
| 1041 |
|
---|
| 1042 | The collector failed to install your new collection correctly.
|
---|
| 1043 | Possible causes are:
|
---|
| 1044 | <ul>
|
---|
| 1045 | <li> Greenstone does not have permission to write to the gsdl/collect
|
---|
| 1046 | directory.
|
---|
| 1047 | <li> A _cgiargsbc1dirname_ collection already exists in the gsdl/collect
|
---|
| 1048 | directory.
|
---|
| 1049 | </ul>
|
---|
| 1050 | _messagefoot_
|
---|
| 1051 | }
|
---|