Diff for /loncom/html/adm/helper/parameter.helper between versions 1.6 and 1.11

version 1.6, 2003/09/29 16:33:41 version 1.11, 2004/04/27 15:14:56
Line 49 Line 49
     <message>Which problems do you wish to set a parameter for?</message>      <message>Which problems do you wish to set a parameter for?</message>
     <choices variable="GRANULARITY">      <choices variable="GRANULARITY">
       <choice computer="whole_course" nextstate="CHOOSE_ACTION">        <choice computer="whole_course" nextstate="CHOOSE_ACTION">
         <b>Every problem</b> in the course          Course default for all problems
         </choice>          </choice>
       <choice computer="map" nextstate="CHOOSE_FOLDER">        <choice computer="map" nextstate="CHOOSE_FOLDER">
         Every problem in <b>a particular folder</b>          Every problem in a particular folder (overrides course default)
         </choice>          </choice>
       <choice computer="resource" nextstate="CHOOSE_RESOURCE">        <choice computer="resource" nextstate="CHOOSE_RESOURCE">
         <b>One particular problem</b>          One particular problem (overrides folder and course defaults)
         </choice>          </choice>
       </choices>        </choices>
     </state>      </state>
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 '&quot;'.$element->getValue().'&quot; '.&mt('is not an acceptable weight. Weight must be a positive number.');
                      '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 '&quot;' . $element->getValue() . '&quot; '.&mt('is not an acceptable number of tries. Tries must be a positive number with no decimal point.');} 
                      'an acceptable number of tries. Tries must be a positive number ' .  
                      'with no decimal point.';}   
                  return undef;                   return undef;
         </validator>          </validator>
       </string>        </string>
Line 139 Line 137
     <eval>      <eval>
       return 'Set ' .         return 'Set ' . 
        &{$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.6  
changed lines
  Added in v.1.11


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