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

bisitz bisitz@source.lon-capa.org
Thu, 04 Jun 2009 16:33:08 -0000


bisitz		Thu Jun  4 16:33:08 2009 EDT

  Modified files:              
    /loncom/interface	lonhtmlcommon.pm 
  Log:
  - Corrected lonhtmlcommon.pm 1.213 correction:
    Finally correct attribute spacing
  
  - Removed unnecessary &nbsp
  - Removed unused span
  
  
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.219 loncom/interface/lonhtmlcommon.pm:1.220
--- loncom/interface/lonhtmlcommon.pm:1.219	Tue May 26 20:06:46 2009
+++ loncom/interface/lonhtmlcommon.pm	Thu Jun  4 16:33:08 2009
@@ -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.220 2009/06/04 16:33:08 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1830,13 +1830,11 @@
 #
 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" />&nbsp;
-    <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>';
 }
 
 ##############################################