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

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Thu, 06 Mar 2008 22:30:19 -0000


raeburn		Thu Mar  6 17:30:19 2008 EDT

  Modified files:              
    /loncom/interface	lonhtmlcommon.pm 
  Log:
  - Typo in comment
  - &row_title() only append : to the row title if a title is defined. 
  
  
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.172 loncom/interface/lonhtmlcommon.pm:1.173
--- loncom/interface/lonhtmlcommon.pm:1.172	Mon Jan 14 22:42:35 2008
+++ loncom/interface/lonhtmlcommon.pm	Thu Mar  6 17:30:17 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common html routines
 #
-# $Id: lonhtmlcommon.pm,v 1.172 2008/01/15 03:42:35 raeburn Exp $
+# $Id: lonhtmlcommon.pm,v 1.173 2008/03/06 22:30:17 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1337,7 +1337,7 @@
 # row1
 # row2
 # row3   ... etc.
-# &submit_row(0
+# &submit_row()
 # &end_pick_box()
 #
 # where row1, row 2 etc. are chosen from &role_select_row,&course_select_row,
@@ -1407,10 +1407,13 @@
     $css_value_class ||= 'LC_pick_box_value';
     $css_value_class = 'class="'.$css_value_class.'"';
 
+    if ($title ne '') {
+        $title .= ':';
+    }
     my $output = <<"ENDONE";
            <tr class="LC_pick_box_row">
             <td $css_title_class>
-	       $title:
+	       $title
             </td>
             <td $css_value_class>
 ENDONE