Ignore:
Timestamp:
2000-09-06T14:14:46+12:00 (24 years ago)
Author:
sjboddie
Message:

More minor changes to the collector

File:
1 edited

Legend:

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

    r1485 r1507  
    99# this is just like the _gsimage_ macro but it calls the check_submit() javascript
    1010# function instead of linking directly to the page (_1_ argument isn't used)
    11 _gsjimage_ {<a href="javascript:check\_submit('_4_');" onMouseover="roll('_4_',1);" onMouseOut="roll('_4_',0);"><img
     11_gsjimage_ {<a href="javascript:check\_submit('_4_');" onMouseover="roll('_4_',1);" onMouseOut="roll('_4_',0);" target=_top><img
    1212name="_4_" src="_2_" onLoad="gbutton(this,'_3_');" border=0 alt="_5_"></a>}
    13 _gsjimage_ [v=1] {<a href="javascript:check\_submit('_4_');">_5_</a><br>}
     13_gsjimage_ [v=1] {<a href="javascript:check\_submit('_4_');" target=_top>_5_</a><br>}
    1414
    1515# _gstimage_ is also similar to _gsimage_ but is used where buttons occur in a sub-frame and
     
    546546
    547547<h4>Input source:</h4>
    548 _typeselect_(1,file)<input type=text name="bc1inputdir1" value="_cgiargbc1inputdir1_" size=60>
     548<nobr>_typeselect_(1,file)<input type=text name="bc1inputdir1" value="_cgiargbc1inputdir1_" size=60></nobr>
    549549<br>
    550 _typeselect_(2,http)<input type=text name="bc1inputdir2" value="_cgiargbc1inputdir2_" size=60>
     550<nobr>_typeselect_(2,http)<input type=text name="bc1inputdir2" value="_cgiargbc1inputdir2_" size=60></nobr>
    551551<br>
    552 _typeselect_(3,ftp)<input type=text name="bc1inputdir3" value="_cgiargbc1inputdir3_" size=60>
     552<nobr>_typeselect_(3,ftp)<input type=text name="bc1inputdir3" value="_cgiargbc1inputdir3_" size=60></nobr>
    553553<br>
    554 _typeselect_(4,file)<input type=text name="bc1inputdir4" value="_cgiargbc1inputdir4_" size=60>
     554<nobr>_typeselect_(4,file)<input type=text name="bc1inputdir4" value="_cgiargbc1inputdir4_" size=60></nobr>
    555555<br>
    556556<font color="#909090">
     
    675675_bildcontent_ {
    676676<html>
    677 <frameset rows="*,150" border=0>
     677<head>
     678<script>
     679<!--
     680function 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>
    678693  <noframes><body bgcolor="#ffffff">
    679694  <p>You must have a frame enabled browser to obtain feedback
     
    702717
    703718# header overridden to allow base target to be set
     719# also no page banner to maximise what we can fit in the frame without scrolling
    704720_bildframe1header_ {_cgihead_
    705721<html>
     
    711727<body bgcolor="\#ffffff" text="\#000000" link="\#006666"
    712728      alink="\#cc9900" vlink="\#666633" background="_httpiconchalk_">
    713 _startspacer__pagebanner_
     729_startspacer_
    714730}
    715731_bildframe1header_[v=1] {_cgihead_
     
    722738<body bgcolor="\#ffffff" text="\#000000" link="\#006666"
    723739      alink="\#cc9900" vlink="\#666633" background="_httpiconchalk_">
    724 _pagebanner_
    725 }
    726 _bildframe1scriptextra_ {
    727 function check\_submit (gotopage) \{
    728   var form = document.collectorform;
    729   form.cp.value = gotopage;
    730   form.submit();
    731 \}
    732 }
     740}
     741_bildframe1scriptextra_ {}
    733742_bildframe1content_ {
    734743<form name="collectorform" method=post action="_gwcgi_">
     
    781790<input type=hidden name="e" value="_decodedcompressedoptions_">
    782791<input type=hidden name="cp" value="_cgiargcp_">
     792</form>
    783793<center>
    784794<table width=_pagewidth_>
     
    798808</td></tr>
    799809</table></center>
    800 </form>
    801810}
    802811
     
    854863_bilddonescriptextra_ {}
    855864_bilddonecontent_ {
    856 <form name="collectorform" method=post action="_gwcgi_">
    857 <input type=hidden name="e" value="_decodedcompressedoptions_">
    858865<center>
    859866<table width=_pagewidth_>
     
    867874</td></tr>
    868875</table></center>
    869 </form>
    870876}
    871877
     
    878884_htmlhead_(background="_httpiconchalk_")_startspacer_
    879885}
    880 _bildfailscriptextra_ {}
     886_bildfailscriptextra_ {
     887function check\_submit (gotopage) \{
     888  var form = document.collectorform;
     889  form.cp.value = gotopage;
     890  form.submit();
     891\}
     892}
    881893_bildfailcontent_ {
    882894<form name="collectorform" method=post action="_gwcgi_">
    883895<input type=hidden name="e" value="_decodedcompressedoptions_">
     896<input type=hidden name="cp" value="_cgiargcp_">
     897</form>
    884898<center>
    885899<table width=_pagewidth_>
     
    888902<br> The build log contains the following:
    889903<p>_faillog_
    890 </td></tr>
    891 </table></center>
    892 </form>
     904
     905<p><center>
     906_collectorbar_
     907</center>
     908
     909</td></tr>
     910</table></center>
    893911}
    894912
Note: See TracChangeset for help on using the changeset viewer.