diff --git a/checkin_notes b/checkin_notes index 5913083496..dd260e7a0b 100644 --- a/checkin_notes +++ b/checkin_notes @@ -7886,3 +7886,9 @@ David 05 Nov 2010 rr_sim.cpp html/ops/ manage_app_versions.php + +David 08 Nov 2010 + - web: show prefs bools as checkboxes rather than radio yes/no + + html/inc/ + prefs_util.inc diff --git a/html/inc/prefs_util.inc b/html/inc/prefs_util.inc index 4ddd4ff6d7..bb1b16e275 100644 --- a/html/inc/prefs_util.inc +++ b/html/inc/prefs_util.inc @@ -96,28 +96,21 @@ class PREF_BOOL extends PREF { function show_form($prefs, $error) { $tag = $this->tag; if ($this->invert) { - $disp_yes = "no"; - $disp_no = "yes"; - $val = !$prefs->$tag; + $checked = !$prefs->$tag; } else { - $disp_yes = "yes"; - $disp_no = "no"; - $val = $prefs->$tag; + $checked = $prefs->$tag; } echo "