mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3173
This commit is contained in:
parent
6e52689a40
commit
107a2f1d90
|
@ -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++) {
|
||||
|
|
|
@ -161,7 +161,7 @@ function profile_error_page($str) {
|
|||
page_head("Profile error");
|
||||
echo "$str<br>\n";
|
||||
echo "<p>Click your browser's <b>Back</b> button to try again.\n<p>\n";
|
||||
p age_tail();
|
||||
page_tail();
|
||||
}
|
||||
|
||||
function date_str($x) {
|
||||
|
|
Loading…
Reference in New Issue