forked from science-ation/science-ation
add division preference
remove check for dob from status indicator
This commit is contained in:
parent
6183be32f9
commit
5915103b55
@ -25,7 +25,7 @@
|
||||
function personalStatus()
|
||||
{
|
||||
global $config;
|
||||
$required_fields=array("firstname","lastname","address","city","postalcode","phonehome","email","dateofbirth");
|
||||
$required_fields=array("firstname","lastname","address","city","postalcode","phonehome","email");
|
||||
|
||||
$q=mysql_query("SELECT * FROM judges WHERE id='".$_SESSION['judges_id']."'");
|
||||
|
||||
|
@ -138,6 +138,23 @@ while($r=mysql_fetch_object($q))
|
||||
}
|
||||
echo "</select>";
|
||||
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
|
||||
echo "<tr>\n";
|
||||
echo " <td colspan=\"2\">".i18n("Division preference")."</td><td>";
|
||||
$q=mysql_query("SELECT * FROM projectdivisions ORDER BY division");
|
||||
echo "<select name=\"divpref\">";
|
||||
echo "<option value=\"\">".i18n("Doesn't Matter")."</option>\n";
|
||||
while($r=mysql_fetch_object($q))
|
||||
{
|
||||
if($judgeinfo->divpref==$r->id) $sel="selected=\"selected\""; else $sel="";
|
||||
|
||||
echo "<option $sel value=\"$r->id\">".i18n($r->division)."</option>\n";
|
||||
}
|
||||
echo "</select>";
|
||||
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "<tr>\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user