--- rat/lonratparms.pm 2006/04/04 15:32:12 1.24 +++ rat/lonratparms.pm 2009/04/04 21:46:02 1.27 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Set parameters inside of the RAT # -# $Id: lonratparms.pm,v 1.24 2006/04/04 15:32:12 albertel Exp $ +# $Id: lonratparms.pm,v 1.27 2009/04/04 21:46:02 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -120,9 +120,9 @@ ENDHEADER $r->print(< - - - + + + ENDDOCUMENT @@ -134,17 +134,17 @@ ENDDOCUMENT # Should if(defined($value{$key})) be if(exists($value{$key})) ? if (defined($value{$key})) { $cur=$value{$key}; }; $r->print(<<"END"); - + -'); + if ($value{$key}) { $r->print(' checked="checked"'); } + $r->print(' />'); } $r->print('
$lt{'pa'}$lt{'de'}$lt{'va'}$lt{'se'}?
$display{$key}
$key
$display{$key}
$key
 $content{$key}  +  $enter print(' checked'); } - $r->print('>

- '. + '. &Apache::loncommon::end_page()); return OK; } @@ -152,3 +152,33 @@ END 1; __END__ + + +=head1 NAME + +Apache::lonratparams + +=head1 SYNOPSIS + +Handler to set resource parameters inside of +the RAT based on metadata. + +This is part of the LearningOnline Network with CAPA project +described at http://www.lon-capa.org. + +=head1 HANDLER SUBROUTINE + +handler() + +=head1 OTHER SUBROUTINES + +=over + +=item * + +none + +=back + +=cut +