Diff for /loncom/html/adm/helper/parameter.helper between versions 1.9 and 1.13

version 1.9, 2004/04/20 18:15:55 version 1.13, 2005/01/21 22:59:54
Line 73 Line 73
   <state name="CHOOSE_RESOURCE" title="Select Problem">    <state name="CHOOSE_RESOURCE" title="Select Problem">
     <message>Select the problem you wish to set the parameter for:</message>      <message>Select the problem you wish to set the parameter for:</message>
   
     <resource variable="RESOURCE_ID" nextstate="CHOOSE_ACTION">      <resource variable="RESOURCE_ID" nextstate="CHOOSE_ACTION" addparts="true">
       <nextstate>CHOOSE_ACTION</nextstate>        <nextstate>CHOOSE_ACTION</nextstate>
       <filterfunc>return $res->is_map || $res->is_problem()</filterfunc>        <filterfunc>return $res->is_map || $res->is_problem()</filterfunc>
       <choicefunc>return $res->is_problem()</choicefunc>        <choicefunc>return $res->is_problem()</choicefunc>
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>

Removed from v.1.9  
changed lines
  Added in v.1.13


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