Exemplo n.º 1
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('content' => array(array('id' => 'testimonial_items', 'type' => 'group', 'shortcode' => ucfirst(__CLASS__), 'sub_item_type' => $this->config['has_subshortcode'], 'sub_items' => array(array('std' => ''), array('std' => ''), array('std' => '')))), 'styling' => array(array('type' => 'preview'), array('name' => __('Items per Slide', WR_PBL), 'id' => 'items_per_slide', 'type' => 'text_number', 'std' => '2', 'class' => 'input-mini', 'validate' => 'number'), array('name' => __('Slider Elements', WR_PBL), 'id' => 'slider_elements', 'type' => 'checkbox', 'class' => 'jsn-column-item checkbox', 'container_class' => 'jsn-columns-container jsn-columns-count-two', 'std' => 'arrows__#__indicator', 'options' => array('arrows' => __('Arrows', WR_PBL), 'indicator' => __('Indicator', WR_PBL))), array('name' => __('Content Elements', WR_PBL), 'id' => 'content_elements', 'type' => 'items_list', 'std' => 'content__#__image__#__name__#__job_title__#__country__#__company', 'options' => array('content' => __('Feedback Content', WR_PBL), 'image' => __('Avatar', WR_PBL), 'name' => __('Client\'s Name', WR_PBL), 'job_title' => __('Client\'s Position', WR_PBL), 'country' => __('Country', WR_PBL), 'company' => __('Company', WR_PBL)), 'options_type' => 'checkbox', 'popover_items' => array('image', 'content'), 'style' => array('height' => '200px'), 'container_class' => 'unsortable content-elements'), array('name' => __('Container Style', WR_PBL), 'id' => 'author_image_style', 'type' => 'select', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_container_style()), 'options' => WR_Pb_Helper_Type::get_container_style(), 'container_class' => 'hidden', 'data_wrap_related' => 'image'), array('name' => __('Length Limitation', WR_PBL), 'id' => 'content_length', 'type' => array(array('id' => 'content_count', 'type' => 'text_number', 'std' => '', 'class' => 'input-mini', 'options' => WR_Pb_Helper_Type::get_fonts(), 'parent_class' => 'combo-item'), array('id' => 'content_type', 'type' => 'select', 'class' => 'input-medium', 'std' => 'words', 'options' => array('words' => __('Words', WR_PBL), 'characters' => __('Characters', WR_PBL)), 'parent_class' => 'combo-item')), 'container_class' => 'combo-group hidden', 'data_wrap_related' => 'content'), WR_Pb_Helper_Type::get_apprearing_animations(), WR_Pb_Helper_Type::get_animation_speeds()));
 }
Exemplo n.º 2
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('content' => array(array('name' => __('Alert Content', WR_PBL), 'id' => 'alert_content', 'type' => 'tiny_mce', 'role' => 'content', 'rows' => '12', 'std' => WR_Pb_Helper_Type::lorem_text(12))), 'styling' => array(array('type' => 'preview'), array('name' => __('Type', WR_PBL), 'id' => 'alert_style', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_alert_type()), 'options' => WR_Pb_Helper_Type::get_alert_type()), array('name' => __('Show Icon', WR_PBL), 'id' => 'show_icon', 'type' => 'radio', 'std' => 'no', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL)), 'has_depend' => 1), array('name' => __('Icon Size', WR_PBL), 'type' => array(array('id' => 'icon_size', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '16', 'append' => 'px', 'validate' => 'number')), 'dependency' => array('show_icon', '=', 'yes')), array('name' => __('Allow to close', WR_PBL), 'id' => 'alert_close', 'type' => 'radio', 'std' => 'no', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL)), 'tooltip' => __('Whether the customers can close the alert or not', WR_PBL)), WR_Pb_Helper_Type::get_apprearing_animations(), WR_Pb_Helper_Type::get_animation_speeds()));
 }
Exemplo n.º 3
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('content' => array(array('name' => __('Share Content', WR_PBL), 'id' => 'share_content', 'type' => 'tiny_mce', 'role' => 'content', 'rows' => '12', 'std' => WR_Pb_Helper_Type::lorem_text(12))), 'styling' => array(array('type' => 'preview'), array('name' => __('Align', WR_PBL), 'id' => 'share_align', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_share_type()), 'options' => WR_Pb_Helper_Type::get_share_type()), array('name' => __('Text Align', WR_PBL), 'id' => 'share_text_align', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_share_type()), 'options' => WR_Pb_Helper_Type::get_share_type()), array('name' => __('Height', WR_PBL), 'id' => 'share_height', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '300', 'append' => 'px', 'validate' => 'number'), WR_Pb_Helper_Type::get_apprearing_animations(), WR_Pb_Helper_Type::get_animation_speeds()));
 }
Exemplo n.º 4
0
 /**
  * DEFINE setting options of shortcode
  */
 public function element_items()
 {
     $this->items = array('Notab' => array(array('name' => __('Width', WR_PBL), 'type' => array(array('id' => 'width_value', 'type' => 'text_number', 'std' => '', 'class' => 'input-mini', 'validate' => 'number', 'parent_class' => 'combo-item merge-data'), array('id' => 'width_type', 'type' => 'select', 'class' => 'input-mini', 'options' => array('percentage' => '%', 'px' => 'px'), 'std' => 'percentage', 'parent_class' => 'combo-item merge-data')), 'container_class' => 'combo-group'), array('name' => __('Tag Name', WR_PBL), 'id' => 'tagname', 'type' => 'text_field', 'std' => 'td', 'type_input' => 'hidden', 'container_class' => 'hidden', 'tooltip' => __('', WR_PBL)), array('name' => __('Row Span', WR_PBL), 'id' => 'rowspan', 'type' => 'text_number', 'std' => '1', 'class' => 'input-mini positive-val', 'validate' => 'number', 'role' => 'extract', 'tooltip' => __('Enable extending over multiple rows', WR_PBL)), array('name' => __('Column Span', WR_PBL), 'id' => 'colspan', 'type' => 'text_number', 'std' => '1', 'class' => 'input-mini positive-val', 'validate' => 'number', 'role' => 'extract', 'tooltip' => __('Enable extending over multiple columns', WR_PBL)), array('name' => __('Row Style', WR_PBL), 'id' => 'rowstyle', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_table_row_color()), 'options' => WR_Pb_Helper_Type::get_table_row_color()), array('name' => __('Content', WR_PBL), 'id' => 'cell_content', 'role' => 'content', 'role_2' => 'title', 'type' => 'tiny_mce', 'std' => __('', WR_PBL), 'tooltip' => __('Table content', WR_PBL))));
 }
Exemplo n.º 5
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('action' => array(array('id' => 'btn_convert', 'type' => 'button_group', 'bound' => 0, 'actions' => array(array('std' => __('Tab', WR_PBL), 'action_type' => 'convert', 'action' => 'list_to_tab'), array('std' => __('Accordion', WR_PBL), 'action_type' => 'convert', 'action' => 'list_to_accordion'), array('std' => __('Carousel', WR_PBL), 'action_type' => 'convert', 'action' => 'list_to_carousel')))), 'content' => array(array('id' => 'list_items', 'type' => 'group', 'shortcode' => ucfirst(__CLASS__), 'sub_item_type' => $this->config['has_subshortcode'], 'sub_items' => array(array('std' => ''), array('std' => '')))), 'styling' => array(array('type' => 'preview'), array('name' => __('Show Icon', WR_PBL), 'id' => 'show_icon', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL)), 'has_depend' => '1'), array('name' => __('Layout', WR_PBL), 'id' => 'icon_position', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_icon_position()), 'options' => WR_Pb_Helper_Type::get_icon_position(), 'dependency' => array('show_icon', '=', 'yes')), array('name' => __('Icon Background', WR_PBL), 'type' => array(array('id' => 'icon_size_value', 'type' => 'select', 'class' => 'input-mini input-sm', 'std' => '32', 'options' => WR_Pb_Helper_Type::get_icon_sizes(), 'parent_class' => 'combo-item input-append select-append input-group input-select-append', 'append_text' => 'px'), array('id' => 'icon_background_type', 'type' => 'select', 'class' => 'input-sm', 'std' => 'circle', 'options' => WR_Pb_Helper_Type::get_icon_background(), 'parent_class' => 'combo-item'), array('id' => 'icon_background_color', 'type' => 'color_picker', 'std' => '#0088CC', 'parent_class' => 'combo-item')), 'container_class' => 'combo-group', 'dependency' => array('show_icon', '=', 'yes')), array('name' => __('Icon Color', WR_PBL), 'type' => array(array('id' => 'icon_c_value', 'type' => 'text_field', 'std' => '#FFFFFF', 'parent_class' => 'combo-item'), array('id' => 'icon_c_color', 'type' => 'color_picker', 'std' => '#ffffff', 'parent_class' => 'combo-item')), 'container_class' => 'combo-group', 'dependency' => array('show_icon', '=', 'yes')), array('name' => __('Show Heading', WR_PBL), 'id' => 'show_heading', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL)), 'has_depend' => '1'), array('name' => __('Heading Font', WR_PBL), 'id' => 'font', 'type' => 'select', 'std' => 'inherit', 'options' => array('inherit' => __('Inherit', WR_PBL), 'custom' => __('Custom', WR_PBL)), 'has_depend' => '1', 'class' => 'input-medium', 'dependency' => array('show_heading', '=', 'yes')), array('name' => __('Font Face', WR_PBL), 'id' => 'font-family', 'type' => array(array('id' => 'font_face_type', 'type' => 'jsn_select_font_type', 'class' => 'input-medium input-sm', 'std' => 'standard fonts', 'options' => WR_Pb_Helper_Type::get_fonts(), 'parent_class' => 'combo-item'), array('id' => 'font_face_value', 'type' => 'jsn_select_font_value', 'class' => 'input-medium input-sm', 'std' => 'Verdana', 'options' => '', 'parent_class' => 'combo-item')), 'dependency' => array('font', '=', 'custom'), 'tooltip' => __('Select Font Face', WR_PBL), 'container_class' => 'combo-group'), array('name' => __('Font Attributes', WR_PBL), 'type' => array(array('id' => 'font_size_value', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini input-sm', 'std' => '', 'append' => 'px', 'validate' => 'number', 'parent_class' => 'combo-item input-append-inline'), array('id' => 'font_style', 'type' => 'select', 'class' => 'input-medium wr-mini-input input-sm', 'std' => 'bold', 'options' => WR_Pb_Helper_Type::get_font_styles(), 'parent_class' => 'combo-item'), array('id' => 'color', 'type' => 'color_picker', 'std' => '#000000', 'parent_class' => 'combo-item')), 'dependency' => array('font', '=', 'custom'), 'tooltip' => __('Set size and text style for your heading', WR_PBL), 'container_class' => 'combo-group'), WR_Pb_Helper_Type::get_apprearing_animations(), WR_Pb_Helper_Type::get_animation_speeds()));
 }
Exemplo n.º 6
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('content' => array(array('name' => __('Image File', WR_PBL), 'id' => 'image_file', 'type' => 'select_media', 'std' => '', 'class' => 'jsn-input-large-fluid'), array('name' => __('Image Size', WR_PBL), 'id' => 'image_size', 'type' => 'large_image', 'tooltip' => __('Set image size', WR_PBL)), array('name' => __('Alt Text', WR_PBL), 'id' => 'image_alt', 'type' => 'text_field', 'class' => 'input-sm', 'std' => '', 'tooltip' => __('Set alt text for image', WR_PBL)), array('name' => __('On Click', WR_PBL), 'id' => 'link_type', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_image_link_types()), 'options' => WR_Pb_Helper_Type::get_image_link_types(), 'tooltip' => __('Set link type of image', WR_PBL), 'has_depend' => '1'), array('name' => __('Large Image Size', WR_PBL), 'id' => 'image_image_size', 'type' => 'large_image', 'tooltip' => __('Choose image size', WR_PBL), 'dependency' => array('link_type', '=', 'large_image')), array('name' => __('URL', WR_PBL), '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_PBL)), array('name' => __('Single Item', WR_PBL), 'id' => 'single_item', 'type' => 'type_group', 'std' => '', 'items' => WR_Pb_Helper_Type::get_single_item_button_bar('link_type', array('type' => 'items_list', 'options_type' => 'select', 'ul_wrap' => false))), array('name' => __('Open in', WR_PBL), 'id' => 'open_in', 'type' => 'select', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_open_in_options()), 'options' => WR_Pb_Helper_Type::get_open_in_options(), 'dependency' => array('link_type', '!=', 'no_link'), 'tooltip' => __('Select type of opening action when click on element', WR_PBL))), 'styling' => array(array('type' => 'preview'), array('name' => __('Container Style', WR_PBL), 'id' => 'image_container_style', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_container_style()), 'options' => WR_Pb_Helper_Type::get_container_style()), array('name' => __('Alignment', WR_PBL), 'id' => 'image_alignment', 'class' => 'input-sm', 'type' => 'radio_button_group', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_text_align()), 'options' => WR_Pb_Helper_Type::get_text_align()), array('name' => __('Margin', WR_PBL), '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' => __('External spacing with other elements', WR_PBL)), WR_Pb_Helper_Type::get_apprearing_animations(), WR_Pb_Helper_Type::get_animation_speeds()));
 }
Exemplo n.º 7
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('content' => array(array('id' => 'progress_bar_items', 'type' => 'group', 'shortcode' => ucfirst(__CLASS__), 'sub_item_type' => $this->config['has_subshortcode'], 'sub_items' => array(array('std' => __('', WR_PBL)), array('std' => __('', WR_PBL)), array('std' => __('', WR_PBL))))), 'styling' => array(array('type' => 'preview'), array('name' => __('Presentation', WR_PBL), 'id' => 'progress_bar_style', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_progress_bar_style()), 'options' => WR_Pb_Helper_Type::get_progress_bar_style()), array('name' => __('Show Icon', WR_PBL), 'id' => 'progress_bar_show_icon', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL))), array('name' => __('Show Title', WR_PBL), 'id' => 'progress_bar_show_title', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL))), array('name' => __('Show Percentage', WR_PBL), 'id' => 'progress_bar_show_percent', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL))), array('name' => __('', WR_PBL), 'container_class' => 'group-checkbox', 'id' => 'progress_bar_stack_active', 'type' => 'checkbox', 'std' => 'yes', 'options' => array('yes' => __('Animated Progress Bar', WR_PBL)))));
 }
Exemplo n.º 8
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('content' => array(array('name' => __('Parent Element Text', WR_PBL), 'id' => 'text', 'type' => 'text_field', 'class' => 'input-sm', 'std' => __('Your text', WR_PBL)), array('name' => __('Tooltip Content', WR_PBL), 'id' => 'tooltip_content', 'role' => 'content', 'type' => 'tiny_mce', 'std' => __('Your tooltip content', WR_PBL))), 'styling' => array(array('type' => 'preview'), array('name' => __('Tooltip Position', WR_PBL), 'id' => 'position', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_full_positions()), 'options' => WR_Pb_Helper_Type::get_full_positions()), array('name' => __('Make Parent Element a Button', WR_PBL), 'id' => 'tooltips_button', 'type' => 'radio', 'std' => 'no', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL)), 'has_depend' => '1', 'tooltip' => __('Create button from text', WR_PBL)), array('name' => __('Button Color', WR_PBL), 'type' => array(array('id' => 'button_color', 'type' => 'select', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_button_color()), 'options' => WR_Pb_Helper_Type::get_button_color())), 'dependency' => array('tooltips_button', '=', 'yes'), 'container_class' => 'color_select2'), array('name' => __('Delay', WR_PBL), 'container_class' => 'combo-group', 'type' => array(array('id' => 'show', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '500', 'append_before' => 'Show', 'append' => 'ms', 'parent_class' => 'input-group-inline', 'validate' => 'number'), array('id' => 'hide', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '100', 'append_before' => 'Hide', 'append' => 'ms', 'parent_class' => 'input-group-inline', 'validate' => 'number')), 'tooltip' => __('Set time (ms) to show/ hide tooltip when hover/ leave', WR_PBL))));
 }
Exemplo n.º 9
0
 public function element_items()
 {
     $this->items = array('Notab' => array(array('name' => __('Title', WR_PBL), 'id' => 'prtbl_item_title', 'type' => 'text_field', 'class' => 'jsn-input-xxlarge-fluid', 'role' => 'title', 'std' => '', 'tooltip' => __('Title', WR_PBL)), array('name' => __('Description', WR_PBL), 'id' => 'prtbl_item_desc', 'type' => 'text_field', 'class' => 'jsn-input-xxlarge-fluid', 'std' => __('', WR_PBL), 'tooltip' => __('Description Tooltip', WR_PBL)), array('name' => __('Image', WR_PBL), 'id' => 'prtbl_item_image', 'type' => 'select_media', 'std' => '', 'class' => 'jsn-input-large-fluid', 'tooltip' => __('Image File', WR_PBL)), array('name' => __('Currency', WR_PBL), 'id' => 'prtbl_item_currency', 'type' => 'text_field', 'std' => __('', WR_PBL), 'class' => 'jsn-input-large-fluid', 'tooltip' => __('Currency', WR_PBL)), array('name' => __('Price', WR_PBL), 'id' => 'prtbl_item_price', 'type' => 'text_field', 'std' => __('', WR_PBL), 'class' => 'jsn-input-large-fluid wr_pb_price', 'tooltip' => __('Price', WR_PBL)), array('name' => __('Time Limits', WR_PBL), 'id' => 'prtbl_item_time', 'type' => 'text_field', 'std' => __('', WR_PBL), 'class' => 'jsn-input-large-fluid', 'tooltip' => __('Time Limits', WR_PBL)), array('name' => __('Button Text', WR_PBL), 'id' => 'prtbl_item_button_text', 'type' => 'text_field', 'class' => 'jsn-input-large-fluid wr-pb-limit-length', 'std' => __('Buy now', WR_PBL), 'tooltip' => __('Button Text', WR_PBL)), array('name' => __('Button Link', WR_PBL), 'id' => 'link_type', 'type' => 'select', 'std' => __('url', WR_PBL), 'options' => WR_Pb_Helper_Type::get_link_types(), 'tooltip' => __('Button Link', WR_PBL), 'has_depend' => '1'), array('name' => __('URL', WR_PBL), 'id' => 'button_type_url', 'type' => 'text_field', 'class' => 'jsn-input-xxlarge-fluid', 'std' => 'http://', 'tooltip' => __('URL', WR_PBL), 'dependency' => array('link_type', '=', 'url')), array('name' => __('Single Item', WR_PBL), 'id' => 'single_item', 'type' => 'type_group', 'std' => '', 'items' => WR_Pb_Helper_Type::get_single_item_button_bar('link_type', array('type' => 'items_list', 'options_type' => 'select', 'ul_wrap' => false))), array('name' => __('Open in', WR_PBL), 'id' => 'open_in', 'type' => 'select', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_open_in_options()), 'options' => WR_Pb_Helper_Type::get_open_in_options(), 'dependency' => array('link_type', '!=', 'no_link')), array('id' => 'prtbl_item_attributes', 'type' => 'text_field', 'std' => '', 'input-type' => 'hidden', 'container_class' => 'hidden'), array('name' => __('Attributes', WR_PBL), 'id' => 'prtbl_attr', 'type' => 'group_table', 'class' => 'has_childsubmodal unsortable', 'shortcode' => ucfirst(__CLASS__), 'sub_item_type' => $this->config['has_subshortcode'], 'sub_items' => array(WR_Pricing_Table::get_option('max_domains', true), WR_Pricing_Table::get_option('storage', true), WR_Pricing_Table::get_option('ssl_support', true)), 'extract_title' => 'prtbl_item_attr_title'), array('name' => __('Featured', WR_PBL), 'id' => 'prtbl_item_feature', 'type' => 'radio', 'std' => 'no', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL)), 'tooltip' => 'Featured')));
 }
Exemplo n.º 10
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('content' => array(array('name' => __('Data', WR_PBL), 'id' => 'qr_content', 'type' => 'text_area', 'class' => 'input-sm', 'std' => 'http://www.woorockets.com', 'tooltip' => __('Here you can input names, urls, phone numbers, email addresses or plain text', WR_PBL), 'exclude_quote' => '1'), array('name' => __('Image ALT Text', WR_PBL), 'id' => 'qr_alt', 'type' => 'text_field', 'class' => 'input-sm', 'std' => __('Wordpress themes from www.woorockets.com', WR_PBL), 'tooltip' => __('Text tooltip appears when QR box is hovered through', WR_PBL))), 'styling' => array(array('type' => 'preview'), array('name' => __('Container Style', WR_PBL), 'id' => 'qr_container_style', 'type' => 'radio', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_qr_container_style()), 'options' => WR_Pb_Helper_Type::get_qr_container_style()), array('name' => __('Alignment', WR_PBL), 'id' => 'qr_alignment', 'class' => 'input-sm', 'type' => 'radio_button_group', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_text_align()), 'options' => WR_Pb_Helper_Type::get_text_align()), array('name' => __('QR Code Size', WR_PBL), 'id' => 'qrcode_sizes', 'type' => 'select', 'class' => 'input-mini-m input-sm wr-select2-editor', 'std' => '150', 'options' => array('150' => __('150', WR_PBL), '200' => __('200', WR_PBL), '250' => __('250', WR_PBL), '300' => __('300', WR_PBL), '350' => __('350', WR_PBL)), 'parent_class' => 'combo-item input-append select-append input-group input-select-append wr-input-append', 'append_text' => 'px', 'container_class' => 'combo-group', 'disable_select2' => true), WR_Pb_Helper_Type::get_apprearing_animations(), WR_Pb_Helper_Type::get_animation_speeds()));
 }
Exemplo n.º 11
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('content' => array(array('name' => __('Text', WR_PBL), 'id' => 'button_text', 'type' => 'text_field', 'std' => __('Button', WR_PBL), 'role' => 'title'), array('name' => __('On Click', WR_PBL), 'id' => 'link_type', 'type' => 'select', 'class' => 'input-sm', 'std' => 'url', 'options' => WR_Pb_Helper_Type::get_link_types(), 'has_depend' => '1', 'tooltip' => __('Select link types: link to post, page, category...', WR_PBL)), array('name' => __('URL', WR_PBL), 'id' => 'button_type_url', 'type' => 'text_field', 'class' => 'input-sm', 'std' => 'http://', 'dependency' => array('link_type', '=', 'url')), array('name' => __('Single Item', WR_PBL), 'id' => 'single_item', 'type' => 'type_group', 'std' => '', 'items' => WR_Pb_Helper_Type::get_single_item_button_bar('link_type', array('type' => 'items_list', 'options_type' => 'select', 'ul_wrap' => false))), array('name' => __('Open in', WR_PBL), 'id' => 'open_in', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_open_in_options()), 'options' => WR_Pb_Helper_Type::get_open_in_options(), 'dependency' => array('link_type', '!=', 'no_link'), 'tooltip' => __('Select type of opening action when click on element', WR_PBL)), array('name' => __('Icon', WR_PBL), 'id' => 'icon', 'type' => 'icons', 'std' => '', 'role' => 'title_prepend', 'title_prepend_type' => 'icon')), 'styling' => array(array('type' => 'preview'), array('name' => __('Alignment', WR_PBL), 'id' => 'button_alignment', 'type' => 'radio_button_group', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_text_align()), 'options' => WR_Pb_Helper_Type::get_text_align(), 'class' => 'input-sm'), array('name' => __('Margin', WR_PBL), 'container_class' => 'combo-group', 'id' => 'button_margin', 'type' => 'margin', 'extended_ids' => array('button_margin_top', 'button_margin_right', 'button_margin_bottom', 'button_margin_left'), 'button_margin_top' => array('std' => '0'), 'button_margin_right' => array('std' => '0'), 'button_margin_bottom' => array('std' => '0'), 'button_margin_left' => array('std' => '0'), 'tooltip' => __('External spacing with other elements', WR_PBL)), array('name' => __('Size', WR_PBL), 'id' => 'button_size', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_button_size()), 'options' => WR_Pb_Helper_Type::get_button_size()), array('name' => __('Color', WR_PBL), 'id' => 'button_color', 'type' => 'select', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_button_color()), 'options' => WR_Pb_Helper_Type::get_button_color(), 'container_class' => 'color_select2', 'tooltip' => __('Select the color of the button', WR_PBL)), WR_Pb_Helper_Type::get_apprearing_animations(), WR_Pb_Helper_Type::get_animation_speeds()));
 }
Exemplo n.º 12
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('content' => array(array('id' => 'buttonbar_items', 'type' => 'group', 'shortcode' => ucfirst(__CLASS__), 'sub_item_type' => $this->config['has_subshortcode'], 'sub_items' => array(array('std' => ''), array('std' => ''), array('std' => '')))), 'styling' => array(array('type' => 'preview'), array('name' => __('Alignment', WR_PBL), 'id' => 'buttonbar_alignment', 'type' => 'radio_button_group', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_text_align()), 'options' => WR_Pb_Helper_Type::get_text_align()), array('name' => __('Margin', WR_PBL), 'container_class' => 'combo-group', 'id' => 'buttonbar_margin', 'type' => 'margin', 'extended_ids' => array('buttonbar_margin_top', 'buttonbar_margin_right', 'buttonbar_margin_bottom', 'buttonbar_margin_left'), 'buttonbar_margin_top' => array('std' => '0'), 'buttonbar_margin_right' => array('std' => '0'), 'buttonbar_margin_bottom' => array('std' => '0'), 'buttonbar_margin_left' => array('std' => '0'), 'tooltip' => __('External spacing with other elements', WR_PBL)), array('name' => __('Distance between items', WR_PBL), 'type' => array(array('id' => 'distance_between', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '0', 'append' => 'px', 'validate' => 'number'))), array('name' => __('', WR_PBL), 'container_class' => 'group-checkbox', 'id' => 'buttonbar_show_title', 'type' => 'checkbox', 'std' => 'yes', 'options' => array('yes' => __('Show Title', WR_PBL))), array('name' => __('', WR_PBL), 'container_class' => 'group-checkbox', 'id' => 'buttonbar_show_icon', 'type' => 'checkbox', 'std' => 'yes', 'options' => array('yes' => __('Show Icon', WR_PBL))), array('name' => __('', WR_PBL), 'container_class' => 'group-checkbox', 'id' => 'buttonbar_group', 'type' => 'checkbox', 'std' => '', 'options' => array('yes' => __('Show Group Buttons', WR_PBL))), WR_Pb_Helper_Type::get_apprearing_animations(), WR_Pb_Helper_Type::get_animation_speeds()));
 }
Exemplo n.º 13
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('content' => array(array('id' => 'pb_title', 'name' => __('Promotion Title', WR_PBL), 'type' => 'text_field', 'class' => 'input-sm', 'std' => __('Promotion Box Title', WR_PBL)), array('id' => 'pb_content', 'role' => 'content', 'name' => __('Promotion Content', WR_PBL), 'type' => 'tiny_mce', 'rows' => '12', 'std' => WR_Pb_Helper_Type::lorem_text(12)), array('name' => __('Button Title', WR_PBL), 'id' => 'pb_button_title', 'type' => 'text_field', 'class' => 'input-sm', 'std' => 'Button Title'), array('name' => __('Button Link', WR_PBL), 'id' => 'link_type', 'type' => 'select', 'class' => 'input-sm', 'std' => 'url', 'options' => WR_Pb_Helper_Type::get_link_types(), 'has_depend' => '1'), array('name' => __('URL', WR_PBL), 'id' => 'pb_button_url', 'type' => 'text_field', 'class' => 'input-sm', 'std' => 'http://', 'dependency' => array('link_type', '=', 'url')), array('name' => __('Single Item', WR_PBL), 'id' => 'single_item', 'type' => 'type_group', 'std' => '', 'items' => WR_Pb_Helper_Type::get_single_item_button_bar('link_type', array('type' => 'items_list', 'options_type' => 'select', 'class' => 'select2-select', 'ul_wrap' => false))), array('name' => __('Open in', WR_PBL), 'id' => 'pb_button_open_in', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_open_in_options()), 'options' => WR_Pb_Helper_Type::get_open_in_options(), 'dependency' => array('link_type', '!=', 'no_link'))), 'styling' => array(array('type' => 'preview'), array('name' => __('Background Color', WR_PBL), 'type' => array(array('id' => 'pb_bg_value', 'type' => 'text_field', 'class' => 'input-small', 'std' => '#F6F6F6', 'parent_class' => 'combo-item'), array('id' => 'pb_bg_color', 'type' => 'color_picker', 'std' => '#F6F6F6', 'parent_class' => 'combo-item')), 'container_class' => 'combo-group'), array('name' => __('Border Width', WR_PBL), 'container_class' => 'combo-group', 'id' => 'pb_border', 'type' => 'margin', 'extended_ids' => array('pb_border_top', 'pb_border_right', 'pb_border_bottom', 'pb_border_left'), 'pb_border_top' => array('std' => '5'), 'pb_border_right' => array('std' => '5'), 'pb_border_bottom' => array('std' => '5'), 'pb_border_left' => array('std' => '5')), array('name' => __('Border Color', WR_PBL), 'type' => array(array('id' => 'pb_border_value', 'type' => 'text_field', 'class' => 'input-small', 'std' => '#A0CE4E', 'parent_class' => 'combo-item'), array('id' => 'pb_border_color', 'type' => 'color_picker', 'std' => '#A0CE4E', 'parent_class' => 'combo-item')), 'container_class' => 'combo-group'), array('name' => __('Show Shadow', WR_PBL), 'id' => 'pb_show_drop', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL)), 'tooltip' => __('Shadow of Promotion Box', WR_PBL)), array('name' => __('Elements', WR_PBL), 'id' => 'elements', 'type' => 'items_list', 'std' => 'title__#__content__#__button', 'options' => array('title' => __('Title', WR_PBL), 'content' => __('Content', WR_PBL), 'button' => __('Button', WR_PBL)), 'options_type' => 'checkbox', 'popover_items' => array('title', 'button'), 'tooltip' => __('Elements to display on promotion box', WR_PBL), 'style' => array('height' => '200px'), 'container_class' => 'unsortable content-elements'), array('name' => __('Font', WR_PBL), 'id' => 'title_font', 'type' => 'select', 'std' => 'inherit', 'options' => array('inherit' => __('Inherit', WR_PBL), 'custom' => __('Custom', WR_PBL)), 'has_depend' => '1', 'class' => 'input-medium', 'tooltip' => __('Select Font Type', WR_PBL), 'container_class' => 'hidden', 'data_wrap_related' => 'title'), array('name' => __('Font Face', WR_PBL), 'id' => 'title_font_family', 'type' => array(array('id' => 'title_font_face_type', 'type' => 'jsn_select_font_type', 'class' => 'input-medium input-sm', 'std' => 'standard fonts', 'options' => WR_Pb_Helper_Type::get_fonts(), 'parent_class' => 'combo-item'), array('id' => 'title_font_face_value', 'type' => 'jsn_select_font_value', 'class' => 'input-medium input-sm', 'std' => 'Verdana', 'options' => '', 'parent_class' => 'combo-item')), 'dependency' => array('title_font', '=', 'custom'), 'tooltip' => __('Select Font Face', WR_PBL), 'container_class' => 'combo-group hidden', 'data_wrap_related' => 'title'), array('name' => __('Font Attributes', WR_PBL), 'type' => array(array('id' => 'title_font_size', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '', 'append' => 'px', 'validate' => 'number', 'parent_class' => 'combo-item input-append-inline'), array('id' => 'title_font_style', 'type' => 'select', 'class' => 'input-medium wr-mini-input input-sm', 'std' => 'bold', 'options' => WR_Pb_Helper_Type::get_font_styles(), 'parent_class' => 'combo-item'), array('id' => 'title_font_color', 'type' => 'color_picker', 'std' => '#000000', 'parent_class' => 'combo-item')), 'dependency' => array('title_font', '=', 'custom'), 'tooltip' => __('Set Font Attribute', WR_PBL), 'container_class' => 'combo-group hidden', 'data_wrap_related' => 'title'), array('name' => __('Bottom Padding', WR_PBL), 'type' => array(array('id' => 'title_padding_bottom', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '', 'append' => 'px', 'validate' => 'number')), 'tooltip' => __('Set Bottom Padding', WR_PBL), 'container_class' => 'hidden', 'data_wrap_related' => 'title'), array('name' => __('Bottom Margin', WR_PBL), 'type' => array(array('id' => 'title_margin_bottom', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '', 'append' => 'px', 'validate' => 'number')), 'tooltip' => __('Set Bottom Margin', WR_PBL), 'container_class' => 'hidden', 'data_wrap_related' => 'title'), array('name' => __('Size', WR_PBL), 'id' => 'pb_button_size', 'type' => 'select', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_button_size()), 'options' => WR_Pb_Helper_Type::get_button_size(), 'tooltip' => __('Set Button Size', WR_PBL), 'container_class' => 'hidden', 'data_wrap_related' => 'button'), array('name' => __('Button Color', WR_PBL), 'id' => 'pb_button_color', 'type' => 'select', 'std' => 'btn-danger', 'options' => WR_Pb_Helper_Type::get_button_color(), 'tooltip' => __('Set Button Color', WR_PBL), 'container_class' => 'hidden color_select2', 'data_wrap_related' => 'button'), WR_Pb_Helper_Type::get_apprearing_animations(), WR_Pb_Helper_Type::get_animation_speeds()));
 }
Exemplo n.º 14
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('content' => array(array('name' => __('Tag', WR_PBL), 'id' => 'tag', 'type' => 'select', 'class' => 'input-sm wr-heading-type', 'std' => 'h1', 'options' => array('h1' => 'H1', 'h2' => 'H2', 'h3' => 'H3', 'h4' => 'H4', 'h5' => 'H5', 'h6' => 'H6'), 'tooltip' => __('Support tags: H1, H2, H3, H4, H5, H6', WR_PBL)), array('name' => __('Text', WR_PBL), 'id' => 'text', 'type' => 'text_field', 'role' => 'content', 'class' => 'input-sm', 'std' => __('Your heading text', WR_PBL))), 'styling' => array(array('type' => 'preview'), array('name' => __('Alignment', WR_PBL), 'id' => 'text_align', 'type' => 'radio_button_group', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_text_align()), 'options' => WR_Pb_Helper_Type::get_text_align(), 'class' => 'input-sm'), array('name' => __('Margin', WR_PBL), 'container_class' => 'combo-group', 'id' => 'heading_margin', 'type' => 'margin', 'extended_ids' => array('heading_margin_top', 'heading_margin_right', 'heading_margin_bottom', 'heading_margin_left'), 'heading_margin_top' => array('std' => '5'), 'heading_margin_bottom' => array('std' => '25'), 'tooltip' => __('External spacing with other elements', WR_PBL)), array('name' => __('Font', WR_PBL), 'id' => 'font', 'type' => 'radio', 'std' => 'inherit', 'options' => array('inherit' => __('Inherit', WR_PBL), 'custom' => __('Custom', WR_PBL)), 'has_depend' => '1'), array('name' => __('Font Face', WR_PBL), 'id' => 'font_family', 'type' => array(array('id' => 'font_face_type', 'type' => 'jsn_select_font_type', 'class' => 'input-sm', 'std' => 'standard fonts', 'options' => WR_Pb_Helper_Type::get_fonts(), 'parent_class' => 'combo-item'), array('id' => 'font_face_value', 'type' => 'jsn_select_font_value', 'class' => 'input-sm', 'std' => 'Verdana', 'options' => '', 'parent_class' => 'combo-item')), 'dependency' => array('font', '=', 'custom'), 'container_class' => 'combo-group'), array('name' => __('Font Attributes', WR_PBL), 'type' => array(array('id' => 'font_size_value_', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '18', 'append' => 'px', 'validate' => 'number', 'parent_class' => 'combo-item input-append-inline'), array('id' => 'font_style', 'type' => 'select', 'class' => 'input-sm wr-mini-input', 'std' => 'bold', 'options' => WR_Pb_Helper_Type::get_font_styles(), 'parent_class' => 'combo-item'), array('id' => 'color', 'type' => 'color_picker', 'std' => '#000000', 'parent_class' => 'combo-item')), 'dependency' => array('font', '=', 'custom'), 'container_class' => 'combo-group'), array('name' => __('Enable Underline', WR_PBL), 'id' => 'enable_underline', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL)), 'has_depend' => '1'), array('name' => __('Underline Style', WR_PBL), 'type' => array(array('id' => 'border_bottom_width_value_', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '', 'append' => 'px', 'validate' => 'number', 'parent_class' => 'combo-item input-append-inline'), array('id' => 'border_bottom_style', 'type' => 'select', 'class' => 'input-sm wr-border-type', 'std' => 'solid', 'options' => WR_Pb_Helper_Type::get_border_styles(), 'parent_class' => 'combo-item'), array('id' => 'border_bottom_color', 'type' => 'color_picker', 'std' => '', 'parent_class' => 'combo-item')), 'container_class' => 'combo-group', 'dependency' => array('enable_underline', '=', 'yes')), array('name' => __('Underline Padding', WR_PBL), 'type' => array(array('id' => 'padding_bottom_value_', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '', 'append' => 'px', 'validate' => 'number')), 'dependency' => array('enable_underline', '=', 'yes')), WR_Pb_Helper_Type::get_apprearing_animations(), WR_Pb_Helper_Type::get_animation_speeds()));
 }
Exemplo n.º 15
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('content' => array(array('id' => 'gmap_items', 'type' => 'group', 'shortcode' => ucfirst(__CLASS__), 'sub_item_type' => $this->config['has_subshortcode'], 'sub_items' => array(array('std' => '[wr_item_googlemap gmi_title="Apple Store, Fifth Avenue" gmi_desc_content="767 5th Ave New York, NY 10153, United States  1 212-336-1440" gmi_url="https://plus.google.com/105794202623216829535/about?gl=vn" gmi_image="https://lh6.googleusercontent.com/-kRHmUypT7rk/UWuDd_MbjsI/AAAAAACMJTw/0Bk8Pszwyls/s250-c-k-no/Apple Store, Fifth Avenue" gmi_long="-73.989637" gmi_lat="40.741220" gmi_enable_direct="no" gmi_destination=""]767 5th Ave New York, NY 10153, United States  1 212-336-1440[/wr_item_googlemap]'), array('std' => '[wr_item_googlemap gmi_title="Paley Park" gmi_desc_content="New York, NY 10022 United States" gmi_url="https://plus.google.com/101814405146294453824/about?gl=vn" gmi_image="https://lh6.googleusercontent.com/-pEEYVRCcoXg/T5UfT58tJ3I/AAAAAAAAZa8/sfiH6w8_R5g/s90/berlin-wall-manhattan-ny-nyc_thumb.jpg" gmi_long="-73.975152" gmi_lat="40.760196" gmi_enable_direct="no" gmi_destination=""]New York, NY 10022 United States[/wr_item_googlemap]')), 'label_item' => 'Marker ', 'add_item_text' => 'Add Marker')), 'styling' => array(array('type' => 'preview'), array('name' => __('Container Style', WR_PBL), 'id' => 'gmap_container_style', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_qr_container_style()), 'options' => WR_Pb_Helper_Type::get_qr_container_style()), array('name' => __('Alignment', WR_PBL), 'id' => 'gmap_alignment', 'class' => 'input-sm', 'std' => 'center', 'type' => 'radio_button_group', 'options' => WR_Pb_Helper_Type::get_map_align()), array('name' => __('Dimension', WR_PBL), 'container_class' => 'combo-group', 'type' => 'dimension', 'id' => 'gmap_dimension', 'extended_ids' => array('gmap_dimension_width', 'gmap_dimension_width_unit', 'gmap_dimension_height'), 'gmap_dimension_width' => array('std' => '500'), 'gmap_dimension_height' => array('std' => '300'), 'gmap_dimension_width_unit' => array('options' => array('px' => 'px', '%' => '%'), 'std' => 'px')), array('name' => __('Margin', WR_PBL), 'container_class' => 'combo-group', 'id' => 'gmap_margin', 'type' => 'margin', 'extended_ids' => array('gmap_margin_top', 'gmap_margin_right', 'gmap_margin_bottom', 'gmap_margin_left'), 'gmap_margin_top' => array('std' => '10'), 'gmap_margin_bottom' => array('std' => '10'), 'tooltip' => __('Margin', WR_PBL)), array('type' => 'hr'), array('name' => __('Zoom Level', WR_PBL), 'id' => 'gmap_zoom', 'class' => 'wr-slider', 'type' => 'slider', 'std_max' => '14', 'std' => '12'), array('name' => __('Map Type', WR_PBL), 'id' => 'gmap_type', 'type' => 'select', 'class' => 'input-sm', 'std' => 'ROADMAP', 'options' => WR_Pb_Helper_Type::get_gmap_type()), array('name' => __('Elements', WR_PBL), 'id' => 'gmap_elements', 'type' => 'checkbox', 'class' => 'jsn-column-item checkbox', 'container_class' => 'jsn-columns-container jsn-columns-count-two', 'std' => 'streetViewControl__#__zoomControl__#__panControl__#__mapTypeControl__#__scaleControl__#__overviewMapControl__#__scrollwheel', 'options' => array('streetViewControl' => __('Street View', WR_PBL), 'zoomControl' => __('Zoom Controls', WR_PBL), 'panControl' => __('Pan Controls', WR_PBL), 'mapTypeControl' => __('Map Type Controls', WR_PBL), 'scaleControl' => __('Scale Controls', WR_PBL), 'overviewMapControl' => __('Overview Map Controls', WR_PBL), 'scrollwheel' => __('Scrollwheel Zooming', WR_PBL))), WR_Pb_Helper_Type::get_apprearing_animations(), WR_Pb_Helper_Type::get_animation_speeds()));
 }
Exemplo n.º 16
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('Notab' => array(array('name' => __('Text', WR_PBL), 'id' => 'button_text', 'type' => 'text_field', 'std' => __(WR_Pb_Utils_Placeholder::add_placeholder('ButtonBar Item %s', 'index'), WR_PBL), 'role' => 'title'), array('name' => __('On Click', WR_PBL), 'id' => 'link_type', 'type' => 'select', 'class' => 'input-sm', 'std' => 'url', 'options' => WR_Pb_Helper_Type::get_link_types(), 'has_depend' => '1', 'tooltip' => __('Select link types: link to post, page, category...', WR_PBL)), array('name' => __('URL', WR_PBL), 'id' => 'button_type_url', 'type' => 'text_field', 'class' => 'input-sm', 'std' => 'http://', 'dependency' => array('link_type', '=', 'url')), array('name' => __('Single Item', WR_PBL), 'id' => 'single_item', 'type' => 'type_group', 'std' => '', 'items' => WR_Pb_Helper_Type::get_single_item_button_bar('link_type', array('type' => 'items_list', 'options_type' => 'select', 'class' => 'select2-select', 'ul_wrap' => false))), array('name' => __('Open in', WR_PBL), 'id' => 'open_in', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_open_in_options()), 'options' => WR_Pb_Helper_Type::get_open_in_options(), 'dependency' => array('link_type', '!=', 'no_link'), 'tooltip' => __('Select type of opening action when click on element', WR_PBL)), array('name' => __('Icon', WR_PBL), 'id' => 'icon', 'type' => 'icons', 'std' => '', 'role' => 'title_prepend', 'title_prepend_type' => 'icon'), array('name' => __('Size', WR_PBL), 'id' => 'button_size', 'type' => 'select', 'class' => 'input-sm', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_button_size()), 'options' => WR_Pb_Helper_Type::get_button_size(), 'has_depend' => '1'), array('name' => __('Custom dimensions', WR_PBL), 'id' => 'custom_dimensions', 'type' => array(array('id' => 'button_width', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'jsn-input-number input-mini', 'parent_class' => 'input-group-inline', 'std' => '', 'append_before' => '<i class="input-mini wr-label-prefix">' . __('Width', WR_PBL) . '</i>', 'append' => 'px', 'validate' => 'number'), array('id' => 'button_height', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'jsn-input-number input-mini', 'parent_class' => 'input-group-inline', 'std' => '', 'append_before' => '<i class="input-mini wr-label-prefix">' . __('Height', WR_PBL) . '</i>', 'append' => 'px', 'validate' => 'number')), 'container_class' => 'combo-group', 'dependency' => array('button_size', '=', 'custom')), array('name' => __('Color', WR_PBL), 'id' => 'button_color', 'type' => 'select', 'std' => WR_Pb_Helper_Type::get_first_option(WR_Pb_Helper_Type::get_button_color()), 'options' => WR_Pb_Helper_Type::get_button_color(), 'container_class' => 'color_select2', 'tooltip' => __('Select the color of the button', WR_PBL))));
 }