Example #1
0
 /**
  * DEFINE setting options of shortcode
  */
 public function element_items()
 {
     $this->items = array('Notab' => array(array('name' => __('Heading', IGPBL), 'id' => 'heading', 'type' => 'text_field', 'class' => 'input-sm', 'role' => 'title', 'std' => __(IG_Pb_Utils_Placeholder::add_placeholder('Accordion Item %s', 'index'), IGPBL), 'tooltip' => __('Set heading text of item', IGPBL)), array('name' => __('Body', IGPBL), 'id' => 'body', 'role' => 'content', 'type' => 'editor', 'std' => IG_Pb_Helper_Type::lorem_text(), 'tooltip' => __('Set content of element', IGPBL)), array('name' => __('Icon', IGPBL), 'id' => 'icon', 'type' => 'icons', 'std' => '', 'role' => 'title_prepend', 'title_prepend_type' => 'icon', 'tooltip' => __('Select an icon', IGPBL)), array('name' => __('Tag', IGPBL), 'id' => 'tag', 'type' => 'tag', 'std' => '', 'tooltip' => __('Organize your content and group items by tags', IGPBL))));
 }
Example #2
0
 /**
  * DEFINE setting options of shortcode
  */
 public function element_items()
 {
     $this->items = array('Notab' => array(array('name' => __('Heading', 'plumtree'), 'id' => 'heading', 'type' => 'text_field', 'class' => 'jsn-input-xxlarge-fluid', 'role' => 'title', 'std' => __(IG_Pb_Utils_Placeholder::add_placeholder('Testimonials Item %s', 'index'), 'plumtree'), 'tooltip' => __('Set the text of your heading items', 'plumtree')), array('name' => __('Image File', 'plumtree'), 'id' => 'image_file', 'type' => 'select_media', 'std' => '', 'class' => 'jsn-input-large-fluid', 'tooltip' => __('Select background image for item', 'plumtree')), array('name' => __('Body', 'plumtree'), 'id' => 'body', 'role' => 'content', 'type' => 'editor', 'std' => IG_Pb_Helper_Type::lorem_text(), 'tooltip' => __('Set content of element', 'plumtree')), array('name' => __('Signature', 'plumtree'), 'id' => 'sign', 'type' => 'text_field', 'class' => 'jsn-input-xxlarge-fluid', 'role' => 'title', 'std' => '', 'tooltip' => __('Set the text items', 'plumtree'))));
 }
Example #3
0
 /**
  * DEFINE setting options of shortcode
  */
 public function element_items()
 {
     $this->items = array('Notab' => array(array('name' => __('Heading', 'plumtree'), 'id' => 'heading', 'type' => 'text_field', 'class' => 'jsn-input-xxlarge-fluid', 'role' => 'title', 'std' => __(IG_Pb_Utils_Placeholder::add_placeholder('Carousel Item %s', 'index'), 'plumtree'), 'tooltip' => __('Set the text of your heading items', 'plumtree')), array('name' => __('Body', 'plumtree'), 'id' => 'body', 'role' => 'content', 'type' => 'editor', 'std' => IG_Pb_Helper_Type::lorem_text(), 'tooltip' => __('Set content of element', 'plumtree')), array('name' => __('Icon', 'plumtree'), 'id' => 'icon', 'type' => 'icons', 'std' => '', 'role' => 'title_prepend', 'title_prepend_type' => 'icon', 'tooltip' => __('Select an icon', 'plumtree'))));
 }
Example #4
0
 /**
  * setting option of element on modal box
  */
 function element_items()
 {
     $this->items = array('content' => array(array('name' => __('Element Title', 'plumtree'), 'id' => 'el_title', 'type' => 'text_field', 'class' => 'jsn-input-xxlarge-fluid', 'std' => __('No Markup Text', 'plumtree'), 'role' => 'title', 'tooltip' => __('Set title for current element for identifying easily', 'plumtree')), array('name' => __('Image Type', 'plumtree'), 'id' => 'text_type', 'type' => 'select', 'std' => 'normal', 'options' => array('normal' => 'Regular Text', 'welc' => 'Welcome Text', 'qout' => 'Qoute'), 'tooltip' => __('Set alt text for image', 'plumtree')), array('name' => __('Text Content', 'plumtree'), 'desc' => __('Enter some content for this textblock', 'plumtree'), 'id' => 'text', 'type' => 'editor', 'role' => 'content', 'mce' => false, 'std' => IG_Pb_Helper_Type::lorem_text(), 'rows' => 15, 'tooltip' => __('Set content of element', 'plumtree'))), 'styling' => array(array('type' => 'preview'), array('name' => __('Enable Dropcap', 'plumtree'), 'id' => 'enable_dropcap', 'type' => 'radio', 'std' => 'no', 'options' => array('yes' => __('Yes', 'plumtree'), 'no' => __('No', 'plumtree')), 'tooltip' => __('Enable Dropcap', 'plumtree'), 'has_depend' => '1'), array('name' => __('Font Face', 'plumtree'), 'id' => 'dropcap_font_family', 'type' => array(array('id' => 'dropcap_font_face_type', 'type' => 'jsn_select_font_type', 'class' => 'input-medium', 'std' => 'standard fonts', 'options' => IG_Pb_Helper_Type::get_fonts(), 'parent_class' => 'combo-item'), array('id' => 'dropcap_font_face_value', 'type' => 'jsn_select_font_value', 'class' => 'input-medium', 'std' => 'Verdana', 'options' => '', 'parent_class' => 'combo-item')), 'dependency' => array('enable_dropcap', '=', 'yes'), 'tooltip' => __('Set Font Face', 'plumtree'), 'container_class' => 'combo-group'), array('name' => __('Font Attributes', 'plumtree'), 'type' => array(array('id' => 'dropcap_font_size', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '64', 'append' => 'px', 'validate' => 'number', 'parent_class' => 'combo-item'), array('id' => 'dropcap_font_style', 'type' => 'select', 'class' => 'input-medium', 'std' => 'bold', 'options' => IG_Pb_Helper_Type::get_font_styles(), 'parent_class' => 'combo-item'), array('id' => 'dropcap_font_color', 'type' => 'color_picker', 'std' => '#000000', 'parent_class' => 'combo-item')), 'dependency' => array('enable_dropcap', '=', 'yes'), 'tooltip' => __('Set Font Attribute', 'plumtree'), 'container_class' => 'combo-group')));
 }
Example #5
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('content' => array(array('name' => __('Element Title', IGPBL), 'id' => 'el_title', 'type' => 'text_field', 'class' => 'input-sm', 'std' => __('', IGPBL), 'role' => 'title', 'tooltip' => __('Set title for current element for identifying easily', IGPBL)), array('id' => 'pb_title', 'name' => __('Promotion Title', IGPBL), 'type' => 'text_field', 'class' => 'input-sm', 'std' => __('Promotion Box Title', IGPBL), 'tooltip' => __('Set the promotion title', IGPBL)), array('id' => 'pb_content', 'role' => 'content', 'name' => __('Promotion Content', IGPBL), 'type' => 'editor', 'rows' => '12', 'std' => IG_Pb_Helper_Type::lorem_text(), 'tooltip' => __('Set Promotion Content', IGPBL)), array('name' => __('Button Title', IGPBL), 'id' => 'pb_button_title', 'type' => 'text_field', 'class' => 'input-sm', 'std' => 'Button Title', 'tooltip' => __('Set Button Title', IGPBL)), array('name' => __('Button Link', IGPBL), 'id' => 'link_type', 'type' => 'select', 'class' => 'input-sm', 'std' => 'url', 'options' => IG_Pb_Helper_Type::get_link_types(), 'tooltip' => __('Set the link to access', IGPBL), 'has_depend' => '1'), array('name' => __('URL', IGPBL), 'id' => 'pb_button_url', 'type' => 'text_field', 'class' => 'input-sm', 'std' => 'http://', 'tooltip' => __('URL of button link', IGPBL), 'dependency' => array('link_type', '=', 'url')), array('name' => __('Single Item', IGPBL), 'id' => 'single_item', 'type' => 'type_group', 'std' => '', 'items' => IG_Pb_Helper_Type::get_single_item_button_bar('link_type', array('type' => 'items_list', 'options_type' => 'select', 'class' => 'select2-select', 'ul_wrap' => false)), 'tooltip' => __('Choose item to link to', IGPBL)), array('name' => __('Open in', IGPBL), 'id' => 'pb_button_open_in', 'type' => 'select', 'class' => 'input-sm', 'std' => IG_Pb_Helper_Type::get_first_option(IG_Pb_Helper_Type::get_open_in_options()), 'options' => IG_Pb_Helper_Type::get_open_in_options(), 'tooltip' => __('Open in', IGPBL), 'dependency' => array('link_type', '!=', 'no_link'))), 'styling' => array(array('type' => 'preview'), array('name' => __('Background Color', IGPBL), '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')), 'tooltip' => __('Choose the background color', IGPBL), 'container_class' => 'combo-group'), array('name' => __('Border', IGPBL), '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'), 'tooltip' => __('Set the width of the border', IGPBL)), array('name' => __('Border Color', IGPBL), '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')), 'tooltip' => __('Set the color of the border', IGPBL), 'container_class' => 'combo-group'), array('name' => __('Show Shadow', IGPBL), 'id' => 'pb_show_drop', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', IGPBL), 'no' => __('No', IGPBL)), 'tooltip' => __('Show/hide the shadow of the promotion box', IGPBL)), array('name' => __('Elements', IGPBL), 'id' => 'elements', 'type' => 'items_list', 'std' => 'title__#__content__#__button', 'options' => array('title' => __('Title', IGPBL), 'content' => __('Content', IGPBL), 'button' => __('Button', IGPBL)), 'options_type' => 'checkbox', 'popover_items' => array('title', 'button'), 'tooltip' => __('Select elements which you want to display in the promotion box', IGPBL), 'style' => array('height' => '200px'), 'container_class' => 'unsortable'), array('name' => __('Font', IGPBL), 'id' => 'title_font', 'type' => 'select', 'std' => 'inherit', 'options' => array('inherit' => __('Inherit', IGPBL), 'custom' => __('Custom', IGPBL)), 'has_depend' => '1', 'class' => 'input-medium', 'tooltip' => __('Select Font Type', IGPBL), 'container_class' => 'hidden', 'data_wrap_related' => 'title'), array('name' => __('Font Face', IGPBL), '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' => IG_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', IGPBL), 'container_class' => 'combo-group hidden', 'data_wrap_related' => 'title'), array('name' => __('Font Attributes', IGPBL), '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 ig-mini-input input-sm', 'std' => 'bold', 'options' => IG_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', IGPBL), 'container_class' => 'combo-group hidden', 'data_wrap_related' => 'title'), array('name' => __('Bottom Padding', IGPBL), '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', IGPBL), 'container_class' => 'hidden', 'data_wrap_related' => 'title'), array('name' => __('Bottom Margin', IGPBL), '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', IGPBL), 'container_class' => 'hidden', 'data_wrap_related' => 'title'), array('name' => __('Size', IGPBL), 'id' => 'pb_button_size', 'type' => 'select', 'std' => IG_Pb_Helper_Type::get_first_option(IG_Pb_Helper_Type::get_button_size()), 'options' => IG_Pb_Helper_Type::get_button_size(), 'tooltip' => __('Set Button Size', IGPBL), 'container_class' => 'hidden', 'data_wrap_related' => 'button'), array('name' => __('Button Color', IGPBL), 'id' => 'pb_button_color', 'type' => 'select', 'std' => IG_Pb_Helper_Type::get_first_option(IG_Pb_Helper_Type::get_button_color()), 'options' => IG_Pb_Helper_Type::get_button_color(), 'tooltip' => __('Set Button Color', IGPBL), 'container_class' => 'hidden color_select2', 'data_wrap_related' => 'button')));
 }
Example #6
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('content' => array(array('name' => __('Element Title', IGPBL), 'id' => 'el_title', 'type' => 'text_field', 'class' => 'input-sm', 'std' => __('', IGPBL), 'role' => 'title', 'tooltip' => __('Set title for current element for identifying easily', IGPBL)), array('name' => __('Alert Content', IGPBL), 'id' => 'alert_content', 'type' => 'editor', 'role' => 'content', 'rows' => '12', 'std' => IG_Pb_Helper_Type::lorem_text(), 'tooltip' => __('Set content of elementm', IGPBL))), 'styling' => array(array('type' => 'preview'), array('name' => __('Style', IGPBL), 'id' => 'alert_style', 'type' => 'select', 'class' => 'input-sm', 'std' => IG_Pb_Helper_Type::get_first_option(IG_Pb_Helper_Type::get_alert_type()), 'options' => IG_Pb_Helper_Type::get_alert_type(), 'tooltip' => __('Set style for item', IGPBL)), array('name' => __('Allow to close', IGPBL), 'id' => 'alert_close', 'type' => 'radio', 'std' => 'no', 'options' => array('yes' => __('Yes', IGPBL), 'no' => __('No', IGPBL)), 'tooltip' => __('Whether the customers can close the alert or not', IGPBL))));
 }
Example #7
0
 public function element_items()
 {
     $this->items = array('content' => array(array('name' => __('Element Title', 'plumtree'), 'id' => 'el_title', 'type' => 'text_field', 'class' => 'jsn-input-xxlarge-fluid', 'std' => __('Pricing', 'plumtree'), 'role' => 'title', 'tooltip' => __('Set title for current element for identifying easily', 'plumtree')), array('id' => 'pb_title', 'name' => __('Pricing Title', 'plumtree'), 'type' => 'text_field', 'class' => 'jsn-input-xxlarge-fluid', 'std' => __('Title', 'plumtree'), 'tooltip' => __('Set the title', 'plumtree')), array('name' => __('Pricing Table Type', 'plumtree'), 'id' => 'box_type', 'type' => 'select', 'std' => 'regular', 'options' => array('regular' => 'Regular', 'hero' => 'Hero'), 'tooltip' => __('Set the box type', 'plumtree')), array('id' => 'pb_price', 'name' => __('Price', 'plumtree'), 'type' => 'text_field', 'class' => 'jsn-input-small-fluid', 'std' => __('Price', 'plumtree'), 'tooltip' => __('Set the price', 'plumtree')), array('id' => 'pb_currency', 'name' => __('Currency Sign', 'plumtree'), 'type' => 'text_field', 'class' => 'jsn-input-small-fluid', 'std' => __('Currency Sign', 'plumtree'), 'tooltip' => __('Set the currency sign', 'plumtree')), array('id' => 'pb_info', 'name' => __('Pricing Info', 'plumtree'), 'type' => 'text_field', 'class' => 'jsn-input-medium-fluid', 'std' => __('Pricing Table Info', 'plumtree'), 'tooltip' => __('Set the pricing table info', 'plumtree')), array('id' => 'pb_content', 'role' => 'content', 'name' => __('Content', 'plumtree'), 'type' => 'editor', 'rows' => '12', 'std' => IG_Pb_Helper_Type::lorem_text(), 'tooltip' => __('Set Content', 'plumtree')), array('name' => __('Button Title', 'plumtree'), 'id' => 'pb_button_title', 'type' => 'text_field', 'class' => 'jsn-input-xxlarge-fluid', 'std' => 'Button Title', 'tooltip' => __('Set Button Title', 'plumtree')), array('name' => __('Button Link', 'plumtree'), 'id' => 'link_type', 'type' => 'select', 'std' => 'url', 'tooltip' => __('Set the link to access', 'plumtree'), 'has_depend' => '1'), array('name' => __('URL', 'plumtree'), 'id' => 'pb_button_url', 'type' => 'text_field', 'class' => 'jsn-input-xxlarge-fluid', 'std' => 'http://', 'tooltip' => __('URL of button link', 'plumtree'), 'dependency' => array('link_type', '=', 'url')), array('name' => __('Open in', 'plumtree'), 'id' => 'pb_button_open_in', 'type' => 'select', 'std' => IG_Pb_Helper_Type::get_first_option(IG_Pb_Helper_Type::get_open_in_options()), 'options' => IG_Pb_Helper_Type::get_open_in_options(), 'tooltip' => __('Open in', 'plumtree'), 'dependency' => array('link_type', '!=', 'no_link'))), 'styling' => array(array('name' => __('Elements', 'plumtree'), 'id' => 'elements', 'type' => 'items_list', 'std' => 'title__#__content__#__button', 'options' => array('title' => __('Title', 'plumtree'), 'content' => __('Content', 'plumtree'), 'button' => __('Button', 'plumtree')), 'options_type' => 'checkbox', 'popover_items' => array('title', 'button'), 'tooltip' => __('Select elements which you want to display in the promotion box', 'plumtree'), 'style' => array('height' => '200px'), 'container_class' => 'unsortable')));
 }