From fa06cb7b106f3e8fe135a5328a924d4f9eaa1a75 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 29 Nov 2016 23:32:06 -0800 Subject: [PATCH] web: fix appearance of project-specific prefs in grid mode --- html/inc/prefs_util.inc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/html/inc/prefs_util.inc b/html/inc/prefs_util.inc index 40173756fc..884d056be0 100644 --- a/html/inc/prefs_util.inc +++ b/html/inc/prefs_util.inc @@ -532,12 +532,10 @@ class PREF_HOUR_RANGE extends PREF { } } -//////////////////////////////////////////// -// // display preference subsets as Columns // function row_top($x, $ncols=6) { - echo "$x"; + echo "$x"; echo "".tra("Default")." ".tra("Home")." ".tra("School")." @@ -561,7 +559,7 @@ function row_defs($pre, $item, $post, $type, $prefs, $tooltip=null) { } else { echo ""; } - echo "$pre"; + echo "$pre"; row_field($gen, $type); row_field($hom, $type); row_field($schl, $type); @@ -573,7 +571,7 @@ function row_defs($pre, $item, $post, $type, $prefs, $tooltip=null) { // row_field - Display each field value, with selectable display modes // function row_field($value, $type) { - echo ""; + echo ""; $type = $value === "--" ? "--" : $type; switch($type) { case "yesno":