country.cgi: Rework script.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 12 May 2015 18:41:35 +0000 (20:41 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 12 May 2015 18:41:35 +0000 (20:41 +0200)
commit8fba24ec1503d9cf3ace983d35dc0bab54a1e510
tree832afb944ac6d409fde50cff7bafb6ab2022a22c
parent0ee211ee6be85fa6d12bc6f9278fc2c0a44ea420
country.cgi: Rework script.

* Introduce new method to get all country codes. In the past just the countries
has been used for which flag icons where available, which is just not what we
want.

* Finish column when the last element in the array has passed and we have an uneven
amount of items

* Improve code style.
html/cgi-bin/country.cgi