--- loncom/interface/londocs.pm 2009/01/28 18:10:04 1.329 +++ loncom/interface/londocs.pm 2009/02/02 11:23:56 1.333 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.329 2009/01/28 18:10:04 droeschl Exp $ +# $Id: londocs.pm,v 1.333 2009/02/02 11:23:56 muellerd Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2872,17 +2872,13 @@ ERFORM $containertag = ''; $uploadtag = ''; } + $r->print(&generate_admin_options($containertag,$uploadtag,\%lt,\%help,\%env)); $r->print(&Apache::loncommon::help_open_topic('Docs_Adding_Course_Doc', &mt('Editing the Table of Contents for your '.$type))); } # --------------------------------------------------------- Standard documents - $r->print('
');
-# ''.&mt('Main Course Documents'). -# ($allowed?' '.$help{'Main_Course_Documents'}:'').''); my $folder=$env{'form.folder'}; if ($folder eq '' || $folder eq 'supplemental') { $folder='default'; @@ -3036,46 +3032,9 @@ NASOFORM NROSTFORM - $r->print(<
| |||
');
-# ''.&mt('Supplemental Course Documents'). -# ($allowed?' '.$help{'Supplemental'}:'').''); my $folder=$env{'form.folder'}; unless ($folder=~/^supplemental/) { $folder='supplemental'; @@ -3261,30 +3215,32 @@ SNSFORM SNAMFORM - $r->print(<'.$supnewextform.' '.$supnewsylform.' '.$supnewaboutmeform, + ); +my $tid='2'; +my $varscd = 'Supplemented Course Documents'; + +$r->print(< |