--- loncom/interface/lonhtmlcommon.pm 2005/04/07 06:56:23 1.104 +++ loncom/interface/lonhtmlcommon.pm 2006/02/22 19:22:49 1.121 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.104 2005/04/07 06:56:23 albertel Exp $ +# $Id: lonhtmlcommon.pm,v 1.121 2006/02/22 19:22:49 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -100,7 +100,7 @@ sub store_recent { my ($area,$name,$value)=@_; my $file=&recent_filename($area); my %recent=&Apache::lonnet::dump($file); - if (scalar(keys(%recent))>10) { + if (scalar(keys(%recent))>20) { # remove oldest value my $oldest=time; my $delkey=''; @@ -207,6 +207,28 @@ sub checkbox { return $Str; } + +=pod + +=item radiobutton + +=cut + +############################################## +############################################## +sub radio { + my ($name,$checked,$value) = @_; + my $Str = ' @@ -506,11 +547,13 @@ parameter setting wizard. ############################################## sub pjump_javascript_definition { my $Str = < //