--- loncom/interface/lonmenu.pm 2007/04/13 02:03:54 1.212 +++ loncom/interface/lonmenu.pm 2007/04/17 15:45:03 1.215 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.212 2007/04/13 02:03:54 www Exp $ +# $Id: lonmenu.pm,v 1.215 2007/04/17 15:45:03 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -842,6 +842,9 @@ sub switch { } } else { # Inline Remote + if ($env{'environment.icons'} ne 'classic') { + $img=~s/\.gif$/\.png/; + } if ($nobreak==2) { return ''; } my $text=$top.' '.$bot; $text=~s/\s*\-\s*//gs; @@ -863,19 +866,19 @@ sub switch { $inlineremote[$idx]="\n
'; + $output.=' | ';
for (my $row=1; $row<=8; $row++) {
foreach my $cat (keys(%category_members)) {
if ($category_positions{$cat} ne "$col,$row") { next; }
- $output.='
|