Changeset 1438 for trunk/gsdl/macros


Ignore:
Timestamp:
2000-08-21T22:40:55+12:00 (24 years ago)
Author:
sjboddie
Message:

* empty log message *

File:
1 edited

Legend:

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

    r1437 r1438  
    630630}
    631631
    632 _bildstatusscriptextra_ {}
     632# special header for status page
     633_bildstatusheader_ {_cgihead_
     634_htmlhead_(background="_httpiconchalk_" onLoad="initialize();")_startspacer_
     635}
     636_bildstatusheader_[v=1] {_cgihead_
     637_htmlhead_(onLoad="initialize();")
     638}
     639
     640_bildstatusscriptextra_ {
     641var timer = 5;
     642function initialize() \{
     643  setTimeout("count_down()",1000);
     644\}
     645
     646function count_down() \{
     647  if (timer==0) \{
     648    document.collectorform.submit();
     649  \} else \{
     650    window.status = "Building status update in  "+timer+" seconds";
     651    timer--;
     652    setTimeout("count_down()",1000);
     653  \}   
     654\}
     655}
     656
    633657_bildstatuscontent_ {
     658<form name="collectorform" method=post action="_gwcgi_">
     659<input type=hidden name="e" value="_decodedcompressedoptions_">
    634660<center>
    635661<table width=_pagewidth_>
     
    638664</td></tr>
    639665</table></center>
     666</form>
    640667}
    641668
Note: See TracChangeset for help on using the changeset viewer.