/[drupal]/contributions/modules/cck_address/cck_address_state.inc
ViewVC logotype

Contents of /contributions/modules/cck_address/cck_address_state.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.9 - (show annotations) (download) (as text)
Fri Dec 14 20:12:13 2007 UTC (23 months, 2 weeks ago) by rconstantine
Branch: MAIN
CVS Tags: DRUPAL-5--2-4, DRUPAL-5--2-2, DRUPAL-5--2-3, HEAD
Changes since 1.8: +0 -0 lines
File MIME type: text/x-php
#198571 country behavior was wrong for both input and display
#198568 forgot one line which didn't allow the case where activeselect isn't installed to work
1 <?php
2 /**
3 * $Id:$;
4 * @package CCK_Address
5 * @category NeighborForge
6 */
7 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Alabama', 'AL', 'US')");
8 if (!$query2) $query_ok = FALSE;
9 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Alaska', 'AK', 'US')");
10 if (!$query2) $query_ok = FALSE;
11 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Arizona', 'AZ', 'US')");
12 if (!$query2) $query_ok = FALSE;
13 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Arkansas', 'AR', 'US')");
14 if (!$query2) $query_ok = FALSE;
15 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('California', 'CA', 'US')");
16 if (!$query2) $query_ok = FALSE;
17 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Colorado', 'CO', 'US')");
18 if (!$query2) $query_ok = FALSE;
19 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Connecticut', 'CT', 'US')");
20 if (!$query2) $query_ok = FALSE;
21 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Washington, D.C.', 'DC', 'US')");
22 if (!$query2) $query_ok = FALSE;
23 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Delaware', 'DE', 'US')");
24 if (!$query2) $query_ok = FALSE;
25 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Florida', 'FL', 'US')");
26 if (!$query2) $query_ok = FALSE;
27 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Georgia', 'GA', 'US')");
28 if (!$query2) $query_ok = FALSE;
29 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Hawaii', 'HI', 'US')");
30 if (!$query2) $query_ok = FALSE;
31 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Idaho', 'ID', 'US')");
32 if (!$query2) $query_ok = FALSE;
33 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Illinois', 'IL', 'US')");
34 if (!$query2) $query_ok = FALSE;
35 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Indiana', 'IN', 'US')");
36 if (!$query2) $query_ok = FALSE;
37 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Iowa', 'IA', 'US')");
38 if (!$query2) $query_ok = FALSE;
39 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Kansas', 'KS', 'US')");
40 if (!$query2) $query_ok = FALSE;
41 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Kentucky', 'KY', 'US')");
42 if (!$query2) $query_ok = FALSE;
43 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Louisiana', 'LA', 'US')");
44 if (!$query2) $query_ok = FALSE;
45 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Maine', 'ME', 'US')");
46 if (!$query2) $query_ok = FALSE;
47 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Maryland', 'MD', 'US')");
48 if (!$query2) $query_ok = FALSE;
49 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Massachusetts', 'MA', 'US')");
50 if (!$query2) $query_ok = FALSE;
51 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Michigan', 'MI', 'US')");
52 if (!$query2) $query_ok = FALSE;
53 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Minnesota', 'MN', 'US')");
54 if (!$query2) $query_ok = FALSE;
55 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Mississippi', 'MS', 'US')");
56 if (!$query2) $query_ok = FALSE;
57 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Missouri', 'MO', 'US')");
58 if (!$query2) $query_ok = FALSE;
59 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Montana', 'MT', 'US')");
60 if (!$query2) $query_ok = FALSE;
61 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Nebraska', 'NE', 'US')");
62 if (!$query2) $query_ok = FALSE;
63 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Nevada', 'NV', 'US')");
64 if (!$query2) $query_ok = FALSE;
65 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('New Hampshire', 'NH', 'US')");
66 if (!$query2) $query_ok = FALSE;
67 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('New Jersey', 'NJ', 'US')");
68 if (!$query2) $query_ok = FALSE;
69 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('New Mexico', 'NM', 'US')");
70 if (!$query2) $query_ok = FALSE;
71 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('New York', 'NY', 'US')");
72 if (!$query2) $query_ok = FALSE;
73 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('North Carolina', 'NC', 'US')");
74 if (!$query2) $query_ok = FALSE;
75 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('North Dakota', 'ND', 'US')");
76 if (!$query2) $query_ok = FALSE;
77 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Ohio', 'OH', 'US')");
78 if (!$query2) $query_ok = FALSE;
79 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Oklahoma', 'OK', 'US')");
80 if (!$query2) $query_ok = FALSE;
81 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Oregon', 'OR', 'US')");
82 if (!$query2) $query_ok = FALSE;
83 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Pennsylvania', 'PA', 'US')");
84 if (!$query2) $query_ok = FALSE;
85 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Rhode Island', 'RI', 'US')");
86 if (!$query2) $query_ok = FALSE;
87 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('South Carolina', 'SC', 'US')");
88 if (!$query2) $query_ok = FALSE;
89 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('South Dakota', 'SD', 'US')");
90 if (!$query2) $query_ok = FALSE;
91 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Tennessee', 'TN', 'US')");
92 if (!$query2) $query_ok = FALSE;
93 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Texas', 'TX', 'US')");
94 if (!$query2) $query_ok = FALSE;
95 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Utah', 'UT', 'US')");
96 if (!$query2) $query_ok = FALSE;
97 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Vermont', 'VT', 'US')");
98 if (!$query2) $query_ok = FALSE;
99 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Virginia', 'VA', 'US')");
100 if (!$query2) $query_ok = FALSE;
101 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Washington', 'WA', 'US')");
102 if (!$query2) $query_ok = FALSE;
103 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('West Virginia', 'WV', 'US')");
104 if (!$query2) $query_ok = FALSE;
105 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Wisconsin', 'WI', 'US')");
106 if (!$query2) $query_ok = FALSE;
107 $query2 = db_query("INSERT INTO {cck_address_states} (state_name, state_abbrv, country_code) VALUES ('Wyoming', 'WY', 'US')");
108 if (!$query2) $query_ok = FALSE;
109 $query2 = db_query("INSERT INTO {cck_address_countries} (country_name, country_code) VALUES ('United States', 'US')");
110 if (!$query2) $query_ok = FALSE;

  ViewVC Help
Powered by ViewVC 1.1.2