mirror of https://github.com/itflow-org/itflow
Switched State to a text field instead of select field in all areas where state exist also added all countries to the country list
This commit is contained in:
parent
bbcec94b80
commit
72cf61ab61
|
|
@ -149,12 +149,7 @@
|
|||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-flag"></i></span>
|
||||
</div>
|
||||
<select class="form-control select2" name="state">
|
||||
<option value="">- State -</option>
|
||||
<?php foreach($states_array as $state_abbr => $state_name) { ?>
|
||||
<option value="<?php echo $state_abbr; ?>"><?php echo $state_name; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<input type="text" class="form-control" name="state" placeholder="State">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -46,12 +46,7 @@
|
|||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-flag"></i></span>
|
||||
</div>
|
||||
<select class="form-control select2" name="state">
|
||||
<option value="">- State -</option>
|
||||
<?php foreach($states_array as $state_abbr => $state_name) { ?>
|
||||
<option value="<?php echo $state_abbr; ?>"><?php echo $state_name; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<input type="text" class="form-control" name="state" placeholder="State">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -70,12 +70,7 @@
|
|||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-flag"></i></span>
|
||||
</div>
|
||||
<select class="form-control select2" name="state">
|
||||
<option value="">- State -</option>
|
||||
<?php foreach($states_array as $state_abbr => $state_name) { ?>
|
||||
<option value="<?php echo $state_abbr; ?>"><?php echo $state_name; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<input type="text" class="form-control" name="state" placeholder="State">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -94,12 +94,7 @@
|
|||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-flag"></i></span>
|
||||
</div>
|
||||
<select class="form-control select2" name="state">
|
||||
<option value="">- State -</option>
|
||||
<?php foreach($states_array as $state_abbr => $state_name) { ?>
|
||||
<option value="<?php echo $state_abbr; ?>"><?php echo $state_name; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<input type="text" class="form-control" name="state" placeholder="State">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -153,12 +153,7 @@
|
|||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-flag"></i></span>
|
||||
</div>
|
||||
<select class="form-control select2" name="state">
|
||||
<option value="">- State -</option>
|
||||
<?php foreach($states_array as $state_abbr => $state_name) { ?>
|
||||
<option <?php if($location_state == $state_abbr) { echo "selected"; } ?> value="<?php echo $state_abbr; ?>"><?php echo $state_name; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<input type="text" class="form-control" name="state" placeholder="State" value="<?php echo $location_state; ?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -48,12 +48,7 @@
|
|||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-flag"></i></span>
|
||||
</div>
|
||||
<select class="form-control select2" name="state">
|
||||
<option value="">- State -</option>
|
||||
<?php foreach($states_array as $state_abbr => $state_name) { ?>
|
||||
<option <?php if($company_state == $state_abbr) { echo "selected"; } ?> value="<?php echo $state_abbr; ?>"><?php echo $state_name; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<input type="text" class="form-control" name="state" placeholder="State" value="<?php echo $company_state; ?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -72,11 +72,7 @@
|
|||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-flag"></i></span>
|
||||
</div>
|
||||
<select class="form-control select2" name="state">
|
||||
<?php foreach($states_array as $state_abbr => $state_name) { ?>
|
||||
<option <?php if($location_state == $state_abbr) { echo "selected"; } ?> value="<?php echo $state_abbr; ?>"><?php echo $state_name; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<input type="text" class="form-control" name="state" placeholder="State" value="<?php echo $location_state; ?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -92,12 +92,7 @@
|
|||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-flag"></i></span>
|
||||
</div>
|
||||
<select class="form-control select2" name="state">
|
||||
<option value="">- State -</option>
|
||||
<?php foreach($states_array as $state_abbr => $state_name) { ?>
|
||||
<option <?php if($vendor_state == $state_abbr){ echo "selected"; } ?> value="<?php echo $state_abbr; ?>"><?php echo $state_name; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<input type="text" class="form-control" name="state" placeholder="State" value="<?php echo $vendor_state; ?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
272
get_settings.php
272
get_settings.php
|
|
@ -93,86 +93,200 @@ $net_terms_array = array(
|
|||
|
||||
$records_per_page_array = array('5','10','15','20','30','50','100');
|
||||
|
||||
$states_array = array(
|
||||
'AL'=>'Alabama',
|
||||
'AK'=>'Alaska',
|
||||
'AZ'=>'Arizona',
|
||||
'AR'=>'Arkansas',
|
||||
'CA'=>'California',
|
||||
'CO'=>'Colorado',
|
||||
'CT'=>'Connecticut',
|
||||
'DE'=>'Delaware',
|
||||
'DC'=>'District of Columbia',
|
||||
'FL'=>'Florida',
|
||||
'GA'=>'Georgia',
|
||||
'HI'=>'Hawaii',
|
||||
'ID'=>'Idaho',
|
||||
'IL'=>'Illinois',
|
||||
'IN'=>'Indiana',
|
||||
'IA'=>'Iowa',
|
||||
'KS'=>'Kansas',
|
||||
'KY'=>'Kentucky',
|
||||
'LA'=>'Louisiana',
|
||||
'ME'=>'Maine',
|
||||
'MD'=>'Maryland',
|
||||
'MA'=>'Massachusetts',
|
||||
'MI'=>'Michigan',
|
||||
'MN'=>'Minnesota',
|
||||
'MS'=>'Mississippi',
|
||||
'MO'=>'Missouri',
|
||||
'MT'=>'Montana',
|
||||
'NE'=>'Nebraska',
|
||||
'NV'=>'Nevada',
|
||||
'NH'=>'New Hampshire',
|
||||
'NJ'=>'New Jersey',
|
||||
'NM'=>'New Mexico',
|
||||
'NY'=>'New York',
|
||||
'NC'=>'North Carolina',
|
||||
'ND'=>'North Dakota',
|
||||
'OH'=>'Ohio',
|
||||
'OK'=>'Oklahoma',
|
||||
'OR'=>'Oregon',
|
||||
'PA'=>'Pennsylvania',
|
||||
'RI'=>'Rhode Island',
|
||||
'SC'=>'South Carolina',
|
||||
'SD'=>'South Dakota',
|
||||
'TN'=>'Tennessee',
|
||||
'TX'=>'Texas',
|
||||
'UT'=>'Utah',
|
||||
'VT'=>'Vermont',
|
||||
'VA'=>'Virginia',
|
||||
'WA'=>'Washington',
|
||||
'WV'=>'West Virginia',
|
||||
'WI'=>'Wisconsin',
|
||||
'WY'=>'Wyoming',
|
||||
'ON'=>'Ontario',
|
||||
'QC'=>'Quebec',
|
||||
'NS'=>'Nova Scotia',
|
||||
'NB'=>'New Brunswick',
|
||||
'MB'=>'Manitoba',
|
||||
'BC'=>'British Columbia',
|
||||
'PE'=>'Prince Edward Island',
|
||||
'SK'=>'Saskatchewan',
|
||||
'AB'=>'Alberta',
|
||||
'NL'=>'Newfoundland and Labrador'
|
||||
);
|
||||
|
||||
$canada_provinces_array = array(
|
||||
'ON'=>'Ontario',
|
||||
'QC'=>'Quebec',
|
||||
'NS'=>'Nova Scotia',
|
||||
'NB'=>'New Brunswick',
|
||||
'MB'=>'Manitoba',
|
||||
'BC'=>'British Columbia',
|
||||
'PE'=>'Prince Edward Island',
|
||||
'SK'=>'Saskatchewan',
|
||||
'AB'=>'Alberta',
|
||||
'NL'=>'Newfoundland and Labrador'
|
||||
);
|
||||
|
||||
$countries_array = array(
|
||||
'USA',
|
||||
'Canada'
|
||||
"Afghanistan",
|
||||
"Albania",
|
||||
"Algeria",
|
||||
"Andorra",
|
||||
"Angola",
|
||||
"Antigua and Barbuda",
|
||||
"Argentina",
|
||||
"Armenia",
|
||||
"Australia",
|
||||
"Austria",
|
||||
"Azerbaijan",
|
||||
"Bahamas",
|
||||
"Bahrain",
|
||||
"Bangladesh",
|
||||
"Barbados",
|
||||
"Belarus",
|
||||
"Belgium",
|
||||
"Belize",
|
||||
"Benin",
|
||||
"Bhutan",
|
||||
"Bolivia",
|
||||
"Bosnia and Herzegovina",
|
||||
"Botswana",
|
||||
"Brazil",
|
||||
"Brunei",
|
||||
"Bulgaria",
|
||||
"Burkina Faso",
|
||||
"Burundi",
|
||||
"Cambodia",
|
||||
"Cameroon",
|
||||
"Canada",
|
||||
"Cape Verde",
|
||||
"Central African Republic",
|
||||
"Chad",
|
||||
"Chile",
|
||||
"China",
|
||||
"Colombi",
|
||||
"Comoros",
|
||||
"Congo (Brazzaville)",
|
||||
"Congo",
|
||||
"Costa Rica",
|
||||
"Cote d'Ivoire",
|
||||
"Croatia",
|
||||
"Cuba",
|
||||
"Cyprus",
|
||||
"Czech Republic",
|
||||
"Denmark",
|
||||
"Djibouti",
|
||||
"Dominica",
|
||||
"Dominican Republic",
|
||||
"East Timor (Timor Timur)",
|
||||
"Ecuador",
|
||||
"Egypt",
|
||||
"El Salvador",
|
||||
"Equatorial Guinea",
|
||||
"Eritrea",
|
||||
"Estonia",
|
||||
"Ethiopia",
|
||||
"Fiji",
|
||||
"Finland",
|
||||
"France",
|
||||
"Gabon",
|
||||
"Gambia, The",
|
||||
"Georgia",
|
||||
"Germany",
|
||||
"Ghana",
|
||||
"Greece",
|
||||
"Grenada",
|
||||
"Guatemala",
|
||||
"Guinea",
|
||||
"Guinea-Bissau",
|
||||
"Guyana",
|
||||
"Haiti",
|
||||
"Honduras",
|
||||
"Hungary",
|
||||
"Iceland",
|
||||
"India",
|
||||
"Indonesia",
|
||||
"Iran",
|
||||
"Iraq",
|
||||
"Ireland",
|
||||
"Israel",
|
||||
"Italy",
|
||||
"Jamaica",
|
||||
"Japan",
|
||||
"Jordan",
|
||||
"Kazakhstan",
|
||||
"Kenya",
|
||||
"Kiribati",
|
||||
"Korea, North",
|
||||
"Korea, South",
|
||||
"Kuwait",
|
||||
"Kyrgyzstan",
|
||||
"Laos",
|
||||
"Latvia",
|
||||
"Lebanon",
|
||||
"Lesotho",
|
||||
"Liberia",
|
||||
"Libya",
|
||||
"Liechtenstein",
|
||||
"Lithuania",
|
||||
"Luxembourg",
|
||||
"Macedonia",
|
||||
"Madagascar",
|
||||
"Malawi",
|
||||
"Malaysia",
|
||||
"Maldives",
|
||||
"Mali",
|
||||
"Malta",
|
||||
"Marshall Islands",
|
||||
"Mauritania",
|
||||
"Mauritius",
|
||||
"Mexico",
|
||||
"Micronesia",
|
||||
"Moldova",
|
||||
"Monaco",
|
||||
"Mongolia",
|
||||
"Morocco",
|
||||
"Mozambique",
|
||||
"Myanmar",
|
||||
"Namibia",
|
||||
"Nauru",
|
||||
"Nepal",
|
||||
"Netherlands",
|
||||
"New Zealand",
|
||||
"Nicaragua",
|
||||
"Niger",
|
||||
"Nigeria",
|
||||
"Norway",
|
||||
"Oman",
|
||||
"Pakistan",
|
||||
"Palau",
|
||||
"Panama",
|
||||
"Papua New Guinea",
|
||||
"Paraguay",
|
||||
"Peru",
|
||||
"Philippines",
|
||||
"Poland",
|
||||
"Portugal",
|
||||
"Qatar",
|
||||
"Romania",
|
||||
"Russia",
|
||||
"Rwanda",
|
||||
"Saint Kitts and Nevis",
|
||||
"Saint Lucia",
|
||||
"Saint Vincent",
|
||||
"Samoa",
|
||||
"San Marino",
|
||||
"Sao Tome and Principe",
|
||||
"Saudi Arabia",
|
||||
"Senegal",
|
||||
"Serbia and Montenegro",
|
||||
"Seychelles",
|
||||
"Sierra Leone",
|
||||
"Singapore",
|
||||
"Slovakia",
|
||||
"Slovenia",
|
||||
"Solomon Islands",
|
||||
"Somalia",
|
||||
"South Africa",
|
||||
"Spain",
|
||||
"Sri Lanka",
|
||||
"Sudan",
|
||||
"Suriname",
|
||||
"Swaziland",
|
||||
"Sweden",
|
||||
"Switzerland",
|
||||
"Syria",
|
||||
"Taiwan",
|
||||
"Tajikistan",
|
||||
"Tanzania",
|
||||
"Thailand",
|
||||
"Togo",
|
||||
"Tonga",
|
||||
"Trinidad and Tobago",
|
||||
"Tunisia",
|
||||
"Turkey",
|
||||
"Turkmenistan",
|
||||
"Tuvalu",
|
||||
"Uganda",
|
||||
"Ukraine",
|
||||
"United Arab Emirates",
|
||||
"United Kingdom",
|
||||
"United States",
|
||||
"Uruguay",
|
||||
"Uzbekistan",
|
||||
"Vanuatu",
|
||||
"Vatican City",
|
||||
"Venezuela",
|
||||
"Vietnam",
|
||||
"Yemen",
|
||||
"Zambia",
|
||||
"Zimbabwe"
|
||||
);
|
||||
|
||||
$timezones_array = array(
|
||||
|
|
|
|||
266
setup.php
266
setup.php
|
|
@ -12,8 +12,199 @@ if($config_enable_setup == 0){
|
|||
}
|
||||
|
||||
$countries_array = array(
|
||||
'USA',
|
||||
'Canada'
|
||||
"Afghanistan",
|
||||
"Albania",
|
||||
"Algeria",
|
||||
"Andorra",
|
||||
"Angola",
|
||||
"Antigua and Barbuda",
|
||||
"Argentina",
|
||||
"Armenia",
|
||||
"Australia",
|
||||
"Austria",
|
||||
"Azerbaijan",
|
||||
"Bahamas",
|
||||
"Bahrain",
|
||||
"Bangladesh",
|
||||
"Barbados",
|
||||
"Belarus",
|
||||
"Belgium",
|
||||
"Belize",
|
||||
"Benin",
|
||||
"Bhutan",
|
||||
"Bolivia",
|
||||
"Bosnia and Herzegovina",
|
||||
"Botswana",
|
||||
"Brazil",
|
||||
"Brunei",
|
||||
"Bulgaria",
|
||||
"Burkina Faso",
|
||||
"Burundi",
|
||||
"Cambodia",
|
||||
"Cameroon",
|
||||
"Canada",
|
||||
"Cape Verde",
|
||||
"Central African Republic",
|
||||
"Chad",
|
||||
"Chile",
|
||||
"China",
|
||||
"Colombi",
|
||||
"Comoros",
|
||||
"Congo (Brazzaville)",
|
||||
"Congo",
|
||||
"Costa Rica",
|
||||
"Cote d'Ivoire",
|
||||
"Croatia",
|
||||
"Cuba",
|
||||
"Cyprus",
|
||||
"Czech Republic",
|
||||
"Denmark",
|
||||
"Djibouti",
|
||||
"Dominica",
|
||||
"Dominican Republic",
|
||||
"East Timor (Timor Timur)",
|
||||
"Ecuador",
|
||||
"Egypt",
|
||||
"El Salvador",
|
||||
"Equatorial Guinea",
|
||||
"Eritrea",
|
||||
"Estonia",
|
||||
"Ethiopia",
|
||||
"Fiji",
|
||||
"Finland",
|
||||
"France",
|
||||
"Gabon",
|
||||
"Gambia, The",
|
||||
"Georgia",
|
||||
"Germany",
|
||||
"Ghana",
|
||||
"Greece",
|
||||
"Grenada",
|
||||
"Guatemala",
|
||||
"Guinea",
|
||||
"Guinea-Bissau",
|
||||
"Guyana",
|
||||
"Haiti",
|
||||
"Honduras",
|
||||
"Hungary",
|
||||
"Iceland",
|
||||
"India",
|
||||
"Indonesia",
|
||||
"Iran",
|
||||
"Iraq",
|
||||
"Ireland",
|
||||
"Israel",
|
||||
"Italy",
|
||||
"Jamaica",
|
||||
"Japan",
|
||||
"Jordan",
|
||||
"Kazakhstan",
|
||||
"Kenya",
|
||||
"Kiribati",
|
||||
"Korea, North",
|
||||
"Korea, South",
|
||||
"Kuwait",
|
||||
"Kyrgyzstan",
|
||||
"Laos",
|
||||
"Latvia",
|
||||
"Lebanon",
|
||||
"Lesotho",
|
||||
"Liberia",
|
||||
"Libya",
|
||||
"Liechtenstein",
|
||||
"Lithuania",
|
||||
"Luxembourg",
|
||||
"Macedonia",
|
||||
"Madagascar",
|
||||
"Malawi",
|
||||
"Malaysia",
|
||||
"Maldives",
|
||||
"Mali",
|
||||
"Malta",
|
||||
"Marshall Islands",
|
||||
"Mauritania",
|
||||
"Mauritius",
|
||||
"Mexico",
|
||||
"Micronesia",
|
||||
"Moldova",
|
||||
"Monaco",
|
||||
"Mongolia",
|
||||
"Morocco",
|
||||
"Mozambique",
|
||||
"Myanmar",
|
||||
"Namibia",
|
||||
"Nauru",
|
||||
"Nepal",
|
||||
"Netherlands",
|
||||
"New Zealand",
|
||||
"Nicaragua",
|
||||
"Niger",
|
||||
"Nigeria",
|
||||
"Norway",
|
||||
"Oman",
|
||||
"Pakistan",
|
||||
"Palau",
|
||||
"Panama",
|
||||
"Papua New Guinea",
|
||||
"Paraguay",
|
||||
"Peru",
|
||||
"Philippines",
|
||||
"Poland",
|
||||
"Portugal",
|
||||
"Qatar",
|
||||
"Romania",
|
||||
"Russia",
|
||||
"Rwanda",
|
||||
"Saint Kitts and Nevis",
|
||||
"Saint Lucia",
|
||||
"Saint Vincent",
|
||||
"Samoa",
|
||||
"San Marino",
|
||||
"Sao Tome and Principe",
|
||||
"Saudi Arabia",
|
||||
"Senegal",
|
||||
"Serbia and Montenegro",
|
||||
"Seychelles",
|
||||
"Sierra Leone",
|
||||
"Singapore",
|
||||
"Slovakia",
|
||||
"Slovenia",
|
||||
"Solomon Islands",
|
||||
"Somalia",
|
||||
"South Africa",
|
||||
"Spain",
|
||||
"Sri Lanka",
|
||||
"Sudan",
|
||||
"Suriname",
|
||||
"Swaziland",
|
||||
"Sweden",
|
||||
"Switzerland",
|
||||
"Syria",
|
||||
"Taiwan",
|
||||
"Tajikistan",
|
||||
"Tanzania",
|
||||
"Thailand",
|
||||
"Togo",
|
||||
"Tonga",
|
||||
"Trinidad and Tobago",
|
||||
"Tunisia",
|
||||
"Turkey",
|
||||
"Turkmenistan",
|
||||
"Tuvalu",
|
||||
"Uganda",
|
||||
"Ukraine",
|
||||
"United Arab Emirates",
|
||||
"United Kingdom",
|
||||
"United States",
|
||||
"Uruguay",
|
||||
"Uzbekistan",
|
||||
"Vanuatu",
|
||||
"Vatican City",
|
||||
"Venezuela",
|
||||
"Vietnam",
|
||||
"Yemen",
|
||||
"Zambia",
|
||||
"Zimbabwe"
|
||||
);
|
||||
|
||||
$currencies_array = array(
|
||||
|
|
@ -23,70 +214,6 @@ $currencies_array = array(
|
|||
'TRY'=>'Turkish Lira'
|
||||
);
|
||||
|
||||
$states_array = array(
|
||||
'AL'=>'Alabama',
|
||||
'AK'=>'Alaska',
|
||||
'AZ'=>'Arizona',
|
||||
'AR'=>'Arkansas',
|
||||
'CA'=>'California',
|
||||
'CO'=>'Colorado',
|
||||
'CT'=>'Connecticut',
|
||||
'DE'=>'Delaware',
|
||||
'DC'=>'District of Columbia',
|
||||
'FL'=>'Florida',
|
||||
'GA'=>'Georgia',
|
||||
'HI'=>'Hawaii',
|
||||
'ID'=>'Idaho',
|
||||
'IL'=>'Illinois',
|
||||
'IN'=>'Indiana',
|
||||
'IA'=>'Iowa',
|
||||
'KS'=>'Kansas',
|
||||
'KY'=>'Kentucky',
|
||||
'LA'=>'Louisiana',
|
||||
'ME'=>'Maine',
|
||||
'MD'=>'Maryland',
|
||||
'MA'=>'Massachusetts',
|
||||
'MI'=>'Michigan',
|
||||
'MN'=>'Minnesota',
|
||||
'MS'=>'Mississippi',
|
||||
'MO'=>'Missouri',
|
||||
'MT'=>'Montana',
|
||||
'NE'=>'Nebraska',
|
||||
'NV'=>'Nevada',
|
||||
'NH'=>'New Hampshire',
|
||||
'NJ'=>'New Jersey',
|
||||
'NM'=>'New Mexico',
|
||||
'NY'=>'New York',
|
||||
'NC'=>'North Carolina',
|
||||
'ND'=>'North Dakota',
|
||||
'OH'=>'Ohio',
|
||||
'OK'=>'Oklahoma',
|
||||
'OR'=>'Oregon',
|
||||
'PA'=>'Pennsylvania',
|
||||
'RI'=>'Rhode Island',
|
||||
'SC'=>'South Carolina',
|
||||
'SD'=>'South Dakota',
|
||||
'TN'=>'Tennessee',
|
||||
'TX'=>'Texas',
|
||||
'UT'=>'Utah',
|
||||
'VT'=>'Vermont',
|
||||
'VA'=>'Virginia',
|
||||
'WA'=>'Washington',
|
||||
'WV'=>'West Virginia',
|
||||
'WI'=>'Wisconsin',
|
||||
'WY'=>'Wyoming',
|
||||
'ON'=>'Ontario',
|
||||
'QC'=>'Quebec',
|
||||
'NS'=>'Nova Scotia',
|
||||
'NB'=>'New Brunswick',
|
||||
'MB'=>'Manitoba',
|
||||
'BC'=>'British Columbia',
|
||||
'PE'=>'Prince Edward Island',
|
||||
'SK'=>'Saskatchewan',
|
||||
'AB'=>'Alberta',
|
||||
'NL'=>'Newfoundland and Labrador'
|
||||
);
|
||||
|
||||
if(isset($_POST['add_database'])){
|
||||
|
||||
$host = $_POST['host'];
|
||||
|
|
@ -591,12 +718,7 @@ if(isset($_POST['add_company_settings'])){
|
|||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-flag"></i></span>
|
||||
</div>
|
||||
<select class="form-control select2" name="state">
|
||||
<option value="">- State -</option>
|
||||
<?php foreach($states_array as $state_abbr => $state_name) { ?>
|
||||
<option value="<?php echo $state_abbr; ?>"><?php echo $state_name; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<input type="text" class="form-control" name="state" placeholder="State">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue