Bug #427 asterisks added on judge expertise fields (required fields)

This commit is contained in:
jacob 2010-07-09 18:36:30 +00:00
parent 2aa8e3805a
commit b09257b47e

View File

@ -177,10 +177,11 @@ echo "<input type=\"hidden\" name=\"users_id\" value=\"{$u['id']}\">\n";
$trclass = ($trclass == 'odd') ? 'even' : 'odd';
if($first == true) {
echo "<tr><td></td><td colspan=\"2\">".i18n("Novice")."</td><td colspan=\"3\" align=\"right\">".i18n("Expert")."</td></tr>";
echo "<tr><td></td><td colspan=\"3\">".i18n("Novice")."</td><td colspan=\"3\" align=\"right\">".i18n("Expert")."</td></tr>";
echo "<tr><th></th>";
for($x=1;$x<=5;$x++)
echo "<th>$x</th>";
echo "<th></th>";
echo "</tr>";
$first = false;
}
@ -191,6 +192,7 @@ echo "<input type=\"hidden\" name=\"users_id\" value=\"{$u['id']}\">\n";
$sel = ($u['div_prefs'][$r->id]==$x) ? "checked=\"checked\"" : '';
echo "<td width=\"30\"><input onclick=\"fieldChanged()\" $sel type=\"radio\" name=\"division[$r->id]\" value=\"$x\" /></td>";
}
echo "<td>" . REQUIREDFIELD . "</td>";
// echo "<td width=\"100\"></td>";
echo "</tr>";