-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
36 lines (27 loc) · 1.22 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Flags Helper
============
Version: v0.2
Author: Demostenes Garcia ([email protected] / www.demogar.com)
DESCRIPTION
-----------
This is a CodeIgniter Helper. It makes a dropdown select with a list of Countries. The value of the country is determined by the 'ISO 3166-1 alpha-2' codes.
It's a perfect solution if you need a list of countries usable with the famfamfam flags.
I also added the fam fam fam flags in gif format.
USAGE
-----
It's quite simple:
# We load the helper
$this->load->helper('flags');
# Then we echo the dropdown. The first value is the name of the dropdown and the second value is the default value.
echo select_countries('flags', 'pa');
ABOUT FAM FAM FAM ICONS
-----------------------
famfamfam.com is the website of Mark James, a web developer from Birmingham, UK. These icons are public domain, and as such are free for any use (attribution appreciated but not required).
If you find these icons useful, please donate via paypal to [email protected] (or click the donate button available at http://www.famfamfam.com/lab/icons/silk)
Contact: [email protected]
MORE
----
- ISO 3166-1 alpha-2 codes:
http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
- Fam fam fam Flag icons:
http://www.famfamfam.com/lab/icons/flags/