Changeset 1485 for trunk/gsdl/macros
- Timestamp:
- 2000-08-31T20:07:53+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/collect.dm
r1476 r1485 19 19 _gstimage_ [v=1] {<a href="_1_" target="\_top">_5_</a><br>} 20 20 21 22 23 21 # a plain header for those pages that need it (the _pagebanner_ macro 24 22 # will be set to this by the server for those pages. 25 23 _plainbanner_ {} 24 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 26 32 27 33 ####################################################################### … … 79 85 _httpconf_ {_gwcgi_?e=_compressedoptions_&cp=conf} 80 86 _httpbild_ {_gwcgi_?e=_compressedoptions_&cp=bild} 81 _httpview_ {_gwcgi_? e=_compressedoptions_&a=p&p=about&c=_cgiargbc1dirname_}87 _httpview_ {_gwcgi_?a=p&p=about&c=_cgiargbc1dirname_} 82 88 _httpdel_ {javascript:do_delete();} 83 89 … … 429 435 function check\_submit (gotopage) \{ 430 436 var form = document.collectorform; 431 if (form.bc1inputdir1.value.match(/^\\s*$/) && 432 form.bc1inputdir2.value.match(/^\\s*$/) && 433 form.bc1inputdir3.value.match(/^\\s*$/) && 434 form.bc1inputdir4.value.match(/^\\s*$/)) 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) 435 469 \{ 436 470 alert("At least one input source must be specified"); … … 449 483 \} else \{ 450 484 form.bc1clonechanged.value = 0; 485 \} 486 menuchange(); 487 \} 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."); 451 498 \} 452 499 \} … … 499 546 500 547 <h4>Input source:</h4> 501 <input type=text name="bc1inputdir1" value="_cgiargbc1inputdir1_" size=72>548 _typeselect_(1,file)<input type=text name="bc1inputdir1" value="_cgiargbc1inputdir1_" size=60> 502 549 <br> 503 <input type=text name="bc1inputdir2" value="_cgiargbc1inputdir2_" size=72>550 _typeselect_(2,http)<input type=text name="bc1inputdir2" value="_cgiargbc1inputdir2_" size=60> 504 551 <br> 505 <input type=text name="bc1inputdir3" value="_cgiargbc1inputdir3_" size=72>552 _typeselect_(3,ftp)<input type=text name="bc1inputdir3" value="_cgiargbc1inputdir3_" size=60> 506 553 <br> 507 <input type=text name="bc1inputdir4" value="_cgiargbc1inputdir4_" size=72>554 _typeselect_(4,file)<input type=text name="bc1inputdir4" value="_cgiargbc1inputdir4_" size=60> 508 555 <br> 509 556 <font color="#909090"> … … 525 572 526 573 <p>_iconblankbar_ 527 <p>Remember, you can always revisit a previous stage by clicking its yellow 528 button. 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. 529 578 530 579 <p><center> … … 537 586 </form> 538 587 } 588 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>} 539 594 540 595 _srcemenu_ {<input type=radio name=bc1clone onClick="clone_changed(1);" value=1 … … 622 677 <frameset rows="*,150" border=0> 623 678 <noframes><body bgcolor="#ffffff"> 624 <p>You must have a frame enabled browser to view this.</p> 679 <p>You must have a frame enabled browser to obtain feedback 680 on how the building process is progressing. The collection <i>will</i> 681 continue to build as normal however. 682 683 <table> 684 <tr valign=center><td> 685 To stop the building process at any time, click here. 686 <br>The collection you are working on will remain intact. 687 </td> 688 <td><input type="submit" value="stop building"></td> 689 </table> 690 625 691 </body> 626 692 </noframes> … … 681 747 status line below gives feedback on how the operation is progressing. 682 748 <p> 683 To stop the building process at any time, click here: 684 <input type="submit" value="stop building"> 749 750 <table> 751 <tr valign=center><td> 752 To stop the building process at any time, click here. 685 753 <br>The collection you are working on will remain intact. 754 </td> 755 <td><input type="submit" value="stop building"></td> 756 </table> 757 686 758 <p> 687 759 If you leave this page (and have not cancelled the building process with … … 814 886 <tr><td> 815 887 <p>An error has occurred while attempting to build your collection. 888 <br> The build log contains the following: 889 <p>_faillog_ 816 890 </td></tr> 817 891 </table></center>
Note:
See TracChangeset
for help on using the changeset viewer.