--- loncom/interface/londocs.pm 2009/01/30 09:05:36 1.330 +++ loncom/interface/londocs.pm 2009/01/30 11:39:38 1.332 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.330 2009/01/30 09:05:36 tempelho Exp $ +# $Id: londocs.pm,v 1.332 2009/01/30 11:39:38 tempelho Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2872,7 +2872,7 @@ ERFORM $containertag = ''; $uploadtag = ''; } - ##############alter hashaufruf + $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))); @@ -3148,12 +3148,13 @@ $newrosterform ENDFORM $r->print($specialdocumentsform); + my %orderhash = ( - 'aa_eins' => 'New Document', - 'bb_zwei' => 'Published Documents', - 'cc_drei' => 'Special Documents', - 'dd_vier' => 'More Options', - 'zz_hide' => 'Hide all Option', + 'aa' => 'New Document', + 'bb' => 'Published Documents', + 'cc' => 'Special Documents', + 'dd' => 'More Options', + 'zz' => 'Hide all Option', ); my %namehash = ( 'New Document' => $fileuploadform, @@ -3162,7 +3163,9 @@ my %namehash = ( 'More Options' => $extresourcesform.'
'.$imspform.'
'.$recoverform, 'drei' => 'dr', ); -$r->print(&generate_edit_table(\%namehash,\%orderhash)); +my $varcd = 'Course Documents'; +$r->print(&generate_edit_table($varcd,\%namehash,\%orderhash)); + } if ($env{'form.pagepath'}) { $r->print(<'; - $form .= '