From 58c4d02b5d16427cd955771ff2b8c862624d8ffc Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 29 Nov 2016 15:41:44 -0800 Subject: [PATCH] web: tweaks to project-specific prefs --- html/inc/prefs_project.inc | 4 ++-- html/project.sample/project_specific_prefs.inc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/html/inc/prefs_project.inc b/html/inc/prefs_project.inc index 61644673c3..a033d27d43 100644 --- a/html/inc/prefs_project.inc +++ b/html/inc/prefs_project.inc @@ -271,7 +271,7 @@ function print_prefs_display_project($user, $columns=false) { $switch_link = " ".tra("(Switch View)").""; if ($columns) { - echo "

".tra("Combined preferences").$switch_link."

"; + echo "

".tra("Combined preferences").$switch_link."

"; start_table(); prefs_show_privacy($user, true); venue_show($user); @@ -282,7 +282,7 @@ function print_prefs_display_project($user, $columns=false) { end_table(); } else { if (isset($project_prefs->home) || isset($project_prefs->work) || isset($project_prefs->school)) { - echo "

".tra("Primary (default) preferences").$switch_link."

"; + echo "

".tra("Primary (default) preferences").$switch_link."

"; } start_table(); prefs_show_project($project_prefs, false); diff --git a/html/project.sample/project_specific_prefs.inc b/html/project.sample/project_specific_prefs.inc index a09a315a57..27e9b28ee0 100644 --- a/html/project.sample/project_specific_prefs.inc +++ b/html/project.sample/project_specific_prefs.inc @@ -109,7 +109,7 @@ function project_specific_prefs_default() { function number_select($name, $max, $n) { $sel = ($n == 0) ? "selected":""; - $x = " "; for ($i=1; $i<=$max; $i++) { $sel = ($n == $i) ? "selected":""; $x .= ""; @@ -127,7 +127,7 @@ function project_specific_prefs_edit($prefs, $error=false) { global $app_array; if (COLOR_PREFS) { $x = $prefs->color_scheme; - $y = " ".option("Tahiti Sunset", $x) .option("Desert Sands", $x)."