--- loncom/interface/lonmenu.pm 2003/11/07 23:22:21 1.98 +++ loncom/interface/lonmenu.pm 2003/11/10 15:15:08 1.99 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.98 2003/11/07 23:22:21 www Exp $ +# $Id: lonmenu.pm,v 1.99 2003/11/10 15:15:08 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -148,7 +148,7 @@ ENDRELOAD - +
$lt{'main'} @@ -163,6 +163,7 @@ $navmaps LON-CAPA
+ @@ -230,7 +231,7 @@ sub innerregister { my $newmail=''; if ($noremote) { - $newmail='
'; + $newmail='
'; } if (($textual) && ($ENV{'request.symb'}) && ($ENV{'request.course.id'})) { my ($mapurl,$rid,$resurl)=&Apache::lonnet::decode_symb($ENV{'request.symb'}); @@ -251,11 +252,11 @@ sub innerregister { 'swmenu.setstatus("you have","messages");'); } if ($noremote) { - $newmail.='
'; + $newmail.='
'; } my $timesync=($textual?'':'swmenu.syncclock(1000*'.time.');'); - my $tablestart=($noremote?'':''); - my $tableend=($noremote?'
':''); + my $tablestart=($noremote?'':''); + my $tableend=($noremote?'
':''); # ============================================================================= # ============================ This is for URLs that actually can be registered if (($ENV{'request.noversionuri'}!~/^\/(res\/)*adm\//) || ($forcereg)) { @@ -652,21 +653,24 @@ sub switch { if ($nobreak==2) { return ''; } my $text=$top.' '.$bot; $text=~s/\s*\-\s*//gs; + my $pic= + ''.$text.''; if ($nobreak==3) { $inlineremote[10*$row+$col]="\n". - ''. - ''.$text. - ''; + ''.$text. + ''. + ''.$pic.''; } elsif ($nobreak) { $inlineremote[10*$row+$col]="\n". - ''. - ''.$text. - ''; + ''. + ''.$pic. + ''.$text.''; } else { $inlineremote[10*$row+$col]="\n". - ''. - ''.$desc. - ''; + ''. + ''.$pic. + ''.$desc. + ''; } } return '';