--- rat/client/parameter.html 2001/12/19 17:22:29 1.16 +++ rat/client/parameter.html 2002/10/25 13:47:37 1.19 @@ -3,7 +3,7 @@ The LearningOnline Network with CAPA Parameter Input Window // -// $Id: parameter.html,v 1.16 2001/12/19 17:22:29 albertel Exp $ +// $Id: parameter.html,v 1.19 2002/10/25 13:47:37 www Exp $ // // Copyright Michigan State University Board of Trustees // @@ -174,9 +174,15 @@ function date() { function year() { var thisyear=cdate.getFullYear(); + var nowdate=new Date(); + var nowyear=nowdate.getFullYear(); + var loweryear=thisyear-2; + var upperyear=thisyear+5; + if (thisyear>nowyear) { loweryear=nowyear-2; } + if (thisyear'); - for (i=thisyear-25;i<=thisyear+50;i++) { + for (i=loweryear;i<=upperyear;i++) { choicewrite(''); @@ -500,7 +509,7 @@ function draw() { tablestart('Text'); } choicewrite('Value:'); - choicewrite(''); choicewrite(''); } @@ -708,16 +717,24 @@ function init() { selwrite('">Delete '); selwrite('Cancel'); selwrite('