Ejemplo n.º 1
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' => __('Image File', IGPBL), 'id' => 'image_file', 'type' => 'select_media', 'std' => '', 'class' => 'jsn-input-large-fluid', 'tooltip' => __('Choose image', IGPBL)), array('name' => __('Image Size', IGPBL), 'id' => 'image_size', 'type' => 'large_image', 'tooltip' => __('Set image size', IGPBL)), array('name' => __('Alt Text', IGPBL), 'id' => 'image_alt', 'type' => 'text_field', 'class' => 'input-sm', 'std' => '', 'tooltip' => __('Set alt text for image', IGPBL)), array('name' => __('On Click', IGPBL), 'id' => 'link_type', 'type' => 'select', 'class' => 'input-sm', 'std' => IG_Pb_Helper_Type::get_first_option(IG_Pb_Helper_Type::get_image_link_types()), 'options' => IG_Pb_Helper_Type::get_image_link_types(), 'tooltip' => __('Set link type of image', IGPBL), 'has_depend' => '1'), array('name' => __('Large Image Size', IGPBL), 'id' => 'image_image_size', 'type' => 'large_image', 'tooltip' => __('Choose image size', IGPBL), 'dependency' => array('link_type', '=', 'large_image')), array('name' => __('URL', IGPBL), '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', IGPBL)), 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', 'ul_wrap' => false)), 'tooltip' => __('Choose item to link to', IGPBL)), array('name' => __('Open in', IGPBL), 'id' => '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(), 'dependency' => array('link_type', '!=', 'no_link'), 'tooltip' => __('Select type of opening action when click on element', IGPBL))), 'styling' => array(array('type' => 'preview'), array('name' => __('Container Style', IGPBL), 'id' => 'image_container_style', 'type' => 'select', 'class' => 'input-sm', 'std' => IG_Pb_Helper_Type::get_first_option(IG_Pb_Helper_Type::get_container_style()), 'options' => IG_Pb_Helper_Type::get_container_style(), 'tooltip' => __('Set Container Style', IGPBL)), array('name' => __('Alignment', IGPBL), 'id' => 'image_alignment', 'type' => 'select', 'class' => 'input-sm', 'std' => IG_Pb_Helper_Type::get_first_option(IG_Pb_Helper_Type::get_text_align()), 'options' => IG_Pb_Helper_Type::get_text_align(), 'tooltip' => __('Setting position: right, left, center, inherit parent style', IGPBL)), array('name' => __('Margin', IGPBL), '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' => '10'), 'image_margin_bottom' => array('std' => '10'), 'tooltip' => __('Set margin size', IGPBL)), array('name' => __('Fade in Animations', IGPBL), 'id' => 'image_effect', 'type' => 'radio', 'std' => 'no', 'options' => array('yes' => __('Yes', IGPBL), 'no' => __('No', IGPBL)), 'tooltip' => 'Whether to fading in or not')));
 }
Ejemplo n.º 2
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', IGPBL), 'action_type' => 'convert', 'action' => 'carousel_to_tab'), array('std' => __('Accordion', IGPBL), 'action_type' => 'convert', 'action' => 'carousel_to_accordion'), array('std' => __('List', IGPBL), 'action_type' => 'convert', 'action' => 'carousel_to_list')))), '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' => 'carousel_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' => __('Alignment', IGPBL), 'id' => 'align', 'type' => 'select', 'class' => 'input-sm', 'std' => 'center', 'options' => IG_Pb_Helper_Type::get_text_align(), 'tooltip' => __('Setting position: right, left, center, inherit parent style', IGPBL)), array('name' => __('Dimension', IGPBL), 'container_class' => 'combo-group dimension-inline', 'id' => 'dimension', 'type' => 'dimension', 'extended_ids' => array('dimension_width', 'dimension_height', 'dimension_width_unit'), 'dimension_width' => array('std' => ''), 'dimension_height' => array('std' => ''), 'dimension_width_unit' => array('options' => array('px' => 'px', '%' => '%'), 'std' => 'px'), 'tooltip' => __('Set width and height of element', IGPBL)), array('name' => __('Show Indicator', IGPBL), 'id' => 'show_indicator', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', IGPBL), 'no' => __('No', IGPBL)), 'tooltip' => __('Show/hide navigation buttons inside your carousel', IGPBL)), array('name' => __('Show Arrows', IGPBL), 'id' => 'show_arrows', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', IGPBL), 'no' => __('No', IGPBL)), 'tooltip' => __('Show/hide arrow buttons', IGPBL)), array('name' => __('Automatic Cycling', IGPBL), 'id' => 'automatic_cycling', 'type' => 'radio', 'std' => 'no', 'options' => array('yes' => __('Yes', IGPBL), 'no' => __('No', IGPBL)), 'has_depend' => '1', 'tooltip' => __('Whether to running your carousel automatically or not', IGPBL)), array('name' => __('Cycling Interval', IGPBL), 'type' => array(array('id' => 'cycling_interval', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '5', 'append' => 'second(s)', 'validate' => 'number')), 'dependency' => array('automatic_cycling', '=', 'yes'), 'tooltip' => __('Set interval for each cycling', IGPBL)), array('name' => __('Pause on mouse over', IGPBL), 'id' => 'pause_mouseover', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', IGPBL), 'no' => __('No', IGPBL)), 'dependency' => array('automatic_cycling', '=', 'yes'), 'tooltip' => __('Pause cycling on mouse over', IGPBL))));
 }
Ejemplo n.º 3
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' => __('Tag', IGPBL), 'id' => 'tag', 'type' => 'select', 'class' => 'input-sm', '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', IGPBL)), array('name' => __('Text', IGPBL), 'id' => 'text', 'type' => 'text_field', 'role' => 'content', 'class' => 'input-sm', 'std' => __('Your heading text', IGPBL), 'tooltip' => __('Insert your heading text', IGPBL))), 'styling' => array(array('type' => 'preview'), array('name' => __('Alignment', IGPBL), 'id' => 'text_align', 'type' => 'select', 'std' => IG_Pb_Helper_Type::get_first_option(IG_Pb_Helper_Type::get_text_align()), 'options' => IG_Pb_Helper_Type::get_text_align(), 'class' => 'input-sm', 'tooltip' => __('Setting position: right, left, center, inherit parent style', IGPBL)), array('name' => __('Font', IGPBL), 'id' => 'font', 'type' => 'select', 'std' => 'inherit', 'options' => array('inherit' => __('Inherit', IGPBL), 'custom' => __('Custom', IGPBL)), 'has_depend' => '1', 'class' => 'input-sm', 'tooltip' => __('Select font type', IGPBL)), array('name' => __('Font Face', IGPBL), 'id' => 'font_family', 'type' => array(array('id' => 'font_face_type', 'type' => 'jsn_select_font_type', 'class' => 'input-sm', 'std' => 'standard fonts', 'options' => IG_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', 'tooltip' => __('Select font', IGPBL)), array('name' => __('Font Attributes', IGPBL), 'type' => array(array('id' => 'font_size_value_', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '', 'append' => 'px', 'validate' => 'number', 'parent_class' => 'combo-item input-append-inline'), array('id' => 'font_style', 'type' => 'select', 'class' => 'input-sm ig-mini-input', 'std' => 'bold', 'options' => IG_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', 'tooltip' => __('Set font style', IGPBL)), array('name' => __('Bottom Border', IGPBL), '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 ig-mini-input', 'std' => 'solid', 'options' => IG_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', 'tooltip' => __('Set bottom border style', IGPBL)), array('name' => __('Bottom Padding', IGPBL), 'type' => array(array('id' => 'padding_bottom_value_', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '', 'append' => 'px', 'validate' => 'number')), 'tooltip' => __('Set bottom padding style', IGPBL))));
 }
Ejemplo n.º 4
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' => __('Banner', 'plumtree'), 'role' => 'title', 'tooltip' => __('Set title for current element for identifying easily', 'plumtree')), array('name' => __('Image File', 'plumtree'), 'id' => 'image_file', 'type' => 'select_media', 'std' => '', 'class' => 'jsn-input-large-fluid', 'tooltip' => __('Choose image', 'plumtree')), array('name' => __('Image Size', IGPBL), 'id' => 'image_size', 'type' => 'large_image', 'tooltip' => __('Set image size', IGPBL)), array('name' => __('Alt Text', 'plumtree'), 'id' => 'image_alt', 'type' => 'text_field', 'class' => 'jsn-input-xxlarge-fluid', 'std' => '', 'tooltip' => __('Set alt text for image', 'plumtree')), array('name' => __('Image Type', 'plumtree'), 'id' => 'image_type', 'type' => 'select', 'std' => 'normal', 'options' => array('normal' => 'Regular Image', 'banner' => 'Banner Image', 'banner_wel' => 'Welcome Banner'), 'tooltip' => __('Set alt text for image', 'plumtree'), 'has_depend' => '1'), array('name' => __('Banner Image Text', 'plumtree'), 'id' => 'banner_text', 'type' => 'text_field', 'class' => 'jsn-input-xxlarge-fluid', 'std' => '', 'tooltip' => __('Set banner text for image', 'plumtree'), 'dependency' => array('image_type', '=', 'banner')), array('name' => __('Welcome Text', 'plumtree'), 'desc' => __('Enter some content for the welcome block', 'plumtree'), 'id' => 'welcome_text', 'type' => 'editor', 'mce' => true, 'std' => '', 'rows' => 15, 'tooltip' => __('Set content of element', 'plumtree'), 'dependency' => array('image_type', '=', 'banner_wel')), array('name' => __('Link Type', 'plumtree'), 'id' => 'link_type', 'type' => 'select', 'std' => IG_Pb_Helper_Type::get_first_option(IG_Pb_Helper_Type::get_image_link_types()), 'options' => IG_Pb_Helper_Type::get_image_link_types(), 'tooltip' => __('Set link type of image', 'plumtree'), 'has_depend' => '1'), array('name' => __('Large Image Size', 'plumtree'), 'id' => 'image_image_size', 'type' => 'large_image', 'tooltip' => __('Choose image size', 'plumtree'), 'dependency' => array('link_type', '=', 'large_image')), array('name' => __('URL', 'plumtree'), 'id' => 'image_type_url', 'type' => 'text_field', 'class' => 'jsn-input-xxlarge-fluid', 'std' => 'http://', 'dependency' => array('link_type', '=', 'url'), 'tooltip' => __('Url of link when click on image', 'plumtree')), array('name' => __('Open in', 'plumtree'), 'id' => '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(), 'dependency' => array('link_type', '!=', 'no_link'), 'tooltip' => __('Select type of opening action when click on element', 'plumtree'))), 'styling' => array(array('name' => __('Container Style', 'plumtree'), 'id' => 'image_container_style', 'type' => 'select', 'std' => IG_Pb_Helper_Type::get_first_option(IG_Pb_Helper_Type::get_container_style()), 'options' => IG_Pb_Helper_Type::get_container_style(), 'tooltip' => __('Set Container Style', 'plumtree')), array('name' => __('Alignment', 'plumtree'), 'id' => 'image_alignment', 'type' => 'select', 'std' => IG_Pb_Helper_Type::get_first_option(IG_Pb_Helper_Type::get_text_align()), 'options' => IG_Pb_Helper_Type::get_text_align(), 'tooltip' => __('Setting position: right, left, center, inherit parent style', 'plumtree')), array('name' => __('Margin', 'plumtree'), 'container_class' => 'combo-group', 'id' => 'image_margin', 'type' => 'margin', 'extended_ids' => array('image_margin_top', 'image_margin_right', 'image_margin_bottom', 'image_margin_left'), 'tooltip' => __('Set margin size', 'plumtree')), array('name' => __('Fade in Animations', 'plumtree'), 'id' => 'image_effect', 'type' => 'radio', 'std' => 'no', 'options' => array('yes' => __('Yes', 'plumtree'), 'no' => __('No', 'plumtree')), 'tooltip' => 'Whether to fading in or not')));
 }
Ejemplo n.º 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' => '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', IGPBL), 'id' => 'buttonbar_alignment', 'type' => 'select', 'class' => 'input-sm', 'std' => IG_Pb_Helper_Type::get_first_option(IG_Pb_Helper_Type::get_text_align()), 'options' => IG_Pb_Helper_Type::get_text_align(), 'tooltip' => __('Setting position: right, left, center, inherit parent style', IGPBL)), array('name' => __('Show Title', IGPBL), 'id' => 'buttonbar_show_title', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', IGPBL), 'no' => __('No', IGPBL)), 'tooltip' => __('Show/ hide the title of buttons', IGPBL)), array('name' => __('Show Icon', IGPBL), 'id' => 'buttonbar_show_icon', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', IGPBL), 'no' => __('No', IGPBL)), 'tooltip' => __('Show/ hide the icon of buttons', IGPBL)), array('name' => __('Group Buttons', IGPBL), 'id' => 'buttonbar_group', 'type' => 'radio', 'std' => 'no', 'options' => array('yes' => __('Yes', IGPBL), 'no' => __('No', IGPBL)), 'tooltip' => __('Arrange button bars into a group in a single row', IGPBL))));
 }
Ejemplo n.º 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' => __('Data', IGPBL), 'id' => 'qr_content', 'type' => 'text_area', 'class' => 'input-sm', 'std' => 'http://www.innogears.com', 'tooltip' => __('Add the data for the Qr box', IGPBL), 'exclude_quote' => '1'), array('name' => __('Image ALT Text', IGPBL), 'id' => 'qr_alt', 'type' => 'text_field', 'class' => 'input-sm', 'std' => __('Wordpress themes from www.innogears.com', IGPBL), 'tooltip' => __('Image ALT Text', IGPBL))), 'styling' => array(array('type' => 'preview'), array('name' => __('Container Style', IGPBL), 'id' => 'qr_container_style', 'type' => 'select', 'class' => 'input-sm', 'std' => IG_Pb_Helper_Type::get_first_option(IG_Pb_Helper_Type::get_qr_container_style()), 'options' => IG_Pb_Helper_Type::get_qr_container_style(), 'tooltip' => __('Select Container Style', IGPBL)), array('name' => __('Alignment', IGPBL), 'id' => 'qr_alignment', 'type' => 'select', 'class' => 'input-sm', 'std' => IG_Pb_Helper_Type::get_first_option(IG_Pb_Helper_Type::get_text_align()), 'options' => IG_Pb_Helper_Type::get_text_align(), 'tooltip' => __('Setting position: right, left, center, inherit parent style', IGPBL)), array('name' => __('QR Code Sizes', IGPBL), 'id' => 'qrcode_sizes', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '150', 'append' => 'px', 'validate' => 'number', 'tooltip' => __('Set size of QR code', IGPBL))));
 }
Ejemplo n.º 7
0
 /**
  * DEFINE setting options of shortcode
  */
 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' => __('Carousel', 'plumtree'), 'role' => 'title', 'tooltip' => __('Set title for current element for identifying easily', 'plumtree')), array('id' => 'carousel_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' => __('Alignment', 'plumtree'), 'id' => 'align', 'type' => 'select', 'std' => 'center', 'options' => IG_Pb_Helper_Type::get_text_align(), 'tooltip' => __('Setting position: right, left, center, inherit parent style', 'plumtree')), array('name' => __('Dimension', 'plumtree'), 'container_class' => 'combo-group', 'id' => 'dimension', 'type' => 'dimension', 'extended_ids' => array('dimension_width', 'dimension_height', 'dimension_width_unit'), 'dimension_width' => array('std' => ''), 'dimension_height' => array('std' => ''), 'dimension_width_unit' => array('options' => array('px' => 'px', '%' => '%'), 'std' => 'px'), 'tooltip' => __('Set width and height of element', 'plumtree')), array('name' => __('Autoplay', 'plumtree'), 'id' => 'autoplay', 'type' => 'radio', 'std' => 'false', 'options' => array('true' => __('Yes', 'plumtree'), 'false' => __('No', 'plumtree')), 'has_depend' => '1', 'tooltip' => __('Whether to running your carousel automatically or not', 'plumtree')), array('name' => __(' Type', 'plumtree'), 'id' => 'car_mode', 'type' => 'select', 'std' => 'block', 'options' => array('block' => 'Block', 'inline' => 'Inline'), 'tooltip' => __('Set the carousel mode', 'plumtree'))));
 }