forked from science-ation/science-ation
Make the Medical alert field only be shown if the system is set to collect personal information about the students.
This commit is contained in:
parent
6cbfa42951
commit
eae0ebde0c
@ -336,11 +336,14 @@ else
|
|||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($config['participant_student_personal']=="yes")
|
||||||
|
{
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td>".i18n("Medical Alert Info")."</td><td colspan=\"3\">";
|
echo "<td>".i18n("Medical Alert Info")."</td><td colspan=\"3\">";
|
||||||
echo "<input name=\"medicalalert[$x]\" type=\"text\" size=\"50\" value=\"$studentinfo->medicalalert\" />";
|
echo "<input name=\"medicalalert[$x]\" type=\"text\" size=\"50\" value=\"$studentinfo->medicalalert\" />";
|
||||||
echo "</td>";
|
echo "</td>";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
}
|
||||||
|
|
||||||
if($config['participant_student_foodreq']=="yes")
|
if($config['participant_student_foodreq']=="yes")
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user