Diff for /loncom/html/adm/helper/parameter.helper between versions 1.15 and 1.18

version 1.15, 2005/11/22 12:49:55 version 1.18, 2009/07/08 17:55:07
Line 104 Line 104
       </eval>        </eval>
     <string nextstate="CHOOSE_STUDENT_LEVEL" variable="WEIGHT">      <string nextstate="CHOOSE_STUDENT_LEVEL" variable="WEIGHT">
       <validator>if ($val !~ /^[1234567890]+(\.[1234567890]+)?$/) {         <validator>if ($val !~ /^[1234567890]+(\.[1234567890]+)?$/) { 
                    return &mt('&quot; [_1] &quot; is not an acceptable weight. Weight must be a positive number.',$element->getValue());                     return &mt('[_1] is not an acceptable weight. Weight must be a positive number.','&quot;'.$element->getValue().'&quot;');
                  }                    } 
                  return undef;                   return undef;
         </validator>          </validator>
Line 118 Line 118
       </eval>        </eval>
     <string nextstate="CHOOSE_STUDENT_LEVEL" variable="TRIES">      <string nextstate="CHOOSE_STUDENT_LEVEL" variable="TRIES">
       <validator>if ($val !~ /^[1234567890]+$/) {         <validator>if ($val !~ /^[1234567890]+$/) { 
                    return &mt('&quot; [_1] &quot; is not an acceptable number of tries. Tries must be a positive number with no decimal point.',$element->getValue());}                      return &mt('[_1] is not an acceptable number of tries. Tries must be a positive number with no decimal point.','&quot;'.$element->getValue().'&quot;');} 
                  return undef;                   return undef;
         </validator>          </validator>
       </string>        </string>
Line 148 Line 148
          . . . for <b>all students</b> in the course</choice>           . . . for <b>all students</b> in the course</choice>
       <choice computer="section" nextstate="CHOOSE_SECTION">        <choice computer="section" nextstate="CHOOSE_SECTION">
          . . . for a particular <b>section</b></choice>           . . . for a particular <b>section</b></choice>
       <choice computer="group" nextstate="CHOOSE_GROUP">        <condition>
          . . . for a particular <b>group</b></choice>          <clause>return 1 if (&Apache::longroup::coursegroups())</clause>
           <choice computer="group" nextstate="CHOOSE_GROUP">
              . . . for a particular <b>group</b></choice>
         </condition>
       <choice computer="student" nextstate="CHOOSE_STUDENT">        <choice computer="student" nextstate="CHOOSE_STUDENT">
          . . . for an individual <b>student</b></choice>           . . . for an individual <b>student</b></choice>
       </choices>        </choices>

Removed from v.1.15  
changed lines
  Added in v.1.18


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>