function __construct()
 {
     $this->style = array('screen-preloader' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('screen-preloader' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.ScreenPreloader.js'));
     $this->component = array('name' => __('Screen Preloader', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Screen Preloader', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Screen Preloader', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array(array('id' => 'bg_color', 'ui' => array('text' => array('header' => __('Background color', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Background color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('default' => 'FFFFFF')), array('id' => 'z_index', 'ui' => array('text' => array('header' => __('Z-index', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Z-index of preloader layer', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '6'))), 'shortcode' => array('default' => '100000')), array('id' => 'css_class', 'ui' => array('text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space.', PLUGIN_PAGE_BUILDER_DOMAIN)))))));
     parent::__construct();
 }
 function __construct()
 {
     $Window = new PBWindow();
     $Border = new PBBorder();
     $Layout = new PBLayout();
     $Easing = new PBEasing();
     $CarouFredSel = new PBCarouFredSel();
     $this->style = array('feature' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('feature' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.Feature.js'));
     $this->layout = $Layout->getMainLayout();
     $this->icon = (array) PBComponentData::get($this->getComponentId(), 'icon');
     foreach ($this->icon as $index => $value) {
         $this->icon[$index]['file'] = PBComponentData::setFile($this->getComponentId(), 'icon_feature_' . $index, $value['path']);
     }
     $this->iconPosition = array('top' => array(__('Top', PLUGIN_PAGE_BUILDER_DOMAIN)), 'right' => array(__('Right', PLUGIN_PAGE_BUILDER_DOMAIN)), 'bottom' => array(__('Bottom', PLUGIN_PAGE_BUILDER_DOMAIN)), 'left' => array(__('Left', PLUGIN_PAGE_BUILDER_DOMAIN)));
     $this->waypointType = array('none' => array(__('None', PLUGIN_PAGE_BUILDER_DOMAIN)), 'iconFadeIn' => array(__('Icon fade in', PLUGIN_PAGE_BUILDER_DOMAIN)), 'itemFadeIn' => array(__('Item fade in', PLUGIN_PAGE_BUILDER_DOMAIN)));
     $this->attrItemURL = null;
     $this->attrItemURLTarget = null;
     $this->attrIconSize = null;
     $this->attrIconPosition = null;
     $this->layoutAttr = null;
     $this->layoutAttrColumnIndex = 0;
     $this->component = array('name' => __('Features', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Features', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Features', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Styles', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Carousel', PLUGIN_PAGE_BUILDER_DOMAIN)), 4 => array('header' => __('Waypoints', PLUGIN_PAGE_BUILDER_DOMAIN)), 5 => array('header' => __('Items', PLUGIN_PAGE_BUILDER_DOMAIN))), 'group' => array(1 => array('header' => __('Odd elements', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Styles for odd elements', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Even elements', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Styles for even elements', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('URL', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enter link and link target of feature ', PLUGIN_PAGE_BUILDER_DOMAIN))), 'multi' => array(1 => array('header' => __('Item', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'layout', 'ui' => array('panel' => 1, 'text' => array('header' => __('Layout', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select layout of the fetaures.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($this->layout, 'name')))), 'shortcode' => array('default' => '100')), array('id' => 'icon_size', 'ui' => array('panel' => 1, 'text' => array('header' => __('Icon size', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($this->icon, 'label')))), 'shortcode' => array('default' => PBComponentData::get($this->getComponentId(), 'icon_size_default'))), array('id' => 'icon_position', 'ui' => array('panel' => 1, 'text' => array('header' => __('Icon position', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($this->iconPosition)))), 'shortcode' => array('default' => 'left')), array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space.', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'element_even_icon_bg_color', 'ui' => array('panel' => 2, 'group' => 2, 'text' => array('label' => __('Background color of icon in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'element_even_icon_border_style', 'ui' => array('panel' => 2, 'group' => 2, 'text' => array('label' => __('Border style of icon', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Border->style)))), 'shortcode' => array('default' => '-1')), array('id' => 'element_even_icon_border_color', 'ui' => array('panel' => 2, 'group' => 2, 'text' => array('label' => __('Border color of icon in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'element_even_icon_border_width', 'ui' => array('panel' => 2, 'group' => 2, 'text' => array('label' => __('Border width of icon in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '3'))), 'shortcode' => array('default' => '-1')), array('id' => 'element_even_icon_border_radius', 'ui' => array('panel' => 2, 'group' => 2, 'text' => array('label' => __('Border radius of icon in percentage. Value -1 means that default value will be used.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'slider', 'value' => -1, 'option' => array('min' => -1, 'max' => 100))), 'shortcode' => array('default' => '-1')), array('id' => 'element_odd_icon_bg_color', 'ui' => array('panel' => 2, 'group' => 1, 'text' => array('label' => __('Background color of icon in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'element_odd_icon_border_style', 'ui' => array('panel' => 2, 'group' => 1, 'text' => array('label' => __('Border style of icon', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Border->style)))), 'shortcode' => array('default' => '-1')), array('id' => 'element_odd_icon_border_color', 'ui' => array('panel' => 2, 'group' => 1, 'text' => array('label' => __('Border color of icon in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'element_odd_icon_border_width', 'ui' => array('panel' => 2, 'group' => 1, 'text' => array('label' => __('Border width of icon in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '3'))), 'shortcode' => array('default' => '-1')), array('id' => 'element_odd_icon_border_radius', 'ui' => array('panel' => 2, 'group' => 1, 'text' => array('label' => __('Border radius of icon in percentage. Value -1 means that default value will be used.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'slider', 'value' => -1, 'option' => array('min' => -1, 'max' => 100))), 'shortcode' => array('default' => '-1')), array('id' => 'carousel_enable', 'ui' => array('panel' => 3, 'text' => array('header' => __('Enable carousel', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable carousel', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 0)), array('id' => 'carousel_autoplay_enable', 'ui' => array('panel' => 3, 'text' => array('header' => __('Autoplay', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Autoplay', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 0)), array('id' => 'carousel_circular_enable', 'ui' => array('panel' => 3, 'text' => array('header' => __('Circular', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines whether the carousel should be circular', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 1)), array('id' => 'carousel_infinite_enable', 'ui' => array('panel' => 3, 'text' => array('header' => __('Infinite', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines whether the carousel should be infinite', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 1)), array('id' => 'carousel_scroll_pause_hover', 'ui' => array('panel' => 3, 'text' => array('header' => __('Pause on hover', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines whether the timeout between transitions should be paused', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 1)), array('id' => 'carousel_scroll_fx', 'ui' => array('panel' => 3, 'text' => array('header' => __('Scroll effect', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Indicates which effect to use for the transition', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($CarouFredSel->scrollFX)))), 'shortcode' => array('default' => 'scroll')), array('id' => 'carousel_scroll_easing', 'ui' => array('panel' => 3, 'text' => array('header' => __('Easing', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Indicates which easing function to use for the transition', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($Easing->easingType)))), 'shortcode' => array('default' => 'easeInQuad')), array('id' => 'carousel_scroll_duration', 'ui' => array('panel' => 3, 'text' => array('header' => __('Duration', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines the duration of the transition in milliseconds', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => '500')), array('id' => 'waypoint_type', 'ui' => array('panel' => 4, 'text' => array('header' => __('Animation', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select animation', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($this->waypointType), 'use_default' => false))), 'shortcode' => array('default' => 'none')), array('id' => 'waypoint_offset_trigger', 'ui' => array('panel' => 4, 'text' => array('header' => __('Offset', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('This option determines how far the top of the element must be from the top of the viewport to trigger the animation', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 10))), 'shortcode' => array('default' => '90%')), array('id' => 'waypoint_duration', 'ui' => array('panel' => 4, 'text' => array('header' => __('Duration', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Duration of the animation in milliseconds', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => '500')), array('id' => 'waypoint_easing', 'ui' => array('panel' => 4, 'text' => array('header' => __('Easing', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Easing type of animation', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($Easing->easingType)))), 'shortcode' => array('default' => 'swing')), array('id' => 'waypoint_opacity_initial', 'ui' => array('panel' => 4, 'text' => array('header' => __('Opacity', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Initial opacity value for "fade in" animations.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'slider', 'value' => 10, 'option' => array('min' => 0, 'max' => 100))), 'shortcode' => array('default' => 10)), array('id' => 'item_url', 'ui' => array('panel' => 5, 'multi' => 1, 'group' => 3, 'text' => array('label' => __('URL', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '*item/@item_url')), array('id' => 'item_url_target', 'ui' => array('panel' => 5, 'multi' => 1, 'group' => 3, 'text' => array('label' => __('Target', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($Window->linkTarget)))), 'shortcode' => array('path' => '*item/@item_url_target', 'default' => '_blank')), array('id' => 'item_icon', 'ui' => array('panel' => 5, 'multi' => 1, 'text' => array('header' => __('Icon', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => $this->icon[PBComponentData::get($this->getComponentId(), 'icon_size_default')]['file']))), 'shortcode' => array('path' => '*item/@item_icon')), array('id' => 'item_header', 'ui' => array('panel' => 5, 'multi' => 1, 'text' => array('header' => __('Header', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '*item/item_header/@content')), array('id' => 'item_content', 'ui' => array('panel' => 5, 'multi' => 1, 'text' => array('header' => __('Content', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'textarea')), 'shortcode' => array('path' => '*item/item_content/@content')))));
     parent::__construct();
 }
 function __construct()
 {
     $this->style = array('audio' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('audio' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.Audio.js', 'dependencies' => array('jquery')), 'jplayer' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'jquery.jplayer.min.js', 'dependencies' => array('jquery')), 'jplayer-playlist' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'jplayer.playlist.min.js', 'dependencies' => array('jquery')));
     $this->component = array('name' => __('Audio', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Audio', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Audio', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Tracks', PLUGIN_PAGE_BUILDER_DOMAIN))), 'multi' => array(1 => array('header' => __('Track', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'volume', 'ui' => array('panel' => 1, 'text' => array('header' => __('Volume', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Defines the initial volume as a value.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'slider', 'value' => 80, 'option' => array('min' => 1, 'max' => 100))), 'shortcode' => array('default' => '80')), array('id' => 'muted', 'ui' => array('panel' => 1, 'text' => array('header' => __('Muted', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines whether the sound has to be muted by default', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-1')), 'shortcode' => array('default' => '0')), array('id' => 'playlist_enable', 'ui' => array('panel' => 1, 'text' => array('header' => __('Enable playlist', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines whether the playlist has to be visible', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-1')), 'shortcode' => array('default' => '1')), array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space.', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'track_artist', 'ui' => array('panel' => 2, 'multi' => 1, 'text' => array('header' => __('Artist', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Artist of the track', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'track/*track_item/track_item_artist/@content')), array('id' => 'track_title', 'ui' => array('panel' => 2, 'multi' => 1, 'text' => array('header' => __('Title', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Title of the track', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'track/*track_item/track_item_title/@content')), array('id' => 'track_url_mp3', 'ui' => array('panel' => 2, 'multi' => 1, 'text' => array('header' => __('MP3', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('URL of MP3 file', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'track/*track_item/@format_mp3')), array('id' => 'track_url_ogg', 'ui' => array('panel' => 2, 'multi' => 1, 'text' => array('header' => __('OGG', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('URL of OGG file', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'track/*track_item/@format_ogg')))));
     parent::__construct();
 }
 function __construct()
 {
     $this->style = array('video' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->videoType = array('vimeo' => array(__('Vimeo video', PLUGIN_PAGE_BUILDER_DOMAIN)), 'youtube' => array(__('Youtube video', PLUGIN_PAGE_BUILDER_DOMAIN)), 'metacafe' => array(__('Metacafe video', PLUGIN_PAGE_BUILDER_DOMAIN)), 'dailymotion' => array(__('Dailymotion video', PLUGIN_PAGE_BUILDER_DOMAIN)));
     $this->component = array('name' => __('Video', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Video', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Video', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array(array('id' => 'type', 'ui' => array('text' => array('header' => __('Video type', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($this->videoType)))), 'shortcode' => array('default' => 'youtube')), array('id' => 'src', 'ui' => array('text' => array('header' => __('Video source', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('URL address of video', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'player_width', 'ui' => array('text' => array('header' => __('Player width', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Player width in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 4)))), array('id' => 'css_class', 'ui' => array('text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space.', PLUGIN_PAGE_BUILDER_DOMAIN)))))));
     parent::__construct();
 }
 function __construct()
 {
     $Window = new PBWindow();
     $this->icon_url = PBComponentData::get($this->getComponentId(), 'icon_url');
     $this->icon_path = PBComponentData::get($this->getComponentId(), 'icon_path');
     $this->icon_file = PBComponentData::setFile($this->getComponentId(), 'icon_file', $this->icon_path);
     $this->style = array('social-icon' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('social-icon' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.SocialIcon.js'));
     $this->social = array();
     foreach ($this->icon_file as $value) {
         $pathinfo = pathinfo($this->icon_path . $value);
         $id = $pathinfo['filename'];
         $name = ucfirst(preg_replace(array('/-/', '/_/'), ' ', $pathinfo['filename']));
         $this->social[$id] = array($name, $value);
     }
     $group = array(1 => array('header' => __('Dimension', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Dimension (width,height) of the icon in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Normal state', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Styles for normal state', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Hover state', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Styles for hover state', PLUGIN_PAGE_BUILDER_DOMAIN)), 4 => array('header' => __('Border radius', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Border radius in order: top left, top right, bottom right, bottom left', PLUGIN_PAGE_BUILDER_DOMAIN)));
     $start = count($group) + 1;
     $i = $start;
     foreach ($this->social as $index => $value) {
         $group[$i] = array('header' => $value[0], 'subheader' => sprintf(__('Settings for %s', PLUGIN_PAGE_BUILDER_DOMAIN), $value[0]));
         $i++;
     }
     $this->component = array('name' => __('Social Icons', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Social Icons', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Social Icons', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Styles', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Profiles', PLUGIN_PAGE_BUILDER_DOMAIN))), 'group' => $group), 'element' => array(array('id' => 'target', 'ui' => array('panel' => 1, 'text' => array('header' => __('Target of the links', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Window->linkTarget)))), 'shortcode' => array('default' => '_blank')), array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'native_color_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Native colors', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => array(__('Use native colors for social icons (for both states: normal and hover)', PLUGIN_PAGE_BUILDER_DOMAIN))), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'width', 'ui' => array('panel' => 2, 'group' => 1, 'text' => array('label' => __('Width in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '3')))), array('id' => 'height', 'ui' => array('panel' => 2, 'group' => 1, 'text' => array('label' => __('Height in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '3')))), array('id' => 'border_radius_top_left', 'ui' => array('panel' => 2, 'group' => 4, 'text' => array('label' => __('Top left in pixels:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '3')))), array('id' => 'border_radius_top_right', 'ui' => array('panel' => 2, 'group' => 4, 'text' => array('label' => __('Top right in pixels:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '3')))), array('id' => 'border_radius_bottom_right', 'ui' => array('panel' => 2, 'group' => 4, 'text' => array('label' => __('Bottom right in pixels:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '3')))), array('id' => 'border_radius_bottom_left', 'ui' => array('panel' => 2, 'group' => 4, 'text' => array('label' => __('Bottom left in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '3')))), array('id' => 'border_width', 'ui' => array('panel' => 2, 'group' => 2, 'text' => array('label' => __('Border width in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '3')))), array('id' => 'border_color', 'ui' => array('panel' => 2, 'group' => 2, 'text' => array('label' => __('Border color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'bg_color', 'ui' => array('panel' => 2, 'group' => 2, 'text' => array('label' => __('Background color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'border_width_hover', 'ui' => array('panel' => 2, 'group' => 3, 'text' => array('label' => __('Border width in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '3')))), array('id' => 'border_color_hover', 'ui' => array('panel' => 2, 'group' => 3, 'text' => array('label' => __('Border color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'bg_color_hover', 'ui' => array('panel' => 2, 'group' => 3, 'text' => array('label' => __('Background color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))))));
     $i = $start;
     foreach ($this->social as $index => $value) {
         array_push($this->component['structure']['element'], array('id' => 'profile_' . $index . '_url', 'ui' => array('panel' => 3, 'group' => $i, 'text' => array('label' => __('URL', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'profile_' . $index . '_order', 'ui' => array('panel' => 3, 'group' => $i, 'text' => array('label' => __('Order', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '2')))));
         $i++;
     }
     parent::__construct();
 }
 function __construct()
 {
     $this->style = array('preformatted-text' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('preformatted-text' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.PreformattedText.js'));
     $this->component = array('name' => __('Preformatted Text', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Preformatted Text', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Preformatted Text', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array(array('id' => 'label_open', 'ui' => array('text' => array('header' => __('Label open', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Label of the button (link) when text area is closed.', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('default' => __('- Hide code', PLUGIN_PAGE_BUILDER_DOMAIN))), array('id' => 'label_close', 'ui' => array('text' => array('header' => __('Label close', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Label of the button (link) when text area is opened.', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('default' => __('+ Show code', PLUGIN_PAGE_BUILDER_DOMAIN))), array('id' => 'open_default', 'ui' => array('text' => array('header' => __('Open start', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Open at start', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'text', 'ui' => array('text' => array('header' => __('Preformatted text', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'textarea')), 'shortcode' => array('path' => '@content')), array('id' => 'css_class', 'ui' => array('text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space.', PLUGIN_PAGE_BUILDER_DOMAIN)))))));
     parent::__construct();
 }
 function __construct()
 {
     $this->style = array('background-video' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('jquery-vide' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'jquery.vide.js'), 'background-video' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.BackgroundVideo.js'));
     $this->component = array('name' => __('Background Video', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Background Video', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Background Video', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Videos', PLUGIN_PAGE_BUILDER_DOMAIN))), 'group' => array(1 => array('header' => __('Video', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enter URL\'s to the videos in different formats', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space.', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'loop', 'ui' => array('panel' => 1, 'text' => array('header' => __('Loop', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('If enabled, upon reaching the end of the video, automatically seek back to the start', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'muted', 'ui' => array('panel' => 1, 'text' => array('header' => __('Muted', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('If enabled, the audio will be initially silenced', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'volume', 'ui' => array('panel' => 1, 'text' => array('header' => __('Volume', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Volume', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'slider', 'value' => 80, 'option' => array('min' => 0, 'max' => 100))), 'shortcode' => array('default' => '80')), array('id' => 'playback_rate', 'ui' => array('panel' => 1, 'text' => array('header' => __('Playback rate', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Sets the speed of the video playback', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 6))), 'shortcode' => array('default' => '1.0')), array('id' => 'position', 'ui' => array('panel' => 1, 'text' => array('header' => __('Position', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Position (x,y) of the video.', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('default' => '50% 50%')), array('id' => 'poster', 'ui' => array('panel' => 1, 'text' => array('header' => __('Poster', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-image'))), array('id' => 'video_format_webm', 'ui' => array('panel' => 2, 'group' => 1, 'text' => array('label' => __('Format WEBM', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-file'))), array('id' => 'video_format_ogg', 'ui' => array('panel' => 2, 'group' => 1, 'text' => array('label' => __('Format OGG', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-file'))), array('id' => 'video_format_mp4', 'ui' => array('panel' => 2, 'group' => 1, 'text' => array('label' => __('Format MP4', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-file'))))));
     parent::__construct();
 }
 function __construct()
 {
     $this->lineNumber = 0;
     $this->lineStyle = array('odd' => null, 'even' => null);
     $this->style = array('vertical-grid' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->component = array('name' => __('Vertical Grid', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Vertical Grid', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Vertical Grid', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Styles', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Values', PLUGIN_PAGE_BUILDER_DOMAIN))), 'multi' => array(1 => array('header' => __('Values', PLUGIN_PAGE_BUILDER_DOMAIN))), 'group' => array(1 => array('header' => __('Dimensions', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Width of columns (in percentage of parent width).', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Even lines', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Styles for even lines.', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Odd lines', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Styles for an odd lines.', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space.', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'column_name_width', 'ui' => array('panel' => 2, 'group' => 1, 'text' => array('label' => __('Width of the column name', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'slider', 'value' => '50', 'option' => array('min' => 1, 'max' => 100))), 'shortcode' => array('default' => '50')), array('id' => 'column_value_width', 'ui' => array('panel' => 2, 'group' => 1, 'text' => array('label' => __('Width of the column value', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'slider', 'value' => '50', 'option' => array('min' => 1, 'max' => 100))), 'shortcode' => array('default' => '50')), array('id' => 'line_even_column_name_text_color', 'ui' => array('panel' => 2, 'group' => 2, 'text' => array('label' => __('Text color for column name in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'line_even_column_value_text_color', 'ui' => array('panel' => 2, 'group' => 2, 'text' => array('label' => __('Text color for column value in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'line_even_column_name_bg_color', 'ui' => array('panel' => 2, 'group' => 2, 'text' => array('label' => __('Background color for column name in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'line_even_column_value_bg_color', 'ui' => array('panel' => 2, 'group' => 2, 'text' => array('label' => __('Background color for column value in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'line_odd_column_name_text_color', 'ui' => array('panel' => 2, 'group' => 3, 'text' => array('label' => __('Text color for column name in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'line_odd_column_value_text_color', 'ui' => array('panel' => 2, 'group' => 3, 'text' => array('label' => __('Text color for column value in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'line_odd_column_name_bg_color', 'ui' => array('panel' => 2, 'group' => 3, 'text' => array('label' => __('Background color for column name in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'line_odd_column_value_bg_color', 'ui' => array('panel' => 2, 'group' => 3, 'text' => array('label' => __('Background color for column value in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'name', 'ui' => array('panel' => 3, 'multi' => 1, 'text' => array('header' => __('Name', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Name of the value', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'textarea')), 'shortcode' => array('path' => '*line/line_name/@content')), array('id' => 'value', 'ui' => array('panel' => 3, 'multi' => 1, 'text' => array('header' => __('Value', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Value', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'textarea')), 'shortcode' => array('path' => '*line/line_value/@content')))));
     parent::__construct();
 }
 function __construct()
 {
     $Align = new PBAlign();
     $Border = new PBBorder();
     $this->style = array('divider' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->component = array('name' => __('Divider', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Divider', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Divider', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array(array('id' => 'line_width', 'ui' => array('text' => array('header' => __('Line width', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Line width in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 4)))), array('id' => 'line_height', 'ui' => array('text' => array('header' => __('Line height', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Line height in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 4)))), array('id' => 'line_style', 'ui' => array('text' => array('header' => __('Line style', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Border->style))))), array('id' => 'line_color', 'ui' => array('text' => array('header' => __('Line color', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Line color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'align', 'ui' => array('text' => array('header' => __('Align', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Align->align))))), array('id' => 'margin_top', 'ui' => array('text' => array('header' => __('Top margin', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Top margin in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 4)))), array('id' => 'margin_bottom', 'ui' => array('text' => array('header' => __('Bottom margin', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Bottom margin in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 4)))), array('id' => 'css_class', 'ui' => array('text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space.', PLUGIN_PAGE_BUILDER_DOMAIN)))))));
     parent::__construct();
 }
 function __construct()
 {
     $Easing = new PBEasing();
     $this->style = array('counter-list' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('counter-list' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.CounterList.js'));
     $this->component = array('name' => __('Counter List', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Counter List', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Counter List', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Waypoints', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Items', PLUGIN_PAGE_BUILDER_DOMAIN))), 'multi' => array(1 => array('header' => __('Item', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space.', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'character_before', 'ui' => array('panel' => 1, 'text' => array('header' => __('Character before', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enter character which has to be visible before value on list.', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'character_after', 'ui' => array('panel' => 1, 'text' => array('header' => __('Character after', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enter character which has to be visible after value on list.', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'waypoint_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Animation', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Run animation on start', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 1)), array('id' => 'waypoint_offset_trigger', 'ui' => array('panel' => 2, 'text' => array('header' => __('Offset', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('This option determines how far the top of the element must be from the top of the viewport to trigger the animation', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 10))), 'shortcode' => array('default' => '90%')), array('id' => 'waypoint_duration', 'ui' => array('panel' => 2, 'text' => array('header' => __('Duration', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Duration of the animation in milliseconds', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => '500')), array('id' => 'waypoint_easing', 'ui' => array('panel' => 2, 'text' => array('header' => __('Easing', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Easing type of animation', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($Easing->easingType)))), 'shortcode' => array('default' => 'swing')), array('id' => 'label', 'ui' => array('panel' => 3, 'multi' => 1, 'text' => array('header' => __('Name', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '*item/@name')), array('id' => 'value', 'ui' => array('panel' => 3, 'multi' => 1, 'text' => array('header' => __('Value', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('path' => '*item/@value')))));
     parent::__construct();
 }
 function __construct()
 {
     $Font = new PBFont();
     $Header = new PBHeader();
     $this->style = array('header-subheader' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->component = array('name' => __('Header + Subheader', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays header + subheader', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Header + Subheader', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Header styles', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Subheader styles', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'header_content', 'ui' => array('panel' => 1, 'text' => array('header' => __('Header', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Content of the header', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'header/@content')), array('id' => 'header_important', 'ui' => array('panel' => 1, 'text' => array('header' => __('Important of the header', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Header->important)))), 'shortcode' => array('default' => '2', 'path' => 'header/@important')), array('id' => 'subheader', 'ui' => array('panel' => 1, 'text' => array('header' => __('Subheader', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Content of the subheader', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'subheader/@content')), array('id' => 'subheader_important', 'ui' => array('panel' => 1, 'text' => array('header' => __('Important of the subheader', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Header->important)))), 'shortcode' => array('default' => '6', 'path' => 'subheader/@important')), array('id' => 'underline_enable', 'ui' => array('panel' => 1, 'text' => array('header' => __('Underline', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable header underline', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space.', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'header_font_size', 'ui' => array('panel' => 2, 'text' => array('header' => __('Font size', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Font size in pixels. Value 0 means that default size for selected header will be used.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'slider', 'value' => 0, 'option' => array('min' => 0, 'max' => 200))), 'shortcode' => array('path' => 'header/@font_size', 'default' => '0')), array('id' => 'header_font_weight', 'ui' => array('panel' => 2, 'text' => array('header' => __('Font weight', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Font->weight)))), 'shortcode' => array('path' => 'header/@font_weight', 'default' => '-1')), array('id' => 'header_font_style', 'ui' => array('panel' => 2, 'text' => array('header' => __('Font style', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Font->style)))), 'shortcode' => array('path' => 'header/@font_style', 'default' => '-1')), array('id' => 'header_font_color', 'ui' => array('panel' => 2, 'text' => array('header' => __('Font color', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Font color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => 'header/@font_color')), array('id' => 'header_line_height', 'ui' => array('panel' => 2, 'text' => array('header' => __('Line height', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Line height in selected unit. E.g: 1em, 2px etc.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('path' => 'header/@line_height')), array('id' => 'subheader_font_size', 'ui' => array('panel' => 3, 'text' => array('header' => __('Font size', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Font size in pixels. Value 0 means that default size for selected header will be used.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'slider', 'value' => 0, 'option' => array('min' => 0, 'max' => 200))), 'shortcode' => array('path' => 'subheader/@font_size', 'default' => '0')), array('id' => 'subheader_font_weight', 'ui' => array('panel' => 3, 'text' => array('header' => __('Font weight', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Font->weight)))), 'shortcode' => array('path' => 'subheader/@font_weight', 'default' => '-1')), array('id' => 'subheader_font_style', 'ui' => array('panel' => 3, 'text' => array('header' => __('Font style', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Font->style)))), 'shortcode' => array('path' => 'subheader/@font_style', 'default' => '-1')), array('id' => 'subheader_font_color', 'ui' => array('panel' => 3, 'text' => array('header' => __('Font color', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Font color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => 'subheader/@font_color')), array('id' => 'subheader_line_height', 'ui' => array('panel' => 3, 'text' => array('header' => __('Line height', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Line height in selected unit. E.g: 1em, 2px etc.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('path' => 'subheader/@line_height')))));
     parent::__construct();
 }
 function __construct()
 {
     $this->style = array('jquery-nivo-slider' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'jquery.nivo.slider.css'), 'nivo-slider' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('jquery-nivo-slider' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'jquery.nivo.slider.pack.js'), 'nivo-slider' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.NivoSlider.js'));
     $this->effect = array('sliceDown' => array(__('Slice down', PLUGIN_PAGE_BUILDER_DOMAIN)), 'sliceDownLeft' => array(__('Slice down left', PLUGIN_PAGE_BUILDER_DOMAIN)), 'sliceUp' => array(__('Slice up', PLUGIN_PAGE_BUILDER_DOMAIN)), 'sliceUpLeft' => array(__('Slice up left', PLUGIN_PAGE_BUILDER_DOMAIN)), 'sliceUpDown' => array(__('Slice up down', PLUGIN_PAGE_BUILDER_DOMAIN)), 'sliceUpDownLeft' => array(__('Slice up down left', PLUGIN_PAGE_BUILDER_DOMAIN)), 'fold' => array(__('Fold', PLUGIN_PAGE_BUILDER_DOMAIN)), 'fade' => array(__('Fade', PLUGIN_PAGE_BUILDER_DOMAIN)), 'random' => array(__('Random', PLUGIN_PAGE_BUILDER_DOMAIN)), 'slideInRight' => array(__('Slide in right', PLUGIN_PAGE_BUILDER_DOMAIN)), 'slideInLeft' => array(__('Slide in left', PLUGIN_PAGE_BUILDER_DOMAIN)), 'boxRandom' => array(__('Box random', PLUGIN_PAGE_BUILDER_DOMAIN)), 'boxRain' => array(__('Box rain', PLUGIN_PAGE_BUILDER_DOMAIN)), 'boxRainReverse' => array(__('Box rain reverse', PLUGIN_PAGE_BUILDER_DOMAIN)), 'boxRainGrow' => array(__('Box rain grow', PLUGIN_PAGE_BUILDER_DOMAIN)), 'boxRainGrowReverse' => array(__('Box rain grow reverse', PLUGIN_PAGE_BUILDER_DOMAIN)));
     $this->component = array('name' => __('Nivo Slider', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Nivo Slider', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Nivo Slider', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array(array('id' => 'image', 'ui' => array('text' => array('header' => __('Images', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Click on below button to create gallery with images to the slider', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-gallery'))), array('id' => 'image_size', 'ui' => array('text' => array('header' => __('Image size', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select image size', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'image-size')), 'shortcode' => array('default' => PBComponentData::get($this->getComponentId(), 'image_default'))), array('id' => 'url', 'ui' => array('text' => array('header' => __('URL', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'transition_effect', 'ui' => array('text' => array('header' => __('Transition effect', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select transition effect', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'checkbox', 'dictionary' => array('source' => PBHelper::extractDictionary($this->effect)))), 'shortcode' => array('default' => 'random')), array('id' => 'count_slice', 'ui' => array('text' => array('header' => __('Number of slices', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enter number of slices - only for "slice" transitions', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3))), 'shortcode' => array('default' => '15')), array('id' => 'count_column', 'ui' => array('text' => array('header' => __('Number of columns', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enter number of columns - only for "box" transitions', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3))), 'shortcode' => array('default' => '8')), array('id' => 'count_row', 'ui' => array('text' => array('header' => __('Number of rows', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enter number of rows - only for "box" transitions', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3))), 'shortcode' => array('default' => '4')), array('id' => 'transition_speed', 'ui' => array('text' => array('header' => __('Transition speed', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Slide transition speed in miliseconds', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => '500')), array('id' => 'pause_time', 'ui' => array('text' => array('header' => __('Pause time', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enter value of pause time in miliseconds', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => '3000')), array('id' => 'start_slide', 'ui' => array('text' => array('header' => __('Start slide', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enter number of start slide', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3))), 'shortcode' => array('default' => '0')), array('id' => 'preloader_enable', 'ui' => array('text' => array('header' => __('Preloader', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable image slider preloader', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'direction_navigation_enable', 'ui' => array('text' => array('header' => __('Direction navigation', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable Prev/Next navigation', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'control_navigation_enable', 'ui' => array('text' => array('header' => __('Control navigation', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable 1,2,3 ... navigation (pagination)', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'control_navigation_thumbs_enable', 'ui' => array('text' => array('header' => __('Control navigation with thumbnails', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Use thumbnails for control navigation', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'pause_on_hover', 'ui' => array('text' => array('header' => __('Pause on hover', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Stop transition when user hover on image', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'manual_advance_enable', 'ui' => array('text' => array('header' => __('Manual advance', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Force manual transitions', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'random_start_enable', 'ui' => array('text' => array('header' => __('Random at start', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Start on a random slide', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'css_class', 'ui' => array('text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space', PLUGIN_PAGE_BUILDER_DOMAIN)))))));
     parent::__construct();
 }
 function __construct()
 {
     $Easing = new PBEasing();
     $CarouFredSel = new PBCarouFredSel();
     $this->script = array('jquery-timeago' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'jquery.timeago.js', 'dependencies' => array('jquery')), 'twitter-user-timeline' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.TwitterUserTimeline.js', 'dependencies' => array('jquery')));
     $this->style = array('twitter-user-timeline' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->component = array('name' => __('Twitter User Timeline', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Latest Tweets', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Twitter User Timeline', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Twitter', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Carousel', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'twitter_username', 'ui' => array('panel' => 2, 'text' => array('header' => __('Username', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Username of Twitter account', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'twitter_consumer_key', 'ui' => array('panel' => 2, 'text' => array('header' => __('Consumer key', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'twitter_consumer_key_secret', 'ui' => array('panel' => 2, 'text' => array('header' => __('Consumer secret key', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'twitter_access_token', 'ui' => array('panel' => 2, 'text' => array('header' => __('Access token', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'twitter_access_token_secret', 'ui' => array('panel' => 2, 'text' => array('header' => __('Access token secret', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'twitter_tweet_number', 'ui' => array('panel' => 2, 'text' => array('header' => __('Number of tweets', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Specifies the number of tweets to try and retrieve.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3))), 'shortcode' => array('default' => 10)), array('id' => 'carousel_enable', 'ui' => array('panel' => 3, 'text' => array('header' => __('Enable carousel', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable carousel', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 1)), array('id' => 'carousel_autoplay_enable', 'ui' => array('panel' => 3, 'text' => array('header' => __('Autoplay', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Autoplay', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 0)), array('id' => 'carousel_circular_enable', 'ui' => array('panel' => 3, 'text' => array('header' => __('Circular', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines whether the carousel should be circular', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 1)), array('id' => 'carousel_infinite_enable', 'ui' => array('panel' => 3, 'text' => array('header' => __('Infinite', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines whether the carousel should be infinite', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 1)), array('id' => 'carousel_scroll_pause_hover', 'ui' => array('panel' => 3, 'text' => array('header' => __('Pause on hover', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines whether the timeout between transitions should be paused', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 1)), array('id' => 'carousel_scroll_fx', 'ui' => array('panel' => 3, 'text' => array('header' => __('Scroll effect', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Indicates which effect to use for the transition', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($CarouFredSel->scrollFX)))), 'shortcode' => array('default' => 'scroll')), array('id' => 'carousel_scroll_easing', 'ui' => array('panel' => 3, 'text' => array('header' => __('Easing', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Indicates which easing function to use for the transition', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($Easing->easingType)))), 'shortcode' => array('default' => 'easeInQuad')), array('id' => 'carousel_scroll_duration', 'ui' => array('panel' => 3, 'text' => array('header' => __('Duration', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines the duration of the transition in milliseconds', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('default' => '500')))));
     parent::__construct();
 }
 function __construct()
 {
     $Easing = new PBEasing();
     $this->style = array('tab' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('tab' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.Tab.js'));
     $this->heightStyle = array('content' => array(__('Content: Each panel will be only as tall as its content', PLUGIN_PAGE_BUILDER_DOMAIN)), 'auto' => array(__('Auto: all panels will be set to the height of the tallest panel', PLUGIN_PAGE_BUILDER_DOMAIN)), 'fill' => array(__('Fill:	Expand to the available height based on the parent height', PLUGIN_PAGE_BUILDER_DOMAIN)));
     $this->component = array('name' => __('Tab', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Tab', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Tab', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Animations', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Panels', PLUGIN_PAGE_BUILDER_DOMAIN))), 'group' => array(1 => array('header' => __('Show', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Options describe how to animate the showing of the panel.', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Hide', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Options describe how to animate the hiding of the panel.', PLUGIN_PAGE_BUILDER_DOMAIN))), 'multi' => array(1 => array('header' => __('Content of the panel', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'header_font_size', 'ui' => array('panel' => 1, 'text' => array('header' => __('Header font size', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Font size in pixels. If value 0 will be selected, then default font size for H5 header will be applied.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'slider', 'value' => 0, 'option' => array('min' => 0, 'max' => 100))), 'shortcode' => array('default' => 0)), array('id' => 'active', 'ui' => array('panel' => 1, 'text' => array('header' => __('Active', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('The zero-based index of the panel that is active (open).', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3))), 'shortcode' => array('default' => 0)), array('id' => 'collapsible', 'ui' => array('panel' => 1, 'text' => array('header' => __('Collapsible', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Whether all the sections can be closed at once. Allows collapsing the active section.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 0)), array('id' => 'disabled', 'ui' => array('panel' => 1, 'text' => array('header' => __('Disabled', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Disable all tabs', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 0)), array('id' => 'height_style', 'ui' => array('panel' => 1, 'text' => array('header' => __('Height style', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Controls the height of the tabs', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($this->heightStyle)))), 'shortcode' => array('default' => 'content')), array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space.', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'animation_show_enable', 'ui' => array('panel' => 2, 'group' => 1, 'text' => array('label' => __('Enable or disable animation', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'animation_show_duration', 'ui' => array('panel' => 2, 'group' => 1, 'text' => array('label' => __('Duration of animation in miliseconds', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => '300')), array('id' => 'animation_show_delay', 'ui' => array('panel' => 2, 'group' => 1, 'text' => array('label' => __('Delay of animation in miliseconds', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => '0')), array('id' => 'animation_show_easing', 'ui' => array('panel' => 2, 'group' => 1, 'text' => array('label' => __('Easing type of animation', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($Easing->easingType)))), 'shortcode' => array('default' => 'swing')), array('id' => 'animation_hide_enable', 'ui' => array('panel' => 2, 'group' => 2, 'text' => array('label' => __('Enable or disable animation', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'animation_hide_duration', 'ui' => array('panel' => 2, 'group' => 2, 'text' => array('label' => __('Duration of animation in miliseconds', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => '200')), array('id' => 'animation_hide_delay', 'ui' => array('panel' => 2, 'group' => 2, 'text' => array('label' => __('Delay of animation in miliseconds', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => '0')), array('id' => 'animation_hide_easing', 'ui' => array('panel' => 2, 'group' => 2, 'text' => array('label' => __('Easing type of animation', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($Easing->easingType)))), 'shortcode' => array('default' => 'swing')), array('id' => 'header', 'ui' => array('panel' => 3, 'multi' => 1, 'text' => array('header' => __('Header', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Header of the panel', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'navigation/*navigation_header/@content')), array('id' => 'content', 'ui' => array('panel' => 3, 'multi' => 1, 'text' => array('header' => __('Content', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Content of the panel', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'textarea')), 'shortcode' => array('path' => 'panel/*panel_content/@content')))));
     parent::__construct();
 }
 function __construct()
 {
     $Header = new PBHeader();
     $Window = new PBWindow();
     $this->style = array('call-to-action' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('call-to-action' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.CallToAction.js'));
     $this->component = array('name' => __('Call To Action', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Call To Action box', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Call To Action', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('First line', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Second line', PLUGIN_PAGE_BUILDER_DOMAIN)), 4 => array('header' => __('Button', PLUGIN_PAGE_BUILDER_DOMAIN)), 5 => array('header' => __('Box', PLUGIN_PAGE_BUILDER_DOMAIN)), 6 => array('header' => __('Border', PLUGIN_PAGE_BUILDER_DOMAIN))), 'group' => array(1 => array('header' => __('Colors', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Colors of button elements in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Padding', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Padding of the box in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Border top', PLUGIN_PAGE_BUILDER_DOMAIN)), 4 => array('header' => __('Border right', PLUGIN_PAGE_BUILDER_DOMAIN)), 5 => array('header' => __('Border bottom', PLUGIN_PAGE_BUILDER_DOMAIN)), 6 => array('header' => __('Border left', PLUGIN_PAGE_BUILDER_DOMAIN)), 7 => array('header' => __('Padding', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Padding of the button in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 8 => array('header' => __('Margin', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Margin of the button in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'first_line_text', 'ui' => array('panel' => 2, 'text' => array('header' => __('First line', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Content of the first line', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'first_line/@content')), array('id' => 'first_line_text_color', 'ui' => array('panel' => 2, 'text' => array('header' => __('Text color', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Text color of the first line in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => 'first_line/@text_color')), array('id' => 'first_line_header_important', 'ui' => array('panel' => 2, 'text' => array('header' => __('Importance of the header', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Header->important)))), 'shortcode' => array('default' => PBComponentData::get($this->getComponentId(), 'first_line_header_important_default'), 'path' => 'first_line/@header_important')), array('id' => 'second_line_text', 'ui' => array('panel' => 3, 'text' => array('header' => __('Second line', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Content of the second line', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'second_line/@content')), array('id' => 'second_line_text_color', 'ui' => array('panel' => 3, 'text' => array('header' => __('Text color', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Text color of the second line in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => 'second_line/@text_color')), array('id' => 'second_line_header_important', 'ui' => array('panel' => 3, 'text' => array('header' => __('Importance of the header', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Header->important)))), 'shortcode' => array('default' => PBComponentData::get($this->getComponentId(), 'second_line_header_important_default'), 'path' => 'second_line/@header_important')), array('id' => 'button_src', 'ui' => array('panel' => 4, 'text' => array('header' => __('URL', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('URL of the button', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'button/@src')), array('id' => 'button_target', 'ui' => array('panel' => 4, 'text' => array('header' => __('Target', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Target of the URL', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Window->linkTarget)))), 'shortcode' => array('path' => 'button/@src_target')), array('id' => 'button_label', 'ui' => array('panel' => 4, 'text' => array('header' => __('Label', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Label of the button', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'button/@content')), array('id' => 'button_text_color', 'ui' => array('panel' => 4, 'group' => 1, 'text' => array('label' => __('Text color', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => 'button/@text_color')), array('id' => 'button_text_color_hover', 'ui' => array('panel' => 4, 'group' => 1, 'text' => array('label' => __('Text color (on hover)', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => 'button/@text_color_hover')), array('id' => 'button_bg_color', 'ui' => array('panel' => 4, 'group' => 1, 'text' => array('label' => __('Background color', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => 'button/@bg_color')), array('id' => 'button_bg_color_hover', 'ui' => array('panel' => 4, 'group' => 1, 'text' => array('label' => __('Background color (on hover)', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => 'button/@bg_color_hover')), array('id' => 'button_border_color', 'ui' => array('panel' => 4, 'group' => 1, 'text' => array('label' => __('Border color', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => 'button/@border_color')), array('id' => 'button_border_color_hover', 'ui' => array('panel' => 4, 'group' => 1, 'text' => array('label' => __('Border color (on hover)', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => 'button/@border_color_hover')), array('id' => 'button_padding_top', 'ui' => array('panel' => 4, 'group' => 7, 'text' => array('label' => __('Top', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4'))), 'shortcode' => array('path' => 'button/@padding_top')), array('id' => 'button_padding_right', 'ui' => array('panel' => 4, 'group' => 7, 'text' => array('label' => __('Right', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4'))), 'shortcode' => array('path' => 'button/@padding_right')), array('id' => 'button_padding_bottom', 'ui' => array('panel' => 4, 'group' => 7, 'text' => array('label' => __('Bottom', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4'))), 'shortcode' => array('path' => 'button/@padding_bottom')), array('id' => 'button_padding_left', 'ui' => array('panel' => 4, 'group' => 7, 'text' => array('label' => __('Left', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4'))), 'shortcode' => array('path' => 'button/@padding_left')), array('id' => 'button_margin_top', 'ui' => array('panel' => 4, 'group' => 8, 'text' => array('label' => __('Top', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4'))), 'shortcode' => array('path' => 'button/@margin_top')), array('id' => 'button_margin_bottom', 'ui' => array('panel' => 4, 'group' => 8, 'text' => array('label' => __('Bottom', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4'))), 'shortcode' => array('path' => 'button/@margin_bottom')), array('id' => 'box_bg_color', 'ui' => array('panel' => 5, 'text' => array('header' => __('Background color', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Background color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => '@bg_color')), array('id' => 'box_padding_top', 'ui' => array('panel' => 5, 'group' => 2, 'text' => array('label' => __('Top', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4'))), 'shortcode' => array('path' => '@padding_top')), array('id' => 'box_padding_right', 'ui' => array('panel' => 5, 'group' => 2, 'text' => array('label' => __('Right', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4'))), 'shortcode' => array('path' => '@padding_right')), array('id' => 'box_padding_bottom', 'ui' => array('panel' => 5, 'group' => 2, 'text' => array('label' => __('Bottom', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4'))), 'shortcode' => array('path' => '@padding_bottom')), array('id' => 'box_padding_left', 'ui' => array('panel' => 5, 'group' => 2, 'text' => array('label' => __('Left', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4'))), 'shortcode' => array('path' => '@padding_left')), array('id' => 'box_border_top_width', 'ui' => array('panel' => 6, 'group' => 3, 'text' => array('label' => __('Width in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4'))), 'shortcode' => array('path' => '@border_top_width')), array('id' => 'box_border_top_color', 'ui' => array('panel' => 6, 'group' => 3, 'text' => array('label' => __('Color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => '@border_top_color')), array('id' => 'box_border_right_width', 'ui' => array('panel' => 6, 'group' => 4, 'text' => array('label' => __('Width in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4'))), 'shortcode' => array('path' => '@border_right_width')), array('id' => 'box_border_right_color', 'ui' => array('panel' => 6, 'group' => 4, 'text' => array('label' => __('Color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => '@border_right_color')), array('id' => 'box_border_bottom_width', 'ui' => array('panel' => 6, 'group' => 5, 'text' => array('label' => __('Width in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4'))), 'shortcode' => array('path' => '@border_bottom_width')), array('id' => 'box_border_bottom_color', 'ui' => array('panel' => 6, 'group' => 5, 'text' => array('label' => __('Color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => '@border_bottom_color')), array('id' => 'box_border_left_width', 'ui' => array('panel' => 6, 'group' => 6, 'text' => array('label' => __('Width in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4'))), 'shortcode' => array('path' => '@border_left_width')), array('id' => 'box_border_left_color', 'ui' => array('panel' => 6, 'group' => 6, 'text' => array('label' => __('Color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => '@border_left_color')))));
     parent::__construct();
 }
 function __construct()
 {
     $this->style = array('supersized' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'), 'jquery-supersized' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'jquery-supersized.css'));
     $this->script = array('supersized' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.Supersized.js'), 'jquery-supersized' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'jquery.supersized.min.js'));
     $this->performance = array('0' => __('No adjustments', PLUGIN_PAGE_BUILDER_DOMAIN), '1' => __('Hybrid, lowers image quality during transitions and restores after completed. (Default)', PLUGIN_PAGE_BUILDER_DOMAIN), '2' => __('Higher image quality', PLUGIN_PAGE_BUILDER_DOMAIN), '3' => __('Faster transition speed, lower image qualit', PLUGIN_PAGE_BUILDER_DOMAIN));
     $this->transition = array('none' => __('none - No transition effect', PLUGIN_PAGE_BUILDER_DOMAIN), 'fade' => __('fade - Fade effect (Default)', PLUGIN_PAGE_BUILDER_DOMAIN), 'slideTop' => __('slideTop - Slide in from top', PLUGIN_PAGE_BUILDER_DOMAIN), 'slideRight' => __('slideRight - Slide in from right', PLUGIN_PAGE_BUILDER_DOMAIN), 'slideBottom' => __('slideBottom - Slide in from bottom', PLUGIN_PAGE_BUILDER_DOMAIN), 'slideLeft' => __('slideLeft - Slide in from left', PLUGIN_PAGE_BUILDER_DOMAIN), 'carouselRight' => __('carouselRight - Carousel from right to left', PLUGIN_PAGE_BUILDER_DOMAIN), 'carouselLeft' => __('carouselLeft - Carousel from left to right', PLUGIN_PAGE_BUILDER_DOMAIN));
     $this->component = array('name' => __('Supersized', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Supersized', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Supersized', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array(array('id' => 'image', 'ui' => array('text' => array('header' => __('Images', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Click on below button to create gallery with images to the slider', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-gallery'))), array('id' => 'autoplay', 'ui' => array('text' => array('header' => __('Autoplay', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines whether slideshow begins playing when page is loaded', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'fit_always', 'ui' => array('text' => array('header' => __('Fit always', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Prevents the image from ever being cropped. Ignores minimum width and height', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'fit_landscape', 'ui' => array('text' => array('header' => __('Fit landscape', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Prevents the image from being cropped by locking it at 100% width', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'fit_portrait', 'ui' => array('text' => array('header' => __('Fit portrait', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Prevents the image from being cropped by locking it at 100% height', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'horizontal_center', 'ui' => array('text' => array('header' => __('Horizontal center', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Centers image horizontally. When turned off, the images resize/display from the left of the page', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'vertical_center', 'ui' => array('text' => array('header' => __('Vertical center', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Centers image vertically. When turned off, the images resize/display from the top of the page', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'min_width', 'ui' => array('text' => array('header' => __('Minimum width', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Minimum width the image is allowed to be. If it is met, the image won\'t size down any further.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => 0)), array('id' => 'min_height', 'ui' => array('text' => array('header' => __('Minimum height', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Minimum height the image is allowed to be. If it is met, the image won\'t size down any further.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => 0)), array('id' => 'image_protect', 'ui' => array('text' => array('header' => __('Image protect', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Disables right clicking and image dragging using Javascript', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'keyboard_nav', 'ui' => array('text' => array('header' => __('Keyboard navigation', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Allows control via keyboard', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'new_window', 'ui' => array('text' => array('header' => __('New window', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Slide links open in a new window.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'pause_hover', 'ui' => array('text' => array('header' => __('Pause on hover', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Pauses slideshow while current image hovered over', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'random', 'ui' => array('text' => array('header' => __('Random', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Slides are shown in a random order', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'start_slide', 'ui' => array('text' => array('header' => __('Start slide', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('The slide the slideshow starts on', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => '0')), array('id' => 'stop_loop', 'ui' => array('text' => array('header' => __('Stop loop', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Pauses slideshow upon reaching the last slide', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'performance', 'ui' => array('text' => array('header' => __('Performance', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Uses image rendering options in Firefox and Internet Explorer to adjust image quality. This can speed up/slow down transitions. Webkit does not yet support these options', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($this->performance)))), 'shortcode' => array('default' => '1')), array('id' => 'transition', 'ui' => array('text' => array('header' => __('Transition', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Controls which effect is used to transition between slides', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($this->transition)))), 'shortcode' => array('default' => '1')), array('id' => 'transition_speed', 'ui' => array('text' => array('header' => __('Transition speed', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Speed of transitions in milliseconds', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => '750')), array('id' => 'slide_interval', 'ui' => array('text' => array('header' => __('Slide interval', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Time between slide changes in milliseconds', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => '5000')), array('id' => 'css_class', 'ui' => array('text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space', PLUGIN_PAGE_BUILDER_DOMAIN)))))));
     parent::__construct();
 }
 function __construct()
 {
     $Layout = new PBLayout();
     $ImageHover = new PBImageHover();
     $this->style = array('gallery' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('gallery' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.Gallery.js'));
     $this->layout = $Layout->getMainLayout();
     $this->component = array('name' => __('Gallery', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Gallery', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Gallery', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array(array('id' => 'image', 'ui' => array('text' => array('header' => __('Images', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Click on below button to create gallery', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-gallery'))), array('id' => 'image_size', 'ui' => array('text' => array('header' => __('Image size', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select image size', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'image-size')), 'shortcode' => array('default' => PBComponentData::get($this->getComponentId(), 'image_default'))), array('id' => 'layout', 'ui' => array('text' => array('header' => __('Layout', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select layout of the images in gallery', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($this->layout, 'name')))), 'shortcode' => array('default' => '33x33x33')), array('id' => 'layout_full_width_enable', 'ui' => array('text' => array('header' => __('Layout full width', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable full width layout (without margins between columns)', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'preloader_enable', 'ui' => array('text' => array('header' => __('Preloader', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable preloader on images', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'hover_enable', 'ui' => array('text' => array('header' => __('Hover', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable hover on images', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'hover_type', 'ui' => array('text' => array('header' => __('Hover type', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select hover for the images in gallery', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($ImageHover->type)))), 'shortcode' => array('default' => PBComponentData::get($this->getComponentId(), 'image_hover_type_default'))), array('id' => 'caption_enable', 'ui' => array('text' => array('header' => __('Caption', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable displaying captions under images', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'description_enable', 'ui' => array('text' => array('header' => __('Description', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable displaying descriptions under images', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'css_class', 'ui' => array('text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space', PLUGIN_PAGE_BUILDER_DOMAIN)))))));
     parent::__construct();
 }
 function __construct()
 {
     $Border = new PBBorder();
     $Layout = new PBLayout();
     $Easing = new PBEasing();
     $Background = new PBBackground();
     $this->script = array('layout' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.Layout.js'));
     $this->component = array('name' => __('Layout', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays layout', PLUGIN_PAGE_BUILDER_DOMAIN), 'visibility' => 2, 'structure' => array('window' => array('title' => __('Layout', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Image', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Video', PLUGIN_PAGE_BUILDER_DOMAIN)), 4 => array('header' => __('Colors', PLUGIN_PAGE_BUILDER_DOMAIN)), 5 => array('header' => __('Styles', PLUGIN_PAGE_BUILDER_DOMAIN))), 'group' => array(1 => array('header' => __('Padding', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Padding of the layout in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Video', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select video in available format. To display background video, at least one format has to be selected', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Overlay', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select color and opacity of overlay', PLUGIN_PAGE_BUILDER_DOMAIN)), 4 => array('header' => __('Border top', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Border top properties in order: style, width, color', PLUGIN_PAGE_BUILDER_DOMAIN)), 5 => array('header' => __('Border right', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Border right properties in order: style, width, color', PLUGIN_PAGE_BUILDER_DOMAIN)), 6 => array('header' => __('Border bottom', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Border bottom properties in order: style, width, color', PLUGIN_PAGE_BUILDER_DOMAIN)), 7 => array('header' => __('Border left', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Border left properties in order: style, width, color', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'layout_line', 'ui' => array('panel' => 1, 'text' => array('header' => __('Layout of parent section', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select layout of parent section', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Layout->layoutLine, 'name')))), 'shortcode' => array('default' => 'wide')), array('id' => 'layout', 'ui' => array('panel' => 1, 'text' => array('header' => __('Layout', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select layout (number and width of columns)', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Layout->layout, 'name')))), 'visibility' => 2, 'shortcode' => array('default' => '100')), array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'css_group', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class group name', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Name of the CSS class of related lines', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'text', 'ui' => array('panel' => 1, 'text' => array('header' => __('Content', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'textarea')), 'visibility' => 2, 'shortcode' => array('path' => '@content')), array('id' => 'bg_image', 'ui' => array('panel' => 2, 'text' => array('header' => __('Background image', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Click on button to select image', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-image'))), array('id' => 'bg_repeat', 'ui' => array('panel' => 2, 'text' => array('header' => __('Background image repeat', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select type of background repeat', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($Background->backgroundRepeat)))), 'shortcode' => array('default' => 'no-repeat')), array('id' => 'bg_position', 'ui' => array('panel' => 2, 'text' => array('header' => __('Background image position', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enter position of the background', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'bg_size_a', 'ui' => array('panel' => 2, 'text' => array('header' => __('Background image size', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Specify the image size. For options "Length" and "Percentage" you have to specify these values in next field.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($Background->backgroundSize))))), array('id' => 'bg_size_b', 'ui' => array('panel' => 2, 'text' => array('header' => __('Background image size', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => array(__('Sets the width and height of the background image.', PLUGIN_PAGE_BUILDER_DOMAIN), __('Sets the width and height of the background image in percent of the parent element.', PLUGIN_PAGE_BUILDER_DOMAIN), __('The first value sets the width, the second value sets the height. If only one value is given, the second is set to "auto"', PLUGIN_PAGE_BUILDER_DOMAIN))))), array('id' => 'bg_parallax_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Enable parallax', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable parallax effect on background image', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'bg_parallax_mobile_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Enable parallax on mobile devices', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable parallax on mobile devices', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'bg_parallax_speed', 'ui' => array('panel' => 2, 'text' => array('header' => __('Parallax speed', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Speed of parallax effect', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'slider', 'value' => 30, 'option' => array('min' => 0, 'max' => 100))), 'shortcode' => array('default' => '30')), array('id' => 'video_format_webm', 'ui' => array('panel' => 3, 'group' => 2, 'text' => array('label' => __('Format WEBM', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-file'))), array('id' => 'video_format_ogg', 'ui' => array('panel' => 3, 'group' => 2, 'text' => array('label' => __('Format OGG', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-file'))), array('id' => 'video_format_mp4', 'ui' => array('panel' => 3, 'group' => 2, 'text' => array('label' => __('Format MP4', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-file'))), array('id' => 'video_poster', 'ui' => array('panel' => 3, 'text' => array('header' => __('Poster', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Click on button to select image', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-image'))), array('id' => 'video_autoplay', 'ui' => array('panel' => 3, 'text' => array('header' => __('Autoplay', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('If enabled, the video will automatically begin to play back as soon as it can do so without stopping to finish loading the data', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'video_loop', 'ui' => array('panel' => 3, 'text' => array('header' => __('Loop', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('If enabled, upon reaching the end of the video, automatically seek back to the start', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'video_muted', 'ui' => array('panel' => 3, 'text' => array('header' => __('Muted', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('If enabled, the audio will be initially silenced', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'video_control', 'ui' => array('panel' => 3, 'text' => array('header' => __('Controls', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('If enabled, control buttons (play, mute etc.) will be visible', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'video_mobile_enable', 'ui' => array('panel' => 3, 'text' => array('header' => __('Enable video on mobile devices', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable video on mobile devices', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'bg_color', 'ui' => array('panel' => 4, 'text' => array('header' => __('Background color', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Background color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'overlay_color', 'ui' => array('panel' => 4, 'group' => 3, 'text' => array('label' => __('Overlay color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'padding_top', 'ui' => array('panel' => 5, 'group' => 1, 'text' => array('label' => __('Top', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4')))), array('id' => 'padding_right', 'ui' => array('panel' => 5, 'group' => 1, 'text' => array('label' => __('Right', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4')))), array('id' => 'padding_bottom', 'ui' => array('panel' => 5, 'group' => 1, 'text' => array('label' => __('Bottom', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4')))), array('id' => 'padding_left', 'ui' => array('panel' => 5, 'group' => 1, 'text' => array('label' => __('Left', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4')))), array('id' => 'border_top_style', 'ui' => array('panel' => 5, 'group' => 4, 'text' => array('label' => __('Style:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Border->style))))), array('id' => 'border_top_width', 'ui' => array('panel' => 5, 'group' => 4, 'text' => array('label' => __('Width in pixels:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3)))), array('id' => 'border_top_color', 'ui' => array('panel' => 5, 'group' => 4, 'text' => array('label' => __('Color in HEX:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'border_right_style', 'ui' => array('panel' => 5, 'group' => 5, 'text' => array('label' => __('Style:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Border->style))))), array('id' => 'border_right_width', 'ui' => array('panel' => 5, 'group' => 5, 'text' => array('label' => __('Width in pixels:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3)))), array('id' => 'border_right_color', 'ui' => array('panel' => 5, 'group' => 5, 'text' => array('label' => __('Color in HEX:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'border_bottom_style', 'ui' => array('panel' => 5, 'group' => 6, 'text' => array('label' => __('Style:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Border->style))))), array('id' => 'border_bottom_width', 'ui' => array('panel' => 5, 'group' => 6, 'text' => array('label' => __('Width in pixels:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3)))), array('id' => 'border_bottom_color', 'ui' => array('panel' => 5, 'group' => 6, 'text' => array('label' => __('Color in HEX:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'border_left_style', 'ui' => array('panel' => 5, 'group' => 7, 'text' => array('label' => __('Style:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Border->style))))), array('id' => 'border_left_width', 'ui' => array('panel' => 5, 'group' => 7, 'text' => array('label' => __('Width in pixels:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3)))), array('id' => 'border_left_color', 'ui' => array('panel' => 5, 'group' => 7, 'text' => array('label' => __('Color in HEX:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))))));
     parent::__construct();
 }
 function __construct()
 {
     $Easing = new PBEasing();
     $this->style = array('jquery-flexslider' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'flexslider.css'), 'flexslider' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('jquery-flexslider' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'jquery.flexslider-min.js'), 'flexslider' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.FlexSlider.js'));
     $this->animation = array('fade' => __('Fade', PLUGIN_PAGE_BUILDER_DOMAIN), 'slide' => __('Slide', PLUGIN_PAGE_BUILDER_DOMAIN));
     $this->direction = array('horizontal' => __('Horizontal', PLUGIN_PAGE_BUILDER_DOMAIN), 'vertical' => __('Vertical', PLUGIN_PAGE_BUILDER_DOMAIN));
     $this->component = array('name' => __('FlexSlider', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays FlexSlider', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('FlexSlider', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array(array('id' => 'image', 'ui' => array('text' => array('header' => __('Images', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Click on below button to create gallery with images to the slider', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-gallery'))), array('id' => 'image_size', 'ui' => array('text' => array('header' => __('Image size', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select image size', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'image-size')), 'shortcode' => array('default' => PBComponentData::get($this->getComponentId(), 'image_default'))), array('id' => 'preloader_enable', 'ui' => array('text' => array('header' => __('Preloader', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable image slider preloader', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'url', 'ui' => array('text' => array('header' => __('URL', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => array(__('URL of site which has to be open after clicking on each image.', PLUGIN_PAGE_BUILDER_DOMAIN), __('You can set URL of separate image during editing it via Media Library.', PLUGIN_PAGE_BUILDER_DOMAIN))))), array('id' => 'animation', 'ui' => array('text' => array('header' => __('Animation', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select animation type', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($this->animation)))), 'shortcode' => array('default' => 'fade')), array('id' => 'easing', 'ui' => array('text' => array('header' => __('Easing', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines the easing method used in transitions', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($Easing->easingType)))), 'shortcode' => array('default' => 'swing')), array('id' => 'direction', 'ui' => array('text' => array('header' => __('Direction', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select the sliding direction', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => $this->direction))), 'shortcode' => array('default' => 'horizontal')), array('id' => 'start_at', 'ui' => array('text' => array('header' => __('Start at', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('The slide that the slider should start on', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3))), 'shortcode' => array('default' => '0')), array('id' => 'slideshow_speed', 'ui' => array('text' => array('header' => __('Slideshow speed', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Set the speed of the slideshow cycling in milliseconds.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => '7000')), array('id' => 'animation_speed', 'ui' => array('text' => array('header' => __('Animation speed', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Set the speed of animations in milliseconds.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => '600')), array('id' => 'init_delay', 'ui' => array('text' => array('header' => __('Initialization delay', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Set an initialization delay in milliseconds.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => '0')), array('id' => 'reverse', 'ui' => array('text' => array('header' => __('Reverse', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Reverse the animation direction', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'animation_loop', 'ui' => array('text' => array('header' => __('Animation loop', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'smooth_height', 'ui' => array('text' => array('header' => __('Smooth height', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Allow height of the slider to animate smoothly in horizontal mode', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'slideshow', 'ui' => array('text' => array('header' => __('Slideshow', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Animate slider automatically', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'randomize', 'ui' => array('text' => array('header' => __('Randomize', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Randomize slide order', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'pause_on_action', 'ui' => array('text' => array('header' => __('Pause on action', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Pause the slideshow when interacting with control elements', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'pause_on_hover', 'ui' => array('text' => array('header' => __('Pause on hover', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Pause the slideshow when hovering over slider, then resume when no longer hovering', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'use_css', 'ui' => array('text' => array('header' => __('Use CSS', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Slider will use CSS3 transitions if available', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'touch', 'ui' => array('text' => array('header' => __('Touch', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Allow touch swipe navigation of the slider on touch-enabled devices', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'control_nav', 'ui' => array('text' => array('header' => __('Control navigation', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable control (1,2,3 ...) navigation', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'direction_nav', 'ui' => array('text' => array('header' => __('Direction navigation', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enbale or disable direction (previous/next slide) navigation', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'keyboard', 'ui' => array('text' => array('header' => __('Keyboard', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Allow slider navigating via keyboard left/right keys', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'multiple_keyboard', 'ui' => array('text' => array('header' => __('Multiple keyboard', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => array(__('Allow keyboard navigation to affect multiple sliders.', PLUGIN_PAGE_BUILDER_DOMAIN), __('Default behavior cuts out keyboard navigation with more than one slider present.', PLUGIN_PAGE_BUILDER_DOMAIN))), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'mousewheel', 'ui' => array('text' => array('header' => __('Mousewheel', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __(' Allows slider navigating via mousewheel.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'css_class', 'ui' => array('text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space', PLUGIN_PAGE_BUILDER_DOMAIN)))))));
     parent::__construct();
 }
 function __construct()
 {
     $Post = new PBPost();
     $Easing = new PBEasing();
     $this->style = array('zaccordion' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('jquery-zaccordion' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'jquery.zaccordion.min.js'), 'zaccordion' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.ZAccordion.js'));
     $this->dataSource = array(1 => __('Gallery', PLUGIN_PAGE_BUILDER_DOMAIN), 2 => __('Posts', PLUGIN_PAGE_BUILDER_DOMAIN));
     $this->tabOpenTriggerEvent = array('click' => __('On click', PLUGIN_PAGE_BUILDER_DOMAIN), 'mouseover' => __('On mouseover', PLUGIN_PAGE_BUILDER_DOMAIN));
     $this->component = array('name' => __('zAccordion', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays zAccordion', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('zAccordion', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Gallery', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Posts', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'data_source', 'ui' => array('panel' => 1, 'text' => array('header' => __('Data source', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => array(__('Select data source for accordion content.', PLUGIN_PAGE_BUILDER_DOMAIN), __('Accordion can be build based on gallery (images) or posts featured image. Each of them can be setup in separate tabs.', PLUGIN_PAGE_BUILDER_DOMAIN))), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($this->dataSource)))), 'shortcode' => array('default' => 1)), array('id' => 'image_size', 'ui' => array('panel' => 1, 'text' => array('header' => __('Image size', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select image size', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'image-size')), 'shortcode' => array('default' => PBComponentData::get($this->getComponentId(), 'image_default'))), array('id' => 'preloader_enable', 'ui' => array('panel' => 1, 'text' => array('header' => __('Preloader', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable image slider preloader', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'starting_slide', 'ui' => array('panel' => 1, 'text' => array('header' => __('Start slide', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enter number of start slide', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3))), 'shortcode' => array('default' => '0')), array('id' => 'timeout', 'ui' => array('panel' => 1, 'text' => array('header' => __('Timeout', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Time between each slide in miliseconds', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => '2000')), array('id' => 'speed', 'ui' => array('panel' => 1, 'text' => array('header' => __('Speed', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Speed of the slide in miliseconds', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => '500')), array('id' => 'auto', 'ui' => array('panel' => 1, 'text' => array('header' => __('Auto', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Whether or not the slideshow should play automatically', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'pause', 'ui' => array('panel' => 1, 'text' => array('header' => __('Pause', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Pause on hover', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'easing', 'ui' => array('panel' => 1, 'text' => array('header' => __('Easing', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Easing method', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($Easing->easingType)))), 'shortcode' => array('default' => 'easeInQuad')), array('id' => 'trigger', 'ui' => array('panel' => 1, 'text' => array('header' => __('Event type', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => array(__('Event type needed to open tab', PLUGIN_PAGE_BUILDER_DOMAIN), __('Accordion can be build based on gallery (images) or posts featured image. Each of them can be setup in separate tabs.', PLUGIN_PAGE_BUILDER_DOMAIN))), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($this->tabOpenTriggerEvent)))), 'shortcode' => array('default' => 'click')), array('id' => 'display_slide_title', 'ui' => array('panel' => 1, 'text' => array('header' => __('Slide title', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable slide title (for posts) or caption (for images)', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'display_slide_excerpt', 'ui' => array('panel' => 1, 'text' => array('header' => __('Slide excerpt', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable slide excerpt (for posts) or description (for images)', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'image', 'ui' => array('panel' => 2, 'text' => array('header' => __('Images', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Click on below button to create gallery with images to the accordion', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-gallery'))), array('id' => 'url', 'ui' => array('panel' => 2, 'text' => array('header' => __('URL', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'post_type', 'ui' => array('panel' => 3, 'text' => array('header' => __('Post type', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select types of posts which have to be displayed.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'checkbox', 'dictionary' => array('source' => PBHelper::extractDictionary($Post->postType)))), 'shortcode' => array('default' => '')), array('id' => 'post_status', 'ui' => array('panel' => 3, 'text' => array('header' => __('Post status', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select types of post statuses which have to be displayed.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'checkbox', 'dictionary' => array('source' => PBHelper::extractDictionary($Post->postStatus)))), 'shortcode' => array('default' => '')), array('id' => 'post__in', 'ui' => array('panel' => 3, 'text' => array('header' => __('Include', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Define a comma-separated list of page ID\'s to be included to the list', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('default' => '')), array('id' => 'post__not_in', 'ui' => array('panel' => 3, 'text' => array('header' => __('Exclude', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Define a comma-separated list of page ID\'s to be excluded from the list.', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('default' => '')), array('id' => 'posts_per_page', 'ui' => array('panel' => 3, 'text' => array('header' => __('Limit number of posts', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Number of posts to show. Leave this field empty to show all posts.', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('default' => '-2')), array('id' => 'orderby', 'ui' => array('panel' => 3, 'text' => array('header' => __('Sort column', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Post->sortColumn)))), 'shortcode' => array('default' => 'date')), array('id' => 'order', 'ui' => array('panel' => 3, 'text' => array('header' => __('Sort order', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => array('asc' => __('Ascending', PLUGIN_PAGE_BUILDER_DOMAIN), 'desc' => __('Descending', PLUGIN_PAGE_BUILDER_DOMAIN))))), 'shortcode' => array('default' => 'asc')))));
     parent::__construct();
 }
 function __construct()
 {
     $this->icon_url = PBComponentData::get($this->getComponentId(), 'icon_url');
     $this->icon_url_retina = PBComponentData::get($this->getComponentId(), 'icon_url_retina');
     $this->icon_path = PBComponentData::get($this->getComponentId(), 'icon_path');
     $this->icon_file = PBComponentData::setFile($this->getComponentId(), 'icon_file', $this->icon_path);
     $this->script = array('notice' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.Notice.js', 'dependencies' => array('jquery')), 'jquery-countdown' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'jquery.countdown.min.js', 'dependencies' => array('jquery')));
     $this->style = array('notice' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->component = array('name' => __('Notice', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Notice', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Notice', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('First line', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Second line', PLUGIN_PAGE_BUILDER_DOMAIN)), 4 => array('header' => __('Box', PLUGIN_PAGE_BUILDER_DOMAIN)), 5 => array('header' => __('Icon', PLUGIN_PAGE_BUILDER_DOMAIN)), 6 => array('header' => __('Timeline', PLUGIN_PAGE_BUILDER_DOMAIN)), 7 => array('header' => __('Close button', PLUGIN_PAGE_BUILDER_DOMAIN))), 'group' => array(1 => array('header' => __('Border top', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Border top settings (width, color) of the box', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Border right', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Border right settings (width, color) of the box', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Border bottom', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Border bottom settings (width, color) of the box', PLUGIN_PAGE_BUILDER_DOMAIN)), 4 => array('header' => __('Border left', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Border left settings (width, color) of the box', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'first_line_text', 'ui' => array('panel' => 2, 'text' => array('header' => __('First line', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Content of the first line', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'first_line/@content')), array('id' => 'first_line_text_color', 'ui' => array('panel' => 2, 'text' => array('header' => __('Text color', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Text color of the first line in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => 'first_line/@text_color')), array('id' => 'second_line_text', 'ui' => array('panel' => 3, 'text' => array('header' => __('Second line', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Content of the second line', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'second_line/@content')), array('id' => 'second_line_text_color', 'ui' => array('panel' => 3, 'text' => array('header' => __('Text color', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Text color of the second line in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => 'second_line/@text_color')), array('id' => 'box_bg_color', 'ui' => array('panel' => 4, 'text' => array('header' => __('Background color', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Background color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => '@box_bg_color')), array('id' => 'box_border_top_width', 'ui' => array('panel' => 4, 'group' => 1, 'text' => array('label' => __('Width in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4'))), 'shortcode' => array('path' => '@box_border_top_width')), array('id' => 'box_border_top_color', 'ui' => array('panel' => 4, 'group' => 1, 'text' => array('label' => __('Color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => '@box_border_top_color')), array('id' => 'box_border_right_width', 'ui' => array('panel' => 4, 'group' => 2, 'text' => array('label' => __('Width in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4'))), 'shortcode' => array('path' => '@box_border_right_width')), array('id' => 'box_border_right_color', 'ui' => array('panel' => 4, 'group' => 2, 'text' => array('label' => __('Color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => '@box_border_right_color')), array('id' => 'box_border_bottom_width', 'ui' => array('panel' => 4, 'group' => 3, 'text' => array('label' => __('Width in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4'))), 'shortcode' => array('path' => '@box_border_bottom_width')), array('id' => 'box_border_bottom_color', 'ui' => array('panel' => 4, 'group' => 3, 'text' => array('label' => __('Color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => '@box_border_bottom_color')), array('id' => 'box_border_left_width', 'ui' => array('panel' => 4, 'group' => 4, 'text' => array('label' => __('Width in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4'))), 'shortcode' => array('path' => '@box_border_left_width')), array('id' => 'box_border_left_color', 'ui' => array('panel' => 4, 'group' => 4, 'text' => array('label' => __('Color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => '@box_border_left_color')), array('id' => 'icon', 'ui' => array('panel' => 5, 'text' => array('header' => __('Icon', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select an icon', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => $this->icon_file))), 'shortcode' => array('path' => '@icon', 'default' => 'tick_alt.png')), array('id' => 'icon_bg_color', 'ui' => array('panel' => 5, 'text' => array('header' => __('Background color', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Background color of the icon', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => '@icon_bg_color')), array('id' => 'timeline_enable', 'ui' => array('panel' => 6, 'text' => array('header' => __('Enable timeline', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('path' => '@timeline_enable', 'default' => '0')), array('id' => 'timeline_time_to_close', 'ui' => array('panel' => 6, 'text' => array('header' => __('Time to close', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Time to close in seconds', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '4'))), 'shortcode' => array('path' => '@timeline_time_to_close')), array('id' => 'timeline_bg_color', 'ui' => array('panel' => 6, 'text' => array('header' => __('Background color', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Background color of the timeline in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => '@timeline_bg_color')), array('id' => 'timeline_height', 'ui' => array('panel' => 6, 'text' => array('header' => __('Timeline height', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Timeline height in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '3'))), 'shortcode' => array('path' => '@timeline_height')), array('id' => 'close_button_enable', 'ui' => array('panel' => 7, 'text' => array('header' => __('Enable close button', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('path' => '@close_button_enable', 'default' => '1')), array('id' => 'close_button_text_color', 'ui' => array('panel' => 7, 'text' => array('header' => __('Text color', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Text color of the close button in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => '@close_button_text_color')))));
     parent::__construct();
 }
 function __construct()
 {
     $Layout = new PBLayout();
     $Easing = new PBEasing();
     $CarouFredSel = new PBCarouFredSel();
     $this->style = array('counter-box' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('counter-box' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.CounterBox.js'));
     $this->layout = $Layout->getMainLayout();
     $this->component = array('name' => __('Counter Box', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Counter Box', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Counter Box', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Carousel', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Waypoints', PLUGIN_PAGE_BUILDER_DOMAIN)), 4 => array('header' => __('Items', PLUGIN_PAGE_BUILDER_DOMAIN))), 'multi' => array(1 => array('header' => __('Item', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'layout', 'ui' => array('panel' => 1, 'text' => array('header' => __('Layout', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select layout of the counter boxes.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($this->layout, 'name')))), 'shortcode' => array('default' => '100')), array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space.', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'carousel_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Enable carousel', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable carousel', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 1)), array('id' => 'carousel_autoplay_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Autoplay', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Autoplay', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 0)), array('id' => 'carousel_circular_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Circular', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines whether the carousel should be circular', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 1)), array('id' => 'carousel_infinite_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Infinite', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines whether the carousel should be infinite', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 1)), array('id' => 'carousel_scroll_pause_hover', 'ui' => array('panel' => 2, 'text' => array('header' => __('Pause on hover', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines whether the timeout between transitions should be paused', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 1)), array('id' => 'carousel_scroll_fx', 'ui' => array('panel' => 2, 'text' => array('header' => __('Scroll effect', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Indicates which effect to use for the transition', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($CarouFredSel->scrollFX)))), 'shortcode' => array('default' => 'scroll')), array('id' => 'carousel_scroll_easing', 'ui' => array('panel' => 2, 'text' => array('header' => __('Easing', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Indicates which easing function to use for the transition', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($Easing->easingType)))), 'shortcode' => array('default' => 'swing')), array('id' => 'carousel_scroll_duration', 'ui' => array('panel' => 2, 'text' => array('header' => __('Duration', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines the duration of the transition in milliseconds', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('default' => '500')), array('id' => 'waypoint_enable', 'ui' => array('panel' => 3, 'text' => array('header' => __('Animation', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Run animation on start', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 1)), array('id' => 'waypoint_offset_trigger', 'ui' => array('panel' => 3, 'text' => array('header' => __('Offset', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('This option determines how far the top of the element must be from the top of the viewport to trigger the animation', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 10))), 'shortcode' => array('default' => '90%')), array('id' => 'waypoint_duration', 'ui' => array('panel' => 3, 'text' => array('header' => __('Duration', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Duration of the animation in milliseconds', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => '500')), array('id' => 'waypoint_easing', 'ui' => array('panel' => 3, 'text' => array('header' => __('Easing', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Easing type of animation', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($Easing->easingType)))), 'shortcode' => array('default' => 'swing')), array('id' => 'header', 'ui' => array('panel' => 4, 'multi' => 1, 'text' => array('header' => __('Header', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '*item/item_header/@content')), array('id' => 'content', 'ui' => array('panel' => 4, 'multi' => 1, 'text' => array('header' => __('Content', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'textarea')), 'shortcode' => array('path' => '*item/item_content/@content')), array('id' => 'value', 'ui' => array('panel' => 4, 'multi' => 1, 'text' => array('header' => __('Value', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('path' => '*item/@value')), array('id' => 'character_before', 'ui' => array('panel' => 4, 'multi' => 1, 'text' => array('header' => __('Character before', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enter character which has to be visible before value.', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '*item/@character_before')), array('id' => 'character_after', 'ui' => array('panel' => 4, 'multi' => 1, 'text' => array('header' => __('Character after', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enter character which has to be visible after value.', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '*item/@character_after')), array('id' => 'text_counter_enable', 'ui' => array('panel' => 4, 'multi' => 1, 'text' => array('header' => __('Enable text counter', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable text counter.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 1, 'path' => '*item/@text_counter_enable')), array('id' => 'graphic_counter_enable', 'ui' => array('panel' => 4, 'multi' => 1, 'text' => array('header' => __('Enable graphic counter', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable graphic counter.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 1, 'path' => '*item/@graphic_counter_enable')))));
     parent::__construct();
 }
 function __construct()
 {
     $Layout = new PBLayout();
     $Easing = new PBEasing();
     $CarouFredSel = new PBCarouFredSel();
     $this->style = array('testimonial' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('testimonial' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.Testimonial.js'));
     $this->layout = $Layout->getMainLayout();
     $this->component = array('name' => __('Testimonials', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Testimonials', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Testimonials', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Carousel', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Items', PLUGIN_PAGE_BUILDER_DOMAIN))), 'multi' => array(1 => array('header' => __('Item', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'layout', 'ui' => array('panel' => 1, 'text' => array('header' => __('Layout', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select layout of the testimonials', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($this->layout, 'name')))), 'shortcode' => array('default' => '100')), array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space.', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'carousel_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Enable carousel', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable carousel', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 1)), array('id' => 'carousel_autoplay_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Autoplay', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Autoplay', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 0)), array('id' => 'carousel_circular_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Circular', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines whether the carousel should be circular', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 1)), array('id' => 'carousel_infinite_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Infinite', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines whether the carousel should be infinite', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 1)), array('id' => 'carousel_scroll_pause_hover', 'ui' => array('panel' => 2, 'text' => array('header' => __('Pause on hover', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines whether the timeout between transitions should be paused', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => 1)), array('id' => 'carousel_scroll_fx', 'ui' => array('panel' => 2, 'text' => array('header' => __('Scroll effect', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Indicates which effect to use for the transition', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($CarouFredSel->scrollFX)))), 'shortcode' => array('default' => 'scroll')), array('id' => 'carousel_scroll_easing', 'ui' => array('panel' => 2, 'text' => array('header' => __('Easing', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Indicates which easing function to use for the transition', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($Easing->easingType)))), 'shortcode' => array('default' => 'easeInQuad')), array('id' => 'carousel_scroll_duration', 'ui' => array('panel' => 2, 'text' => array('header' => __('Duration', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines the duration of the transition in milliseconds', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 5))), 'shortcode' => array('default' => '500')), array('id' => 'content', 'ui' => array('panel' => 3, 'multi' => 1, 'text' => array('header' => __('Content', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'textarea')), 'shortcode' => array('path' => '*item/item_content/@content')), array('id' => 'author_name', 'ui' => array('panel' => 3, 'multi' => 1, 'text' => array('header' => __('Author name', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '*item/item_author/item_author_name/@content')), array('id' => 'author_position', 'ui' => array('panel' => 3, 'multi' => 1, 'text' => array('header' => __('Author position', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '*item/item_author/item_author_position/@content')), array('id' => 'author_company', 'ui' => array('panel' => 3, 'multi' => 1, 'text' => array('header' => __('Author company', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '*item/item_author/item_author_company/@content')))));
     parent::__construct();
 }
 function __construct()
 {
     $Easing = new PBEasing();
     $Layout = new PBLayout();
     $ImageHover = new PBImageHover();
     $this->script = array('pb-recent-post' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.RecentPost.js', 'dependencies' => array('jquery')));
     $this->style = array('pb-recent-post' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->layout = $Layout->getMainLayout();
     $this->template = array('1' => array(__('Template 1'), PLUGIN_PAGE_BUILDER_DOMAIN), '2' => array(__('Template 2'), PLUGIN_PAGE_BUILDER_DOMAIN));
     $this->component = array('name' => __('Recent Posts', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Recent Post', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Recent Posts', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Elements', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'category', 'name' => 'category[]', 'ui' => array('panel' => 1, 'text' => array('header' => __('Category', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select one or more categories from which data have to be retrieved.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'term', 'dictionary' => array('term' => 'category')))), array('id' => 'image_size', 'ui' => array('panel' => 1, 'text' => array('header' => __('Image size', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select image size', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'image-size')), 'shortcode' => array('default' => PBComponentData::get($this->getComponentId(), 'image_default'))), array('id' => 'layout', 'ui' => array('panel' => 1, 'text' => array('header' => __('Layout', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select layout of the posts', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($this->layout, 'name')))), 'shortcode' => array('default' => '33x33x33')), array('id' => 'template', 'ui' => array('panel' => 1, 'text' => array('header' => __('Template', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select template', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($this->template)))), 'shortcode' => array('default' => PBComponentData::get($this->getComponentId(), 'template_default'))), array('id' => 'post_count', 'ui' => array('panel' => 1, 'text' => array('header' => __('Post count', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Number of posts to show', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3))), 'shortcode' => array('default' => '3')), array('id' => 'preloader_enable', 'ui' => array('panel' => 1, 'text' => array('header' => __('Preloader', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable preloader on images', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'hover_enable', 'ui' => array('panel' => 1, 'text' => array('header' => __('Hover', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable hover on images', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'hover_type', 'ui' => array('panel' => 1, 'text' => array('header' => __('Hover type', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select hover for the images in gallery', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($ImageHover->type)))), 'shortcode' => array('default' => PBComponentData::get($this->getComponentId(), 'image_hover_type_default'))), array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'date_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Show date', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable visibility of post date', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'image_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Show image', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable visibility of post feature image', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'header_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Show header', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable visibility of post header', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'excerpt_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Show excerpt', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable visibility of post excerpt', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'author_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Show author', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable visibility of post author', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'category_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Show categories', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable visibility of post categories', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'comment_count_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Show comment count', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable visibility of comment count', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')))));
     parent::__construct();
 }
 function __construct()
 {
     $Layout = new PBLayout();
     $Background = new PBBackground();
     $this->style = array('class' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('class' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.Class.js'));
     $this->currentIndex = 0;
     $this->currentLayout = null;
     $this->layout = $Layout->getMainLayout();
     $this->component = array('name' => __('Class', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Class', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Class', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Classes', PLUGIN_PAGE_BUILDER_DOMAIN))), 'multi' => array(1 => array('header' => __('Class details', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'layout', 'ui' => array('panel' => 1, 'text' => array('header' => __('Layout', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select layout of the classes.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($this->layout, 'name')))), 'shortcode' => array('default' => '50x50')), array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space.', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'class_name', 'ui' => array('panel' => 2, 'multi' => 1, 'text' => array('header' => __('Class name', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '*item/item_name/@content')), array('id' => 'class_label', 'ui' => array('panel' => 2, 'multi' => 1, 'text' => array('header' => __('Class label', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Caption displayed under name of the class', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '*item/item_label/@content', 'default' => __('Class name', PLUGIN_PAGE_BUILDER_DOMAIN))), array('id' => 'item_attribute', 'ui' => array('panel' => 2, 'multi' => 1, 'text' => array('header' => __('Attributes', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => array(__('List of attributes (pairs in format name:value) separated by new line. E.g: Class size:15 <NEW_LINE> Years old:2-3', PLUGIN_PAGE_BUILDER_DOMAIN))), 'element' => array('type' => 'textarea')), 'shortcode' => array('path' => '*item/item_attribute/@content')), array('id' => 'item_image_url', 'ui' => array('panel' => 2, 'multi' => 1, 'text' => array('header' => __('Image URL', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-image')), 'shortcode' => array('path' => '*item/@image_url')), array('id' => 'item_image_position', 'ui' => array('panel' => 2, 'multi' => 1, 'text' => array('header' => __('Image position', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '*item/@image_position')), array('id' => 'item_image_repeat', 'ui' => array('panel' => 2, 'multi' => 1, 'text' => array('header' => __('Image repeat', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select type of background repeat.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($Background->backgroundRepeat)))), 'shortcode' => array('path' => '*item/@image_repeat')), array('id' => 'item_image_size_a', 'ui' => array('panel' => 2, 'multi' => 1, 'text' => array('header' => __('Image size', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Specify the image size. For options "Length" and "Percentage" you have to specify these values in next field.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($Background->backgroundSize)))), 'shortcode' => array('path' => '*item/@image_size_a')), array('id' => 'item_image_size_b', 'ui' => array('panel' => 2, 'multi' => 1, 'text' => array('header' => __('Image size', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => array(__('Sets the width and height of the background image.', PLUGIN_PAGE_BUILDER_DOMAIN), __('Sets the width and height of the background image in percent of the parent element.', PLUGIN_PAGE_BUILDER_DOMAIN), __('The first value sets the width, the second value sets the height. If only one value is given, the second is set to "auto"', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'shortcode' => array('path' => '*item/@image_size_b')), array('id' => 'item_button_label', 'ui' => array('panel' => 2, 'multi' => 1, 'text' => array('header' => __('Button label', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '*item/item_button/@content', 'default' => __('Read more', PLUGIN_PAGE_BUILDER_DOMAIN))), array('id' => 'item_button_url', 'ui' => array('panel' => 2, 'multi' => 1, 'text' => array('header' => __('Button URL', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '*item/item_button/@url')))));
     parent::__construct();
 }
 function __construct()
 {
     $Layout = new PBLayout();
     $this->style = array('contact-form' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('contact-form' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.ContactForm.js'), 'jquery-infieldlabel' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'jquery.infieldlabel.min.js'));
     $this->SMTPSecureConnectionType = array('SSL' => __('SSL', PLUGIN_PAGE_BUILDER_DOMAIN), 'TLS' => __('TLS', PLUGIN_PAGE_BUILDER_DOMAIN));
     $this->fieldType = array('email' => __('E-mail', PLUGIN_PAGE_BUILDER_DOMAIN), 'text' => __('Text', PLUGIN_PAGE_BUILDER_DOMAIN), 'textarea' => __('Textarea', PLUGIN_PAGE_BUILDER_DOMAIN), 'select' => __('Drop-down list', PLUGIN_PAGE_BUILDER_DOMAIN), 'submit' => __('Submit button', PLUGIN_PAGE_BUILDER_DOMAIN));
     $this->layout = array();
     foreach ($Layout->layout as $index => $value) {
         $this->layout[$index] = $value['name'];
     }
     $this->component = array('name' => __('Contact Form', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Contact Form', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Contact Form', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Account details', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('E-mail message', PLUGIN_PAGE_BUILDER_DOMAIN)), 4 => array('header' => __('Notices', PLUGIN_PAGE_BUILDER_DOMAIN)), 5 => array('header' => __('Fields', PLUGIN_PAGE_BUILDER_DOMAIN)), 6 => array('header' => __('Layout', PLUGIN_PAGE_BUILDER_DOMAIN))), 'group' => array(1 => array('header' => __('Recipient', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Recipient name and e-mail address', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Sender', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Sender name and e-mail address', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Sender SMTP', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Specify SMTP settings (if it is needed)', PLUGIN_PAGE_BUILDER_DOMAIN)), 4 => array('header' => __('Columns content', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enter name (or names, separated by comma) of the fields which have to put in one of the columns in this line', PLUGIN_PAGE_BUILDER_DOMAIN)), 5 => array('header' => __('Columns CSS classes', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enter name (or names, separated by spaces) CSS class for each single column', PLUGIN_PAGE_BUILDER_DOMAIN))), 'multi' => array(1 => array('header' => __('Field', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Line', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space.', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'debug', 'ui' => array('panel' => 1, 'text' => array('header' => __('Debug contact form', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => array(__('Enable this option if you have problems with working of contact form', PLUGIN_PAGE_BUILDER_DOMAIN), __('Then, you can check the result of processing request via Fire- or Chromebug console', PLUGIN_PAGE_BUILDER_DOMAIN))), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'reset', 'ui' => array('panel' => 1, 'text' => array('header' => __('Reset contact form', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable this option if you would like to reset all fields in contact form after sending message', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'recipient_name', 'ui' => array('panel' => 2, 'group' => 1, 'text' => array('label' => __('Name', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'recipient_email', 'ui' => array('panel' => 2, 'group' => 1, 'text' => array('label' => __('E-mail address', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'recipient_additional', 'ui' => array('panel' => 2, 'group' => 1, 'text' => array('label' => __('List of additional recipients in format: <i>recipient_name_1:recipient_email_1;recipient_name_2:recipient_email_2</i>', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'sender_name', 'ui' => array('panel' => 2, 'group' => 2, 'text' => array('label' => __('Name', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'sender_email', 'ui' => array('panel' => 2, 'group' => 2, 'text' => array('label' => __('E-mail address', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'sender_smtp_username', 'ui' => array('panel' => 2, 'group' => 3, 'text' => array('label' => __('Username', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'sender_smtp_password', 'ui' => array('panel' => 2, 'group' => 3, 'text' => array('label' => __('Password', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'sender_smtp_host', 'ui' => array('panel' => 2, 'group' => 3, 'text' => array('label' => __('Host', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'sender_smtp_port', 'ui' => array('panel' => 2, 'group' => 3, 'text' => array('label' => __('Port', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'sender_smtp_secure_connection_type', 'ui' => array('panel' => 2, 'group' => 3, 'text' => array('label' => __('Secure connection type', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($this->SMTPSecureConnectionType))))), array('id' => 'subject', 'ui' => array('panel' => 3, 'text' => array('header' => __('Subject', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enter subject of the message', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'message/message_subject/@content')), array('id' => 'message', 'ui' => array('panel' => 3, 'text' => array('header' => __('Message', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enter text of the message', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'editor')), 'shortcode' => array('path' => 'message/message_content/@content')), array('id' => 'notice_success', 'ui' => array('panel' => 4, 'text' => array('header' => __('Success notice'), 'subheader' => __('Notice displayed when e-mail has been sent', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('default' => __('Thank you for contacting us.'))), array('id' => 'notice_error', 'ui' => array('panel' => 4, 'text' => array('header' => __('Error notice'), 'subheader' => __('Notice displayed when email has not been sent (an error occurs)', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('default' => __('Sorry, we cannot send this message.'))), array('id' => 'field_type', 'ui' => array('panel' => 5, 'multi' => 1, 'text' => array('header' => __('Field type', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($this->fieldType)))), 'shortcode' => array('path' => '*field/@type')), array('id' => 'field_mandatory', 'ui' => array('panel' => 5, 'multi' => 1, 'text' => array('header' => __('Mandatory', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determine, if filling this field is mandatory', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => array(1 => __('Yes', PLUGIN_PAGE_BUILDER_DOMAIN), 0 => __('No', PLUGIN_PAGE_BUILDER_DOMAIN))))), 'shortcode' => array('path' => '*field/@mandatory', 'default' => '1')), array('id' => 'field_value', 'ui' => array('panel' => 5, 'multi' => 1, 'text' => array('header' => __('Values', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of possible values separated by semicolon for drop-down list', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '*field/@value')), array('id' => 'field_name', 'ui' => array('panel' => 5, 'multi' => 1, 'text' => array('header' => __('Name', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Name of the field. This field cannot be empty. This field can contain only characters from range a-z.', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '*field/@name')), array('id' => 'field_label', 'ui' => array('panel' => 5, 'multi' => 1, 'text' => array('header' => __('Label', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Label of the field. This field cannot be empty.', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '*field/@label')), array('id' => 'field_notice', 'ui' => array('panel' => 5, 'multi' => 1, 'text' => array('header' => __('Error notice', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Error notice displayed when field contains incorrect value (e.g is empty)', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '*field/@notice', 'default' => __('This field cannot be empty.'))), array('id' => 'layout_layout', 'ui' => array('panel' => 6, 'multi' => 2, 'text' => array('header' => __('Layout', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select layout for this line', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($this->layout)))), 'shortcode' => array('path' => 'layout/*layout_line/@layout', 'default' => '100')), array('id' => 'layout_column_1_name', 'ui' => array('panel' => 6, 'multi' => 2, 'group' => 4, 'text' => array('label' => __('First column', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'layout/*layout_line/@column_1_name')), array('id' => 'layout_column_2_name', 'ui' => array('panel' => 6, 'multi' => 2, 'group' => 4, 'text' => array('label' => __('Second column', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'layout/*layout_line/@column_2_name')), array('id' => 'layout_column_3_name', 'ui' => array('panel' => 6, 'multi' => 2, 'group' => 4, 'text' => array('label' => __('Third column', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'layout/*layout_line/@column_3_name')), array('id' => 'layout_column_4_name', 'ui' => array('panel' => 6, 'multi' => 2, 'group' => 4, 'text' => array('label' => __('Fourth column', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'layout/*layout_line/@column_4_name')), array('id' => 'layout_column_1_css_class', 'ui' => array('panel' => 6, 'multi' => 2, 'group' => 5, 'text' => array('label' => __('First column', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'layout/*layout_line/@column_1_css_class')), array('id' => 'layout_column_2_css_class', 'ui' => array('panel' => 6, 'multi' => 2, 'group' => 5, 'text' => array('label' => __('Second column', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'layout/*layout_line/@column_2_css_class')), array('id' => 'layout_column_3_css_class', 'ui' => array('panel' => 6, 'multi' => 2, 'group' => 5, 'text' => array('label' => __('Third column', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'layout/*layout_line/@column_3_css_class')), array('id' => 'layout_column_4_css_class', 'ui' => array('panel' => 6, 'multi' => 2, 'group' => 5, 'text' => array('label' => __('Fourth column', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'layout/*layout_line/@column_4_css_class')))));
     parent::__construct();
 }
 function __construct()
 {
     $this->style = array('google-map' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('google-map' => array('use' => 2, 'path' => '//maps.google.com/maps/api/js?sensor=false'), 'pb-google-map' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.GoogleMap.js', 'dependencies' => array('jquery')));
     $this->zoomControlStyle = array('DEFAULT' => array(__('Default', PLUGIN_PAGE_BUILDER_DOMAIN)), 'SMALL' => array(__('Small', PLUGIN_PAGE_BUILDER_DOMAIN)), 'LARGE' => array(__('Large', PLUGIN_PAGE_BUILDER_DOMAIN)));
     $this->mapTypeControlStyle = array('DEFAULT' => array(__('Default', PLUGIN_PAGE_BUILDER_DOMAIN)), 'HORIZONTAL_BAR' => array(__('Horizontal Bar', PLUGIN_PAGE_BUILDER_DOMAIN)), 'DROPDOWN_MENU' => array(__('Dropdown Menu', PLUGIN_PAGE_BUILDER_DOMAIN)));
     $this->position = array('TOP_CENTER' => array(__('Top center', PLUGIN_PAGE_BUILDER_DOMAIN)), 'TOP_LEFT' => array(__('Top left', PLUGIN_PAGE_BUILDER_DOMAIN)), 'TOP_RIGHT' => array(__('Top right', PLUGIN_PAGE_BUILDER_DOMAIN)), 'LEFT_TOP' => array(__('Left top', PLUGIN_PAGE_BUILDER_DOMAIN)), 'RIGHT_TOP' => array(__('Right top', PLUGIN_PAGE_BUILDER_DOMAIN)), 'LEFT_CENTER' => array(__('Left center', PLUGIN_PAGE_BUILDER_DOMAIN)), 'RIGHT_CENTER' => array(__('Right center', PLUGIN_PAGE_BUILDER_DOMAIN)), 'LEFT_BOTTOM' => array(__('Left bottom', PLUGIN_PAGE_BUILDER_DOMAIN)), 'RIGHT_BOTTOM' => array(__('Right bottom', PLUGIN_PAGE_BUILDER_DOMAIN)), 'BOTTOM_CENTER' => array(__('Bottom center', PLUGIN_PAGE_BUILDER_DOMAIN)), 'BOTTOM_LEFT' => array(__('Bottom left', PLUGIN_PAGE_BUILDER_DOMAIN)), 'BOTTOM_RIGHT' => array(__('Bottom right', PLUGIN_PAGE_BUILDER_DOMAIN)));
     $this->mapTypeId = array('ROADMAP' => array(__('Roadmap', PLUGIN_PAGE_BUILDER_DOMAIN)), 'SATELLITE' => array(__('Satellite', PLUGIN_PAGE_BUILDER_DOMAIN)), 'HYBRID' => array(__('Hybrid', PLUGIN_PAGE_BUILDER_DOMAIN)), 'TERRAIN' => array(__('Terrain', PLUGIN_PAGE_BUILDER_DOMAIN)), 'CUSTOM_MAP' => array(__('Custom styled map', PLUGIN_PAGE_BUILDER_DOMAIN)));
     $this->mapTypeStyleFeatureType = array('administrative' => array(__('[administrative] Administrative areas', PLUGIN_PAGE_BUILDER_DOMAIN)), 'administrative.country' => array(__('[administrative.country] Countries', PLUGIN_PAGE_BUILDER_DOMAIN)), 'administrative.land_parcel' => array(__('[administrative.land_parcel] Land parcels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'administrative.locality' => array(__('[administrative.locality] Localities', PLUGIN_PAGE_BUILDER_DOMAIN)), 'administrative.neighborhood' => array(__('[administrative.neighborhood] Neighborhoods', PLUGIN_PAGE_BUILDER_DOMAIN)), 'administrative.province' => array(__('[administrative.province] Provinces', PLUGIN_PAGE_BUILDER_DOMAIN)), 'all' => array(__('[all] All selector types', PLUGIN_PAGE_BUILDER_DOMAIN)), 'landscape' => array(__('[landscape] Landscapes', PLUGIN_PAGE_BUILDER_DOMAIN)), 'landscape.man_made' => array(__('[landscape.man_made] Man made structures', PLUGIN_PAGE_BUILDER_DOMAIN)), 'landscape.natural' => array(__('[landscape.natural] Natural features', PLUGIN_PAGE_BUILDER_DOMAIN)), 'landscape.natural.landcover' => array(__('[landscape.natural.landcover] Landcover', PLUGIN_PAGE_BUILDER_DOMAIN)), 'landscape.natural.terrain' => array(__('[landscape.natural.terrain] Terrain', PLUGIN_PAGE_BUILDER_DOMAIN)), 'poi' => array(__('[poi] Points of interest', PLUGIN_PAGE_BUILDER_DOMAIN)), 'poi.attraction' => array(__('[poi.attraction] Attractions for tourists', PLUGIN_PAGE_BUILDER_DOMAIN)), 'poi.business' => array(__('[poi.business] Businesses', PLUGIN_PAGE_BUILDER_DOMAIN)), 'poi.government' => array(__('[poi.government] Government buildings', PLUGIN_PAGE_BUILDER_DOMAIN)), 'poi.medical' => array(__('[poi.medical] Emergency services (hospitals, pharmacies, police, doctors, etc)', PLUGIN_PAGE_BUILDER_DOMAIN)), 'poi.park' => array(__('[poi.park] Parks', PLUGIN_PAGE_BUILDER_DOMAIN)), 'poi.place_of_worship' => array(__('[poi.place_of_worship] Places of worship, such as church, temple, or mosque', PLUGIN_PAGE_BUILDER_DOMAIN)), 'poi.school' => array(__('[poi.school] Schools', PLUGIN_PAGE_BUILDER_DOMAIN)), 'poi.sports_complex' => array(__('[poi.sports_complex] Sports complexes', PLUGIN_PAGE_BUILDER_DOMAIN)), 'road' => array(__('[road] All roads', PLUGIN_PAGE_BUILDER_DOMAIN)), 'road.arterial' => array(__('[road.arterial] Arterial roads', PLUGIN_PAGE_BUILDER_DOMAIN)), 'road.highway' => array(__('[road.highway] Highways', PLUGIN_PAGE_BUILDER_DOMAIN)), 'road.highway.controlled_access' => array(__('[road.highway.controlled_access] Controlled-access highways', PLUGIN_PAGE_BUILDER_DOMAIN)), 'road.local' => array(__('[road.local] Local roads', PLUGIN_PAGE_BUILDER_DOMAIN)), 'transit' => array(__('[transit] All transit stations and lines', PLUGIN_PAGE_BUILDER_DOMAIN)), 'transit.line' => array(__('[transit.line] Transit lines', PLUGIN_PAGE_BUILDER_DOMAIN)), 'transit.station' => array(__('[transit.station] All transit stations', PLUGIN_PAGE_BUILDER_DOMAIN)), 'transit.station.airport' => array(__('[transit.station.airport] Airports', PLUGIN_PAGE_BUILDER_DOMAIN)), 'transit.station.bus' => array(__('[transit.station.bus] Bus stops', PLUGIN_PAGE_BUILDER_DOMAIN)), 'transit.station.rail' => array(__('[transit.station.rail] Rail stations', PLUGIN_PAGE_BUILDER_DOMAIN)), 'water' => array(__('[water] Bodies of water', PLUGIN_PAGE_BUILDER_DOMAIN)));
     $this->mapTypeStyleElementType = array('all' => array(__('[all] Specified feature'), PLUGIN_PAGE_BUILDER_DOMAIN), 'geometry' => array(__('[geometry] Feature\'s geometry'), PLUGIN_PAGE_BUILDER_DOMAIN), 'geometry.fill' => array(__('[geometry.fill] Fill of the feature\'s geometry'), PLUGIN_PAGE_BUILDER_DOMAIN), 'geometry.stroke' => array(__('[geometry.stroke] Stroke of the feature\'s geometry'), PLUGIN_PAGE_BUILDER_DOMAIN), 'labels' => array(__('[labels] Feature\'s labels'), PLUGIN_PAGE_BUILDER_DOMAIN), 'labels.icon' => array(__('[labels.icon] Icons within the feature\'s labels'), PLUGIN_PAGE_BUILDER_DOMAIN), 'labels.text' => array(__('[labels.text] Text in the feature\'s label'), PLUGIN_PAGE_BUILDER_DOMAIN), 'labels.text.fill' => array(__('[labels.text.fill] Fill of the text in the feature\'s labels'), PLUGIN_PAGE_BUILDER_DOMAIN), 'labels.text.stroke' => array(__('[labels.text.stroke] Stroke of the text in the feature\'s labels'), PLUGIN_PAGE_BUILDER_DOMAIN));
     $this->mapTypeStyleVisibility = array('on' => __('On', PLUGIN_PAGE_BUILDER_DOMAIN), 'off' => __('Off', PLUGIN_PAGE_BUILDER_DOMAIN), 'simplified' => __('Simplified', PLUGIN_PAGE_BUILDER_DOMAIN));
     $this->component = array('name' => __('Google Maps', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays Google Map', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Google Maps', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Map type', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Zoom', PLUGIN_PAGE_BUILDER_DOMAIN)), 4 => array('header' => __('Pan', PLUGIN_PAGE_BUILDER_DOMAIN)), 5 => array('header' => __('Scale', PLUGIN_PAGE_BUILDER_DOMAIN)), 6 => array('header' => __('Street view', PLUGIN_PAGE_BUILDER_DOMAIN)), 7 => array('header' => __('Styles', PLUGIN_PAGE_BUILDER_DOMAIN))), 'group' => array(1 => array('header' => __('Point coordinates', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => array(__('Coordinates, in order: latitude, longitude.', PLUGIN_PAGE_BUILDER_DOMAIN), __('You can define coordinates using this tool: <a href="http://www.birdtheme.org/useful/googletool.html">http://www.birdtheme.org/useful/googletool.html</a>', PLUGIN_PAGE_BUILDER_DOMAIN))), 2 => array('header' => __('Marker coordinates', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => array(__('Coordinates, in order: latitude, longitude.', PLUGIN_PAGE_BUILDER_DOMAIN), __('You can define coordinates using this tool: <a href="http://www.birdtheme.org/useful/googletool.html">http://www.birdtheme.org/useful/googletool.html</a>', PLUGIN_PAGE_BUILDER_DOMAIN))), 3 => array('header' => __('Origin', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('The position of the image within a sprite, if any. By default, the origin is located at the top left corner of the image (0, 0).', PLUGIN_PAGE_BUILDER_DOMAIN)), 4 => array('header' => __('Anchor', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('The position at which to anchor an image in correspondance to the location of the marker on the map. By default, the anchor is located along the center point of the bottom of the image.', PLUGIN_PAGE_BUILDER_DOMAIN))), 'multi' => array(1 => array('header' => __('Style', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'coordinate_lat', 'ui' => array('panel' => 1, 'group' => 1, 'text' => array('label' => __('Latitude', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'coordinate_lng', 'ui' => array('panel' => 1, 'group' => 1, 'text' => array('label' => __('Longtitude', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'coordinate_marker_lat', 'ui' => array('panel' => 1, 'group' => 2, 'text' => array('label' => __('Latitude', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'coordinate_marker_lng', 'ui' => array('panel' => 1, 'group' => 2, 'text' => array('label' => __('Longtitude', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'marker_image_url', 'ui' => array('panel' => 1, 'text' => array('header' => __('Marker image URL', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-image'))), array('id' => 'marker_image_origin_x', 'ui' => array('panel' => 1, 'group' => 3, 'text' => array('label' => __('X', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 6))), 'shortcode' => array('default' => '0')), array('id' => 'marker_image_origin_y', 'ui' => array('panel' => 1, 'group' => 3, 'text' => array('label' => __('Y', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 6))), 'shortcode' => array('default' => '0')), array('id' => 'marker_image_anchor_x', 'ui' => array('panel' => 1, 'group' => 4, 'text' => array('label' => __('X', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 6))), 'shortcode' => array('default' => '0')), array('id' => 'marker_image_anchor_y', 'ui' => array('panel' => 1, 'group' => 4, 'text' => array('label' => __('Y', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 6))), 'shortcode' => array('default' => '0')), array('id' => 'width', 'ui' => array('panel' => 1, 'text' => array('header' => __('Width', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Width of the map (in % of the parent selector).', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'slider', 'value' => 100, 'option' => array('min' => 1, 'max' => 100))), 'shortcode' => array('default' => '100')), array('id' => 'height', 'ui' => array('panel' => 1, 'text' => array('header' => __('Height', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Map height in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 4))), 'shortcode' => array('default' => '200')), array('id' => 'draggable', 'ui' => array('panel' => 1, 'text' => array('header' => __('Draggable', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Determines whether the map should be draggable', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'scrollwheel', 'ui' => array('panel' => 1, 'text' => array('header' => __('Scrollwheel', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('If disabled, prevents zooming the map during wheel scrolling', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'name_style_map', 'ui' => array('panel' => 1, 'text' => array('header' => __('Name of styled map', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'map_type_id', 'ui' => array('panel' => 2, 'text' => array('header' => __('Map type', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select map type. Must be selected also in "Allowed map type section".', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($this->mapTypeId)))), 'shortcode' => array('default' => 'ROADMAP')), array('id' => 'map_type_ids', 'ui' => array('panel' => 2, 'text' => array('header' => __('Allowed map types', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'checkbox', 'dictionary' => array('source' => PBHelper::extractDictionary($this->mapTypeId)))), 'shortcode' => array('default' => 'ROADMAP,SATELLITE,HYBRID,TERRAIN')), array('id' => 'map_type_control_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Map type control', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable map type control', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'map_type_control_style', 'ui' => array('panel' => 2, 'text' => array('header' => __('Map type control style', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($this->mapTypeControlStyle)))), 'shortcode' => array('default' => 'DEFAULT')), array('id' => 'map_type_control_position', 'ui' => array('panel' => 2, 'text' => array('header' => __('Map type control position', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($this->position)))), 'shortcode' => array('default' => 'TOP_CENTER')), array('id' => 'zoom_control_enable', 'ui' => array('panel' => 3, 'text' => array('header' => __('Zoom control', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable zoom control.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '1')), array('id' => 'zoom_level', 'ui' => array('panel' => 3, 'text' => array('header' => __('Zoom level', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'slider', 'value' => 15, 'option' => array('min' => 0, 'max' => 21))), 'shortcode' => array('default' => '15')), array('id' => 'zoom_control_style', 'ui' => array('panel' => 3, 'text' => array('header' => __('Zoom control style', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($this->zoomControlStyle)))), 'shortcode' => array('default' => 'SMALL')), array('id' => 'zoom_position', 'ui' => array('panel' => 3, 'text' => array('header' => __('Zoom position', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($this->position)))), 'shortcode' => array('default' => 'RIGHT_TOP')), array('id' => 'pan_control_enable', 'ui' => array('panel' => 4, 'text' => array('header' => __('Pan control', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable pan control', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'pan_control_position', 'ui' => array('panel' => 4, 'text' => array('header' => __('Pan control position', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($this->position)))), 'shortcode' => array('default' => 'TOP_CENTER')), array('id' => 'scale_control_enable', 'ui' => array('panel' => 5, 'text' => array('header' => __('Scale control', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable scale control', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'scale_control_position', 'ui' => array('panel' => 5, 'text' => array('header' => __('Scale control position', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($this->position)))), 'shortcode' => array('default' => 'TOP_CENTER')), array('id' => 'street_view_enable', 'ui' => array('panel' => 6, 'text' => array('header' => __('Street view', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable or disable street view', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'street_view_position', 'ui' => array('panel' => 6, 'text' => array('header' => __('Street view position', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($this->position)))), 'shortcode' => array('default' => 'TOP_CENTER')), array('id' => 'map_type_style_feature_type', 'ui' => array('panel' => 7, 'multi' => 1, 'text' => array('header' => __('Feature type', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($this->mapTypeStyleFeatureType), 'use_default' => false))), 'shortcode' => array('path' => '*map_type_style/@feature_type')), array('id' => 'map_type_style_element_type', 'ui' => array('panel' => 7, 'multi' => 1, 'text' => array('header' => __('Element type', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($this->mapTypeStyleElementType), 'use_default' => false))), 'shortcode' => array('path' => '*map_type_style/@element_type')), array('id' => 'map_type_style_styler_hue', 'ui' => array('panel' => 7, 'multi' => 1, 'text' => array('header' => __('Hue', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Sets the hue in HEX of the feature to match the hue of the color supplied. Note that the saturation and lightness of the feature is conserved, which means that the feature will not match the color supplied exactly.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => '*map_type_style/@hue')), array('id' => 'map_type_style_styler_lightness', 'ui' => array('panel' => 7, 'multi' => 1, 'text' => array('header' => __('Lightness', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Shifts lightness of colors by a percentage of the original value if decreasing and a percentage of the remaining value if increasing.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 4))), 'shortcode' => array('path' => '*map_type_style/@lightness', 'default' => '')), array('id' => 'map_type_style_styler_saturation', 'ui' => array('panel' => 7, 'multi' => 1, 'text' => array('header' => __('Saturation', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Shifts the saturation of colors by a percentage of the original value if decreasing and a percentage of the remaining value if increasing.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 4))), 'shortcode' => array('path' => '*map_type_style/@saturation', 'default' => '')), array('id' => 'map_type_style_styler_gamma', 'ui' => array('panel' => 7, 'multi' => 1, 'text' => array('header' => __('Gamma', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => array(__('Modifies the gamma by raising the lightness to the given power.', PLUGIN_PAGE_BUILDER_DOMAIN), __('Valid values: Floating point numbers, [0.01, 10], with 1.0 representing no change.', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'shortcode' => array('path' => '*map_type_style/@gamma', 'default' => '')), array('id' => 'map_type_style_styler_inverse_lightness', 'ui' => array('panel' => 7, 'multi' => 1, 'text' => array('header' => __('Inverse lightness', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Enable will invert the lightness of the feature while preserving the hue and saturation.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => array('1' => __('Yes', PLUGIN_PAGE_BUILDER_DOMAIN), '0' => __('No', PLUGIN_PAGE_BUILDER_DOMAIN))))), 'shortcode' => array('path' => '*map_type_style/@inverse_lightness', 'default' => '-1')), array('id' => 'map_type_style_style_visibility', 'ui' => array('panel' => 7, 'multi' => 1, 'text' => array('header' => __('Visibility', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Sets the visibility of the feature.', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => $this->mapTypeStyleVisibility))), 'shortcode' => array('path' => '*map_type_style/@visibility', 'default' => '-1')), array('id' => 'map_type_style_styler_color', 'ui' => array('panel' => 7, 'multi' => 1, 'text' => array('header' => __('Color', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Sets the color in HEX of the feature', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => '*map_type_style/@color')), array('id' => 'map_type_style_styler_weight', 'ui' => array('panel' => 7, 'multi' => 1, 'text' => array('header' => __('Weight', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Sets the weight of the feature, in pixels.', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '*map_type_style/@weight', 'default' => '')))));
     parent::__construct();
 }
 function __construct()
 {
     $Align = new PBAlign();
     $Border = new PBBorder();
     $Header = new PBheader();
     $this->style = array('box' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('box' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.Box.js'));
     $this->icon = (array) PBComponentData::get($this->getComponentId(), 'icon');
     foreach ($this->icon as $index => $value) {
         $this->icon[$index]['file'] = PBComponentData::setFile($this->getComponentId(), 'icon_feature_' . $index, $value['path']);
     }
     $this->iconPosition = array('top' => array(__('Top', PLUGIN_PAGE_BUILDER_DOMAIN)), 'right' => array(__('Right', PLUGIN_PAGE_BUILDER_DOMAIN)), 'bottom' => array(__('Bottom', PLUGIN_PAGE_BUILDER_DOMAIN)), 'left' => array(__('Left', PLUGIN_PAGE_BUILDER_DOMAIN)));
     $this->component = array('name' => __('Box', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays box', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Box', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Icon', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Styles', PLUGIN_PAGE_BUILDER_DOMAIN))), 'group' => array(1 => array('header' => __('Border top', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Border top properties in order: style, width, color, radius.', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Border right', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Border right properties in order: style, width, color, radius.', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Border bottom', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Border bottom properties in order: style, width, color, radius.', PLUGIN_PAGE_BUILDER_DOMAIN)), 4 => array('header' => __('Border left', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Border left properties in order: style, width, color, radius.', PLUGIN_PAGE_BUILDER_DOMAIN)), 5 => array('header' => __('Padding', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Padding of the box in pixels in order: top, right, bottom, left.', PLUGIN_PAGE_BUILDER_DOMAIN)), 6 => array('header' => __('Text colors', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Text colors in HEX.', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space.', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'header_content', 'ui' => array('panel' => 1, 'text' => array('header' => __('Header', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Content of the header', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => 'header/@content')), array('id' => 'header_important', 'ui' => array('panel' => 1, 'text' => array('header' => __('Importance of the header', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Header->important)))), 'shortcode' => array('default' => PBComponentData::get($this->getComponentId(), 'header_important_default'), 'path' => 'header/@important')), array('id' => 'header_align', 'ui' => array('panel' => 1, 'text' => array('header' => __('Align of the header', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Align->align)))), 'shortcode' => array('path' => 'header/@align', 'default' => 'left')), array('id' => 'text', 'ui' => array('panel' => 1, 'text' => array('header' => __('Content', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'editor')), 'visibility' => 1, 'shortcode' => array('path' => 'text/@content')), array('id' => 'icon_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Enable icon', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'icon', 'ui' => array('panel' => 2, 'text' => array('header' => __('Icon', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => $this->icon[PBComponentData::get($this->getComponentId(), 'icon_size_default')]['file'], 'use_default' => false)))), array('id' => 'icon_size', 'ui' => array('panel' => 2, 'text' => array('header' => __('Icon size', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($this->icon, 'label')))), 'shortcode' => array('default' => PBComponentData::get($this->getComponentId(), 'icon_size_default'))), array('id' => 'icon_position', 'ui' => array('panel' => 2, 'text' => array('header' => __('Icon position', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($this->iconPosition)))), 'shortcode' => array('default' => 'left')), array('id' => 'icon_background_position', 'ui' => array('panel' => 2, 'text' => array('header' => __('Icon background position', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'background_color', 'ui' => array('panel' => 3, 'text' => array('header' => __('Background color', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Background color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'border_top_style', 'ui' => array('panel' => 3, 'group' => 1, 'text' => array('label' => __('Style:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Border->style))))), array('id' => 'border_top_width', 'ui' => array('panel' => 3, 'group' => 1, 'text' => array('label' => __('Width in pixels:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3)))), array('id' => 'border_top_color', 'ui' => array('panel' => 3, 'group' => 1, 'text' => array('label' => __('Color in HEX:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'border_top_radius', 'ui' => array('panel' => 3, 'group' => 1, 'text' => array('label' => __('Radius in pixels:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3)))), array('id' => 'border_right_style', 'ui' => array('panel' => 3, 'group' => 2, 'text' => array('label' => __('Style:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Border->style))))), array('id' => 'border_right_width', 'ui' => array('panel' => 3, 'group' => 2, 'text' => array('label' => __('Width in pixels:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3)))), array('id' => 'border_right_color', 'ui' => array('panel' => 3, 'group' => 2, 'text' => array('label' => __('Color in HEX:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'border_right_radius', 'ui' => array('panel' => 3, 'group' => 2, 'text' => array('label' => __('Radius in pixels:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3)))), array('id' => 'border_bottom_style', 'ui' => array('panel' => 3, 'group' => 3, 'text' => array('label' => __('Style:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Border->style))))), array('id' => 'border_bottom_width', 'ui' => array('panel' => 3, 'group' => 3, 'text' => array('label' => __('Width in pixels:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3)))), array('id' => 'border_bottom_color', 'ui' => array('panel' => 3, 'group' => 3, 'text' => array('label' => __('Color in HEX:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'border_bottom_radius', 'ui' => array('panel' => 3, 'group' => 3, 'text' => array('label' => __('Radius in pixels:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3)))), array('id' => 'border_left_style', 'ui' => array('panel' => 3, 'group' => 4, 'text' => array('label' => __('Style:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Border->style))))), array('id' => 'border_left_width', 'ui' => array('panel' => 3, 'group' => 4, 'text' => array('label' => __('Width in pixels:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3)))), array('id' => 'border_left_color', 'ui' => array('panel' => 3, 'group' => 4, 'text' => array('label' => __('Color in HEX:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'border_left_radius', 'ui' => array('panel' => 3, 'group' => 4, 'text' => array('label' => __('Radius in pixels:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3)))), array('id' => 'padding_top', 'ui' => array('panel' => 3, 'group' => 5, 'text' => array('label' => __('Top:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3)))), array('id' => 'padding_right', 'ui' => array('panel' => 3, 'group' => 5, 'text' => array('label' => __('Right:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3)))), array('id' => 'padding_bottom', 'ui' => array('panel' => 3, 'group' => 5, 'text' => array('label' => __('Bottom:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3)))), array('id' => 'padding_left', 'ui' => array('panel' => 3, 'group' => 5, 'text' => array('label' => __('Left:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => 3)))), array('id' => 'text_color_content', 'ui' => array('panel' => 3, 'group' => 6, 'text' => array('label' => __('Content text color:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => 'text/@text_color')), array('id' => 'text_color_header', 'ui' => array('panel' => 3, 'group' => 6, 'text' => array('label' => __('Header text color:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker')), 'shortcode' => array('path' => 'header/@text_color')), array('id' => 'text_color_link', 'ui' => array('panel' => 3, 'group' => 6, 'text' => array('label' => __('Link text color:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'text_color_link_hover', 'ui' => array('panel' => 3, 'group' => 6, 'text' => array('label' => __('Link text color on hover:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))))));
     parent::__construct();
 }
 function __construct()
 {
     $Font = new PBFont();
     $Border = new PBBorder();
     $Window = new PBWindow();
     $this->style = array('button' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->script = array('button' => array('use' => 2, 'path' => $this->getScriptURL(), 'file' => 'PB.Button.js'));
     $this->buttonSize = array('tiny' => array(__('Tiny', PLUGIN_PAGE_BUILDER_DOMAIN)), 'small' => array(__('Small', PLUGIN_PAGE_BUILDER_DOMAIN)), 'medium' => array(__('Medium', PLUGIN_PAGE_BUILDER_DOMAIN)), 'large' => array(__('Large', PLUGIN_PAGE_BUILDER_DOMAIN)));
     $this->buttonIconPosition = array('left' => array(__('Left', PLUGIN_PAGE_BUILDER_DOMAIN)), 'right' => array(__('Right', PLUGIN_PAGE_BUILDER_DOMAIN)));
     $this->icon_url = PBComponentData::get($this->getComponentId(), 'icon_url');
     $this->icon_url_retina = PBComponentData::get($this->getComponentId(), 'icon_url_retina');
     $this->icon_path = PBComponentData::get($this->getComponentId(), 'icon_path');
     $this->icon_file = PBComponentData::setFile($this->getComponentId(), 'icon_file', $this->icon_path);
     $this->component = array('name' => __('Button', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays button', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('Button', PLUGIN_PAGE_BUILDER_DOMAIN)), 'ui' => array('panel' => array(1 => array('header' => __('General', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Icon', PLUGIN_PAGE_BUILDER_DOMAIN)), 3 => array('header' => __('Styles', PLUGIN_PAGE_BUILDER_DOMAIN))), 'group' => array(1 => array('header' => __('Normal state', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Styles used in normal (default) state', PLUGIN_PAGE_BUILDER_DOMAIN)), 2 => array('header' => __('Hover state', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Styles used in hover state', PLUGIN_PAGE_BUILDER_DOMAIN)))), 'element' => array(array('id' => 'label', 'ui' => array('panel' => 1, 'text' => array('header' => __('Label', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Label of the button', PLUGIN_PAGE_BUILDER_DOMAIN))), 'shortcode' => array('path' => '@content')), array('id' => 'src', 'ui' => array('panel' => 1, 'text' => array('header' => __('URL', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('URL address of a link', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'src_target', 'ui' => array('panel' => 1, 'text' => array('header' => __('URL target', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Window->linkTarget)))), 'shortcode' => array('default' => '_self')), array('id' => 'size', 'ui' => array('panel' => 1, 'text' => array('header' => __('Button size', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($this->buttonSize)))), 'shortcode' => array('default' => 'medium')), array('id' => 'css_class', 'ui' => array('panel' => 1, 'text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space.', PLUGIN_PAGE_BUILDER_DOMAIN)))), array('id' => 'arrow_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Enable arrow', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'icon_enable', 'ui' => array('panel' => 2, 'text' => array('header' => __('Enable icon', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'choice-2')), 'shortcode' => array('default' => '0')), array('id' => 'icon', 'ui' => array('panel' => 2, 'text' => array('header' => __('Icon', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => PBHelper::extractDictionary($this->icon_file))))), array('id' => 'icon_position', 'ui' => array('panel' => 2, 'text' => array('header' => __('Icon position', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($this->buttonIconPosition)))), 'shortcode' => array('default' => 'left')), array('id' => 'text_color', 'ui' => array('panel' => 3, 'group' => 1, 'text' => array('label' => __('Text color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'bg_color', 'ui' => array('panel' => 3, 'group' => 1, 'text' => array('label' => __('Background color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'border_style', 'ui' => array('panel' => 3, 'group' => 1, 'text' => array('label' => __('Border style:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Border->style)))), 'shortcode' => array('default' => '-1')), array('id' => 'border_color', 'ui' => array('panel' => 3, 'group' => 1, 'text' => array('label' => __('Border color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'border_width', 'ui' => array('panel' => 3, 'group' => 1, 'text' => array('label' => __('Border width in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '3'))), 'shortcode' => array('default' => '0')), array('id' => 'border_radius', 'ui' => array('panel' => 3, 'group' => 1, 'text' => array('label' => __('Border radius in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '3'))), 'shortcode' => array('default' => '0')), array('id' => 'font_weight', 'ui' => array('panel' => 3, 'group' => 1, 'text' => array('label' => __('Font weight', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Font->weight)))), 'shortcode' => array('default' => '-1')), array('id' => 'text_color_hover', 'ui' => array('panel' => 3, 'group' => 2, 'text' => array('label' => __('Text color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'bg_color_hover', 'ui' => array('panel' => 3, 'group' => 2, 'text' => array('label' => __('Background color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'border_style_hover', 'ui' => array('panel' => 3, 'group' => 2, 'text' => array('label' => __('Border style:', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Border->style)))), 'shortcode' => array('default' => '-1')), array('id' => 'border_color_hover', 'ui' => array('panel' => 3, 'group' => 2, 'text' => array('label' => __('Border color in HEX', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'color-picker'))), array('id' => 'border_width_hover', 'ui' => array('panel' => 3, 'group' => 2, 'text' => array('label' => __('Border width in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '3'))), 'shortcode' => array('default' => '0')), array('id' => 'border_radius_hover', 'ui' => array('panel' => 3, 'group' => 2, 'text' => array('label' => __('Border radius in pixels', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('attribute' => array('maxlength' => '3'))), 'shortcode' => array('default' => '0')), array('id' => 'font_weight_hover', 'ui' => array('panel' => 3, 'group' => 2, 'text' => array('label' => __('Font weight', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'radio', 'dictionary' => array('source' => PBHelper::extractDictionary($Font->weight)))), 'shortcode' => array('default' => '-1')))));
     parent::__construct();
 }
 function __construct()
 {
     $this->bullet = array();
     $this->bullet['file'] = array();
     $bullet = (array) PBComponentData::get($this->getComponentId(), 'bullet');
     $this->bullet['url'] = $bullet['url'];
     $this->bullet['url_retina'] = $bullet['url_retina'];
     $this->bullet['path'] = $bullet['path'];
     $this->bullet['css_class'] = $bullet['css_class'];
     $file = PBFile::scanDir($bullet['path']);
     if (is_array($file)) {
         $this->bullet['file'] = array_combine($file, $file);
     }
     $this->style = array('list' => array('use' => 2, 'path' => $this->getStyleURL(), 'file' => 'style.css'));
     $this->component = array('name' => __('List', PLUGIN_PAGE_BUILDER_DOMAIN), 'description' => __('Displays list', PLUGIN_PAGE_BUILDER_DOMAIN), 'structure' => array('window' => array('title' => __('List', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array(array('id' => 'bullet', 'ui' => array('text' => array('header' => __('Bullet', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Select bullet of the list element', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'select-one', 'dictionary' => array('source' => $this->bullet['file'])))), array('id' => 'list', 'ui' => array('text' => array('header' => __('List', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('Content of the list', PLUGIN_PAGE_BUILDER_DOMAIN)), 'element' => array('type' => 'editor')), 'visibility' => 1, 'shortcode' => array('path' => '@content')), array('id' => 'css_class', 'ui' => array('text' => array('header' => __('CSS class', PLUGIN_PAGE_BUILDER_DOMAIN), 'subheader' => __('List of CSS classes defined in CSS files separated by space.', PLUGIN_PAGE_BUILDER_DOMAIN)))))));
     parent::__construct();
 }