forked from science-ation/science-ation
Bug #427 asterisks added on judge expertise fields (required fields)
This commit is contained in:
parent
2aa8e3805a
commit
b09257b47e
@ -177,10 +177,11 @@ echo "<input type=\"hidden\" name=\"users_id\" value=\"{$u['id']}\">\n";
|
|||||||
|
|
||||||
$trclass = ($trclass == 'odd') ? 'even' : 'odd';
|
$trclass = ($trclass == 'odd') ? 'even' : 'odd';
|
||||||
if($first == true) {
|
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>";
|
echo "<tr><th></th>";
|
||||||
for($x=1;$x<=5;$x++)
|
for($x=1;$x<=5;$x++)
|
||||||
echo "<th>$x</th>";
|
echo "<th>$x</th>";
|
||||||
|
echo "<th></th>";
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
$first = false;
|
$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\"" : '';
|
$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 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 "<td width=\"100\"></td>";
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user