--- loncom/interface/londocs.pm 2012/12/13 04:51:41 1.484.2.19 +++ loncom/interface/londocs.pm 2012/12/07 16:48:19 1.522 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.484.2.19 2012/12/13 04:51:41 raeburn Exp $ +# $Id: londocs.pm,v 1.522 2012/12/07 16:48:19 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2443,7 +2443,7 @@ $form_common.' $forceedit, undef,$symb, &escape($env{'form.folderpath'}), - $renametitle,'','',1); + $renametitle); if ($jscall) { $editlink = ''.&mt('Edit').' '."\n"; @@ -3068,6 +3068,7 @@ sub startContentScreen { if (($mode eq 'navmaps') || ($mode eq 'supplemental')) { $output .= '    '.&mt('Content Overview').'    '."\n"; $output .= '     '.&mt('Content Search').'     '."\n"; + $output .= '      '.&mt('Content Index').'      '."\n"; $output .= '
  • '.&mt('Supplemental Content').'
  • '; } else { $output .= '
  •       '.&mt('Content Editor').'      
  • '."\n"; @@ -3237,9 +3238,6 @@ sub handler { if ((!$env{'form.folderpath'}) && $allowed) { &Apache::loncommon::restore_course_settings($stored_folderpath, {'folderpath' => 'scalar'}); - unless (&unescape($env{'form.folderpath'}) =~ m{^(default|supplemental)&}) { - undef($env{'form.folderpath'}); - } } # If we are not allowed to make changes, all we can see are supplemental docs