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++) {
|
||||
|
|
Loading…
Reference in New Issue