/**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('content' => array(array('name' => __('Element Title', WR_MEGAMENU_TEXTDOMAIN), 'id' => 'el_title', 'type' => 'text_field', 'class' => 'input-sm', 'std' => __('', WR_MEGAMENU_TEXTDOMAIN), 'role' => 'title', 'tooltip' => __('Set title for current element for identifying easily', WR_MEGAMENU_TEXTDOMAIN)), array('name' => __('Image File', WR_MEGAMENU_TEXTDOMAIN), 'id' => 'image_file', 'type' => 'select_media', 'std' => '', 'class' => 'jsn-input-large-fluid', 'tooltip' => __('Choose image', WR_MEGAMENU_TEXTDOMAIN)), array('name' => __('Image Size', WR_MEGAMENU_TEXTDOMAIN), 'id' => 'image_size', 'type' => 'large_image', 'tooltip' => __('Set image size', WR_MEGAMENU_TEXTDOMAIN)), array('name' => __('Alt Text', WR_MEGAMENU_TEXTDOMAIN), 'id' => 'image_alt', 'type' => 'text_field', 'class' => 'input-sm', 'std' => '', 'tooltip' => __('Set alt text for image', WR_MEGAMENU_TEXTDOMAIN)), array('name' => __('Caption', WR_MEGAMENU_TEXTDOMAIN), 'id' => 'image_caption', 'type' => 'text_field', 'class' => 'input-sm', 'std' => '', 'tooltip' => __('Set caption for image', WR_MEGAMENU_TEXTDOMAIN)), array('name' => __('On Click', WR_MEGAMENU_TEXTDOMAIN), 'id' => 'link_type', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Megamenu_Helpers_Type::get_first_option(WR_Megamenu_Helpers_Type::get_image_link_types()), 'options' => WR_Megamenu_Helpers_Type::get_image_link_types(), 'tooltip' => __('Set link type of image', WR_MEGAMENU_TEXTDOMAIN), 'has_depend' => '1'), array('name' => __('Large Image Size', WR_MEGAMENU_TEXTDOMAIN), 'id' => 'image_image_size', 'type' => 'large_image', 'tooltip' => __('Choose image size', WR_MEGAMENU_TEXTDOMAIN), 'dependency' => array('link_type', '=', 'large_image')), array('name' => __('URL', WR_MEGAMENU_TEXTDOMAIN), 'id' => 'image_type_url', 'type' => 'text_field', 'class' => 'input-sm', 'std' => 'http://', 'dependency' => array('link_type', '=', 'url'), 'tooltip' => __('Url of link when click on image', WR_MEGAMENU_TEXTDOMAIN)), array('name' => __('Single Item', WR_MEGAMENU_TEXTDOMAIN), 'id' => 'single_item', 'type' => 'type_group', 'std' => '', 'items' => WR_Megamenu_Helpers_Type::get_single_item_button_bar('link_type', array('type' => 'items_list', 'options_type' => 'select', 'ul_wrap' => false)), 'tooltip' => __('Choose item to link to', WR_MEGAMENU_TEXTDOMAIN)), array('name' => __('Open in', WR_MEGAMENU_TEXTDOMAIN), 'id' => 'open_in', 'type' => 'select', 'std' => WR_Megamenu_Helpers_Type::get_first_option(WR_Megamenu_Helpers_Type::get_open_in_options()), 'options' => WR_Megamenu_Helpers_Type::get_open_in_options(), 'dependency' => array('link_type', '!=', 'no_link'), 'tooltip' => __('Select type of opening action when click on element', WR_MEGAMENU_TEXTDOMAIN))), 'appearance' => array(array('name' => __('Container Style', WR_MEGAMENU_TEXTDOMAIN), 'id' => 'image_container_style', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Megamenu_Helpers_Type::get_first_option(WR_Megamenu_Helpers_Type::get_container_style()), 'options' => WR_Megamenu_Helpers_Type::get_container_style(), 'tooltip' => __('Set Container Style', WR_MEGAMENU_TEXTDOMAIN)), array('name' => __('Alignment', WR_MEGAMENU_TEXTDOMAIN), 'id' => 'image_alignment', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Megamenu_Helpers_Type::get_first_option(WR_Megamenu_Helpers_Type::get_text_align()), 'options' => WR_Megamenu_Helpers_Type::get_text_align(), 'tooltip' => __('Setting position: right, left, center, inherit parent style', WR_MEGAMENU_TEXTDOMAIN)), array('name' => __('Margin', WR_MEGAMENU_TEXTDOMAIN), 'container_class' => 'combo-group', 'id' => 'image_margin', 'type' => 'margin', 'extended_ids' => array('image_margin_top', 'image_margin_right', 'image_margin_bottom', 'image_margin_left'), 'image_margin_top' => array('std' => ''), 'image_margin_bottom' => array('std' => ''), 'tooltip' => __('Set margin size', WR_MEGAMENU_TEXTDOMAIN)), array('name' => __('Fade in Animations', WR_MEGAMENU_TEXTDOMAIN), 'id' => 'image_effect', 'type' => 'radio', 'std' => 'no', 'options' => array('yes' => __('Yes', WR_MEGAMENU_TEXTDOMAIN), 'no' => __('No', WR_MEGAMENU_TEXTDOMAIN)), 'tooltip' => 'Whether to fading in or not')));
 }