Diff for /loncom/html/adm/helper/parameter.helper between versions 1.8 and 1.12

version 1.8, 2004/04/20 18:03:00 version 1.12, 2004/04/27 17:58:35
Line 102 Line 102
       </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 '&quot;' . $element->getValue() . '&quot; is not '.                     return &mt('&quot; [_1] &quot; is not an acceptable weight. Weight must be a positive number.',$element->getValue());
                      'an acceptable weight. Weight must be a positive number. ';}                    } 
                  return undef;                   return undef;
         </validator>          </validator>
       </string>        </string>
Line 116 Line 116
       </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 '&quot;' . $element->getValue() . '&quot; is not '.                     return &mt('&quot; [_1] &quot; is not an acceptable number of tries. Tries must be a positive number with no decimal point.',$element->getValue());} 
                      'an acceptable number of tries. Tries must be a positive number ' .  
                      'with no decimal point.';}   
                  return undef;                   return undef;
         </validator>          </validator>
       </string>        </string>
Line 141 Line 139
        &{$helper->{DATA}->{'dateType'}}() .         &{$helper->{DATA}->{'dateType'}}() .
         ' for ' .          ' for ' .
        &{$helper->{DATA}->{'levelType'}}() .         &{$helper->{DATA}->{'levelType'}}() .
         ' for. . .';          ' for ...';
       </eval>        </eval>
     <choices variable="TARGETS">      <choices variable="TARGETS">
       <choice computer="course" nextstate="FINISH">        <choice computer="course" nextstate="FINISH">

Removed from v.1.8  
changed lines
  Added in v.1.12


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