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

raeburn raeburn at source.lon-capa.org
Thu Nov 10 21:09:56 EST 2016


raeburn		Fri Nov 11 02:09:56 2016 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm 
  Log:
  - Fix typos in rev. 1.418.
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.418 loncom/interface/loncreateuser.pm:1.419
--- loncom/interface/loncreateuser.pm:1.418	Wed Nov  9 16:35:46 2016
+++ loncom/interface/loncreateuser.pm	Fri Nov 11 02:09:55 2016
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.418 2016/11/09 16:35:46 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.419 2016/11/11 02:09:55 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -429,7 +429,7 @@
                           '</span>';
         }
         $output .= '  <td'.$colspan.'>'.$custom_access.(' 'x4).
-                   $lt{'avai'}.': '.$currdisp.'</td>'."\n";
+                   $lt{'avai'}.': '.$currdisp.'</td>'."\n".
                    &Apache::loncommon::end_data_table_row()."\n";
         unless (&Apache::lonnet::allowed('udp',$ccdomain)) {
             $output .=
@@ -1899,7 +1899,6 @@
                 }
             }
             if ($area=~m{^/($match_domain/$match_courseid/(\w+))}) {
-                
                 $csec = $2;
                 $carea.='<br />'.&mt('Section: [_1]',$csec);
                 $sortkey.="\0$csec";
@@ -2058,14 +2057,14 @@
 &Apache::loncommon::start_data_table_header_row());
         if ($showall) {
             $r->print(
-'<th>'.$lt{'rev'}.'</th><th>'.$lt{'ren'}.'</th><th>'.$lt{'del'}
+'<th>'.$lt{'rev'}.'</th><th>'.$lt{'ren'}.'</th><th>'.$lt{'del'}.'</th>'
             );
         } elsif ($showexpired) {
             $r->print('<th>'.$lt{'rev'}.'</th>');
         }
         $r->print(
-'</th><th>'.$lt{'rol'}.'</th><th>'.$lt{'ext'}.
-'</th><th>'.$lt{'sta'}.'</th><th>'.$lt{'end'}.'</th>'.
+'<th>'.$lt{'rol'}.'</th><th>'.$lt{'ext'}.'</th>'.
+'<th>'.$lt{'sta'}.'</th><th>'.$lt{'end'}.'</th>'.
 &Apache::loncommon::end_data_table_header_row());
         foreach my $type ('Authoring Space','Course','Community','Domain','System','Unknown') {
             if ($output{$type}) {
@@ -6096,15 +6095,15 @@
                 }
                 if ($registered) {
                     $regon = ' checked="checked" ';
-                    $regoff = ' ';
+                    $regoff = '';
                 } else {
-                    $regon = ' ';
+                    $regon = '';
                     $regoff = ' checked="checked" ';
                 }
                 $output .= '<label>'.
-                           '<input type="radio" name="selfenroll_registered" value="1"'.$regon.$disabled.'/>'.
+                           '<input type="radio" name="selfenroll_registered" value="1"'.$regon.$disabled.' />'.
                            &mt('Yes').'</label>  <label>'.
-                           '<input type="radio" name="selfenroll_registered" value="0"'.$regoff.$disabled.'/>'.
+                           '<input type="radio" name="selfenroll_registered" value="0"'.$regoff.$disabled.' />'.
                            &mt('No').'</label>';
             } elsif ($item eq 'enroll_dates') {
                 my ($starttime,$endtime);




More information about the LON-CAPA-cvs mailing list