--- rat/lonratedt.pm 2002/06/04 13:23:54 1.30 +++ rat/lonratedt.pm 2002/08/20 13:02:41 1.32 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Edit Handler for RAT Maps # -# $Id: lonratedt.pm,v 1.30 2002/06/04 13:23:54 www Exp $ +# $Id: lonratedt.pm,v 1.32 2002/08/20 13:02:41 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -68,6 +68,9 @@ sub mapread { if ($command eq 'objlinks') { $links[$number]=$content; } + if ($command eq 'objparms') { + return('Map has resource parameters. Use advanced editor.',1); + } } # ------------------------------------------------------- Is this a linear map? my @starters=(); @@ -344,6 +347,113 @@ sub storemap { &Apache::lonratsrv::loadmap($fn,&Apache::lonratsrv::savemap($fn,'')); } +sub editscript { + my $mode=shift; + return(<print(<