Exemplo n.º 1
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('generalaction' => array('settings' => array('id' => 'general_action', 'class' => 'general-action no-label pull-left'), array('id' => 'video_sources', 'type' => 'select', 'has_depend' => '1', 'std' => 'local', 'options' => array('local' => __('Local file', WR_PBL), 'youtube' => __('Youtube', WR_PBL), 'vimeo' => __('Vimeo', WR_PBL)), 'exclude_class' => array('form-control'))), 'content' => array(array('id' => 'video_source_local', 'name' => __('Video File', WR_PBL), 'type' => 'select_media', 'filter_type' => 'video', 'media_type' => 'video', 'class' => 'jsn-input-large-fluid', 'dependency' => array('video_sources', '=', 'local')), array('id' => 'video_source_link_youtube', 'name' => __('Video Link', WR_PBL), 'type' => 'text_append', 'type_input' => 'text', 'dependency' => array('video_sources', '=', 'youtube'), 'class' => 'span6 input-sm', 'specific_class' => 'input-group col-xs-12'), array('id' => 'video_source_link_vimeo', 'name' => __('Video Link', WR_PBL), 'type' => 'text_append', 'type_input' => 'text', 'dependency' => array('video_sources', '=', 'vimeo'), 'class' => 'span6 input-sm', 'specific_class' => 'input-group col-xs-12')), 'styling' => array(array('type' => 'preview'), array('name' => __('Dimension', WR_PBL), 'container_class' => 'combo-group', 'dependency' => array('video_sources', '=', 'local'), 'id' => 'video_local_dimension', 'type' => 'dimension', 'extended_ids' => array('video_local_dimension_width', 'video_local_dimension_height'), 'video_local_dimension_width' => array('std' => '500'), 'video_local_dimension_height' => array('std' => '270'), 'tooltip' => __('Set width and height of element', WR_PBL)), array('name' => __('Elements', WR_PBL), 'id' => 'video_local_elements', 'type' => 'checkbox', 'class' => 'jsn-column-item checkbox', 'container_class' => 'jsn-columns-container jsn-columns-count-two', 'dependency' => array('video_sources', '=', 'local'), 'std' => 'play_button__#__overlay_play_button__#__current_time__#__time_rail__#__track_duration__#__volume_button__#__volume_slider__#__fullscreen_button', 'options' => array('play_button' => __('Play/Pause Button', WR_PBL), 'overlay_play_button' => __('Overlay Play Button', WR_PBL), 'current_time' => __('Current Time', WR_PBL), 'time_rail' => __('Time Rail', WR_PBL), 'track_duration' => __('Track Duration', WR_PBL), 'volume_button' => __('Volume Button', WR_PBL), 'volume_slider' => __('Volume Slider', WR_PBL), 'fullscreen_button' => __('Fullscreen Button', WR_PBL)), 'tooltip' => __('Elements to display on video player', WR_PBL)), array('name' => __('Start volume', WR_PBL), 'id' => 'video_local_start_volume', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'jsn-input-number input-mini', 'parent_class' => 'combo-item', 'std' => '80', 'append' => '%', 'dependency' => array('video_sources', '=', 'local'), 'validate' => 'number'), array('name' => __('Loop', WR_PBL), 'id' => 'video_local_loop', 'type' => 'radio', 'std' => 'false', 'dependency' => array('video_sources', '=', 'local'), 'options' => array('true' => __('Yes', WR_PBL), 'false' => __('No', WR_PBL)), 'tooltip' => __('Whether to repeat playing or not', WR_PBL)), array('name' => __('Dimension', WR_PBL), 'container_class' => 'combo-group', 'dependency' => array('video_sources', '=', 'youtube'), 'id' => 'video_youtube_dimension', 'type' => 'dimension', 'extended_ids' => array('video_youtube_dimension_width', 'video_youtube_dimension_height'), 'video_youtube_dimension_width' => array('std' => '500'), 'video_youtube_dimension_height' => array('std' => '270'), 'tooltip' => __('Set width and height of element', WR_PBL)), array('name' => __('Show List', WR_PBL), 'id' => 'video_youtube_show_list', 'type' => 'radio', 'std' => '0', 'dependency' => array('video_sources', '=', 'youtube'), 'options' => array('1' => __('Yes', WR_PBL), '0' => __('No', WR_PBL))), array('name' => __('Auto Play', WR_PBL), 'id' => 'video_youtube_autoplay', 'type' => 'radio', 'std' => '0', 'dependency' => array('video_sources', '=', 'youtube'), 'options' => array('1' => __('Yes', WR_PBL), '0' => __('No', WR_PBL))), array('name' => __('Loop', WR_PBL), 'id' => 'video_youtube_loop', 'type' => 'radio', 'std' => '0', 'dependency' => array('video_sources', '=', 'youtube'), 'options' => array('1' => __('Yes', WR_PBL), '0' => __('No', WR_PBL)), 'tooltip' => __('Whether to repeat playing or not', WR_PBL)), array('name' => __('Show YouTube Logo', WR_PBL), 'id' => 'video_youtube_modestbranding', 'type' => 'radio', 'std' => '1', 'dependency' => array('video_sources', '=', 'youtube'), 'options' => array('0' => __('Yes', WR_PBL), '1' => __('No', WR_PBL)), 'tooltip' => __('Display YouTube logo on action bar that redirects users to original YouTube video', WR_PBL)), array('name' => __('Show Related Video', WR_PBL), 'id' => 'video_youtube_rel', 'type' => 'radio', 'std' => '1', 'dependency' => array('video_sources', '=', 'youtube'), 'options' => array('1' => __('Yes', WR_PBL), '0' => __('No', WR_PBL)), 'tooltip' => __('Display related video  at the end of YouTube video', WR_PBL)), array('name' => __('Show Information', WR_PBL), 'id' => 'video_youtube_showinfo', 'type' => 'radio', 'std' => '1', 'dependency' => array('video_sources', '=', 'youtube'), 'options' => array('1' => __('Yes', WR_PBL), '0' => __('No', WR_PBL)), 'tooltip' => __('Display video title & brief info on top bar of video player', WR_PBL)), array('name' => __('Auto Hide', WR_PBL), 'id' => 'video_youtube_autohide', 'type' => 'select', 'std' => '2', 'dependency' => array('video_sources', '=', 'youtube'), 'options' => array('2' => __('Auto minimize Progress Bar', WR_PBL), '1' => __('Both after playing a couple seconds', WR_PBL), '0' => __('Never Hide', WR_PBL))), array('name' => __('Show Caption (CC)', WR_PBL), 'id' => 'video_youtube_cc', 'type' => 'radio', 'std' => '0', 'dependency' => array('video_sources', '=', 'youtube'), 'options' => array('1' => __('Never', WR_PBL), '0' => __('Yes', WR_PBL))), array('name' => __('Dimension', WR_PBL), 'container_class' => 'combo-group', 'dependency' => array('video_sources', '=', 'vimeo'), 'id' => 'video_vimeo_dimension', 'type' => 'dimension', 'extended_ids' => array('video_vimeo_dimension_width', 'video_vimeo_dimension_height'), 'video_vimeo_dimension_width' => array('std' => '500'), 'video_vimeo_dimension_height' => array('std' => '270'), 'tooltip' => __('Set width and height of element', WR_PBL)), array('name' => __('Auto Play', WR_PBL), 'id' => 'video_vimeo_autoplay', 'type' => 'radio', 'std' => 'false', 'dependency' => array('video_sources', '=', 'vimeo'), 'options' => array('true' => __('Yes', WR_PBL), 'false' => __('No', WR_PBL)), 'tooltip' => __('Auto play the video', WR_PBL)), array('name' => __('Loop', WR_PBL), 'id' => 'video_vimeo_loop', 'type' => 'radio', 'std' => 'false', 'dependency' => array('video_sources', '=', 'vimeo'), 'options' => array('true' => __('Yes', WR_PBL), 'false' => __('No', WR_PBL)), 'tooltip' => __('Whether to repeat playing or not', WR_PBL)), array('name' => __('Controls Color', WR_PBL), 'id' => 'video_vimeo_color', 'type' => 'color_picker', 'std' => '#54BBFC', 'dependency' => array('video_sources', '=', 'vimeo'), 'hide_value' => true, 'tooltip' => __('Set color of controls', WR_PBL)), array('type' => 'hr'), array('name' => __('Alignment', WR_PBL), 'id' => 'video_alignment', 'type' => 'select', 'class' => 'input-sm', 'std' => 'center', 'options' => array('0' => __('No Alignment', WR_PBL), 'left' => __('Left', WR_PBL), 'right' => __('Right', WR_PBL), 'center' => __('Center', WR_PBL))), array('name' => __('Margin', WR_PBL), 'container_class' => 'combo-group', 'id' => 'video_margin', 'type' => 'margin', 'extended_ids' => array('video_margin_top', 'video_margin_right', 'video_margin_bottom', 'video_margin_left'), 'video_margin_top' => array('std' => '10'), 'video_margin_bottom' => array('std' => '10'), 'tooltip' => __('External spacing with other elements', WR_PBL)), 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('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.º 3
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.º 4
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('generalaction' => array('settings' => array('id' => 'general_action', 'class' => 'general-action no-label pull-left'), array('id' => 'audio_sources', 'type' => 'select', 'has_depend' => '1', 'std' => 'local', 'options' => array('local' => __('Local file', WR_PBL), 'soundcloud' => __('SoundCloud', WR_PBL)), 'exclude_class' => array('form-control'))), 'content' => array(array('id' => 'audio_source_link', 'name' => __('Audio link', WR_PBL), 'type' => 'text_append', 'type_input' => 'text', 'dependency' => array('audio_sources', '=', 'soundcloud'), 'class' => 'span6 input-sm', 'tooltip' => __('Insert your audio link from SoundCloud or local file', WR_PBL), 'specific_class' => 'input-group col-xs-12'), array('id' => 'audio_source_local', 'name' => __('File URL', WR_PBL), 'type' => 'select_media', 'filter_type' => 'audio', 'media_type' => 'video', 'class' => 'input-sm', 'dependency' => array('audio_sources', '=', 'local'))), 'styling' => array(array('type' => 'preview'), array('name' => __('Dimension', WR_PBL), 'container_class' => 'combo-group', 'dependency' => array('audio_sources', '=', 'soundcloud'), 'type' => 'dimension', 'id' => 'audio_dimension', 'extended_ids' => array('audio_dimension_width', 'audio_dimension_height'), 'audio_dimension_width' => array('std' => '500'), 'audio_dimension_height' => array('std' => '80'), 'tooltip' => __('Set width and height of element', WR_PBL)), array('name' => __('Color', WR_PBL), 'id' => 'audio_color', 'type' => 'color_picker', 'std' => '#FF6600', 'dependency' => array('audio_sources', '=', 'soundcloud'), 'hide_value' => true, 'tooltip' => __('Select color for Play Button', WR_PBL)), array('name' => __('Elements', WR_PBL), 'id' => 'audio_elements', 'type' => 'checkbox', 'class' => 'jsn-column-item  checkbox', 'container_class' => 'jsn-columns-container jsn-columns-count-two', 'dependency' => array('audio_sources', '=', 'soundcloud'), 'std' => 'artwork__#__download_button__#__share_button__#__bpm__#__play_count__#__comments', 'options' => array('artwork' => __('Artwork', WR_PBL), 'download_button' => __('Download Button', WR_PBL), 'share_button' => __('Share Button', WR_PBL), 'bpm' => __('BPM', WR_PBL), 'play_count' => __('Play Count', WR_PBL), 'comments' => __('Comments', WR_PBL)), 'tooltip' => __('Elements to display on audio player', WR_PBL)), array('name' => __('Auto Play', WR_PBL), 'id' => 'audio_auto_play', 'type' => 'radio', 'std' => '0', 'dependency' => array('audio_sources', '=', 'soundcloud'), 'options' => array('1' => __('Yes', WR_PBL), '0' => __('No', WR_PBL)), 'tooltip' => __('Auto play the audio', WR_PBL)), array('name' => __('Start Track', WR_PBL), 'id' => 'audio_start_track', 'type' => 'text_number', 'dependency' => array('audio_sources', '=', 'soundcloud'), 'class' => 'input-mini', 'tooltip' => __('Choosing track to start playing', WR_PBL)), array('name' => __('Dimension', WR_PBL), 'container_class' => 'combo-group', 'dependency' => array('audio_sources', '=', 'local'), 'id' => 'audio_local_dimension', 'type' => 'dimension', 'extended_ids' => array('audio_local_dimension_width', 'audio_local_dimension_height'), 'audio_local_dimension_width' => array('std' => '500'), 'audio_local_dimension_height' => array('std' => '30'), 'tooltip' => __('Set width and height of element', WR_PBL)), array('name' => __('Elements', WR_PBL), 'id' => 'audio_local_elements', 'type' => 'checkbox', 'class' => 'jsn-column-item checkbox', 'container_class' => 'jsn-columns-container jsn-columns-count-two', 'dependency' => array('audio_sources', '=', 'local'), 'std' => 'play_button__#__current_time__#__time_rail__#__track_duration__#__volume_button__#__volume_slider', 'options' => array('play_button' => __('Play/Pause Button', WR_PBL), 'current_time' => __('Current Time', WR_PBL), 'time_rail' => __('Time Rail', WR_PBL), 'track_duration' => __('Track Duration', WR_PBL), 'volume_button' => __('Volume Button', WR_PBL), 'volume_slider' => __('Volume Slider', WR_PBL)), 'tooltip' => __('Elements to display on audio player', WR_PBL)), array('name' => __('Start volume', WR_PBL), 'id' => 'audio_local_start_volume', 'type' => 'slider', 'class' => 'wr-slider', 'std_max' => '100', 'std' => '80', 'dependency' => array('audio_sources', '=', 'local')), array('name' => __('Loop', WR_PBL), 'id' => 'audio_local_loop', 'type' => 'radio', 'std' => 'false', 'dependency' => array('audio_sources', '=', 'local'), 'options' => array('true' => __('Yes', WR_PBL), 'false' => __('No', WR_PBL)), 'tooltip' => __('Whether to repeat playing or not', WR_PBL)), array('name' => __('Alignment', WR_PBL), 'id' => 'audio_alignment', 'type' => 'select', 'class' => 'input-sm', 'std' => 'center', 'options' => array('0' => __('No Alignment', WR_PBL), 'left' => __('Left', WR_PBL), 'right' => __('Right', WR_PBL), 'center' => __('Center', WR_PBL))), array('name' => __('Margin', WR_PBL), 'container_class' => 'combo-group', 'id' => 'audio_margin', 'type' => 'margin', 'extended_ids' => array('audio_margin_top', 'audio_margin_right', 'audio_margin_bottom', 'audio_margin_left'), 'audio_margin_top' => array('std' => '10'), 'audio_margin_bottom' => array('std' => '10'), 'tooltip' => __('External spacing with other elements', WR_PBL)), WR_Pb_Helper_Type::get_apprearing_animations(), WR_Pb_Helper_Type::get_animation_speeds()));
 }
Exemplo n.º 5
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 public function element_items()
 {
     $this->items = array('content' => array(array('name' => __('Table Content', WR_PBL), 'id' => 'table_', 'type' => 'table', 'shortcode' => ucfirst(__CLASS__), 'sub_item_type' => $this->config['has_subshortcode'], 'sub_items' => array(array('std' => "[wr_item_table tagname='tr_start' ][/wr_item_table]"), array('std' => ''), array('std' => ''), array('std' => "[wr_item_table tagname='tr_end' ][/wr_item_table]"), array('std' => "[wr_item_table tagname='tr_start' ][/wr_item_table]"), array('std' => ''), array('std' => ''), array('std' => "[wr_item_table tagname='tr_end' ][/wr_item_table]")))), 'styling' => array(array('type' => 'preview'), array('name' => __('Style', WR_PBL), 'id' => 'tb_style', 'type' => 'select', 'class' => 'input-sm', 'options' => array('table-default' => __('Default', WR_PBL), 'table-striped' => __('Striped', WR_PBL), 'table-bordered' => __('Bordered', WR_PBL), 'table-hover' => __('Hover', WR_PBL)), 'std' => 'default'), 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' => __('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.º 7
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.º 8
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.º 9
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.º 10
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' => 'accordion_to_tab'), array('std' => __('Carousel', WR_PBL), 'action_type' => 'convert', 'action' => 'accordion_to_carousel'), array('std' => __('List', WR_PBL), 'action_type' => 'convert', 'action' => 'accordion_to_list')))), 'content' => array(array('id' => 'accordion_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' => __('Initial Open', WR_PBL), 'id' => 'initial_open', 'type' => 'text_number', 'std' => '1', 'class' => 'input-mini', 'validate' => 'number', 'tooltip' => __('Set which item will be opened first', WR_PBL)), array('name' => __('Allow Multiple Opening', WR_PBL), 'id' => 'multi_open', 'type' => 'radio', 'std' => 'no', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL)), 'tooltip' => __('Keep previous item opened when clicking on another one', WR_PBL)), array('name' => __('Enable Filter', WR_PBL), 'id' => 'filter', 'type' => 'radio', 'std' => 'no', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL)), 'tooltip' => __('Filter based on items\' tags name. Please set tag for item first.', WR_PBL)), 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('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.º 12
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 function element_items()
 {
     $this->items = array('content' => array(array('name' => __('Parent Element Text', WR_PBL), 'desc' => __('Enter some content for this textblock', WR_PBL), 'id' => 'text', 'type' => 'tiny_mce', 'role' => 'content', 'std' => WR_Pb_Helper_Type::lorem_text(), 'rows' => 15)), 'styling' => array(array('type' => 'preview'), array('name' => __('Margin', WR_PBL), 'container_class' => 'combo-group', 'id' => 'text_margin', 'type' => 'margin', 'extended_ids' => array('text_margin_top', 'text_margin_right', 'text_margin_bottom', 'text_margin_left'), 'text_margin_top' => array('std' => '0'), 'text_margin_bottom' => array('std' => '0'), 'tooltip' => __('External spacing with other elements', WR_PBL)), array('name' => __('Enable Dropcap', WR_PBL), 'id' => 'enable_dropcap', 'type' => 'radio', 'std' => 'no', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL)), 'tooltip' => __('The first letter of paragraph that is enlarged', WR_PBL), 'has_depend' => '1'), array('name' => __('Font Face', WR_PBL), 'id' => 'dropcap_font_family', 'type' => array(array('id' => 'dropcap_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' => 'dropcap_font_face_value', 'type' => 'jsn_select_font_value', 'class' => 'input-medium input-sm', 'std' => 'Verdana', 'options' => '', 'parent_class' => 'combo-item')), 'dependency' => array('enable_dropcap', '=', 'yes'), 'tooltip' => __('Set Font Face', WR_PBL), 'container_class' => 'combo-group'), array('name' => __('Font Attributes', WR_PBL), '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 input-mini-inline'), array('id' => 'dropcap_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' => 'dropcap_font_color', 'type' => 'color_picker', 'std' => '#000000', 'parent_class' => 'combo-item')), 'dependency' => array('enable_dropcap', '=', 'yes'), 'tooltip' => __('Set Font Attribute', WR_PBL), 'container_class' => 'combo-group'), 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' => __('Attributes', WR_PBL), 'id' => 'prtbl_attr', 'type' => 'group', 'shortcode' => ucfirst(__CLASS__), 'sub_item_type' => $this->config['has_subshortcode'] . '_Attr', 'sub_items' => array(WR_Pricing_Table::get_option('max_domains'), WR_Pricing_Table::get_option('storage'), WR_Pricing_Table::get_option('ssl_support')), 'overwrite_shortcode_data' => false), array('name' => __('Options', WR_PBL), 'id' => 'prtbl_items', 'type' => 'group', 'no_title' => __('(Untitled)', WR_PBL), 'shortcode' => ucfirst(__CLASS__), 'sub_item_type' => $this->config['has_subshortcode'], 'sub_items' => array(array('std' => '', 'prtbl_item_title' => 'Free', 'prtbl_item_desc' => 'Free', 'prtbl_item_currency' => '$', 'prtbl_item_price' => '0', 'prtbl_item_time' => ' / month'), array('std' => '', 'prtbl_item_title' => 'Standard', 'prtbl_item_desc' => 'Standard', 'prtbl_item_currency' => '$', 'prtbl_item_price' => '69', 'prtbl_item_feature' => 'yes', 'prtbl_item_time' => ' / month'), array('std' => '', 'prtbl_item_title' => 'Premium', 'prtbl_item_desc' => 'Premium', 'prtbl_item_currency' => '$', 'prtbl_item_price' => '99', 'prtbl_item_time' => ' / month')), 'overwrite_shortcode_data' => false)), 'styling' => array(array('type' => 'preview'), array('name' => __('Elements', WR_PBL), 'id' => 'prtbl_elements', 'type' => 'checkbox', 'class' => 'jsn-column-item checkbox', 'container_class' => 'jsn-columns-container jsn-columns-count-two', 'std' => 'title__#__button__#__attributes', 'options' => array('title' => __('Title', WR_PBL), 'description' => __('Description', WR_PBL), 'image' => __('Image', WR_PBL), 'attributes' => __('Attributes', WR_PBL), 'price' => __('Price', WR_PBL), 'button' => __('Button', WR_PBL)), 'tooltip' => __('Elements to display on pricing table', WR_PBL)), WR_Pb_Helper_Type::get_apprearing_animations(), WR_Pb_Helper_Type::get_animation_speeds()));
 }
Exemplo n.º 15
0
 /**
  * Define shortcode settings.
  *
  * @return  void
  */
 function element_items()
 {
     $this->items = array('content' => array(array('name' => __('Text', WR_PBL), 'id' => 'text', 'type' => 'text_field', 'role' => 'content', 'std' => __('Circle', WR_PBL)), array('name' => __('Description', WR_PBL), 'id' => 'description', 'type' => 'text_field', 'std' => __('The circle information', WR_PBL))), 'styling' => array(array('type' => 'preview'), array('name' => __('Percentage', WR_PBL), 'id' => 'percent', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '15', 'append' => '%', 'validate' => 'number'), array('name' => __('Foreground Color', WR_PBL), 'id' => 'fg_color', 'type' => 'color_picker', 'std' => ' 	#556b2f'), array('name' => __('Background Color', WR_PBL), 'id' => 'bg_color', 'type' => 'color_picker', 'std' => ' 	#eeeeee'), array('name' => __('Use Fill Color', WR_PBL), 'id' => 'use_fill', 'type' => 'radio', 'std' => 'no', 'has_depend' => '1', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL))), array('name' => __('Fill Color', WR_PBL), 'id' => 'fill_color', 'type' => 'color_picker', 'std' => '#ffffff', 'dependency' => array('use_fill', '=', 'yes')), array('name' => __('Circle Thickness', WR_PBL), 'id' => 'width', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '15', 'append' => 'px', 'validate' => 'number'), array('name' => __('Dimension', WR_PBL), 'id' => 'dimension', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '200', 'append' => 'px', 'validate' => 'number', 'tooltip' => __('Size of process circle, caculated by its diameter', WR_PBL)), array('name' => __('Font Size', WR_PBL), 'id' => 'font_size', 'type' => 'text_append', 'type_input' => 'number', 'class' => 'input-mini', 'std' => '15', 'append' => 'px', 'validate' => 'number'), array('name' => __('Icon', WR_PBL), 'id' => 'icon', 'type' => 'icons', 'std' => '', 'title_prepend_type' => 'icon'), array('name' => __('Show half', WR_PBL), 'id' => 'is_half', 'type' => 'radio', 'std' => 'no', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL))), array('name' => __('Margin', WR_PBL), 'container_class' => 'combo-group', 'id' => 'circle_margin', 'type' => 'margin', 'extended_ids' => array('circle_margin_top', 'circle_margin_bottom', 'circle_margin_left', 'circle_margin_right'), 'circle_margin_top' => array('std' => '10'), 'circle_margin_bottom' => array('std' => '10'), 'tooltip' => __('External spacing with other elements', 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('action' => array(array('id' => 'btn_convert', 'type' => 'button_group', 'bound' => 0, 'actions' => array(array('std' => __('Tab', WR_PBL), 'action_type' => 'convert', 'action' => 'carousel_to_tab'), array('std' => __('Accordion', WR_PBL), 'action_type' => 'convert', 'action' => 'carousel_to_accordion'), array('std' => __('List', WR_PBL), 'action_type' => 'convert', 'action' => 'carousel_to_list')))), 'content' => array(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', WR_PBL), 'id' => 'align', 'class' => 'input-sm', 'std' => 'center', 'type' => 'radio_button_group', 'options' => WR_Pb_Helper_Type::get_text_align()), array('name' => __('Dimension', WR_PBL), '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', WR_PBL)), array('name' => __('Show Indicator', WR_PBL), 'id' => 'show_indicator', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL)), 'tooltip' => __('Round Pagination buttons', WR_PBL)), array('name' => __('Show Arrows', WR_PBL), 'id' => 'show_arrows', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL)), 'tooltip' => __('Previous & Next buttons', WR_PBL)), array('name' => __('Automatic Cycling', WR_PBL), 'id' => 'automatic_cycling', 'type' => 'radio', 'std' => 'no', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL)), 'has_depend' => '1', 'tooltip' => __('Automatically run carousel', WR_PBL)), array('name' => __('Cycling Interval', WR_PBL), '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', WR_PBL)), array('name' => __('Pause on mouse over', WR_PBL), 'id' => 'pause_mouseover', 'type' => 'radio', 'std' => 'yes', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL)), 'dependency' => array('automatic_cycling', '=', 'yes'), 'tooltip' => __('Pause cycling on mouse over', WR_PBL)), WR_Pb_Helper_Type::get_apprearing_animations(), WR_Pb_Helper_Type::get_animation_speeds()));
 }
Exemplo n.º 17
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' => __('Accordion', WR_PBL), 'action_type' => 'convert', 'action' => 'tab_to_accordion'), array('std' => __('Carousel', WR_PBL), 'action_type' => 'convert', 'action' => 'tab_to_carousel'), array('std' => __('List', WR_PBL), 'action_type' => 'convert', 'action' => 'tab_to_list')))), 'content' => array(array('id' => 'tab_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' => __('Open First', WR_PBL), 'id' => 'initial_open', 'type' => 'text_number', 'std' => '1', 'class' => 'input-mini', 'validate' => 'number', 'tooltip' => __('Tab to be opened at first load', WR_PBL)), array('name' => __('Fade Effect', WR_PBL), 'id' => 'fade_effect', 'type' => 'radio', 'std' => 'no', 'options' => array('yes' => __('Yes', WR_PBL), 'no' => __('No', WR_PBL)), 'has_depend' => '1'), array('name' => __('Tab Position', WR_PBL), 'id' => 'tab_position', 'type' => 'radio_button_group', 'class' => 'input-sm', 'std' => 'top', 'options' => array('top' => '<i class="wr-icon-tab-top" title="' . __('Top', WR_PBL) . '"></i>', 'bottom' => '<i class="wr-icon-tab-bottom" title="' . __('Bottom', WR_PBL) . '"></i>', 'left' => '<i class="wr-icon-tab-left" title="' . __('Left', WR_PBL) . '"></i>', 'right' => '<i class="wr-icon-tab-right" title="' . __('Right', WR_PBL) . '"></i>')), WR_Pb_Helper_Type::get_apprearing_animations(), WR_Pb_Helper_Type::get_animation_speeds()));
 }
Exemplo n.º 18
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.º 19
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.º 20
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()));
 }