From 107a2f1d90cb931664b17b4c23ce93ff16885fdb Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 26 Mar 2004 18:45:49 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3173 --- html/inc/countries.inc | 2 ++ html/inc/util.inc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/html/inc/countries.inc b/html/inc/countries.inc index 6ac225788b..4816699ef3 100644 --- a/html/inc/countries.inc +++ b/html/inc/countries.inc @@ -243,9 +243,11 @@ function print_country_select($selected_country="None") { $geoip_country = geoip_country_name_by_addr($gi,$_SERVER["REMOTE_ADDR"]); geoip_close($gi); + if ($selected_country=="") $selected_country="None"; if ($selected_country=="None" and $geoip_country!=""){ $selected_country=$geoip_country; } + echo "selected: $selected_country\n"; $numCountries = count($countries); for ($i=0; $i<$numCountries; $i++) { diff --git a/html/inc/util.inc b/html/inc/util.inc index c4c852753c..f86c6142b0 100644 --- a/html/inc/util.inc +++ b/html/inc/util.inc @@ -161,7 +161,7 @@ function profile_error_page($str) { page_head("Profile error"); echo "$str
\n"; echo "

Click your browser's Back button to try again.\n

\n"; - p age_tail(); + page_tail(); } function date_str($x) {