From 7e59294ede21545bb48a7ddec707189e5ed93228 Mon Sep 17 00:00:00 2001 From: Karl Chen Date: Mon, 28 Jul 2003 23:47:32 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=1845 --- html/user/prefs.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/html/user/prefs.inc b/html/user/prefs.inc index 2e3a1d6118..4b94a673a4 100644 --- a/html/user/prefs.inc +++ b/html/user/prefs.inc @@ -287,7 +287,9 @@ function hour_select($x, $name) { function prefs_show_global($prefs) { row2("Work if computer on batteries?", $prefs->run_on_batteries?"Yes":"No"); row2("Work if computer in use?", $prefs->run_if_user_active?"Yes":"No"); - row2("Idle time before running", "$prefs->idle_time_to_run minutes".($prefs->run_if_user_active?" (ignored)":"")); + if (!$prefs->run_if_user_active) { + row2("Idle time before running", "$prefs->idle_time_to_run minutes"); + } if ($prefs->start_hour == $prefs->end_hour) { $x = "no restriction"; } else {