diff --git a/core/config.php b/core/config.php index 93f1a62..a88e625 100644 --- a/core/config.php +++ b/core/config.php @@ -1,8 +1,7 @@ '', 1 => 'Город Ярославль', diff --git a/core/data/city-short.php b/core/data/city-short.php new file mode 100644 index 0000000..bea4476 --- /dev/null +++ b/core/data/city-short.php @@ -0,0 +1,14 @@ + '', + 1 => 'г.', + 2 => 'с.', + 3 => 'п.', + 4 => 'д.', + 5 => 'пгт.', + 6 => 'р.п.', + 7 => 'ст.', + 8 => 'а.' +); + diff --git a/core/data/city.php b/core/data/city.php index 360fadc..5fb0bef 100644 --- a/core/data/city.php +++ b/core/data/city.php @@ -1,8 +1,7 @@ '', 1 => 'город', 2 => 'село', @@ -13,16 +12,3 @@ $TypeCity = array( 7 => 'станица', 8 => 'аул' ); - -$TypeCityShort = array( - 0 => '', - 1 => 'г.', - 2 => 'с.', - 3 => 'п.', - 4 => 'д.', - 5 => 'пгт.', - 6 => 'р.п.', - 7 => 'ст.', - 8 => 'а.' -); - diff --git a/core/data/mime.php b/core/data/mime.php index ade015f..be65117 100644 --- a/core/data/mime.php +++ b/core/data/mime.php @@ -3,7 +3,7 @@ * http://www.w3schools.com/media/media_mimeref.asp */ -$_mime_type = array ( +$settings = array ( "" => "application/octet-stream", "323" => "text/h323", "acx" => "application/internet-property-stream", diff --git a/core/data/okato.php b/core/data/okato.php index 7736c35..a066e66 100644 --- a/core/data/okato.php +++ b/core/data/okato.php @@ -2,7 +2,7 @@ // В ОКАТО приняты следующие сокращения: // http://www.consultant.ru/online/base/?req=doc;base=LAW;n=62484 -$_okato = array ( +$settings = array ( "р-н" => "район", "г" => "город", "пгт" => "поселок городского типа", diff --git a/core/data/regions.php b/core/data/regions.php index 8bbea97..e2fb520 100644 --- a/core/data/regions.php +++ b/core/data/regions.php @@ -1,7 +1,6 @@ '', 2 => 'Алтайский край', 3 => 'Амурская область', diff --git a/core/data/states.php b/core/data/states.php index da33572..346cae4 100644 --- a/core/data/states.php +++ b/core/data/states.php @@ -1,6 +1,6 @@ array('title' => ''), 1 => array( 'title' => 'Центральный федеральный округ', @@ -30,6 +30,3 @@ $_states = array ( 'title' => 'Приволжский федеральный округ', 'short' => 'ПФО', 'regions' => array(23, 39, 43, 45, 46, 51, 56, 57, 60, 65, 66, 77, 78, 85))); - -$States = &$_states; -