Forward port the "auto-select novice" change

This commit is contained in:
james 2010-12-16 16:56:49 +00:00
parent 459eb17e98
commit beac7bb44e

View File

@ -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>";
}