--- loncom/interface/coursecatalog.pm 2008/09/23 13:14:32 1.42 +++ loncom/interface/coursecatalog.pm 2008/09/23 20:31:09 1.44 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler for displaying the course catalog interface # -# $Id: coursecatalog.pm,v 1.42 2008/09/23 13:14:32 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 cat_header { sub category_breadcrumbs { my ($dom,@cats) = @_; + my $crumbsymbol = ' ▶ '; my ($currdepth,$deeper) = &get_depth_values(); my $currcat_str = ''; my $catlinks = ''.&mt('Catalog:').''; @@ -412,7 +413,7 @@ sub category_breadcrumbs { my ($cat,$container,$depth) = map { &unescape($_); } split(/:/,$env{'form.currcat_'.$shallower}); $cattitle = $cat; } - $catlinks .= ''; + $catlinks .= ''; } if ($deeper == 0) { $catlinks .= '
'.$cattitle.'->'.$cattitle.''.$crumbsymbol.''.&mt('Main Categories').': '; @@ -1019,10 +1020,10 @@ sub count_students { $student_count{$data->[$idx{'status'}]} ++; } - my $countslist = &mt('[quant,_1,section]',$numsec).':
'; + my $countslist = &mt('[quant,_1,section:,sections:,No sections]',$numsec).'
'; foreach my $status ('Active','Future') { - $countslist .= ''.$status_title{$status}.': '. - $student_count{$status}.'
'; + $countslist .= ''.$status_title{$status}.': '. + $student_count{$status}.'
'; } return $countslist; }