diff --git a/admin/survey/classes/class.SurveyGeoIP.php b/admin/survey/classes/class.SurveyGeoIP.php index 3827a37be..365cf78e6 100644 --- a/admin/survey/classes/class.SurveyGeoIP.php +++ b/admin/survey/classes/class.SurveyGeoIP.php @@ -40,9 +40,15 @@ class SurveyGeoIP{ // Zakesiramo podatke o lokacijah $this->calculateLocations(); //var_dump($this->data); - + + + // Opozorilo o nenatancnosti + echo '

'.$lang['srv_geoip_warning'].'

'; + + echo '
'; - echo '
'; + echo '
'; + // Izpis tabele frekvenc echo ''; diff --git a/frontend/payments/classes/class.UserNarocila.php b/frontend/payments/classes/class.UserNarocila.php index e7d2a5318..d50b4f811 100644 --- a/frontend/payments/classes/class.UserNarocila.php +++ b/frontend/payments/classes/class.UserNarocila.php @@ -171,7 +171,7 @@ class UserNarocila{ $rowNarocilo = mysqli_fetch_array($sqlNarocilo); - if($rowNarocilo['podjetje_drzava'] != 'Slovenija' && $rowNarocilo['podjetje_zavezanec'] == '1'){ + if($rowNarocilo['podjetje_drzava'] != 'Slovenija' && $rowNarocilo['podjetje_drzava'] != 'Slovenia' && $rowNarocilo['podjetje_zavezanec'] == '1'){ return true; } } diff --git a/lang/1.php b/lang/1.php index 9a80412df..479fe06ee 100644 --- a/lang/1.php +++ b/lang/1.php @@ -6318,6 +6318,7 @@ $lang = array ( 'srv_geoip_unknown' => 'Neznano', 'srv_geoip_map_cities' => 'Vsa mesta', 'srv_geoip_map_countries' => 'Vse države', + 'srv_geoip_warning' => 'Prosimo, upoštevajte, da so navedene IP lokacije lahko v določenih primerih nenatančne in zgolj ocene. Ocenjene so na podlagi knjižnice IP lokacij (verzija 2019), zato lahko pride do odstopanj od realnih podatkov.', 'srv_edits_analysis' => 'Analize urejanja', 'srv_edits_analysis_seansa' => 'Kriterij seanse: ', 'srv_edits_analysis_seansa_1h' => '1 ura', diff --git a/lang/2.php b/lang/2.php index 0336f44de..c5eb9cefc 100644 --- a/lang/2.php +++ b/lang/2.php @@ -6200,7 +6200,8 @@ $lang = array ( 'srv_geoip_freq' => 'Frequency', 'srv_geoip_unknown' => 'Unknown', 'srv_geoip_map_cities' => 'All cities', - 'srv_geoip_map_countries' => 'All countries', + 'srv_geoip_map_countries' => 'All countries', + 'srv_geoip_warning' => 'Please note that the listed IP locations may in certain cases be inaccurate and are only estimates. They are estimated based on the library of IP locations (version 2019), so there may be deviations from the real data.', 'srv_edits_analysis' => 'Edits analysis', 'srv_edits_analysis_seansa' => 'Session criteria: ', 'srv_edits_analysis_seansa_1h' => '1 hour',