r59847 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59846‎ | r59847 | r59848 >
Date:20:27, 8 December 2009
Author:tomasz
Status:ok
Tags:
Comment:
Removing old or incorrect information. Adding armed services states
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/includes/countryCodes.inc (modified) (history)
  • /trunk/extensions/DonationInterface/payflowpro_gateway/includes/stateAbbreviations.inc (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/includes/stateAbbreviations.inc
@@ -7,8 +7,11 @@
88 $states = array(
99 'YY' => 'Select a State',
1010 'XX' => 'Outside the U.S.',
 11+ 'AA' => 'Armed Forces Americas (except Canada)',
 12+ 'AE' => 'Armed Forces Africa',
1113 'AK' => 'Alaska',
1214 'AL' => 'Alabama',
 15+ 'AP' => 'Armed Forces Pacific',
1316 'AR' => 'Arkansas',
1417 'AZ' => 'Arizona',
1518 'CA' => 'California',
@@ -62,4 +65,4 @@
6366 );
6467
6568 return $states;
66 -}
\ No newline at end of file
 69+}
Index: trunk/extensions/DonationInterface/payflowpro_gateway/includes/countryCodes.inc
@@ -61,8 +61,8 @@
6262 '180' => 'Congo, the Democratic Republic of the',
6363 '184' => 'Cook Islands',
6464 '188' => 'Costa Rica',
65 - '384' => "Côte d'Ivoire",
66 - '191' => 'Croatia (Hrvatska)',
 65+ '384' => "Cote D'Ivoire",
 66+ '191' => 'Croatia',
6767 '192' => 'Cuba',
6868 '196' => 'Cyprus',
6969 '203' => 'Czech Republic',
@@ -124,7 +124,7 @@
125125 '410' => 'Korea, Republic of',
126126 '414' => 'Kuwait',
127127 '417' => 'Kyrgyzstan',
128 - '418' => 'Lao People\'s Democratic Republic',
 128+ '418' => 'Laos',
129129 '428' => 'Latvia',
130130 '422' => 'Lebanon',
131131 '426' => 'Lesotho',
@@ -134,7 +134,7 @@
135135 '440' => 'Lithuania',
136136 '442' => 'Luxembourg',
137137 '446' => 'Macao',
138 - '807' => 'Macedonia, the former Yugoslav Republic of',
 138+ '807' => 'Macedonia',
139139 '450' => 'Madagascar',
140140 '454' => 'Malawi',
141141 '458' => 'Malaysia',
@@ -183,7 +183,6 @@
184184 '620' => 'Portugal',
185185 '630' => 'Puerto Rico',
186186 '634' => 'Qatar',
187 - '638' => 'Réunion',
188187 '642' => 'Romania',
189188 '643' => 'Russian Federation',
190189 '646' => 'Rwanda',
@@ -195,6 +194,7 @@
196195 '678' => 'Sao Tome and Principe',
197196 '682' => 'Saudi Arabia',
198197 '686' => 'Senegal',
 198+ '891' => 'Serbia',
199199 '690' => 'Seychelles',
200200 '694' => 'Sierra Leone',
201201 '702' => 'Singapore',
@@ -246,10 +246,9 @@
247247 '732' => 'Western Sahara',
248248 '882' => 'Western Samoa',
249249 '887' => 'Yemen',
250 - '891' => 'Yugoslavia',
251250 '894' => 'Zambia',
252251 '716' => 'Zimbabwe'
253252 );
254253
255254 return $countryCode;
256 -}
\ No newline at end of file
 255+}

Status & tagging log