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

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Tue, 23 Sep 2008 20:31:15 -0000


raeburn		Tue Sep 23 16:31:15 2008 EDT

  Modified files:              
    /loncom/interface	coursecatalog.pm 
  Log:
  Change the category breadcrumbs symbol from -> to a unicode arrow.
  
  
Index: loncom/interface/coursecatalog.pm
diff -u loncom/interface/coursecatalog.pm:1.43 loncom/interface/coursecatalog.pm:1.44
--- loncom/interface/coursecatalog.pm:1.43	Tue Sep 23 10:41:00 2008
+++ loncom/interface/coursecatalog.pm	Tue Sep 23 16:31:09 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler for displaying the course catalog interface
 #
-# $Id: coursecatalog.pm,v 1.43 2008/09/23 14:41:00 bisitz Exp $
+# $Id: coursecatalog.pm,v 1.44 2008/09/23 20:31:09 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -398,6 +398,7 @@
 
 sub category_breadcrumbs {
     my ($dom,@cats) = @_;
+    my $crumbsymbol = ' ▶ ';
     my ($currdepth,$deeper) = &get_depth_values();
     my $currcat_str = '<input type="hidden" name="catalog_maxdepth" value="'.$deeper.'" /><input type="hidden" name="showdom" value="'.$dom.'" />';
     my $catlinks = '<td valign="top"><b>'.&mt('Catalog:').'</b></td><td><table><tr>';
@@ -412,7 +413,7 @@
             my ($cat,$container,$depth) = map { &unescape($_); } split(/:/,$env{'form.currcat_'.$shallower});
             $cattitle = $cat;
         }
-        $catlinks .= '<td valign="top"><a href="javascript:setCatDepth('."'$shallower'".')">'.$cattitle.'</a>-&gt;</td>';
+        $catlinks .= '<td valign="top"><a href="javascript:setCatDepth('."'$shallower'".')">'.$cattitle.'</a>'.$crumbsymbol.'</td>';
     }
     if ($deeper == 0) {
         $catlinks .= '<td>'.&mt('Main Categories').':&nbsp;';