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

version 1.17, 2006/05/18 18:54:51 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>

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


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