diff options
Diffstat (limited to 'plugins/UserCountryMap/templates/visitorMap.twig')
-rw-r--r-- | plugins/UserCountryMap/templates/visitorMap.twig | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/UserCountryMap/templates/visitorMap.twig b/plugins/UserCountryMap/templates/visitorMap.twig index 5959be3407..7fed992035 100644 --- a/plugins/UserCountryMap/templates/visitorMap.twig +++ b/plugins/UserCountryMap/templates/visitorMap.twig @@ -63,12 +63,9 @@ <select class="userCountryMapSelectCountry"> <option value="world">{{ 'UserCountryMap_WorldWide'|translate }}</option> <option disabled="disabled">––––––</option> - <option value="AF">{{ 'UserCountry_continent_afr'|translate }}</option> - <option value="AS">{{ 'UserCountry_continent_asi'|translate }}</option> - <option value="EU">{{ 'UserCountry_continent_eur'|translate }}</option> - <option value="NA">{{ 'UserCountry_continent_amn'|translate }}</option> - <option value="OC">{{ 'UserCountry_continent_oce'|translate }}</option> - <option value="SA">{{ 'UserCountry_continent_ams'|translate }}</option> + {% for code,continent in continents %} + <option value="{{ code }}">{{ continent }}</option> + {% endfor %} <option disabled="disabled">––––––</option> </select> </div> |