From 6b626b64944dff0ba0adff99da26e3bbe8eb7544 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Sun, 12 Mar 2017 19:54:58 -0300 Subject: [PATCH] Bug 14608: Move country list to an include file Signed-off-by: Marcel de Rooy Signed-off-by: Brendan A Gallagher --- .../prog/en/includes/country-list.inc | 196 +++++++++++++++++ .../prog/en/modules/admin/usage_statistics.tt | 198 +----------------- 2 files changed, 198 insertions(+), 196 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/country-list.inc diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/country-list.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/country-list.inc new file mode 100644 index 0000000000..30d44e5f83 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/country-list.inc @@ -0,0 +1,196 @@ +[% SET countries = [ +"Afghanistan", +"Albania", +"Algeria", +"Andorra", +"Angola", +"Antigua & Deps", +"Argentina", +"Armenia", +"Australia", +"Austria", +"Azerbaijan", +"Bahamas", +"Bahrain", +"Bangladesh", +"Barbados", +"Belarus", +"Belgium", +"Belize", +"Benin", +"Bhutan", +"Bolivia", +"Bosnia Herz.", +"Botswana", +"Brazil", +"Brunei", +"Bulgaria", +"Burkina", +"Burundi", +"Cambodia", +"Cameroon", +"Canada", +"Cape Verde", +"Centr. Afr. Rep", +"Chad", +"Chile", +"China", +"Colombia", +"Comoros", +"Congo", +"Costa Rica", +"Croatia", +"Cuba", +"Cyprus", +"Czech Republic", +"Denmark", +"Djibouti", +"Dominica", +"Dominican Rep.", +"East Timor", +"Ecuador", +"Egypt", +"El Salvador", +"Equator. Guinea", +"Eritrea", +"Estonia", +"Ethiopia", +"Fiji", +"Finland", +"France", +"Gabon", +"Gambia", +"Georgia", +"Germany", +"Ghana", +"Greece", +"Grenada", +"Guatemala", +"Guinea", +"Guinea-Bissau", +"Guyana", +"Haiti", +"Honduras", +"Hungary", +"Iceland", +"India", +"Indonesia", +"Iran", +"Iraq", +"Ireland", +"Israel", +"Italy", +"Ivory Coast", +"Jamaica", +"Japan", +"Jordan", +"Kazakhstan", +"Kenya", +"Kiribati", +"Korea North", +"Korea South", +"Kosovo", +"Kuwait", +"Kyrgyzstan", +"Laos", +"Latvia", +"Lebanon", +"Lesotho", +"Liberia", +"Libya", +"Liechtenstein", +"Lithuania", +"Luxembourg", +"Macedonia", +"Madagascar", +"Malawi", +"Malaysia", +"Maldives", +"Mali", +"Malta", +"Marshall Isl.", +"Mauritania", +"Mauritius", +"Mexico", +"Micronesia", +"Moldova", +"Monaco", +"Mongolia", +"Montenegro", +"Morocco", +"Mozambique", +"Myanmar", +"Namibia", +"Nauru", +"Nepal", +"Netherlands", +"New Zealand", +"Nicaragua", +"Niger", +"Nigeria", +"Norway", +"Oman", +"Pakistan", +"Palau", +"Panama", +"Papua N. Guinea", +"Paraguay", +"Peru", +"Philippines", +"Poland", +"Portugal", +"Qatar", +"Romania", +"Russian Fed.", +"Rwanda", +"St Kitts & Nev.", +"St Lucia", +"Saint Vincent", +"Samoa", +"San Marino", +"Sao Tome", +"Saudi Arabia", +"Senegal", +"Serbia", +"Seychelles", +"Sierra Leone", +"Singapore", +"Slovakia", +"Slovenia", +"Solomon Islands", +"Somalia", +"South Africa", +"Spain", +"Sri Lanka", +"Sudan", +"Suriname", +"Swaziland", +"Sweden", +"Switzerland", +"Syria", +"Taiwan", +"Tajikistan", +"Tanzania", +"Thailand", +"Togo", +"Tonga", +"Trinidad & Tob.", +"Tunisia", +"Turkey", +"Turkmenistan", +"Tuvalu", +"Uganda", +"Ukraine", +"UAE", +"United Kingdom", +"USA", +"Uruguay", +"Uzbekistan", +"Vanuatu", +"Vatican City", +"Venezuela", +"Vietnam", +"Yemen", +"Zambia", +"Zimbabwe", +] %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt index 5da2693e6c..2850dfd60e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt @@ -68,204 +68,10 @@ [% IF NOT UsageStatsCountry %] [% SET IsUsageStatsCountryValid = 1 %] [% END %] + [% PROCESS 'country-list.inc' %]