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

bisitz bisitz@source.lon-capa.org
Wed, 27 May 2009 13:36:46 -0000


bisitz		Wed May 27 13:36:46 2009 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm loncommon.pm 
  Log:
  Removed unneccessary style "LC_metadata"
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.450 loncom/interface/lonparmset.pm:1.451
--- loncom/interface/lonparmset.pm:1.450	Sun May 17 01:02:10 2009
+++ loncom/interface/lonparmset.pm	Wed May 27 13:36:46 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.450 2009/05/17 01:02:10 raeburn Exp $
+# $Id: lonparmset.pm,v 1.451 2009/05/27 13:36:46 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3346,19 +3346,19 @@
             push @options,['deleted', 'Delete Metadata Field'];
         }
        $output = &Apache::loncommon::start_data_table_row();
-        $output .= '<td><span class="LC_metadata"><strong>'.$field_text.':</strong></span></td>';
+        $output .= '<td><strong>'.$field_text.':</strong></td>';
         $output .= &Apache::loncommon::end_data_table_row();
         foreach my $opt (@options) {
 	    my $checked = ($options =~ m/$opt->[0]/) ? ' checked="checked" ' : '' ;
 	    $output .= &Apache::loncommon::continue_data_table_row();
-	    $output .= '<td>'.('&nbsp;' x 5).'<span class="LC_metadata"><label>
+	    $output .= '<td>'.('&nbsp;' x 5).'<label>
 	               <input type="checkbox" name="'.
 	               $field_name.'_'.$opt->[0].'" value="yes"'.$checked.' />'.
-	               &mt($opt->[1]).'</label></span> </td>';
+	               &mt($opt->[1]).'</label></td>';
 	    $output .= &Apache::loncommon::end_data_table_row();
 	}
         $output .= &Apache::loncommon::continue_data_table_row();
-        $output .= '<td>'.('&nbsp;' x 10).'<span class="LC_metadata"><input name="'.$field_name.'_values" type="text" value="'.$values.'" size="80" /></span></td>';
+        $output .= '<td>'.('&nbsp;' x 10).'<input name="'.$field_name.'_values" type="text" value="'.$values.'" size="80" /></td>';
         $output .= &Apache::loncommon::end_data_table_row();
         my $multiple_checked;
         my $single_checked;
@@ -3370,14 +3370,14 @@
             $single_checked = '';
         }
 	$output .= &Apache::loncommon::continue_data_table_row();
-	$output .= '<td>'.('&nbsp;' x 10).'<span class="LC_metadata">
+	$output .= '<td>'.('&nbsp;' x 10).'
 	            <input type="radio" name="'.$field_name.'_onlyone" value="multiple"'.$multiple_checked .' />
-	            '.&mt('Student may select multiple choices from list').'</span></td>';
+	            '.&mt('Student may select multiple choices from list').'</td>';
 	$output .= &Apache::loncommon::end_data_table_row();
 	$output .= &Apache::loncommon::continue_data_table_row();
-	$output .= '<td>'.('&nbsp;' x 10).'<span class="LC_metadata">
+	$output .= '<td>'.('&nbsp;' x 10).'
 	            <input type="radio" name="'.$field_name.'_onlyone"  value="single"'.$single_checked.' />
-	            '.&mt('Student may select only one choice from list').'</span></td>';
+	            '.&mt('Student may select only one choice from list').'</td>';
 	$output .= &Apache::loncommon::end_data_table_row();
     }
     return ($output);
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.824 loncom/interface/loncommon.pm:1.825
--- loncom/interface/loncommon.pm:1.824	Fri May 22 17:57:19 2009
+++ loncom/interface/loncommon.pm	Wed May 27 13:36:46 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.824 2009/05/22 17:57:19 bisitz Exp $
+# $Id: loncommon.pm,v 1.825 2009/05/27 13:36:46 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4777,10 +4777,6 @@
   margin: 0;
 }
 
-span.LC_metadata {
-  font-family: $sans;
-}
-
 table#LC_menubuttons img{
   border: none;
 }