Diff for /loncom/interface/lonhtmlcommon.pm between versions 1.238 and 1.239

version 1.238, 2009/11/04 17:51:26 version 1.239, 2009/11/06 10:14:12
Line 1819  sub course_custom_roles { Line 1819  sub course_custom_roles {
 # with a background color defined in the corresponding CSS: LC_topic_bar  # with a background color defined in the corresponding CSS: LC_topic_bar
 #  #
 sub topic_bar {  sub topic_bar {
     my ($imgnum,$title) = @_;      my ($imgnum,$title, $show_number) = @_;
     return '<div class="LC_topic_bar">'      my $output = undef;
       if (!$show_number) {
           $output = '<div class="LC_topic_bar">'
           .'<img src="/res/adm/pages/bl_step'.$imgnum.'.gif"'            .'<img src="/res/adm/pages/bl_step'.$imgnum.'.gif"'
           .' alt="'.&mt('Step [_1]',$imgnum).'" />'            .' alt="'.&mt('Step [_1]',$imgnum).'" />'
           .' '.$title            .' '.$title
           .'</div>';            .'</div>';
       } else {
           $output = '<div class="LC_topic_bar">'
               .$title
               .'</div>';
       }
   
       return $output;
 }  }
   
 ##############################################  ##############################################

Removed from v.1.238  
changed lines
  Added in v.1.239


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>