--- loncom/interface/lonhtmlcommon.pm 2009/05/26 20:06:46 1.219 +++ loncom/interface/lonhtmlcommon.pm 2009/06/04 16:47:25 1.221 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.219 2009/05/26 20:06:46 droeschl Exp $ +# $Id: lonhtmlcommon.pm,v 1.221 2009/06/04 16:47:25 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1830,13 +1830,11 @@ sub course_custom_roles { # sub topic_bar { my ($imgnum,$title) = @_; - return ' -<div class="LC_topic_bar"> - <img alt="'.&mt('Step [_1]',$imgnum). - ' "src="/res/adm/pages/bl_step'.$imgnum.'.gif" /> - <span>'.$title.'</span> -</div> -'; + return '<div class="LC_topic_bar">' + .'<img src="/res/adm/pages/bl_step'.$imgnum.'.gif"' + .' alt="'.&mt('Step [_1]',$imgnum).'" />' + .' '.$title + .'</div>'; } ##############################################