[LON-CAPA-cvs] cvs: loncom /interface lonmenu.pm mydesk.tab

droeschl droeschl@source.lon-capa.org
Mon, 22 Mar 2010 15:10:10 -0000


droeschl		Mon Mar 22 15:10:10 2010 EDT

  Modified files:              
    /loncom/interface	mydesk.tab lonmenu.pm 
  Log:
  This fixes the Course Contents link in main menu and in problem breadcrumbs.
  
  
Index: loncom/interface/mydesk.tab
diff -u loncom/interface/mydesk.tab:1.130 loncom/interface/mydesk.tab:1.131
--- loncom/interface/mydesk.tab:1.130	Thu Mar 18 13:16:11 2010
+++ loncom/interface/mydesk.tab	Mon Mar 22 15:10:10 2010
@@ -135,8 +135,8 @@
 1:2:pmdc:$cmty:docs.png:communi-[_1]:ty edit[_1]:go('/adm/coursedocs');:Edit community contents:cmc
 2:1:clear
 2:2:clear
-2:2:course:any:nav.png:course[_3]:contents[_1]:gonav('/adm/navmaps');:Table of course contents:crc
-2:2:community:any:nav.png:commun[_1]:contents[_2]:gonav('/adm/navmaps');:Table of community contents:cmc
+2:2:course:any:nav.png:course[_3]:contents[_1]:gopost('/adm/navmaps','');:Table of course contents:crc
+2:2:community:any:nav.png:commun[_1]:contents[_2]:gopost('/adm/navmaps','');:Table of community contents:cmc
 2:3:clear
 3:1:clear
 4:1:clear
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.319 loncom/interface/lonmenu.pm:1.320
--- loncom/interface/lonmenu.pm:1.319	Wed Mar 17 19:35:56 2010
+++ loncom/interface/lonmenu.pm	Mon Mar 22 15:10:10 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.319 2010/03/17 19:35:56 raeburn Exp $
+# $Id: lonmenu.pm,v 1.320 2010/03/22 15:10:10 droeschl Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -115,8 +115,7 @@
 
 =item innerregister()
 
-This gets called in order to register a URL, both with the Remote
-and in the body of the document
+This gets called in order to register a URL in the body of the document
 
 =item clear()
 
@@ -345,7 +344,7 @@
 #
         my @crumbs = ({text  => Apache::loncommon::course_type() 
                                 . ' Contents', 
-                       href  => "Javascript:gonav('/adm/navmaps')"});
+                       href  => "Javascript:gopost('/adm/navmaps','')"});
 
         if ($mapurl ne $env{'course.'.$env{'request.course.id'}.'.url'}) { 
             push(@crumbs, {text  => '...',
@@ -701,7 +700,7 @@
     my $idx=10*$row+$col;
     $category_members{$cat}.=':'.$idx;
 
-# Inline Remote
+# Inline Menu
     if ($nobreak==2) { return ''; }
     my $text=$top.' '.$bot;
     $text=~s/\s*\-\s*//gs;