[LON-CAPA-cvs] cvs: loncom /interface lonmainmenu.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 10 Apr 2006 18:35:05 -0000


albertel		Mon Apr 10 14:35:05 2006 EDT

  Modified files:              
    /loncom/interface	lonmainmenu.pm 
  Log:
  - BUG#4728, ISE
  
  
Index: loncom/interface/lonmainmenu.pm
diff -u loncom/interface/lonmainmenu.pm:1.1 loncom/interface/lonmainmenu.pm:1.2
--- loncom/interface/lonmainmenu.pm:1.1	Fri Apr  7 18:28:40 2006
+++ loncom/interface/lonmainmenu.pm	Mon Apr 10 14:35:04 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # displays the main menu
 #
-# $Id: lonmainmenu.pm,v 1.1 2006/04/07 22:28:40 albertel Exp $
+# $Id: lonmainmenu.pm,v 1.2 2006/04/10 18:35:04 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -41,6 +41,8 @@
 use strict;
 use Apache::Constants qw(:common);
 use Apache::loncommon();
+use Apache::lonnet;
+use Apache::lonmenu();
 
 sub handler {
     my $r = shift;
@@ -66,9 +68,11 @@
 	$function='author';
     }
     my $domain=&Apache::loncommon::determinedomain();
-    $pgbg=&Apache::loncommon::designparm($function.'.pgbg',$domain);
-    $tabbg=&Apache::loncommon::designparm($function.'.tabbg',$domain);
-    $font=&Apache::loncommon::designparm($function.'.font',$domain);
+    # FIXME these don't have the effect on the vars in lonmenu
+    # that they used to have
+    my $pgbg=&Apache::loncommon::designparm($function.'.pgbg',$domain);
+    my $tabbg=&Apache::loncommon::designparm($function.'.tabbg',$domain);
+    my $font=&Apache::loncommon::designparm($function.'.font',$domain);
     my $script_tag;
     if ($env{'environment.remote'} ne 'off') {
         my $utility=&Apache::lonmenu::utilityfunctions('/adm/menu');