forked from science-ation/science-ation
Forward port the "auto-select novice" change
This commit is contained in:
parent
459eb17e98
commit
beac7bb44e
@ -189,6 +189,7 @@ echo "<input type=\"hidden\" name=\"users_id\" value=\"{$u['id']}\">\n";
|
||||
echo "<tr class=\"$trclass\"><td><b>".i18n($r->division)."</b></td>";
|
||||
|
||||
for($x=1;$x<=5;$x++) {
|
||||
if(!$u['div_prefs'][$r->id]) $u['div_prefs'][$r->id]=1;
|
||||
$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>";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user