Skip to content

Commit b59639a

Browse files
authored
Merge pull request #14 from ggouaillardet/topic/jpgraph_update
Topic/jpgraph update
2 parents 7f909da + 39225f8 commit b59639a

File tree

79 files changed

+32008
-24259
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+32008
-24259
lines changed

includes/jpgraph/README

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
README FOR JPGRAPH 4.0.1
2+
=========================
3+
4+
This package contains the JpGraph PHP library version 4.0.1
5+
6+
The library is Copyright (C) 2000-2010 Asial Corporatoin and
7+
released under dual license QPL 1.0 for open source and educational
8+
use and JpGraph Professional License for commercial use.
9+
10+
Please see full license details at
11+
http://jpgraph.net/pro/
12+
http://jpgraph.net/download/
13+
14+
* --------------------------------------------------------------------
15+
* PHP4 IS NOT SUPPORTED IN 3.x or 4.x SERIES
16+
* --------------------------------------------------------------------
17+
18+
Requirements:
19+
-------------
20+
Miminum:
21+
* PHP 5.1.0 or higher
22+
* GD 2.0.28 or higher
23+
Note: Earlier versions might work but is unsupported.
24+
25+
Recommended:
26+
* >= PHP 5.2.0
27+
* PHP Builtin GD library
28+
29+
Installation
30+
------------
31+
1. Make sure that the PHP version is compatible with the stated
32+
requirements and that the PHP installation has support for
33+
the GD library. Please run phpinfo() to check if GD library
34+
is supported in the installation.
35+
If the GD library doesn't seem to be installed
36+
please consult the PHP manual under section "Image" for
37+
instructions on where to find this library. Please refer to
38+
the manual section "Verifying your PHP installation"
39+
40+
2. Unzip and copy the files to a directory of your choice where Your
41+
httpd sever can access them.
42+
For a global site installation you should copy the files to
43+
somewhere in the PHP search path.
44+
45+
3. Check that the default directory paths in jpg-config.inc.php
46+
for cache directory and TTF directory suits your installation.
47+
Note1: The default directories are different depending on if
48+
the library is running on Windows or UNIX.
49+
Note2: Apache/PHP must have write permission to your cache
50+
directory if you enable the cache feature. By default the cache
51+
is disabled.
52+
53+
54+
Documentation
55+
-------------
56+
The installation includes HTML documentation and reference guide for the
57+
library. The portal page for all documentation is
58+
<YOUR-INSTALLATION-DIRECTORY>/docs/index.html
59+
60+
61+
Bug reports and suggestions
62+
---------------------------
63+
Should be reported using the contact form at
64+
65+
http://jpgraph.net/contact/
66+

includes/jpgraph/flag_mapping

Lines changed: 237 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,237 @@
1+
class JpCountryFlags {
2+
3+
$iCountryFlags = array(
4+
'Afghanistan' => 'afgh.gif',
5+
'Republic of Angola' => 'agla.gif',
6+
'Republic of Albania' => 'alba.gif',
7+
'Alderney' => 'alde.gif',
8+
'Democratic and Popular Republic of Algeria' => 'alge.gif',
9+
'Territory of American Samoa' => 'amsa.gif',
10+
'Principality of Andorra' => 'andr.gif',
11+
'British Overseas Territory of Anguilla' => 'angu.gif',
12+
'Antarctica' => 'anta.gif',
13+
'Argentine Republic' => 'arge.gif',
14+
'League of Arab States' => 'arle.gif',
15+
'Republic of Armenia' => 'arme.gif',
16+
'Aruba' => 'arub.gif',
17+
'Commonwealth of Australia' => 'astl.gif',
18+
'Republic of Austria' => 'aust.gif',
19+
'Azerbaijani Republic' => 'azer.gif',
20+
'British Antarctic Territory' => 'bant.gif',
21+
'Kingdom of Belgium' => 'belg.gif',
22+
'British Overseas Territory of Bermuda' => 'berm.gif',
23+
'Commonwealth of the Bahamas' => 'bhms.gif',
24+
'Kingdom of Bahrain' => 'bhrn.gif',
25+
'Republic of Belarus' => 'blru.gif',
26+
'Republic of Bolivia' => 'blva.gif',
27+
'Belize' => 'blze.gif',
28+
'Republic of Benin' => 'bnin.gif',
29+
'Republic of Botswana' => 'bots.gif',
30+
'Federative Republic of Brazil' => 'braz.gif',
31+
'Barbados' => 'brbd.gif',
32+
'British Indian Ocean Territory' => 'brin.gif',
33+
'Brunei Darussalam' => 'brun.gif',
34+
'Republic of Burkina' => 'bufa.gif',
35+
'Republic of Bulgaria' => 'bulg.gif',
36+
'Republic of Burundi' => 'buru.gif',
37+
'Overseas Territory of the British Virgin Islands' => 'bvis.gif',
38+
'Central African Republic' => 'cafr.gif',
39+
'Kingdom of Cambodia' => 'camb.gif',
40+
'Republic of Cameroon' => 'came.gif',
41+
'Dominion of Canada' => 'cana.gif',
42+
'Caribbean Community' => 'cari.gif',
43+
'Republic of Cape Verde' => 'cave.gif',
44+
'Republic of Chad' => 'chad.gif',
45+
'Republic of Chile' => 'chil.gif',
46+
'Territory of Christmas Island' => 'chms.gif',
47+
'Commonwealth of Independent States' => 'cins.gif',
48+
'Cook Islands' => 'ckis.gif',
49+
'Republic of Colombia' => 'clmb.gif',
50+
'Territory of Cocos Islands' => 'cois.gif',
51+
'Commonwealth' => 'comn.gif',
52+
'Union of the Comoros' => 'como.gif',
53+
'Republic of the Congo' => 'cong.gif',
54+
'Republic of Costa Rica' => 'corc.gif',
55+
'Republic of Croatia' => 'croa.gif',
56+
'Republic of Cuba' => 'cuba.gif',
57+
'British Overseas Territory of the Cayman Islands' => 'cyis.gif',
58+
'Republic of Cyprus' => 'cypr.gif',
59+
'The Czech Republic' => 'czec.gif',
60+
'Kingdom of Denmark' => 'denm.gif',
61+
'Republic of Djibouti' => 'djib.gif',
62+
'Commonwealth of Dominica' => 'domn.gif',
63+
'Dominican Republic' => 'dore.gif',
64+
'Republic of Ecuador' => 'ecua.gif',
65+
'Arab Republic of Egypt' => 'egyp.gif',
66+
'Republic of El Salvador' => 'elsa.gif',
67+
'England' => 'engl.gif',
68+
'Republic of Equatorial Guinea' => 'eqgu.gif',
69+
'State of Eritrea' => 'erit.gif',
70+
'Republic of Estonia' => 'estn.gif',
71+
'Ethiopia' => 'ethp.gif',
72+
'European Union' => 'euun.gif',
73+
'British Overseas Territory of the Falkland Islands' => 'fais.gif',
74+
'International Federation of Vexillological Associations' => 'fiav.gif',
75+
'Republic of Fiji' => 'fiji.gif',
76+
'Republic of Finland' => 'finl.gif',
77+
'Territory of French Polynesia' => 'fpol.gif',
78+
'French Republic' => 'fran.gif',
79+
'Overseas Department of French Guiana' => 'frgu.gif',
80+
'Gabonese Republic' => 'gabn.gif',
81+
'Republic of the Gambia' => 'gamb.gif',
82+
'Republic of Georgia' => 'geor.gif',
83+
'Federal Republic of Germany' => 'germ.gif',
84+
'Republic of Ghana' => 'ghan.gif',
85+
'Gibraltar' => 'gibr.gif',
86+
'Hellenic Republic' => 'grec.gif',
87+
'State of Grenada' => 'gren.gif',
88+
'Overseas Department of Guadeloupe' => 'guad.gif',
89+
'Territory of Guam' => 'guam.gif',
90+
'Republic of Guatemala' => 'guat.gif',
91+
'The Bailiwick of Guernsey' => 'guer.gif',
92+
'Republic of Guinea' => 'guin.gif',
93+
'Republic of Haiti' => 'hait.gif',
94+
'Hong Kong Special Administrative Region' => 'hokn.gif',
95+
'Republic of Honduras' => 'hond.gif',
96+
'Republic of Hungary' => 'hung.gif',
97+
'Republic of Iceland' => 'icel.gif',
98+
'International Committee of the Red Cross' => 'icrc.gif',
99+
'Republic of India' => 'inda.gif',
100+
'Republic of Indonesia' => 'indn.gif',
101+
'Republic of Iraq' => 'iraq.gif',
102+
'Republic of Ireland' => 'irel.gif',
103+
'Organization of the Islamic Conference' => 'isco.gif',
104+
'Isle of Man' => 'isma.gif',
105+
'State of Israel' => 'isra.gif',
106+
'Italian Republic' => 'ital.gif',
107+
'Jamaica' => 'jama.gif',
108+
'Japan' => 'japa.gif',
109+
'The Bailiwick of Jersey' => 'jers.gif',
110+
'Hashemite Kingdom of Jordan' => 'jord.gif',
111+
'Republic of Kazakhstan' => 'kazk.gif',
112+
'Republic of Kenya' => 'keny.gif',
113+
'Republic of Kiribati' => 'kirb.gif',
114+
'State of Kuwait' => 'kuwa.gif',
115+
'Kyrgyz Republic' => 'kyrg.gif',
116+
'Republic of Latvia' => 'latv.gif',
117+
'Lebanese Republic' => 'leba.gif',
118+
'Kingdom of Lesotho' => 'lest.gif',
119+
'Republic of Liberia' => 'libe.gif',
120+
'Principality of Liechtenstein' => 'liec.gif',
121+
'Republic of Lithuania' => 'lith.gif',
122+
'Grand Duchy of Luxembourg' => 'luxe.gif',
123+
'Macao Special Administrative Region' => 'maca.gif',
124+
'Republic of Macedonia' => 'mace.gif',
125+
'Republic of Madagascar' => 'mada.gif',
126+
'Republic of the Marshall Islands' => 'mais.gif',
127+
'Republic of Maldives' => 'mald.gif',
128+
'Republic of Mali' => 'mali.gif',
129+
'Federation of Malaysia' => 'mals018.gif',
130+
'Republic of Malta' => 'malt.gif',
131+
'Republic of Malawi' => 'malw.gif',
132+
'Overseas Department of Martinique' => 'mart.gif',
133+
'Islamic Republic of Mauritania' => 'maur.gif',
134+
'Territorial Collectivity of Mayotte' => 'mayt.gif',
135+
'United Mexican States' => 'mexc.gif',
136+
'Federated States of Micronesia' => 'micr.gif',
137+
'Midway Islands' => 'miis.gif',
138+
'Republic of Moldova' => 'mold.gif',
139+
'Principality of Monaco' => 'mona.gif',
140+
'Republic of Mongolia' => 'mong.gif',
141+
'British Overseas Territory of Montserrat' => 'mont.gif',
142+
'Kingdom of Morocco' => 'morc.gif',
143+
'Republic of Mozambique' => 'moza.gif',
144+
'Republic of Mauritius' => 'mrts.gif',
145+
'Union of Myanmar' => 'myan.gif',
146+
'Republic of Namibia' => 'namb.gif',
147+
'North Atlantic Treaty Organization' => 'nato.gif',
148+
'Republic of Nauru' => 'naur.gif',
149+
'Turkish Republic of Northern Cyprus' => 'ncyp.gif',
150+
'Netherlands Antilles' => 'nean.gif',
151+
'Kingdom of Nepal' => 'nepa.gif',
152+
'Kingdom of the Netherlands' => 'neth.gif',
153+
'Territory of Norfolk Island' => 'nfis.gif',
154+
'Federal Republic of Nigeria' => 'ngra.gif',
155+
'Republic of Nicaragua' => 'nica.gif',
156+
'Republic of Niger' => 'nigr.gif',
157+
'Niue' => 'niue.gif',
158+
'Commonwealth of the Northern Mariana Islands' => 'nmar.gif',
159+
'Province of Northern Ireland' => 'noir.gif',
160+
'Nordic Council' => 'nord.gif',
161+
'Kingdom of Norway' => 'norw.gif',
162+
'Territory of New Caledonia and Dependencies' => 'nwca.gif',
163+
'New Zealand' => 'nwze.gif',
164+
'Organization of American States' => 'oast.gif',
165+
'Organization of African Unity' => 'oaun.gif',
166+
'International Olympic Committee' => 'olym.gif',
167+
'Sultanate of Oman' => 'oman.gif',
168+
'Organization of Petroleum Exporting Countries' => 'opec.gif',
169+
'Islamic Republic of Pakistan' => 'paks.gif',
170+
'Republic of Palau' => 'pala.gif',
171+
'Independent State of Papua New Guinea' => 'pang.gif',
172+
'Republic of Paraguay' => 'para.gif',
173+
'Republic of the Philippines' => 'phil.gif',
174+
'British Overseas Territory of the Pitcairn Islands' => 'piis.gif',
175+
'Republic of Poland' => 'pola.gif',
176+
'Republic of Portugal' => 'port.gif',
177+
'Commonwealth of Puerto Rico' => 'purc.gif',
178+
'State of Qatar' => 'qata.gif',
179+
'Russian Federation' => 'russ.gif',
180+
'Republic of Rwanda' => 'rwan.gif',
181+
'Kingdom of Saudi Arabia' => 'saar.gif',
182+
'Republic of San Marino' => 'sama.gif',
183+
'Nordic Sami Conference' => 'sami.gif',
184+
'Sark' => 'sark.gif',
185+
'Scotland' => 'scot.gif',
186+
'Principality of Seborga' => 'sebo.gif',
187+
'Republic of Sierra Leone' => 'sile.gif',
188+
'Republic of Singapore' => 'sing.gif',
189+
'Republic of Korea' => 'skor.gif',
190+
'Republic of Slovenia' => 'slva.gif',
191+
'Somali Republic' => 'smla.gif',
192+
'Republic of Somaliland' => 'smld.gif',
193+
'Republic of South Africa' => 'soaf.gif',
194+
'Solomon Islands' => 'sois.gif',
195+
'Kingdom of Spain' => 'span.gif',
196+
'Secretariat of the Pacific Community' => 'spco.gif',
197+
'Democratic Socialist Republic of Sri Lanka' => 'srla.gif',
198+
'Saint Lucia' => 'stlu.gif',
199+
'Republic of the Sudan' => 'suda.gif',
200+
'Republic of Suriname' => 'surn.gif',
201+
'Slovak Republic' => 'svka.gif',
202+
'Kingdom of Sweden' => 'swdn.gif',
203+
'Swiss Confederation' => 'swit.gif',
204+
'Syrian Arab Republic' => 'syra.gif',
205+
'Kingdom of Swaziland' => 'szld.gif',
206+
'Republic of China' => 'taiw.gif',
207+
'Republic of Tajikistan' => 'tajk.gif',
208+
'United Republic of Tanzania' => 'tanz.gif',
209+
'Kingdom of Thailand' => 'thal.gif',
210+
'Autonomous Region of Tibet' => 'tibe.gif',
211+
'Turkmenistan' => 'tkst.gif',
212+
'Togolese Republic' => 'togo.gif',
213+
'Tokelau' => 'toke.gif',
214+
'Kingdom of Tonga' => 'tong.gif',
215+
'Tristan da Cunha' => 'trdc.gif',
216+
'Tromelin' => 'tris.gif',
217+
'Republic of Tunisia' => 'tuns.gif',
218+
'Republic of Turkey' => 'turk.gif',
219+
'Tuvalu' => 'tuva.gif',
220+
'United Arab Emirates' => 'uaem.gif',
221+
'Republic of Uganda' => 'ugan.gif',
222+
'Ukraine' => 'ukrn.gif',
223+
'United Kingdom of Great Britain' => 'unkg.gif',
224+
'United Nations' => 'unna.gif',
225+
'United States of America' => 'unst.gif',
226+
'Oriental Republic of Uruguay' => 'urgy.gif',
227+
'Virgin Islands of the United States' => 'usvs.gif',
228+
'Republic of Uzbekistan' => 'uzbk.gif',
229+
'State of the Vatican City' => 'vacy.gif',
230+
'Republic of Vanuatu' => 'vant.gif',
231+
'Bolivarian Republic of Venezuela' => 'venz.gif',
232+
'Republic of Yemen' => 'yemn.gif',
233+
'Democratic Republic of Congo' => 'zare.gif',
234+
'Republic of Zimbabwe' => 'zbwe.gif'
235+
) ;
236+
237+

includes/jpgraph/flags.dat

7.51 KB
Binary file not shown.
3.05 KB
Binary file not shown.
831 Bytes
Binary file not shown.
1.5 KB
Binary file not shown.
619 KB
Binary file not shown.
561 KB
Binary file not shown.
561 KB
Binary file not shown.
668 KB
Binary file not shown.

0 commit comments

Comments
 (0)