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

droeschl droeschl@source.lon-capa.org
Tue, 26 May 2009 20:30:28 -0000


droeschl		Tue May 26 20:30:28 2009 EDT

  Modified files:              
    /loncom/interface	lonmenu.pm 
  Log:
  Resolved some translation issues regarding breadcrumbs.
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.267 loncom/interface/lonmenu.pm:1.268
--- loncom/interface/lonmenu.pm:1.267	Tue May 19 14:05:19 2009
+++ loncom/interface/lonmenu.pm	Tue May 26 20:30:28 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.267 2009/05/19 14:05:19 droeschl Exp $
+# $Id: lonmenu.pm,v 1.268 2009/05/26 20:30:28 droeschl Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -398,12 +398,17 @@
 
         my $maptitle = &Apache::lonnet::gettitle($mapurl);
         my $restitle = &Apache::lonnet::gettitle(&Apache::lonnet::symbread());
-        my @crumbs = ({text => mt("Course Content"), href => "Javascript:gonav('/adm/navmaps')"}, 
-                      {text => '...'});
-        push @crumbs, {text => $maptitle} if ($maptitle 
-                                              && $maptitle ne 'default.sequence' 
-                                              && $maptitle ne $coursetitle);
-        push @crumbs, {text => $restitle} if $restitle; 
+        my @crumbs = ({text  => "Course Content", 
+                       href  => "Javascript:gonav('/adm/navmaps')"}, 
+                      {text  => '...',
+                       no_mt => 1});
+
+        push @crumbs, {text => $maptitle, no_mt => 1} if ($maptitle 
+                                                   && $maptitle ne 'default.sequence' 
+                                                   && $maptitle ne $coursetitle);
+
+        push @crumbs, {text => $restitle, no_mt => 1} if $restitle; 
+
         Apache::lonhtmlcommon::clear_breadcrumbs();
         Apache::lonhtmlcommon::add_breadcrumb(@crumbs);
         $breadcrumb .= Apache::lonhtmlcommon::breadcrumbs(undef,undef,0);