--- loncom/interface/londocs.pm 2009/03/08 21:49:33 1.353 +++ loncom/interface/londocs.pm 2009/03/10 22:15:43 1.355 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.353 2009/03/08 21:49:33 weissno Exp $ +# $Id: londocs.pm,v 1.355 2009/03/10 22:15:43 ehlerst Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2889,23 +2889,22 @@ HIDDENFORM } # --------------------------------------------------------- Main tab structure my $activeClass = 1; + my $active = ''; $r->print('
'); # --------------------------------------------------------- Standard documents if (($standard) && ($allowed) && (!$forcesupplement)) { @@ -3128,14 +3127,14 @@ my %orderhash = ( 'aa' => 'New Document', 'bb' => 'Published Documents', 'cc' => 'Special Documents', - 'dd' => 'More Options', + 'dd' => 'More Tools', 'zz' => 'Hide all Options', ); my %namehash = ( 'New Document' => $fileuploadform.'
'.$newfolderform, 'Published Documents' => $simpleeditdefaultform, 'Special Documents' => $specialdocumentsform, - 'More Options' => $extresourcesform.'
'.$imspform.'
'.$recoverform, + 'More Tools' => $extresourcesform.'
'.$imspform.'
'.$recoverform.'
'.&generate_admin_options($containertag,$uploadtag,\%help,\%env), ); my $tid='1'; my $content='content'; @@ -3193,6 +3192,7 @@ $r->print('
');
+ @@ -3205,6 +3205,7 @@ SUPDOCFORM
+ + + $help{'Syllabus'} @@ -3243,6 +3246,7 @@ SNSFORM + $help{'My Personal Information Page'} @@ -3259,8 +3263,8 @@ my %suporderhash = ( ); my %supnamehash = ( - 'New Document' => $supupdocform, - 'Special Documents' => $supnewfolderform.'
'.$supnewextform.'
'.$supnewsylform.'
'.$supnewaboutmeform, + 'New Document' => $supupdocform.'
'.$supnewfolderform, + 'Special Documents' => $supnewextform.'
'.$supnewsylform.'
'.$supnewaboutmeform, ); my $tid='2'; @@ -3276,9 +3280,6 @@ my $error = &editor($r,$coursenum,$cours $r->print('
'); } } -$r->print(''); $r->print(''); if ($allowed) { $r->print(' @@ -3317,29 +3318,14 @@ sub generate_admin_options { my $exportbut=&exportbutton(); return (< - - ENDOPTIONFORM }