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

version 1.237, 2009/10/31 14:27:48 version 1.239, 2009/11/06 10:14:12
Line 1727  sub course_selection { Line 1727  sub course_selection {
             $output .= '</tr></table><br />';              $output .= '</tr></table><br />';
         }          }
     }      }
     $output .= '<input type="radio" name="coursepick" value="specific" onclick="coursePick(this.form);opencrsbrowser('."'".$formname."','dccourse','dcdomain','coursedesc','','1'".')" />'.$pickspec.' '.$courseform.'&nbsp;&nbsp;<input type="text" value="0" size="4" name="coursetotal" /><input type="hidden" name="courselist" value="" />selected.<br />'."\n";      $output .= '<input type="radio" name="coursepick" value="specific" onclick="coursePick(this.form);opencrsbrowser('."'".$formname."','dccourse','dcdomain','coursedesc','','1','$crstype'".')" />'.$pickspec.' '.$courseform.'&nbsp;&nbsp;<input type="text" value="0" size="4" name="coursetotal" /><input type="hidden" name="courselist" value="" />selected.<br />'."\n";
     return $output;      return $output;
 }  }
   
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.237  
changed lines
  Added in v.1.239


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