$info['street'] = $addressParts[1];
}
if (!empty($addressParts[2])) {
- include 'Horde/NLS/carsigns.php';
+ include 'Horde/Nls/Carsigns.php';
$country = array_search(Horde_String::upper($addressParts[2]), $carsigns);
if ($country) {
$info['country'] = $country;
}
}
if (!empty($addressParts[5])) {
- include 'Horde/NLS/countries.php';
+ include 'Horde/Nls/Countries.php';
$country = array_search($addressParts[5], $countries);
if ($country) {
$info['country'] = Horde_String::lower($country);
} elseif (preg_match('/(.*?)\r?\n([A-Z]{1,3})-(\d{5})\s+(.*)/i', $address, $addressParts)) {
/* European address style. */
- include 'Horde/NLS/carsigns.php';
+ include 'Horde/Nls/Carsigns.php';
$country = array_search(Horde_String::upper($addressParts[2]), $carsigns);
/* Map24 generated map. */
global $coordinates;
if (!is_array($coordinates)) {
- include 'Horde/NLS/coordinates.php';
+ include 'Horde/Nls/Coordinates.php';
if (!is_array($coordinates)) {
$coordinates = array();
}
$location = '';
global $coordinates;
if (!is_array($coordinates)) {
- require 'Horde/NLS/coordinates.php';
+ require 'Horde/Nls/Coordinates.php';
}
foreach ($coordinates as $country) {
if (array_key_exists($this->_params['location'], $country)) {
$hash[$prefix . 'Address'] .= ' ' . $hash[$prefix . 'PostalCode'];
}
if (!empty($address[VCARD_ADR_COUNTRY])) {
- include 'Horde/NLS/countries.php';
+ include 'Horde/Nls/Countries.php';
$country = array_search($address[VCARD_ADR_COUNTRY], $countries);
if ($country === false) {
$country = $address[VCARD_ADR_COUNTRY];