--- loncom/interface/londocs.pm 2009/05/21 02:47:48 1.325.2.1 +++ loncom/interface/londocs.pm 2009/04/15 12:44:24 1.364 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.325.2.1 2009/05/21 02:47:48 raeburn Exp $ +# $Id: londocs.pm,v 1.364 2009/04/15 12:44:24 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -59,7 +59,6 @@ my $hadchanges; my %help=(); - sub mapread { my ($coursenum,$coursedom,$map)=@_; return @@ -73,7 +72,7 @@ sub storemap { &LONCAPA::map::storemap('/uploaded/'.$coursedom.'/'.$coursenum.'/'. $map,1); if ($errtext) { return ($errtext,2); } - + $hadchanges=1; return ($errtext,0); } @@ -120,11 +119,9 @@ sub dumpbutton { my $type = &Apache::loncommon::course_type(); if ($home+$other==0) { return ''; } if ($home) { - return '
'.&mt('No map selected.').'
'.&mt('Caution: this folder is set to randomly pick a subset of resources. Adding or removing resources from this folder will change the set of resources that the students see, resulting in spurious or missing credit for completed problems, not limited to ones you modify. Do not modify the contents of this folder if it is in active student use.').'
+ $lt{'copm'} + + + $help{'Load_Map'} +
'.$error.'
-$lt{'copm'} - - -$help{'Load_Map'} -