--- loncom/interface/lonmenu.pm 2003/11/01 16:37:21 1.97
+++ 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.97 2003/11/01 16:37:21 www Exp $
+# $Id: lonmenu.pm,v 1.99 2003/11/10 15:15:08 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -66,7 +66,6 @@ sub initlittle {
# ============================= This gets called at the top of the body section
sub menubuttons {
- &Apache::lonlocal::reroutetrans();
my $forcereg=shift;
my $target =shift;
my $registration=shift;
@@ -149,7 +148,7 @@ ENDRELOAD
-
+
+
@@ -177,7 +177,6 @@ ENDINLINEMENU
# ====================================== This gets called in the header section
sub registerurl {
- &Apache::lonlocal::reroutetrans();
my $forcereg=shift;
my $target = shift;
my $result = '';
@@ -213,7 +212,6 @@ sub registerurl {
# =========== and in the body of the document
sub innerregister {
- &Apache::lonlocal::reroutetrans();
my $forcereg=shift;
my $target = shift;
my $result = '';
@@ -233,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'});
@@ -254,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)) {
@@ -655,21 +653,24 @@ sub switch {
if ($nobreak==2) { return ''; }
my $text=$top.' '.$bot;
$text=~s/\s*\-\s*//gs;
+ my $pic=
+ '';
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 '';
@@ -894,8 +895,6 @@ sub handler {
$r->send_http_header;
return OK if $r->header_only;
- &Apache::lonlocal::clearreroutetrans();
-
my $form=&serverform();
my $bodytag=&Apache::loncommon::bodytag('Main Menu');
my $function='student';
@@ -928,7 +927,6 @@ $utility
$bodytag
ENDHEADER
$r->print(''.$form);
- $r->print(&Apache::lonlocal::endreroutetrans());
$r->print('