--- loncom/interface/londocs.pm 2007/07/14 00:10:13 1.292 +++ loncom/interface/londocs.pm 2007/07/14 00:50:24 1.293 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.292 2007/07/14 00:10:13 albertel Exp $ +# $Id: londocs.pm,v 1.293 2007/07/14 00:50:24 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1304,7 +1304,6 @@ sub update_parameter { if ($env{'form.'.$which.'_'.$idx}) { my $value = ($which eq 'randompick') ? $env{'form.'.$which.'_'.$idx} : 'yes'; - &Apache::lonnet::logthis("val $value"); &LONCAPA::map::storeparameter($idx, 'parameter_'.$which, $value, $parameter_type{$which}); &remember_parms($idx,$which,'set',$value); @@ -2733,7 +2732,8 @@ ENDCOURSEVERIFY &mt('Editing the Table of Contents for your '.$type))); } # --------------------------------------------------------- Standard documents - $r->print('');#border=2 cellspacing=4 cellpadding=4>'); + $r->print('
'); + if (($standard) && ($allowed) && (!$forcesupplement)) { $r->print('
'); # '

'.&mt('Main Course Documents'). @@ -2742,6 +2742,8 @@ ENDCOURSEVERIFY if ($folder eq '' || $folder eq 'supplemental') { $folder='default'; $env{'form.folderpath'}='default&'.&escape(&mt('Main '.$type.' Documents')); + $uploadtag = ''; } my $postexec=''; if ($folder eq 'default') {