public function sociable()
 {
     $fields = array('sociable' => array('type' => 'group', 'title' => __('Sociable', AT_ADMIN_TEXTDOMAIN), 'description' => '', 'submit' => __("Add New Sociable", AT_ADMIN_TEXTDOMAIN), 'default' => array(), 'fields' => array('icon' => array('type' => 'select', 'title' => __('Sociable Icon', AT_ADMIN_TEXTDOMAIN), 'description' => __('Select social network icon.', AT_ADMIN_TEXTDOMAIN), 'items' => AT_Common::get_icons('social'), 'default' => ''), 'link' => array('type' => 'input_text', 'title' => __('Sociable Link', AT_ADMIN_TEXTDOMAIN), 'description' => __('Add your custom URL to your network profile.', AT_ADMIN_TEXTDOMAIN), 'default' => ''))));
     if (!$this->_get_params) {
         $this->view->add_block('content', 'admin/theme_options/content', array('title' => __('Sociable options', AT_ADMIN_TEXTDOMAIN), 'alias' => 'sociable'));
     }
     return $fields;
 }
 public function car()
 {
     $reference_model = $this->load->model('reference_model');
     $transport_types['0'] = 'all';
     foreach ($reference_model->get_data_for_options('get_transport_types') as $key => $value) {
         $transport_types[$key] = $value;
     }
     $fields = array('car_limit_publish' => array('type' => 'range', 'title' => __('Vehicles limit for users', AT_ADMIN_TEXTDOMAIN), 'description' => __('0 - unlimit.', AT_ADMIN_TEXTDOMAIN), 'min' => 0, 'max' => 200, 'step' => 1, 'unit' => 'cars', 'default' => 10), 'car_limit_publish_dealer' => array('type' => 'range', 'title' => __('Vehicles limit for dealers', AT_ADMIN_TEXTDOMAIN), 'description' => __('0 - unlimit.', AT_ADMIN_TEXTDOMAIN), 'min' => 0, 'max' => 200, 'step' => 1, 'unit' => 'cars', 'default' => 50), 'car_limit_photos' => array('type' => 'range', 'title' => __('Image upload limit for users', AT_ADMIN_TEXTDOMAIN), 'description' => __('Please specify max upload files, 0 - unlimit.', AT_ADMIN_TEXTDOMAIN), 'min' => 0, 'max' => 50, 'step' => 1, 'unit' => 'photos', 'default' => 6), 'car_limit_photos_dealer' => array('type' => 'range', 'title' => __('Image upload limit for dealers', AT_ADMIN_TEXTDOMAIN), 'description' => __('Please specify max upload files, 0 - unlimit.', AT_ADMIN_TEXTDOMAIN), 'min' => 0, 'max' => 50, 'step' => 1, 'unit' => 'photos', 'default' => 6), 'dealer_map' => array('type' => 'checkbox', 'title' => __('Show dealer map:', AT_ADMIN_TEXTDOMAIN), 'description' => '', 'default' => false), 'add_offer_btn' => array('type' => 'checkbox', 'title' => __('Hide offer button:', AT_ADMIN_TEXTDOMAIN), 'description' => '', 'default' => false), 'dealer_map_height' => array('type' => 'range', 'title' => __('Map height', AT_ADMIN_TEXTDOMAIN), 'description' => __('Please specify map height in pixels.', AT_ADMIN_TEXTDOMAIN), 'min' => 100, 'max' => 300, 'step' => 10, 'unit' => 'px', 'default' => 100), 'car_mileage' => array('type' => 'radio', 'title' => __('Car mileage:', AT_ADMIN_TEXTDOMAIN), 'description' => '', 'items' => array('miles' => __('Miles', AT_ADMIN_TEXTDOMAIN), 'kilometers' => __('Kilometers', AT_ADMIN_TEXTDOMAIN)), 'default' => 'miles'), 'car_transport_types' => array('type' => 'block', 'title' => __('Car Transport Types Params', AT_ADMIN_TEXTDOMAIN), 'fields' => array('is_view_all' => array('type' => 'checkbox', 'title' => __('Show Item "All"', AT_ADMIN_TEXTDOMAIN), 'description' => __('Turn on/off item "All"."', AT_ADMIN_TEXTDOMAIN), 'default' => true), 'icon' => array('type' => 'select', 'first_not_view' => true, 'title' => __('Transport type Icon', AT_ADMIN_TEXTDOMAIN), 'description' => __('Select transport type icon.', AT_ADMIN_TEXTDOMAIN), 'items' => AT_Common::get_icons('transport_types'), 'default' => 'filter-icon-all'), 'default' => array('type' => 'select', 'first_not_view' => true, 'title' => __('Default Transport Type', AT_ADMIN_TEXTDOMAIN), 'description' => __('Select default transport type.', AT_ADMIN_TEXTDOMAIN), 'items' => $transport_types, 'default' => '0')), 'default' => array()), 'car_engine_range' => array('type' => 'block', 'title' => __('Car Engine Params', AT_ADMIN_TEXTDOMAIN), 'fields' => array('min' => array('type' => 'range', 'title' => __('Engine min value', AT_ADMIN_TEXTDOMAIN), 'description' => __('You may specify minimal engine value', AT_ADMIN_TEXTDOMAIN), 'min' => 100, 'max' => 11900, 'step' => 100, 'unit' => 'cm³', 'default' => 900), 'max' => array('type' => 'range', 'title' => __('Engine max value', AT_ADMIN_TEXTDOMAIN), 'description' => __('You may specify maximal engine value', AT_ADMIN_TEXTDOMAIN), 'min' => 200, 'max' => 12000, 'step' => 100, 'unit' => 'cm³', 'default' => 6500)), 'default' => array()));
     if (!$this->_get_params) {
         $this->view->add_block('content', 'admin/site_options/content', array('title' => __('Transport Options', AT_ADMIN_TEXTDOMAIN), 'alias' => 'car'));
     }
     return $fields;
 }