--- loncom/interface/londocs.pm 2002/09/10 19:01:09 1.22 +++ loncom/interface/londocs.pm 2002/10/09 20:16:12 1.24 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.22 2002/09/10 19:01:09 www Exp $ +# $Id: londocs.pm,v 1.24 2002/10/09 20:16:12 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -211,9 +211,10 @@ END $foldertitle; } if ($isfolder) { $url.='&foldername='.$foldertitle; } - $line.=''. - "$title"; + "$title"; return $line; } @@ -327,8 +328,9 @@ ENDNEWSCRIPT &Apache::loncommon::bodytag('Course Documents','',$events)); unless ($showdoc) { # --------------------------------------------------------- Standard documents + $r->print(''); if (($standard) && ($allowed) && (!$forcesupplement)) { - $r->print('

Main Course Documents

'); + $r->print('

Main Course Documents

'); my $folder=$ENV{'form.folder'}; unless ($folder=~/^default/) { $folder='default'; } &editor($r,$coursenum,$coursedom,$folder,$allowed); @@ -416,11 +418,12 @@ value="$plainname=/adm/$udom/$uname/abou
ENDFORM - $r->print('
'); + $r->print(''); } # ----------------------------------------------------- Supplemental documents if (!$forcestandard) { - $r->print('

Supplemental Course Documents

'); + $r->print( + '

Supplemental Course Documents

'); my $folder=$ENV{'form.folder'}; unless ($folder=~/supplemental/) { $folder='supplemental'; } &editor($r,$coursenum,$coursedom,$folder,$allowed); @@ -488,13 +491,14 @@ value="$plainname=/adm/$udom/$uname/abou - + ENDSUPFORM } } if ($allowed) { $r->print('
'); } + $r->print(''); } else { # -------------------------------------------------------- This is showdoc mode $r->print("

Uploaded Document

It is recommended that you use an up-to-date virus scanner before handling this file.

".