--- loncom/interface/lonnavdisplay.pm 2014/05/06 00:59:00 1.22.4.4 +++ loncom/interface/lonnavdisplay.pm 2013/08/07 00:03:25 1.23 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Navigate Maps Handler # -# $Id: lonnavdisplay.pm,v 1.22.4.4 2014/05/06 00:59:00 raeburn Exp $ +# $Id: lonnavdisplay.pm,v 1.23 2013/08/07 00:03:25 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -38,7 +38,7 @@ use Apache::lonhtmlcommon(); use Apache::lonnet; use Apache::lonlocal; use Apache::londocs(); -#use Time::HiRes qw( gettimeofday tv_interval ); +use Time::HiRes qw( gettimeofday tv_interval ); sub handler { my $r = shift; @@ -246,7 +246,7 @@ sub real_handler { @@ -297,13 +297,14 @@ sub startContentScreen { my ($suppcount,$errors); unless ($allowed) { my $cnum = $env{'course.'.$env{'request.course.id'}.'.num'}; - my $cdom = $env{'course.'.$env{'request.course.id'}.'.domain'}; + my $cdom = $env{'course.'.$env{'request.course.id'}.'.domain'}; ($suppcount,$errors) = &Apache::lonnet::get_numsuppfiles($cnum,$cdom); } - if ($allowed || $suppcount) { + if ($allowed || $suppcount) { $r->print('
  • '.&mt('Supplemental Content').'
  • '); } $r->print('     '.&mt('Content Search').'     '."\n"); + $r->print('      '.&mt('Content Index').'      '."\n"); $r->print("\n".''."\n"); $r->print('
    '); }