forked from science-ation/science-ation
- Comment the comment
This commit is contained in:
parent
668565919f
commit
418dc75cef
@ -316,9 +316,7 @@ if($config['participant_student_personal']=="yes")
|
|||||||
emit_month_selector("month[$x]",$month);
|
emit_month_selector("month[$x]",$month);
|
||||||
echo "</td><td>\n";
|
echo "</td><td>\n";
|
||||||
|
|
||||||
//the year selector should be based on the min/max grades possible
|
//the year selector should be based on the min/max ages possible (as set in $config)
|
||||||
//assume min age of 3 for grade=0 (kindergarden)
|
|
||||||
//assume max age of 18 for grade=12
|
|
||||||
$minyearselect=$config['FAIRYEAR'] - $config['maxage'];
|
$minyearselect=$config['FAIRYEAR'] - $config['maxage'];
|
||||||
$maxyearselect=$config['FAIRYEAR'] - $config['minage'];
|
$maxyearselect=$config['FAIRYEAR'] - $config['minage'];
|
||||||
emit_year_selector("year[$x]",$year,$minyearselect,$maxyearselect);
|
emit_year_selector("year[$x]",$year,$minyearselect,$maxyearselect);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user