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

raeburn raeburn@source.lon-capa.org
Thu, 05 Feb 2009 17:15:05 -0000


raeburn		Thu Feb  5 17:15:05 2009 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm 
  Log:
  Value for selfenroll_limit form element is "none" when no enrollment limit is desired.
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.277 loncom/interface/loncreateuser.pm:1.278
--- loncom/interface/loncreateuser.pm:1.277	Thu Feb  5 12:19:50 2009
+++ loncom/interface/loncreateuser.pm	Thu Feb  5 17:15:04 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.277 2009/02/05 12:19:50 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.278 2009/02/05 17:15:04 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4065,7 +4065,7 @@
                     $selflimit = ' ';
                 }
                 $output .= '<table><tr><td><label>'.
-                           '<input type="radio" name="selfenroll_limit" value="0"'.$nolimit.'/>'.
+                           '<input type="radio" name="selfenroll_limit" value="none"'.$nolimit.'/>'.
                            &mt('No limit').'</label></td><td><label>'.
                            '<input type="radio" name="selfenroll_limit" value="allstudents"'.$crslimit.'/>'.
                            &mt('Limit by total students').'</label></td><td><label>'.