--- loncom/interface/lonparmset.pm 2001/01/16 15:52:09 1.21 +++ loncom/interface/lonparmset.pm 2001/02/08 14:05:10 1.23 @@ -11,7 +11,7 @@ # # 11/20,11/21,11/22,11/23,11/24,11/25,11/27,11/28, # 12/08,12/12, -# 16/01/01 Gerd Kortemeyer +# 16/01/01,02/08 Gerd Kortemeyer package Apache::lonparmset; @@ -138,9 +138,18 @@ sub valout { sub plink { my ($type,$dis,$value,$marker,$return,$call)=@_; - return ''. - &valout($value,$type).''; + &valout($value,$type).''; } # ================================================================ Main Handler @@ -392,6 +401,17 @@ sub handler { function psub() { pclose(); if (document.parmform.pres_marker.value!='') { + document.parmform.action+='#'+document.parmform.pres_marker.value; + var typedef=new Array(); + typedef=document.parmform.pres_type.value.split('_'); + if (typedef[0]=='date') { + eval('document.parmform.recent_'+ + document.parmform.pres_type.value+ + '.value=document.parmform.pres_value.value;'); + } else { + eval('document.parmform.recent_'+typedef[0]+ + '.value=document.parmform.pres_value.value;'); + } document.parmform.submit(); } else { document.parmform.pres_value.value=''; @@ -421,6 +441,11 @@ at Domain ENDHEAD + map { + $r->print(''); + } ('tolerance','date_default','date_start','date_end','date_interval', + 'int','float','string'); $r->print('

'.$message.'

Sort list by '); $r->print('