--- loncom/interface/lonnavdisplay.pm 2008/03/12 02:45:07 1.3 +++ loncom/interface/lonnavdisplay.pm 2010/03/10 21:25:50 1.14 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Navigate Maps Handler # -# $Id: lonnavdisplay.pm,v 1.3 2008/03/12 02:45:07 raeburn Exp $ +# $Id: lonnavdisplay.pm,v 1.14 2010/03/10 21:25:50 droeschl Exp $ # # Copyright Michigan State University Board of Trustees # @@ -72,23 +72,15 @@ sub real_handler { if ($ENV{QUERY_STRING} eq 'collapseExternal') { &Apache::lonnet::put('environment',{'remotenavmap' => 'off'}); &Apache::lonnet::appenv({'environment.remotenavmap' => 'off'}); - my $menu=&Apache::lonmenu::reopenmenu(); + my $menu=''; my $navstatus=&Apache::lonmenu::get_nav_status(); - if ($menu) { - $menu=(<
"); # renderer call my $renderArgs = { 'cols' => [0,1,2,3], @@ -321,9 +323,9 @@ MENU # user knows there was no error. if ($renderArgs->{'counter'} == 0) { if ($showOnlyHomework) { - $r->print("".&mt("All homework is currently completed").".
"); + $r->print("".&mt("All homework is currently completed.")."
"); } else { # both jumpToFirstHomework and normal use the same: course must be empty - $r->print("This course is empty.
"); + $r->print("".&mt("This course is empty.")."
"); } } #my $td=&tv_interval($t0);