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

riegler lon-capa-cvs-allow@mail.lon-capa.org
Fri, 05 Sep 2008 22:12:49 -0000


riegler		Fri Sep  5 18:12:49 2008 EDT

  Modified files:              
    /loncom/interface	lonhtmlcommon.pm 
  Log:
  Changed the breadcrumbs symbol from -> to a unicode arrow.	
  
  
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.179 loncom/interface/lonhtmlcommon.pm:1.180
--- loncom/interface/lonhtmlcommon.pm:1.179	Sun Aug 24 08:56:28 2008
+++ loncom/interface/lonhtmlcommon.pm	Fri Sep  5 18:12:47 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common html routines
 #
-# $Id: lonhtmlcommon.pm,v 1.179 2008/08/24 12:56:28 raeburn Exp $
+# $Id: lonhtmlcommon.pm,v 1.180 2008/09/05 22:12:47 riegler Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1310,6 +1310,8 @@
         my $faq = '';
         my $bug = '';
 	my $help='';
+	# Crumb Symbol
+	my $crumbsymbol = ' ▶ ';
         # The last breadcrumb does not have a link, so handle it separately.
         my $last = pop(@Crumbs);
         #
@@ -1333,7 +1335,7 @@
                 });
         }
         my $links .= 
-            join('->',
+            join($crumbsymbol,
                  map {
                      $faq = $_->{'faq'} if (exists($_->{'faq'}));
                      $bug = $_->{'bug'} if (exists($_->{'bug'}));
@@ -1352,7 +1354,7 @@
                      $result;
                      } @Crumbs
                  );
-        $links .= '->' if ($links ne '');
+        $links .= $crumbsymbol if ($links ne '');
 	if ($last->{'no_mt'}) {
 	    $links .= '<b>'.$last->{'text'}.'</b>';
 	} else {