예제 #1
0
파일: row.php 프로젝트: WaitButWhy/www
 /**
  * contain setting items of this element ( use for modal box )
  *
  */
 function element_items()
 {
     $this->items = array('Notab' => array(array('name' => __('Width', IGPBL), 'id' => 'width', 'type' => 'radio', 'std' => 'boxed', 'options' => array('boxed' => __('Boxed', IGPBL), 'full' => __('Full', IGPBL))), array('name' => __('Background', IGPBL), 'id' => 'background', 'type' => 'select', 'std' => 'none', 'class' => 'input-sm', 'options' => array('none' => __('None', IGPBL), 'solid' => __('Solid Color', IGPBL), 'gradient' => __('Gradient Color', IGPBL), 'pattern' => __('Pattern', IGPBL), 'image' => __('Image', IGPBL)), 'has_depend' => '1'), array('name' => __('Solid Color', IGPBL), 'type' => array(array('id' => 'solid_color_value', 'type' => 'text_field', 'class' => 'input-small', 'std' => '#FFFFFF', 'parent_class' => 'combo-item'), array('id' => 'solid_color_color', 'type' => 'color_picker', 'std' => '#ffffff', 'parent_class' => 'combo-item')), 'container_class' => 'combo-group', 'dependency' => array('background', '=', 'solid')), array('name' => __('Gradient Color', IGPBL), 'id' => 'gradient_color', 'type' => 'gradient_picker', 'std' => '0% #FFFFFF,100% #000000', 'dependency' => array('background', '=', 'gradient')), array('id' => 'gradient_color_css', 'type' => 'text_field', 'std' => '', 'input_type' => 'hidden', 'container_class' => 'hidden', 'dependency' => array('background', '=', 'gradient')), array('name' => __('Gradient Direction', IGPBL), 'id' => 'gradient_direction', 'type' => 'select', 'std' => 'vertical', 'options' => array('vertical' => __('Vertical', IGPBL), 'horizontal' => __('Horizontal', IGPBL)), 'dependency' => array('background', '=', 'gradient')), array('name' => __('Pattern', IGPBL), 'id' => 'pattern', 'type' => 'select_media', 'std' => '', 'class' => 'jsn-input-large-fluid', 'dependency' => array('background', '=', 'pattern')), array('name' => __('Repeat', IGPBL), 'id' => 'repeat', 'type' => 'radio_button_group', 'std' => 'full', 'options' => array('full' => __('Full', IGPBL), 'vertical' => __('Vertical', IGPBL), 'horizontal' => __('Horizontal', IGPBL)), 'dependency' => array('background', '=', 'pattern')), array('name' => __('Image', IGPBL), 'id' => 'image', 'type' => 'select_media', 'std' => '', 'class' => 'jsn-input-large-fluid', 'dependency' => array('background', '=', 'image')), array('name' => __('Stretch', IGPBL), 'id' => 'stretch', 'type' => 'radio_button_group', 'std' => 'none', 'options' => array('none' => __('None', IGPBL), 'full' => __('Full', IGPBL), 'cover' => __('Cover', IGPBL), 'contain' => __('Contain', IGPBL)), 'dependency' => array('background', '=', 'pattern')), array('name' => __('Position', IGPBL), 'id' => 'position', 'type' => 'radio', 'label_type' => 'image', 'dimension' => array(23, 23), 'std' => 'center center', 'options' => array('left top' => array('left top'), 'center top' => array('center top'), 'right top' => array('right top', 'linebreak' => true), 'left center' => array('left center'), 'center center' => array('center center'), 'right center' => array('right center', 'linebreak' => true), 'left bottom' => array('left bottom'), 'center bottom' => array('center bottom'), 'right bottom' => array('right bottom')), 'dependency' => array('background', '=', 'image')), array('name' => __('Enable Paralax', IGPBL), 'id' => 'paralax', 'type' => 'radio', 'std' => 'no', 'options' => array('yes' => __('Yes', IGPBL), 'no' => __('No', IGPBL)), 'dependency' => array('background', '=', 'pattern__#__image')), array('name' => __('Border', IGPBL), 'type' => array(array('id' => 'border_width_value_', 'type' => 'text_append', 'input_type' => 'number', 'class' => 'input-mini', 'std' => '0', 'append' => 'px', 'validate' => 'number', 'parent_class' => 'combo-item'), array('id' => 'border_style', 'type' => 'select', 'class' => 'input-sm', 'std' => 'solid', 'options' => IG_Pb_Helper_Type::get_border_styles(), 'parent_class' => 'combo-item'), array('id' => 'border_color', 'type' => 'color_picker', 'std' => '#000', 'parent_class' => 'combo-item')), 'container_class' => 'combo-group'), array('name' => __('Padding', IGPBL), 'container_class' => 'combo-group', 'id' => 'div_padding', 'type' => 'margin', 'extended_ids' => array('div_padding_top', 'div_padding_bottom', 'div_padding_right', 'div_padding_left'), 'div_padding_top' => array('std' => '10'), 'div_padding_bottom' => array('std' => '10'), 'div_padding_right' => array('std' => '10'), 'div_padding_left' => array('std' => '10')), array('name' => __('CSS Class', IGPBL), 'id' => 'css_suffix', 'type' => 'text_field', 'std' => __('', IGPBL), 'tooltip' => __('Add custom css class for the wrapper div of this element', IGPBL)), array('name' => __('ID', IGPBL), 'id' => 'id_wrapper', 'type' => 'text_field', 'std' => __('', IGPBL), 'tooltip' => __('Add custom id for the wrapper div of this element', IGPBL))));
 }
예제 #2
0
파일: heading.php 프로젝트: WaitButWhy/www
 /**
  * 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))));
 }
예제 #3
0
파일: divider.php 프로젝트: WaitButWhy/www
 /**
  * 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', 'std' => __('', IGPBL), 'role' => 'title', 'tooltip' => __('Set title for current element for identifying easily', IGPBL))), 'styling' => array(array('type' => 'preview'), array('name' => __('Border', IGPBL), 'type' => array(array('id' => 'div_border_width', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '2', 'append' => 'px', 'validate' => 'number', 'parent_class' => 'combo-item input-append-inline'), array('id' => 'div_border_style', 'type' => 'select', 'class' => 'input-sm', 'std' => 'solid', 'options' => IG_Pb_Helper_Type::get_border_styles(), 'parent_class' => 'combo-item'), array('id' => 'div_border_color', 'type' => 'color_picker', 'std' => '#E0DEDE', 'parent_class' => 'combo-item')), 'tooltip' => __('Set border style', IGPBL), 'container_class' => 'combo-group')));
 }