/[pac]/pac/PACDefault/CustomizationPolicy.py
ViewVC logotype

Diff of /pac/PACDefault/CustomizationPolicy.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by tvon, Wed Oct 8 00:44:40 2003 UTC revision 1.2 by tvon, Mon Nov 24 00:22:58 2003 UTC
# Line 58  class PACCustomizationPolicy(DefaultCust Line 58  class PACCustomizationPolicy(DefaultCust
58          # ZMI than to require any sort of python hacking on the filesystem.          # ZMI than to require any sort of python hacking on the filesystem.
59    
60          # Taken from http://www.usps.com/ncsc/lookups/usps_abbreviations.html          # Taken from http://www.usps.com/ncsc/lookups/usps_abbreviations.html
61          props.append(['us_state_options', [  #        props.append(['us_state_options', [
62                 'AL|Alabama',  #               'AL|Alabama',
63                 'AK|Alaska',  #               'AK|Alaska',
64                 'AS|American Samoa',  #               'AS|American Samoa',
65                 'AZ|Arizona',  #               'AZ|Arizona',
66                 'AR|Arkansas',  #               'AR|Arkansas',
67                 'CA|California',  #               'CA|California',
68                 'CO|Colorado',  #               'CO|Colorado',
69                 'CT|Connecticut',  #               'CT|Connecticut',
70                 'DE|Deleware',  #               'DE|Deleware',
71                 'DC|District of Columbia',  #               'DC|District of Columbia',
72                 'FM|Federated States of Micronesia',  #               'FM|Federated States of Micronesia',
73                 'FL|Florida',  #               'FL|Florida',
74                 'GA|Georgia',  #               'GA|Georgia',
75                 'GU|Guam',  #               'GU|Guam',
76                 'HI|Hawaii',  #               'HI|Hawaii',
77                 'ID|Idaho',  #               'ID|Idaho',
78                 'IL|Illinois',  #               'IL|Illinois',
79                 'IN|Indiana',  #               'IN|Indiana',
80                 'IA|Iowa',  #               'IA|Iowa',
81                 'KS|Kansas',  #               'KS|Kansas',
82                 'KY|Kentucky',  #               'KY|Kentucky',
83                 'LA|Louisiana',  #               'LA|Louisiana',
84                 'ME|Maine',  #               'ME|Maine',
85                 'MH|Marshall Islands',  #               'MH|Marshall Islands',
86                 'MD|Maryland',  #               'MD|Maryland',
87                 'MA|Massachusetts',  #               'MA|Massachusetts',
88                 'MI|Michigan',  #               'MI|Michigan',
89                 'MN|Minnesota',  #               'MN|Minnesota',
90                 'MS|Mississippi',  #               'MS|Mississippi',
91                 'MO|Missouri',  #               'MO|Missouri',
92                 'MT|Montana',  #               'MT|Montana',
93                 'NE|Nebraska',  #               'NE|Nebraska',
94                 'NV|Nevada',  #               'NV|Nevada',
95                 'NH|New Hampshire',  #               'NH|New Hampshire',
96                 'NJ|New Jersey',  #               'NJ|New Jersey',
97                 'NM|New Mexico',  #               'NM|New Mexico',
98                 'NY|New York',  #               'NY|New York',
99                 'NC|North Carolina',  #               'NC|North Carolina',
100                 'ND|North Dakota',  #               'ND|North Dakota',
101                 'MP|Northern Mariana Islands',  #               'MP|Northern Mariana Islands',
102                 'OH|Ohio',  #               'OH|Ohio',
103                 'OK|Oklahoma',  #               'OK|Oklahoma',
104                 'OR|Oregon',  #               'OR|Oregon',
105                 'PW|Palau',  #               'PW|Palau',
106                 'PA|Pennsylvania',  #               'PA|Pennsylvania',
107                 'PR|Puerto Rico',  #               'PR|Puerto Rico',
108                 'RI|Rhode Island',  #               'RI|Rhode Island',
109                 'SC|South Carolina',  #               'SC|South Carolina',
110                 'SD|South Dakota',  #               'SD|South Dakota',
111                 'TN|Tennessee',  #               'TN|Tennessee',
112                 'TX|Texas',  #               'TX|Texas',
113                 'UT|Utah',  #               'UT|Utah',
114                 'VT|Vermont',  #               'VT|Vermont',
115                 'VI|Vrigin Islands',  #               'VI|Vrigin Islands',
116                 'VA|Virginia',  #               'VA|Virginia',
117                 'WA|Washington',  #               'WA|Washington',
118                 'WV|West Virginia',  #               'WV|West Virginia',
119                 'WI|Wisocnsin',  #               'WI|Wisocnsin',
120                 'WY|Wyoming'  #               'WY|Wyoming'
121                  ], 'lines'])  #                ], 'lines'])
122          props.append(['us_state', 'us_state_options', 'selection'])  #        props.append(['us_state', 'us_state_options', 'selection'])
123            props.append(['us_state', '', 'string'])
124    
125          props.append(['zipcode', '', 'string'])          props.append(['zipcode', '', 'string'])
126          props.append(['county', '', 'string'])          props.append(['county', '', 'string'])
127    
128          props.append(['country_options',[  #        props.append(['country_options',[
129                  '0|US United States',  #                '0|US United States',
130                  '1|AF Afghanistan',  #                '1|AF Afghanistan',
131                  '2|AL Albania',  #                '2|AL Albania',
132                  '3|DZ Algeria',  #                '3|DZ Algeria',
133                  '4|AS American Samoa',  #                '4|AS American Samoa',
134                  '5|AD Andorra',  #                '5|AD Andorra',
135                  '6|AO Angola',  #                '6|AO Angola',
136                  '7|AI Anguilla',  #                '7|AI Anguilla',
137                  '8|AQ Antarctica',  #                '8|AQ Antarctica',
138                  '9|AG Antigua and Barbuda',  #                '9|AG Antigua and Barbuda',
139                  '10|AR Argentina',  #                '10|AR Argentina',
140                  '11|AM Armenia',  #                '11|AM Armenia',
141                  '12|AW Aruba',  #                '12|AW Aruba',
142                  '13|AU Australia',  #                '13|AU Australia',
143                  '14|AT Austria',  #                '14|AT Austria',
144                  '15|AZ Azerbaijan',  #                '15|AZ Azerbaijan',
145                  '16|BS Bahamas',  #                '16|BS Bahamas',
146                  '17|BH Bahrain',  #                '17|BH Bahrain',
147                  '18|FQ Baker Island',  #                '18|FQ Baker Island',
148                  '19|BD Bangladesh',  #                '19|BD Bangladesh',
149                  '20|BB Barbados',  #                '20|BB Barbados',
150                  '21|BE Belgium',  #                '21|BE Belgium',
151                  '22|BZ Belize',  #                '22|BZ Belize',
152                  '23|BJ Benin',  #                '23|BJ Benin',
153                  '24|BM Bermuda',  #                '24|BM Bermuda',
154                  '25|BT Bhutan',  #                '25|BT Bhutan',
155                  '26|BO Bolivia',  #                '26|BO Bolivia',
156                  '27|BA Bosnia and Herzegovina',  #                '27|BA Bosnia and Herzegovina',
157                  '28|BW Botswana',  #                '28|BW Botswana',
158                  '29|BV Bouvet Island',  #                '29|BV Bouvet Island',
159                  '30|BR Brazil',  #                '30|BR Brazil',
160                  '31|IO British Indian Ocean Territory',  #                '31|IO British Indian Ocean Territory',
161                  '32|VG British Virgin Islands',  #                '32|VG British Virgin Islands',
162                  '33|BN Brunei',  #                '33|BN Brunei',
163                  '34|BG Bulgaria',  #                '34|BG Bulgaria',
164                  '35|BF Burkina Faso',  #                '35|BF Burkina Faso',
165                  '36|BI Burundi',  #                '36|BI Burundi',
166                  '37|BU Byelarus',  #                '37|BU Byelarus',
167                  '38|KH Cambodia',  #                '38|KH Cambodia',
168                  '39|CM Cameroon',  #                '39|CM Cameroon',
169                  '40|CA Canada',  #                '40|CA Canada',
170                  '41|CV Cape Verde',  #                '41|CV Cape Verde',
171                  '42|KY Cayman Islands',  #                '42|KY Cayman Islands',
172                  '43|CF Central African Republic',  #                '43|CF Central African Republic',
173                  '44|TD Chad',  #                '44|TD Chad',
174                  '45|CL Chile',  #                '45|CL Chile',
175                  '46|CN China',  #                '46|CN China',
176                  '47|CX Christmas Island',  #                '47|CX Christmas Island',
177                  '48|CC Cocos (Keeling) Islands',  #                '48|CC Cocos (Keeling) Islands',
178                  '49|CO Colombia',  #                '49|CO Colombia',
179                  '50|KM Comoros',  #                '50|KM Comoros',
180                  '51|CG Congo',  #                '51|CG Congo',
181                  '52|CK Cook Islands',  #                '52|CK Cook Islands',
182                  '53|CR Costa Rica',  #                '53|CR Costa Rica',
183                  '54|HR Croatia',  #                '54|HR Croatia',
184                  '55|CU Cuba',  #                '55|CU Cuba',
185                  '56|CY Cyprus',  #                '56|CY Cyprus',
186                  '57|CZ Czech Republic',  #                '57|CZ Czech Republic',
187                  '58|DK Denmark',  #                '58|DK Denmark',
188                  '59|DJ Djibouti',  #                '59|DJ Djibouti',
189                  '60|DM Dominica',  #                '60|DM Dominica',
190                  '61|DO Dominican Republic',  #                '61|DO Dominican Republic',
191                  '62|TP East Timor',  #                '62|TP East Timor',
192                  '63|EC Ecuador',  #                '63|EC Ecuador',
193                  '64|EG Egypt',  #                '64|EG Egypt',
194                  '65|SV El Salvador',  #                '65|SV El Salvador',
195                  '66|GQ Equatorial Guinea',  #                '66|GQ Equatorial Guinea',
196                  '67|ER Eritrea',  #                '67|ER Eritrea',
197                  '68|EE Estonia',  #                '68|EE Estonia',
198                  '69|ET Ethiopia',  #                '69|ET Ethiopia',
199                  '70|FK Falkland Islands (Islas Malvin)',  #                '70|FK Falkland Islands (Islas Malvin)',
200                  '71|FO Faroe Islands',  #                '71|FO Faroe Islands',
201                  '72|FM Federated States of Micronesia',  #                '72|FM Federated States of Micronesia',
202                  '73|FJ Fiji',  #                '73|FJ Fiji',
203                  '74|FI Finland',  #                '74|FI Finland',
204                  '75|FR France',  #                '75|FR France',
205                  '76|FG French Guiana',  #                '76|FG French Guiana',
206                  '77|PF French Polynesia',  #                '77|PF French Polynesia',
207                  '78|TF French Southern & Antarctic La',  #                '78|TF French Southern & Antarctic La',
208                  '79|GA Gabon',  #                '79|GA Gabon',
209                  '80|GM Gambia',  #                '80|GM Gambia',
210                  '81|GZ Gaza Strip',  #                '81|GZ Gaza Strip',
211                  '82|GE Georgia',  #                '82|GE Georgia',
212                  '83|DE Germany',  #                '83|DE Germany',
213                  '84|GH Ghana',  #                '84|GH Ghana',
214                  '85|GI Gibraltar',  #                '85|GI Gibraltar',
215                  '86|GO Glorioso Islands',  #                '86|GO Glorioso Islands',
216                  '87|GR Greece',  #                '87|GR Greece',
217                  '88|GL Greenland',  #                '88|GL Greenland',
218                  '89|GD Grenada',  #                '89|GD Grenada',
219                  '90|GP Guadeloupe',  #                '90|GP Guadeloupe',
220                  '91|GU Guam',  #                '91|GU Guam',
221                  '92|GT Guatemala',  #                '92|GT Guatemala',
222                  '93|GK Guernsey',  #                '93|GK Guernsey',
223                  '94|GN Guinea',  #                '94|GN Guinea',
224                  '95|GW Guinea-Bissau',  #                '95|GW Guinea-Bissau',
225                  '96|GY Guyana',  #                '96|GY Guyana',
226                  '97|HT Haiti',  #                '97|HT Haiti',
227                  '98|HM Heard Island & McDonald Island',  #                '98|HM Heard Island & McDonald Island',
228                  '99|VA Holy See (Vatican State)',  #                '99|VA Holy See (Vatican State)',
229                  '100|HN Honduras',  #                '100|HN Honduras',
230                  '101|HK Hong Kong, China',  #                '101|HK Hong Kong, China',
231                  '102|HQ Howland Island',  #                '102|HQ Howland Island',
232                  '103|HU Hungary',  #                '103|HU Hungary',
233                  '104|IS Iceland',  #                '104|IS Iceland',
234                  '105|IN India',  #                '105|IN India',
235                  '106|ID Indonesia',  #                '106|ID Indonesia',
236                  '107|IR Iran',  #                '107|IR Iran',
237                  '108|IQ Iraq',  #                '108|IQ Iraq',
238                  '109|IE Ireland',  #                '109|IE Ireland',
239                  '110|IL Israel',  #                '110|IL Israel',
240                  '111|IT Italy',  #                '111|IT Italy',
241                  '112|CI Ivory Coast',  #                '112|CI Ivory Coast',
242                  '113|JM Jamaica',  #                '113|JM Jamaica',
243                  '114|JN Jan Mayen',  #                '114|JN Jan Mayen',
244                  '115|JP Japan',  #                '115|JP Japan',
245                  '116|DQ Jarvis Island',  #                '116|DQ Jarvis Island',
246                  '117|JE Jersey',  #                '117|JE Jersey',
247                  '118|JQ Johnston Atoll',  #                '118|JQ Johnston Atoll',
248                  '119|JO Jordan',  #                '119|JO Jordan',
249                  '120|JU Juan De Nova Island',  #                '120|JU Juan De Nova Island',
250                  '121|KZ Kazakhstan',  #                '121|KZ Kazakhstan',
251                  '122|KE Kenya',  #                '122|KE Kenya',
252                  '123|KI Kiribati',  #                '123|KI Kiribati',
253                  '124|KW Kuwait',  #                '124|KW Kuwait',
254                  '125|KG Kyrgyzstan',  #                '125|KG Kyrgyzstan',
255                  '126|LA Laos',  #                '126|LA Laos',
256                  '127|LV Latvia',  #                '127|LV Latvia',
257                  '128|LB Lebanon',  #                '128|LB Lebanon',
258                  '129|LS Lesotho',  #                '129|LS Lesotho',
259                  '130|LR Liberia',  #                '130|LR Liberia',
260                  '131|LY Libya',  #                '131|LY Libya',
261                  '132|LI Liechtenstein',  #                '132|LI Liechtenstein',
262                  '133|LT Lithuania',  #                '133|LT Lithuania',
263                  '134|LU Luxembourg',  #                '134|LU Luxembourg',
264                  '135|MO Macau',  #                '135|MO Macau',
265                  '136|MK Macedonia',  #                '136|MK Macedonia',
266                  '137|MG Madagascar',  #                '137|MG Madagascar',
267                  '138|MW Malawi',  #                '138|MW Malawi',
268                  '139|MY Malaysia',  #                '139|MY Malaysia',
269                  '140|MV Maldives',  #                '140|MV Maldives',
270                  '141|ML Mali',  #                '141|ML Mali',
271                  '142|MT Malta',  #                '142|MT Malta',
272                  '143|IM Man',  #                '143|IM Man',
273                  '144|MH Marshall Islands',  #                '144|MH Marshall Islands',
274                  '145|MQ Martinique',  #                '145|MQ Martinique',
275                  '146|MR Mauritania',  #                '146|MR Mauritania',
276                  '147|MU Mauritius',  #                '147|MU Mauritius',
277                  '148|YT Mayotte',  #                '148|YT Mayotte',
278                  '149|MX Mexico',  #                '149|MX Mexico',
279                  '150|MI Midway Islands',  #                '150|MI Midway Islands',
280                  '151|MD Moldova',  #                '151|MD Moldova',
281                  '152|MC Monaco',  #                '152|MC Monaco',
282                  '153|MN Mongolia',  #                '153|MN Mongolia',
283                  '154|ME Montenegro',  #                '154|ME Montenegro',
284                  '155|MS Montserrat',  #                '155|MS Montserrat',
285                  '156|MA Morocco',  #                '156|MA Morocco',
286                  '157|MZ Mozambique',  #                '157|MZ Mozambique',
287                  '158|MM Myanmar (Burma)',  #                '158|MM Myanmar (Burma)',
288                  '159|NA Namibia',  #                '159|NA Namibia',
289                  '160|NR Nauru',  #                '160|NR Nauru',
290                  '161|NP Nepal',  #                '161|NP Nepal',
291                  '162|NL Netherlands',  #                '162|NL Netherlands',
292                  '163|AN Netherlands Antilles',  #                '163|AN Netherlands Antilles',
293                  '164|NC New Caledonia',  #                '164|NC New Caledonia',
294                  '165|NZ New Zealand',  #                '165|NZ New Zealand',
295                  '166|NI Nicaragua',  #                '166|NI Nicaragua',
296                  '167|NE Niger',  #                '167|NE Niger',
297                  '168|NG Nigeria',  #                '168|NG Nigeria',
298                  '169|NU Niue',  #                '169|NU Niue',
299                  '170|NF Norfolk Island',  #                '170|NF Norfolk Island',
300                  '171|KP North Korea',  #                '171|KP North Korea',
301                  '172|MP Northern Mariana Islands',  #                '172|MP Northern Mariana Islands',
302                  '173|NO Norway',  #                '173|NO Norway',
303                  '174|OM Oman',  #                '174|OM Oman',
304                  '175|PK Pakistan',  #                '175|PK Pakistan',
305                  '176|PW Palau',  #                '176|PW Palau',
306                  '177|PA Panama',  #                '177|PA Panama',
307                  '178|PG Papua New Guinea',  #                '178|PG Papua New Guinea',
308                  '179|PI Paracel Islands',  #                '179|PI Paracel Islands',
309                  '180|PY Paraguay',  #                '180|PY Paraguay',
310                  '181|PE Peru',  #                '181|PE Peru',
311                  '182|PH Philippines',  #                '182|PH Philippines',
312                  '183|PN Pitcairn Islands',  #                '183|PN Pitcairn Islands',
313                  '184|PL Poland',  #                '184|PL Poland',
314                  '185|PT Portugal',  #                '185|PT Portugal',
315                  '186|PR Puerto Rico',  #                '186|PR Puerto Rico',
316                  '187|QA Qatar',  #                '187|QA Qatar',
317                  '188|RE Reunion',  #                '188|RE Reunion',
318                  '189|RO Romania',  #                '189|RO Romania',
319                  '190|RU Russia',  #                '190|RU Russia',
320                  '191|RW Rwanda',  #                '191|RW Rwanda',
321                  '192|WS Samoa',  #                '192|WS Samoa',
322                  '193|SM San Marino',  #                '193|SM San Marino',
323                  '194|ST Sao Tome and Principe',  #                '194|ST Sao Tome and Principe',
324                  '195|SA Saudi Arabia',  #                '195|SA Saudi Arabia',
325                  '196|SN Senegal',  #                '196|SN Senegal',
326                  '197|SS Serbia',  #                '197|SS Serbia',
327                  '198|SC Seychelles',  #                '198|SC Seychelles',
328                  '199|SL Sierra Leone',  #                '199|SL Sierra Leone',
329                  '200|SG Singapore',  #                '200|SG Singapore',
330                  '201|SK Slovakia',  #                '201|SK Slovakia',
331                  '202|SI Slovenia',  #                '202|SI Slovenia',
332                  '203|SB Solomon Islands',  #                '203|SB Solomon Islands',
333                  '204|SO Somalia',  #                '204|SO Somalia',
334                  '205|ZA South Africa',  #                '205|ZA South Africa',
335                  '206|GS South Georgia and the South Seas',  #                '206|GS South Georgia and the South Seas',
336                  '207|KR South Korea',  #                '207|KR South Korea',
337                  '208|ES Spain',  #                '208|ES Spain',
338                  '209|PG Spratly Islands',  #                '209|PG Spratly Islands',
339                  '210|LK Sri Lanka',  #                '210|LK Sri Lanka',
340                  '211|SH St. Helena',  #                '211|SH St. Helena',
341                  '212|KN St. Kitts and Nevis',  #                '212|KN St. Kitts and Nevis',
342                  '213|LC St. Lucia',  #                '213|LC St. Lucia',
343                  '214|PM St. Pierre and Miquelon',  #                '214|PM St. Pierre and Miquelon',
344                  '215|VC St. Vincent and the Grenadines',  #                '215|VC St. Vincent and the Grenadines',
345                  '216|SD Sudan',  #                '216|SD Sudan',
346                  '217|SR Suriname',  #                '217|SR Suriname',
347                  '218|SJ Svalbard',  #                '218|SJ Svalbard',
348                  '219|SZ Swaziland',  #                '219|SZ Swaziland',
349                  '220|SE Sweden',  #                '220|SE Sweden',
350                  '221|CH Switzerland',  #                '221|CH Switzerland',
351                  '222|SY Syria',  #                '222|SY Syria',
352                  '223|TW Taiwan',  #                '223|TW Taiwan',
353                  '224|TJ Tajikistan',  #                '224|TJ Tajikistan',
354                  '225|TZ Tanzania',  #                '225|TZ Tanzania',
355                  '226|TH Thailand',  #                '226|TH Thailand',
356                  '227|TG Togo',  #                '227|TG Togo',
357                  '228|TK Tokelau',  #                '228|TK Tokelau',
358                  '229|TO Tonga',  #                '229|TO Tonga',
359                  '230|TT Trinidad and Tobago',  #                '230|TT Trinidad and Tobago',
360                  '231|TN Tunisia',  #                '231|TN Tunisia',
361                  '232|TR Turkey',  #                '232|TR Turkey',
362                  '233|TM Turkmenistan',  #                '233|TM Turkmenistan',
363                  '234|TC Turks and Caicos Islands',  #                '234|TC Turks and Caicos Islands',
364                  '235|TV Tuvalu',  #                '235|TV Tuvalu',
365                  '236|UG Uganda',  #                '236|UG Uganda',
366                  '237|UA Ukraine',  #                '237|UA Ukraine',
367                  '238|AE United Arab Emirates',  #                '238|AE United Arab Emirates',
368                  '239|GB United Kingdom',  #                '239|GB United Kingdom',
369                  '241|UM United States Minor Outlying I',  #                '241|UM United States Minor Outlying I',
370                  '242|UY Uruguay',  #                '242|UY Uruguay',
371                  '243|UZ Uzbekistan',  #                '243|UZ Uzbekistan',
372                  '244|VU Vanuatu',  #                '244|VU Vanuatu',
373                  '245|VE Venezuela',  #                '245|VE Venezuela',
374                  '246|VN Vietnam',  #                '246|VN Vietnam',
375                  '247|VI Virgin Islands',  #                '247|VI Virgin Islands',
376                  '248|WQ Wake Island',  #                '248|WQ Wake Island',
377                  '249|WF Wallis and Futuna',  #                '249|WF Wallis and Futuna',
378                  '250|WE West Bank',  #                '250|WE West Bank',
379                  '251|EH Western Sahara',  #                '251|EH Western Sahara',
380                  '252|WA Western Samoa',  #                '252|WA Western Samoa',
381                  '253|YE Yemen',  #                '253|YE Yemen',
382                  '254|YU Yugoslavia',  #                '254|YU Yugoslavia',
383                  '255|CD Zaire',  #                '255|CD Zaire',
384                  '256|ZM Zambia',  #                '256|ZM Zambia',
385                  '257|ZW Zimbabwe',  #                '257|ZW Zimbabwe',
386                  '-1|Other',  #                '-1|Other',
387                  ], 'lines'])  #                ], 'lines'])
388          props.append(['country', 'country_options',  #        props.append(['country', 'country_options',
389                  'selection'])  #                'selection'])
390          props.append(['country_other', '', 'string'])  #        props.append(['country_other', '', 'string'])
391            props.append(['country', '', 'string'])
392    
393          props.append(['day_phone', '', 'string'])          props.append(['day_phone', '', 'string'])
394          props.append(['evening_phone', '', 'string'])          props.append(['evening_phone', '', 'string'])
# Line 412  class PACCustomizationPolicy(DefaultCust Line 414  class PACCustomizationPolicy(DefaultCust
414          props.append(['highest_graduated', '01-01-2000', 'date'])          props.append(['highest_graduated', '01-01-2000', 'date'])
415    
416          # Previous contact with legislators          # Previous contact with legislators
417          props.append(['previous_contact_options', [  #        props.append(['previous_contact_options', [
418                  '0|No contact at all',  #                '0|No contact at all',
419                  "1|I've attended an event, speech or seen them at another public event",  #                "1|I've attended an event, speech or seen them at another public event",
420                  "2|I voted for them in the last election",  #                "2|I voted for them in the last election",
421                  "3|I donated money to their last election campaign",  #                "3|I donated money to their last election campaign",
422                  "4|I volunteered for, or staffed, their election campaign",  #                "4|I volunteered for, or staffed, their election campaign",
423                  "5|I'm personally or professionally associated with them",  #                "5|I'm personally or professionally associated with them",
424                  "6|I've worked closely with them on another issue"  #                "6|I've worked closely with them on another issue"
425                  ], 'lines'])  #                ], 'lines'])
426          props.append(['previous_contact', 'previous_contact_options',  #        props.append(['previous_contact', 'previous_contact_options',
427                  'selection'])  #                'selection'])
428            props.append(['previous_contact', '', 'string'])
429    
430          # This belongs in PK specific setup.          # This belongs in PK specific setup.
431  #        # Would you like to volunteer for...  #        # Would you like to volunteer for...
# Line 443  class PACCustomizationPolicy(DefaultCust Line 446  class PACCustomizationPolicy(DefaultCust
446          # Are you a registered voter?          # Are you a registered voter?
447          props.append(['stat_voter', '', 'boolean'])          props.append(['stat_voter', '', 'boolean'])
448          # Are you now or have you ever been a member of the Communist Party?          # Are you now or have you ever been a member of the Communist Party?
449          props.append(['stat_party_options',[  #        props.append(['stat_party_options',[
450                  '0|Democrat',  #                '0|Democrat',
451                  '6|Communist',  #                '6|Communist',
452                  '1|Green',  #                '1|Green',
453                  '2|Independent',  #                '2|Independent',
454                  '3|Libertarian',  #                '3|Libertarian',
455                  '4|Republican',  #                '4|Republican',
456                  '-1|Other'  #                '-1|Other'
457                  ], 'lines'])  #                ], 'lines'])
458          props.append(['stat_party', 'stat_party_options', 'selection'])  #        props.append(['stat_party', 'stat_party_options', 'selection'])
459          props.append(['stat_party_other', '', 'string'])  #        props.append(['stat_party_other', '', 'string'])
460            props.append(['stat_party', '', 'string'])
461    
462          # Number of computers          # Number of computers
463          props.append(['num_computers', '0', 'int'])          props.append(['num_computers', '0', 'int'])
464    
465          # Internet connection          # Internet connection
466          props.append(['stat_connection_options', [  #        props.append(['stat_connection_options', [
467                  '0|Cable',  #                '0|Cable',
468                  '1|Dial-Up',  #                '1|Dial-Up',
469                  '2|DSL',  #                '2|DSL',
470                  '3|Wireless',  #                '3|Wireless',
471                  '-1|Other'  #                '-1|Other'
472                  ], 'lines'])  #                ], 'lines'])
473          props.append(['stat_connection', 'stat_connection_options', 'selection'])  #        props.append(['stat_connection', 'stat_connection_options', 'selection'])
474          props.append(['stat_connection_other', '', 'string'])  #        props.append(['stat_connection_other', '', 'string'])
475            props.append(['stat_connection', '', 'string'])
476    
477          # Use p2p networks?          # Use p2p networks?
478          props.append(['stat_use_p2p', '', 'boolean'])          props.append(['stat_use_p2p', '', 'boolean'])
479    
480          # How did you hear about us?          # How did you hear about us?
481          props.append(['stat_hearabout_options',[  #        props.append(['stat_hearabout_options',[
482                  '0|Website (enter site name below)',  #                '0|Website (enter site name below)',
483                  '1|News article (enter publication below)',  #                '1|News article (enter publication below)',
484                  '2|Search engine',  #                '2|Search engine',
485                  '3|Word of mouth',  #                '3|Word of mouth',
486                  '4|Conference or event (enter name below)'  #                '4|Conference or event (enter name below)'
487                  ], 'lines'])  #                ], 'lines'])
488          props.append(['stat_hearabout', 'stat_hearabout_options', 'selection'])  #        props.append(['stat_hearabout', 'stat_hearabout_options', 'selection'])
489          props.append(['stat_hearabout_other', '', 'string'])  #        props.append(['stat_hearabout_other', '', 'string'])
490            props.append(['stat_hearabout', '', 'string'])
491    
492          # Some information the user won't enter:          # Some information the user won't enter:
493          props.append(['referrer_url', '', 'string'])          props.append(['referrer_url', '', 'string'])

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26