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

bisitz bisitz at source.lon-capa.org
Wed Mar 26 14:18:24 EDT 2014


bisitz		Wed Mar 26 18:18:24 2014 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm 
  Log:
  Corrections to rev. 1.375, related to new "Credits" column:
  - Balanced table content: <th> consistent to <td>
  - Balanced tags
  
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.396 loncom/interface/loncreateuser.pm:1.397
--- loncom/interface/loncreateuser.pm:1.396	Mon Mar  3 17:11:41 2014
+++ loncom/interface/loncreateuser.pm	Wed Mar 26 18:18:24 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.396 2014/03/03 17:11:41 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.397 2014/03/26 18:18:24 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -7217,8 +7217,9 @@
                  &Apache::loncommon::start_data_table().
                  &Apache::loncommon::start_data_table_header_row().
                  '<th>'.$lt{'scc'}.'</th><th>'.$lt{'rol'}.'</th>'."\n".
-                 '<th>'.$lt{'grs'}.'</th><th>'.$lt{'crd'}.'</th>'."\n".
-                 '<th>'.$lt{'sta'}.'</th><th>'.$lt{'end'}.'</th>'."\n".
+                 '<th>'.$lt{'grs'}.'</th>'."\n";
+    $header .=   '<th>'.$lt{'crd'}.'</th>'."\n" if ($showcredits);
+    $header .=   '<th>'.$lt{'sta'}.'</th><th>'.$lt{'end'}.'</th>'."\n".
                  &Apache::loncommon::end_data_table_header_row();
     my $otheritems = &Apache::loncommon::start_data_table_row()."\n".
                      '<td><br /><span class="LC_nobreak"><input type="text" name="coursedesc" value="" onfocus="this.blur();opencrsbrowser('."'cu','dccourse','dcdomain','coursedesc','','','','crstype'".')" />'.
@@ -7248,7 +7249,7 @@
                      '</tr></table></td>'."\n";
     if ($showcredits) {
         $otheritems .= '<td><br />'."\n".
-                       '<input type="text" size="3" name="credits" value="" />'."\n";
+                       '<input type="text" size="3" name="credits" value="" /></td>'."\n";
     }
     $otheritems .= <<ENDTIMEENTRY;
 <td><br /><input type="hidden" name="start" value='' />




More information about the LON-CAPA-cvs mailing list