Popup Builder – Responsive WordPress Pop up - Version 3.0.5

Version Description

Current Version of Popup Builder is 3.0.5

Download this release

Release Info

Developer Sygnoos
Plugin Icon 128x128 Popup Builder – Responsive WordPress Pop up
Version 3.0.5
Comparing to
See all releases

Code changes from version 3.0.4 to 3.0.5

com/classes/Actions.php CHANGED
@@ -22,15 +22,7 @@ class Actions
22
  add_action('media_buttons', array($this, 'popupMediaButton'));
23
  add_action('admin_enqueue_scripts', array('sgpb\Style', 'enqueueStyles'));
24
  add_action('admin_enqueue_scripts', array('sgpb\Javascript', 'enqueueScripts'));
25
- add_action('add_meta_boxes', array($this, 'popupTargetMetaBox'));
26
- add_action('add_meta_boxes', array($this, 'popupEventsMetaBox'));
27
- add_action('add_meta_boxes', array($this, 'popupConditions'));
28
- add_action('add_meta_boxes', array($this, 'popupBehaviorAfterSpecialEvents'));
29
- add_action('add_meta_boxes', array($this, 'popupDesign'));
30
- add_action('add_meta_boxes', array($this, 'popupCloseSettings'));
31
- add_action('add_meta_boxes', array($this, 'popupDimensionSettings'));
32
- add_action('add_meta_boxes', array($this, 'popupOptionsMetaBox'));
33
- add_action('add_meta_boxes', array($this, 'popupOtherConditions'));
34
  // this action for popup options saving and popup builder classes save ex from post and page
35
  add_action('save_post', array($this, 'savePost'), 100, 3);
36
  add_action('wp_enqueue_scripts', array($this, 'enqueuePopupBuilderScripts'));
@@ -51,7 +43,8 @@ class Actions
51
  add_action('admin_head', array($this, 'showPreviewButtonAfterPopupPublish'));
52
  add_action('admin_notices', array($this, 'pluginNotices'));
53
  add_action('admin_notices', array($this, 'promotionalBanner'), 10);
54
- add_action('init', array($this, 'pluginLoaded'));
 
55
  add_filter('wp_insert_post_data', array($this, 'editPublishSettings'), 100, 1);
56
  // for change admin popup list order
57
  add_action('pre_get_posts', array($this, 'preGetPosts'));
@@ -59,6 +52,30 @@ class Actions
59
  new Ajax();
60
  }
61
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  public function redirectFromPopupPage()
63
  {
64
  global $post;
@@ -71,10 +88,11 @@ class Actions
71
  }
72
 
73
  if (is_single() && SG_POPUP_POST_TYPE == $currentPostType && !is_preview()) {
 
74
  status_header(301);
75
- $homeURL = home_url();
76
- wp_redirect($homeURL);
77
- exit();
78
  }
79
  }
80
 
@@ -481,49 +499,9 @@ class Actions
481
  $this->customPostTypeObj->addSubMenu();
482
  }
483
 
484
- public function popupTargetMetaBox()
485
- {
486
- $this->customPostTypeObj->addTargetMetaBox();
487
- }
488
-
489
- public function popupEventsMetaBox()
490
- {
491
- $this->customPostTypeObj->addEventMetaBox();
492
- }
493
-
494
- public function popupConditions()
495
- {
496
- $this->customPostTypeObj->addConditionsMetaBox();
497
- }
498
-
499
- public function popupBehaviorAfterSpecialEvents()
500
- {
501
- $this->customPostTypeObj->addBehaviorAfterSpecialEventsMetaBox();
502
- }
503
-
504
- public function popupDesign()
505
- {
506
- $this->customPostTypeObj->popupDesignMetaBox();
507
- }
508
-
509
- public function popupCloseSettings()
510
- {
511
- $this->customPostTypeObj->addCloseSettingsMetaBox();
512
- }
513
-
514
- public function popupDimensionSettings()
515
- {
516
- $this->customPostTypeObj->addDimensionsSettingsMetaBox();
517
- }
518
-
519
- public function popupOptionsMetaBox()
520
- {
521
- $this->customPostTypeObj->addOptionsMetaBox();
522
- }
523
-
524
- public function popupOtherConditions()
525
  {
526
- $this->customPostTypeObj->addOtherConditions();
527
  }
528
 
529
  public function savePost($postId = 0, $post = array(), $update = false)
@@ -629,7 +607,7 @@ class Actions
629
  }
630
  else if ($column == 'counter') {
631
  $count = $popup->getPopupOpeningCountById($postId);
632
- echo $count;
633
  }
634
  else if ($column == 'type') {
635
  global $SGPB_POPUP_TYPES;
@@ -888,11 +866,11 @@ class Actions
888
  if ($post_type == SG_POPUP_POST_TYPE) {
889
  // post(popup) updated
890
  if (isset($messages['post'][1])) {
891
- $messages['post'][1] = __('Post updated.', SG_POPUP_TEXT_DOMAIN);
892
  }
893
  // post(popup) published
894
  if (isset($messages['post'][6])) {
895
- $messages['post'][6] = __('Post published.', SG_POPUP_TEXT_DOMAIN);
896
  }
897
  }
898
 
22
  add_action('media_buttons', array($this, 'popupMediaButton'));
23
  add_action('admin_enqueue_scripts', array('sgpb\Style', 'enqueueStyles'));
24
  add_action('admin_enqueue_scripts', array('sgpb\Javascript', 'enqueueScripts'));
25
+ add_action('add_meta_boxes', array($this, 'popupMetaboxes'), 100);
 
 
 
 
 
 
 
 
26
  // this action for popup options saving and popup builder classes save ex from post and page
27
  add_action('save_post', array($this, 'savePost'), 100, 3);
28
  add_action('wp_enqueue_scripts', array($this, 'enqueuePopupBuilderScripts'));
43
  add_action('admin_head', array($this, 'showPreviewButtonAfterPopupPublish'));
44
  add_action('admin_notices', array($this, 'pluginNotices'));
45
  add_action('admin_notices', array($this, 'promotionalBanner'), 10);
46
+ add_action('admin_init', array($this, 'pluginLoaded'));
47
+ add_action('plugins_loaded', array($this, 'loadTextDomain'));
48
  add_filter('wp_insert_post_data', array($this, 'editPublishSettings'), 100, 1);
49
  // for change admin popup list order
50
  add_action('pre_get_posts', array($this, 'preGetPosts'));
52
  new Ajax();
53
  }
54
 
55
+ /**
56
+ * Loads the plugin language files
57
+ */
58
+ public function loadTextDomain()
59
+ {
60
+ $popupBuilderLangDir = SG_POPUP_BUILDER_PATH.'/languages/';
61
+ $popupBuilderLangDir = apply_filters('popupBuilderLanguagesDirectory', $popupBuilderLangDir);
62
+
63
+ $locale = apply_filters('sgpb_plugin_locale', get_locale(), SG_POPUP_TEXT_DOMAIN);
64
+ $mofile = sprintf('%1$s-%2$s.mo', SG_POPUP_TEXT_DOMAIN, $locale);
65
+
66
+ $mofileLocal = $popupBuilderLangDir.$mofile;
67
+
68
+ if (file_exists($mofileLocal)) {
69
+ // Look in local /wp-content/plugins/popup-builder/languages/ folder
70
+ load_textdomain(SG_POPUP_TEXT_DOMAIN, $mofileLocal);
71
+ }
72
+ else {
73
+ // Load the default language files
74
+ load_plugin_textdomain(SG_POPUP_TEXT_DOMAIN, false, $popupBuilderLangDir);
75
+ }
76
+
77
+ }
78
+
79
  public function redirectFromPopupPage()
80
  {
81
  global $post;
88
  }
89
 
90
  if (is_single() && SG_POPUP_POST_TYPE == $currentPostType && !is_preview()) {
91
+ // it's for seo optimization
92
  status_header(301);
93
+ $homeURL = home_url();
94
+ wp_redirect($homeURL);
95
+ exit();
96
  }
97
  }
98
 
499
  $this->customPostTypeObj->addSubMenu();
500
  }
501
 
502
+ public function popupMetaboxes()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
503
  {
504
+ $this->customPostTypeObj->addPopupMetaboxes();
505
  }
506
 
507
  public function savePost($postId = 0, $post = array(), $update = false)
607
  }
608
  else if ($column == 'counter') {
609
  $count = $popup->getPopupOpeningCountById($postId);
610
+ echo '<div class="sgpb-counter-wrapper"><div class="sgpb-dashboard-popup-count-wrapper">'.$count.'</div>'.'<input onclick="SGPBBackend.resetCount('.$postId.');" type="button" name="" class="button sgpb-reset-count-btn" value="'.__('reset', SG_POPUP_TEXT_DOMAIN).'"></div>';
611
  }
612
  else if ($column == 'type') {
613
  global $SGPB_POPUP_TYPES;
866
  if ($post_type == SG_POPUP_POST_TYPE) {
867
  // post(popup) updated
868
  if (isset($messages['post'][1])) {
869
+ $messages['post'][1] = __('Popup updated.', SG_POPUP_TEXT_DOMAIN);
870
  }
871
  // post(popup) published
872
  if (isset($messages['post'][6])) {
873
+ $messages['post'][6] = __('Popup published.', SG_POPUP_TEXT_DOMAIN);
874
  }
875
  }
876
 
com/classes/Ajax.php CHANGED
@@ -59,11 +59,36 @@ class Ajax
59
  add_action('wp_ajax_nopriv_sgpb_send_to_open_counter', array($this, 'addToCounter'));
60
  add_action('wp_ajax_sgpb_send_to_open_counter', array($this, 'addToCounter'));
61
  add_action('wp_ajax_sgpb_close_banner', array($this, 'closeMainRateUsBanner'));
 
62
  /*Extension notification panel*/
63
  add_action('wp_ajax_sgpb_dont_show_extension_panel', array($this, 'extensionNotificationPanel'));
64
  add_action('wp_ajax_sgpb_dont_show_problem_alert', array($this, 'dontShowProblemAlert'));
65
  }
66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  public function dontShowProblemAlert()
68
  {
69
  check_ajax_referer(SG_AJAX_NONCE, 'nonce');
@@ -343,10 +368,14 @@ class Ajax
343
  if ($targetType == 'target' || $targetType == 'conditions') {
344
  $savedData['operator'] = '==';
345
  }
346
- else if ($targetType == 'behavior-after-special-events') {
347
  $savedData['operator'] = $paramName;
348
  }
349
 
 
 
 
 
350
  $savedData['value'] = @$conditionConfig['paramsData'][$paramName];
351
  $savedData['hiddenOption'] = @$conditionConfig['hiddenOptionData'][$paramName];
352
 
59
  add_action('wp_ajax_nopriv_sgpb_send_to_open_counter', array($this, 'addToCounter'));
60
  add_action('wp_ajax_sgpb_send_to_open_counter', array($this, 'addToCounter'));
61
  add_action('wp_ajax_sgpb_close_banner', array($this, 'closeMainRateUsBanner'));
62
+ add_action('wp_ajax_sgpb_reset_popup_opening_count', array($this, 'resetPopupOpeningCount'));
63
  /*Extension notification panel*/
64
  add_action('wp_ajax_sgpb_dont_show_extension_panel', array($this, 'extensionNotificationPanel'));
65
  add_action('wp_ajax_sgpb_dont_show_problem_alert', array($this, 'dontShowProblemAlert'));
66
  }
67
 
68
+ public function resetPopupOpeningCount()
69
+ {
70
+ check_ajax_referer(SG_AJAX_NONCE, 'nonce');
71
+
72
+ global $wpdb;
73
+ $popupId = (int)$_POST['popupId'];
74
+ $allPopupsCount = get_option('SgpbCounter');
75
+ if (empty($allPopupsCount)) {
76
+ echo SGPB_AJAX_STATUS_FALSE;
77
+ wp_die();
78
+ }
79
+ if (isset($allPopupsCount[$popupId])) {
80
+ $allPopupsCount[$popupId] = 0;
81
+ }
82
+ // 7, 12, 13 => exclude close, subscription success, contact success events
83
+ $stmt = $wpdb->prepare(' DELETE FROM '.$wpdb->prefix.'sgpb_analytics WHERE target_id = %d AND event_id NOT IN (7, 12, 13)', $popupId);
84
+ $popupAnalyticsData = $wpdb->get_var($stmt);
85
+
86
+ update_option('SgpbCounter', $allPopupsCount);
87
+
88
+ echo SGPB_AJAX_STATUS_TRUE;
89
+ wp_die();
90
+ }
91
+
92
  public function dontShowProblemAlert()
93
  {
94
  check_ajax_referer(SG_AJAX_NONCE, 'nonce');
368
  if ($targetType == 'target' || $targetType == 'conditions') {
369
  $savedData['operator'] = '==';
370
  }
371
+ else if ($conditionConfig['specialDefaultOperator']) {
372
  $savedData['operator'] = $paramName;
373
  }
374
 
375
+ if (!empty($_POST['paramValue'])) {
376
+ $savedData['tempParam'] = sanitize_text_field($_POST['paramValue']);
377
+ $savedData['operator'] = $paramName;
378
+ }
379
  $savedData['value'] = @$conditionConfig['paramsData'][$paramName];
380
  $savedData['hiddenOption'] = @$conditionConfig['hiddenOptionData'][$paramName];
381
 
com/classes/ConditionCreator.php CHANGED
@@ -185,16 +185,8 @@ class ConditionCreator
185
  //more code added because of the lack of abstraction
186
  //todo: remove ASAP if possible
187
  $sData = $conditionDataObj->getSavedData();
188
- if ($ruleName == 'param' && in_array(
189
- $sData['param'],
190
- array(
191
- 'select_behavior',
192
- 'open-popup',
193
- 'close-popup',
194
- 'redirect-url'
195
- )
196
- )) {
197
- $sData['param'] = 'contact-form-7';
198
  $newObj = clone $conditionDataObj;
199
  $newObj->setSavedData($sData);
200
  $conditionDataObj = $newObj;
185
  //more code added because of the lack of abstraction
186
  //todo: remove ASAP if possible
187
  $sData = $conditionDataObj->getSavedData();
188
+ if ($ruleName == 'param' && !empty($sData['tempParam'])) {
189
+ $sData['param'] = $sData['tempParam'];
 
 
 
 
 
 
 
 
190
  $newObj = clone $conditionDataObj;
191
  $newObj->setSavedData($sData);
192
  $conditionDataObj = $newObj;
com/classes/Filters.php CHANGED
@@ -24,6 +24,88 @@ class Filters
24
  add_filter('upgrader_pre_download', array($this, 'maybeShortenEddFilename'), 10, 4);
25
  add_filter('sgpbSavedPostData', array($this, 'savedPostData'), 10, 1);
26
  add_filter('sgpbPopupEvents', array($this, 'popupEvents'), 10, 1);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  }
28
 
29
  public function popupEvents($events)
24
  add_filter('upgrader_pre_download', array($this, 'maybeShortenEddFilename'), 10, 4);
25
  add_filter('sgpbSavedPostData', array($this, 'savedPostData'), 10, 1);
26
  add_filter('sgpbPopupEvents', array($this, 'popupEvents'), 10, 1);
27
+ add_filter('sgpbAdditionalMetaboxes', array($this, 'metaboxes'), 10, 1);
28
+ }
29
+
30
+ public function metaboxes($metaboxes)
31
+ {
32
+ $conditionsProLabel = '';
33
+ $conditionsCanBeUsed = PopupBuilderActivePackage::canUseSection('popupConditionsSection');
34
+ if (!$conditionsCanBeUsed) {
35
+ $conditionsProLabel .= '<a href="'.SG_POPUP_PRO_URL.'" target="_blank" class="sgpb-pro-label-metabox">';
36
+ $conditionsProLabel .= __('Upgrade to PRO', SG_POPUP_TEXT_DOMAIN).'</a>';
37
+ }
38
+
39
+ $otherConditionsProLabel = '';
40
+ $otherConditionsCanBeUsed = PopupBuilderActivePackage::canUseSection('popupOtherConditionsSection');
41
+ if (!$otherConditionsCanBeUsed) {
42
+ $otherConditionsProLabel .= '<a href="'.SG_POPUP_PRO_URL.'" target="_blank" class="sgpb-pro-label-metabox">';
43
+ $otherConditionsProLabel .= __('Upgrade to PRO', SG_POPUP_TEXT_DOMAIN).'</a>';
44
+ }
45
+ $metaboxes['targetMetaboxView'] = array(
46
+ 'key' => 'targetMetaboxView',
47
+ 'displayName' => 'Popup Display Rules',
48
+ 'filePath' => SG_POPUP_VIEWS_PATH.'targetView.php',
49
+ 'priority' => 'high'
50
+ );
51
+
52
+ $metaboxes['eventsMetaboxView'] = array(
53
+ 'key' => 'eventsMetaboxView',
54
+ 'displayName' => 'Popup Events',
55
+ 'filePath' => SG_POPUP_VIEWS_PATH.'eventsView.php',
56
+ 'priority' => 'high'
57
+ );
58
+
59
+ $metaboxes['conditionsMetaboxView'] = array(
60
+ 'key' => 'conditionsMetaboxView',
61
+ 'displayName' => 'Popup Conditions'.$conditionsProLabel,
62
+ 'filePath' => SG_POPUP_VIEWS_PATH.'conditionsView.php',
63
+ 'priority' => 'high'
64
+ );
65
+
66
+ $metaboxes['behaviorAfterSpecialEventsMetaboxView'] = array(
67
+ 'key' => 'behaviorAfterSpecialEventsMetaboxView',
68
+ 'displayName' => 'Behavior After Special Events',
69
+ 'filePath' => SG_POPUP_VIEWS_PATH.'behaviorAfterSpecialEventsView.php',
70
+ 'priority' => 'high'
71
+ );
72
+
73
+ $metaboxes['popupDesignMetaBoxView'] = array(
74
+ 'key' => 'popupDesignMetaBoxView',
75
+ 'displayName' => 'Design',
76
+ 'filePath' => SG_POPUP_VIEWS_PATH.'popupDesignView.php',
77
+ 'priority' => 'high'
78
+ );
79
+
80
+ $metaboxes['closeSettings'] = array(
81
+ 'key' => 'closeSettings',
82
+ 'displayName' => 'Close Settings',
83
+ 'filePath' => SG_POPUP_VIEWS_PATH.'closeSettingsView.php',
84
+ 'priority' => 'high'
85
+ );
86
+
87
+ $metaboxes['spgdimension'] = array(
88
+ 'key' => 'spgdimension',
89
+ 'displayName' => 'Dimensions',
90
+ 'filePath' => SG_POPUP_VIEWS_PATH.'dimensionsView.php',
91
+ 'priority' => 'high'
92
+ );
93
+
94
+ $metaboxes['optionsMetaboxView'] = array(
95
+ 'key' => 'optionsMetaboxView',
96
+ 'displayName' => 'Popup Options',
97
+ 'filePath' => SG_POPUP_VIEWS_PATH.'optionsView.php',
98
+ 'priority' => 'high'
99
+ );
100
+
101
+ $metaboxes['otherConditionsMetaBoxView'] = array(
102
+ 'key' => 'otherConditionsMetaBoxView',
103
+ 'displayName' => 'Popup other Conditions'.$otherConditionsProLabel,
104
+ 'filePath' => SG_POPUP_VIEWS_PATH.'otherConditionsView.php',
105
+ 'priority' => 'high'
106
+ );
107
+
108
+ return $metaboxes;
109
  }
110
 
111
  public function popupEvents($events)
com/classes/Javascript.php CHANGED
@@ -13,15 +13,11 @@ class Javascript
13
  {
14
  public static function enqueueScripts($hook)
15
  {
16
- global $post;
17
- global $post_type;
18
  $pageName = $hook;
19
  $scripts = array();
20
- $currentPostType = @$post->post_type;
21
- // in some themes global $post returns null
22
- if (empty($currentPostType)) {
23
- $currentPostType = $post_type;
24
- }
25
  if($hook == 'popupbuilder_page_popupbuilder') {
26
  $pageName = 'popupType';
27
  }
@@ -74,7 +70,10 @@ class Javascript
74
  if(!$classObj instanceof $extensionInterface) {
75
  continue;
76
  }
77
- $scriptData = $classObj->getScripts($pageName , array());
 
 
 
78
 
79
  $scripts[] = $scriptData;
80
  }
13
  {
14
  public static function enqueueScripts($hook)
15
  {
 
 
16
  $pageName = $hook;
17
  $scripts = array();
18
+ $popupType = AdminHelper::getCurrentPopupType();
19
+ $currentPostType = AdminHelper::getCurrentPostType();
20
+
 
 
21
  if($hook == 'popupbuilder_page_popupbuilder') {
22
  $pageName = 'popupType';
23
  }
70
  if(!$classObj instanceof $extensionInterface) {
71
  continue;
72
  }
73
+ $args = array(
74
+ 'popupType' => $popupType
75
+ );
76
+ $scriptData = $classObj->getScripts($pageName , $args);
77
 
78
  $scripts[] = $scriptData;
79
  }
com/classes/MediaButton.php CHANGED
@@ -53,12 +53,15 @@ class MediaButton
53
  }
54
 
55
  $buttonTitle = __('Insert custom JS variable', SG_POPUP_TEXT_DOMAIN);
56
- require_once(SG_POPUP_VIEWS_PATH.'jsVariableView.php');
 
 
 
57
 
58
  $img = '<span class="dashicons dashicons-welcome-widgets-menus" style="padding: 3px 2px 0px 0px"></span>';
59
  $output = '<a data-id="sgpb-js-variable-wrapper" href="javascript:void(0);" class="button sgpb-insert-js-variable" title="'.$buttonTitle.'" style="padding-left: .4em;">'. $img.$buttonTitle.'</a>';
60
 
61
- return $output;
62
  }
63
 
64
  private function mediaButton()
@@ -69,7 +72,11 @@ class MediaButton
69
  return $output;
70
  }
71
 
72
- require_once(SG_POPUP_VIEWS_PATH.'mediaButton.php');
 
 
 
 
73
  $showCurrentUser = AdminHelper::showMenuForCurrentUser();
74
 
75
  if (!$showCurrentUser) {
@@ -80,6 +87,6 @@ class MediaButton
80
  $img = '<span class="dashicons dashicons-welcome-widgets-menus" style="padding: 3px 2px 0px 0px"></span>';
81
  $output = '<a data-id="sgpb-hidden-media-popup" href="javascript:void(0);" class="button sgpb-insert-media-button-js" title="'.$buttonTitle.'" style="padding-left: .4em;">'. $img.$buttonTitle.'</a>';
82
 
83
- return $output;
84
  }
85
  }
53
  }
54
 
55
  $buttonTitle = __('Insert custom JS variable', SG_POPUP_TEXT_DOMAIN);
56
+ ob_start();
57
+ @include(SG_POPUP_VIEWS_PATH.'jsVariableView.php');
58
+ $jsVariableContent = ob_get_contents();
59
+ ob_end_clean();
60
 
61
  $img = '<span class="dashicons dashicons-welcome-widgets-menus" style="padding: 3px 2px 0px 0px"></span>';
62
  $output = '<a data-id="sgpb-js-variable-wrapper" href="javascript:void(0);" class="button sgpb-insert-js-variable" title="'.$buttonTitle.'" style="padding-left: .4em;">'. $img.$buttonTitle.'</a>';
63
 
64
+ return $output.$jsVariableContent;
65
  }
66
 
67
  private function mediaButton()
72
  return $output;
73
  }
74
 
75
+ ob_start();
76
+ @include(SG_POPUP_VIEWS_PATH.'mediaButton.php');
77
+ $mediaButtonContent = ob_get_contents();
78
+ ob_end_clean();
79
+
80
  $showCurrentUser = AdminHelper::showMenuForCurrentUser();
81
 
82
  if (!$showCurrentUser) {
87
  $img = '<span class="dashicons dashicons-welcome-widgets-menus" style="padding: 3px 2px 0px 0px"></span>';
88
  $output = '<a data-id="sgpb-hidden-media-popup" href="javascript:void(0);" class="button sgpb-insert-media-button-js" title="'.$buttonTitle.'" style="padding-left: .4em;">'. $img.$buttonTitle.'</a>';
89
 
90
+ return $output.$mediaButtonContent;
91
  }
92
  }
com/classes/PopupChecker.php CHANGED
@@ -516,7 +516,7 @@ class PopupChecker
516
  $popupOptions = $popup->getOptions();
517
  $popupId = $popup->getId();
518
 
519
- $dontAlowOpenPopup = apply_filters('sgpbOtherConditions', array('id' => $popupId, 'popupOptions' => $popupOptions));
520
 
521
  return $dontAlowOpenPopup;
522
  }
@@ -659,7 +659,7 @@ class PopupChecker
659
  $popupClassName = __NAMESPACE__.'\\'.$popupClassName;
660
 
661
  if (method_exists($popupClassName, 'allowToOpen')) {
662
- $allowToOpen = $popupClassName::allowToOpen($popupOptions);
663
  return $allowToOpen;
664
  }
665
  }
516
  $popupOptions = $popup->getOptions();
517
  $popupId = $popup->getId();
518
 
519
+ $dontAlowOpenPopup = apply_filters('sgpbOtherConditions', array('id' => $popupId, 'popupOptions' => $popupOptions, 'popupObj' => $popup));
520
 
521
  return $dontAlowOpenPopup;
522
  }
659
  $popupClassName = __NAMESPACE__.'\\'.$popupClassName;
660
 
661
  if (method_exists($popupClassName, 'allowToOpen')) {
662
+ $allowToOpen = $popupClassName::allowToOpen($popupOptions, $args);
663
  return $allowToOpen;
664
  }
665
  }
com/classes/RegisterPostType.php CHANGED
@@ -262,6 +262,7 @@ class RegisterPostType
262
  $popupClassName = __NAMESPACE__.'\\'.$popupClassName;
263
  $popupTypeObj = new $popupClassName();
264
  $popupTypeObj->setId($popupId);
 
265
  $this->setPopupTypeObj($popupTypeObj);
266
 
267
  $popupTypeMainView = $popupTypeObj->getPopupTypeMainView();
@@ -342,98 +343,6 @@ class RegisterPostType
342
  );
343
  }
344
 
345
- public function addTargetMetaBox()
346
- {
347
- add_meta_box(
348
- 'targetMetaboxView',
349
- __('Popup Display Rules', SG_POPUP_TEXT_DOMAIN),
350
- array($this, 'targetMetaboxView'),
351
- SG_POPUP_POST_TYPE,
352
- 'normal',
353
- 'low'
354
- );
355
- }
356
-
357
- public function addEventMetaBox()
358
- {
359
- add_meta_box(
360
- 'eventsMetaboxView',
361
- __('Popup Events', SG_POPUP_TEXT_DOMAIN),
362
- array($this, 'eventsMetaboxView'),
363
- SG_POPUP_POST_TYPE,
364
- 'normal',
365
- 'low'
366
- );
367
- }
368
-
369
- public function addConditionsMetaBox()
370
- {
371
- $prolabel = '';
372
- $conditionsCanBeUsed = PopupBuilderActivePackage::canUseSection('popupConditionsSection');
373
- if (!$conditionsCanBeUsed) {
374
- $prolabel .= '<a href="'.SG_POPUP_PRO_URL.'" target="_blank" class="sgpb-pro-label-metabox">';
375
- $prolabel .= __('Upgrade to PRO', SG_POPUP_TEXT_DOMAIN).'</a>';
376
- }
377
- add_meta_box(
378
- 'conditionsMetaboxView',
379
- __('Popup Conditions', SG_POPUP_TEXT_DOMAIN).$prolabel,
380
- array($this, 'conditionsView'),
381
- SG_POPUP_POST_TYPE,
382
- 'normal',
383
- 'low'
384
- );
385
- }
386
-
387
- public function addBehaviorAfterSpecialEventsMetaBox()
388
- {
389
- add_meta_box(
390
- 'behaviorAfterSpecialEventsMetaboxView',
391
- __('Behavior After Special Events', SG_POPUP_TEXT_DOMAIN),
392
- array($this, 'behaviorAfterSpecialEventsView'),
393
- SG_POPUP_POST_TYPE,
394
- 'normal',
395
- 'low'
396
- );
397
- }
398
-
399
- public function popupDesignMetaBox()
400
- {
401
- add_meta_box(
402
- 'popupDesignMetaBoxView',
403
- __('Design', SG_POPUP_TEXT_DOMAIN),
404
- array($this, 'popupDesignMetaBoxView'),
405
- SG_POPUP_POST_TYPE,
406
- 'normal',
407
- 'low'
408
- );
409
- }
410
-
411
- public function addCloseSettingsMetaBox()
412
- {
413
- if (Functions::getPopupTypeToAllowToShowMetabox() != 'ageRestriction') {
414
- add_meta_box(
415
- 'closeSettings',
416
- __('Close Settings', SG_POPUP_TEXT_DOMAIN),
417
- array($this, 'closeSettings'),
418
- SG_POPUP_POST_TYPE,
419
- 'normal',
420
- 'low'
421
- );
422
- }
423
- }
424
-
425
- public function addDimensionsSettingsMetaBox()
426
- {
427
- add_meta_box(
428
- 'spgdimension',
429
- __('Dimensions', SG_POPUP_TEXT_DOMAIN),
430
- array($this, 'dimensionsSettings'),
431
- SG_POPUP_POST_TYPE,
432
- 'normal',
433
- 'low'
434
- );
435
- }
436
-
437
  public function addOptionsMetaBox()
438
  {
439
  add_meta_box(
@@ -446,71 +355,43 @@ class RegisterPostType
446
  );
447
  }
448
 
449
- public function addOtherConditions()
450
- {
451
- $prolabel = '';
452
- $conditionsCanBeUsed = PopupBuilderActivePackage::canUseSection('popupOtherConditionsSection');
453
- if (!$conditionsCanBeUsed) {
454
- $prolabel .= '<a href="'.SG_POPUP_PRO_URL.'" target="_blank" class="sgpb-pro-label-metabox">';
455
- $prolabel .= __('Upgrade to PRO', SG_POPUP_TEXT_DOMAIN).'</a>';
456
- }
457
- add_meta_box(
458
- 'otherConditionsMetaBoxView',
459
- __('Popup other Conditions',
460
- SG_POPUP_TEXT_DOMAIN).$prolabel,
461
- array($this, 'otherConditionsView'),
462
- SG_POPUP_POST_TYPE,
463
- 'normal',
464
- 'low'
465
- );
466
- }
467
-
468
- public function targetMetaboxView()
469
- {
470
- $popupTypeObj = $this->getPopupTypeObj();
471
- if (file_exists(SG_POPUP_VIEWS_PATH.'targetView.php')) {
472
- require_once(SG_POPUP_VIEWS_PATH.'targetView.php');
473
- }
474
- }
475
-
476
- public function eventsMetaboxView()
477
  {
478
- $popupTypeObj = $this->getPopupTypeObj();
479
- if (file_exists(SG_POPUP_VIEWS_PATH.'eventsView.php')) {
480
- require_once(SG_POPUP_VIEWS_PATH.'eventsView.php');
481
- }
482
- }
483
-
484
- public function conditionsView()
485
- {
486
- $popupTypeObj = $this->getPopupTypeObj();
487
- if (file_exists(SG_POPUP_VIEWS_PATH.'conditionsView.php')) {
488
- require_once(SG_POPUP_VIEWS_PATH.'conditionsView.php');
489
- }
490
- }
491
 
492
- public function behaviorAfterSpecialEventsView()
493
- {
494
- $popupTypeObj = $this->getPopupTypeObj();
495
- if (file_exists(SG_POPUP_VIEWS_PATH.'behaviorAfterSpecialEventsView.php')) {
496
- require_once(SG_POPUP_VIEWS_PATH.'behaviorAfterSpecialEventsView.php');
497
  }
498
- }
499
 
500
- public function popupDesignMetaBoxView()
501
- {
502
- $popupTypeObj = $this->getPopupTypeObj();
503
- if (file_exists(SG_POPUP_VIEWS_PATH.'popupDesignView.php')) {
504
- require_once(SG_POPUP_VIEWS_PATH.'popupDesignView.php');
505
- }
506
- }
 
 
 
 
 
 
 
 
507
 
508
- public function closeSettings()
509
- {
510
- $popupTypeObj = $this->getPopupTypeObj();
511
- if (file_exists(SG_POPUP_VIEWS_PATH.'closeSettingsView.php')) {
512
- require_once(SG_POPUP_VIEWS_PATH.'closeSettingsView.php');
 
 
 
 
 
513
  }
 
 
514
  }
515
 
516
  public function popupTypesPage()
@@ -541,30 +422,6 @@ class RegisterPostType
541
  }
542
  }
543
 
544
- public function optionsMetaboxView()
545
- {
546
- $popupTypeObj = $this->getPopupTypeObj();
547
- if (file_exists(SG_POPUP_VIEWS_PATH.'optionsView.php')) {
548
- require_once(SG_POPUP_VIEWS_PATH.'optionsView.php');
549
- }
550
- }
551
-
552
- public function dimensionsSettings()
553
- {
554
- $popupTypeObj = $this->getPopupTypeObj();
555
- if (file_exists(SG_POPUP_VIEWS_PATH.'dimensionsView.php')) {
556
- require_once(SG_POPUP_VIEWS_PATH.'dimensionsView.php');
557
- }
558
- }
559
-
560
- public function otherConditionsView()
561
- {
562
- $popupTypeObj = $this->getPopupTypeObj();
563
- if (file_exists(SG_POPUP_VIEWS_PATH.'otherConditionsView.php')) {
564
- require_once(SG_POPUP_VIEWS_PATH.'otherConditionsView.php');
565
- }
566
- }
567
-
568
  public function popupTypeOptionsView()
569
  {
570
  $popupTypeObj = $this->getPopupTypeObj();
262
  $popupClassName = __NAMESPACE__.'\\'.$popupClassName;
263
  $popupTypeObj = new $popupClassName();
264
  $popupTypeObj->setId($popupId);
265
+ $popupTypeObj->setType($popupType);
266
  $this->setPopupTypeObj($popupTypeObj);
267
 
268
  $popupTypeMainView = $popupTypeObj->getPopupTypeMainView();
343
  );
344
  }
345
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
346
  public function addOptionsMetaBox()
347
  {
348
  add_meta_box(
355
  );
356
  }
357
 
358
+ public function addPopupMetaboxes()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
359
  {
360
+ $additionalMetaboxes = apply_filters('sgpbAdditionalMetaboxes', array());
 
 
 
 
 
 
 
 
 
 
 
 
361
 
362
+ if (empty($additionalMetaboxes)) {
363
+ return false;
 
 
 
364
  }
 
365
 
366
+ foreach ($additionalMetaboxes as $additionalMetabox) {
367
+ if (empty($additionalMetabox)) {
368
+ continue;
369
+ }
370
+ $context = 'normal';
371
+ $priority = 'low';
372
+ $filepath = $additionalMetabox['filePath'];
373
+ $popupTypeObj = $this->getPopupTypeObj();
374
+
375
+ if (!empty($additionalMetabox['context'])) {
376
+ $context = $additionalMetabox['context'];
377
+ }
378
+ if (!empty($additionalMetabox['priority'])) {
379
+ $priority = $additionalMetabox['priority'];
380
+ }
381
 
382
+ add_meta_box(
383
+ $additionalMetabox['key'],
384
+ __($additionalMetabox['displayName'], SG_POPUP_TEXT_DOMAIN),
385
+ function() use ($filepath, $popupTypeObj) {
386
+ require_once $filepath;
387
+ },
388
+ SG_POPUP_POST_TYPE,
389
+ $context,
390
+ $priority
391
+ );
392
  }
393
+
394
+ return true;
395
  }
396
 
397
  public function popupTypesPage()
422
  }
423
  }
424
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
425
  public function popupTypeOptionsView()
426
  {
427
  $popupTypeObj = $this->getPopupTypeObj();
com/classes/ScriptsLoader.php CHANGED
@@ -75,14 +75,13 @@ class ScriptsLoader
75
 
76
  foreach ($popups as $popup) {
77
  $popupId = $popup->getId();
 
78
 
79
- $events = $popup->getPopupAllEvents($postId, $popupId);
80
-
81
  $events = json_encode($events);
82
 
83
  $popupOptions = $this->getEncodedOptionsFromPopup($popup);
84
 
85
- $popupContent = apply_filters('sgpbPopupContentLoadToPage', $popup->getPopupTypeContent());
86
 
87
  add_action('wp_footer', function() use ($popupId, $events, $popupOptions, $popupContent) {
88
  $footerPopupContent = '<div style="position:fixed;bottom: -999999999999999999999px;">
75
 
76
  foreach ($popups as $popup) {
77
  $popupId = $popup->getId();
78
+ $popupContent = apply_filters('sgpbPopupContentLoadToPage', $popup->getPopupTypeContent());
79
 
80
+ $events = $popup->getPopupAllEvents($postId, $popupId, $popup);
 
81
  $events = json_encode($events);
82
 
83
  $popupOptions = $this->getEncodedOptionsFromPopup($popup);
84
 
 
85
 
86
  add_action('wp_footer', function() use ($popupId, $events, $popupOptions, $popupContent) {
87
  $footerPopupContent = '<div style="position:fixed;bottom: -999999999999999999999px;">
com/classes/Style.php CHANGED
@@ -17,11 +17,8 @@ class Style
17
  global $post_type;
18
  $pageName = $hook;
19
  $styles = array();
20
- $currentPostType = @$post->post_type;
21
- // in some themes global $post returns null
22
- if (empty($currentPostType)) {
23
- $currentPostType = $post_type;
24
- }
25
 
26
  if ($hook == 'popupbuilder_page_popupbuilder') {
27
  $pageName = 'popupType';
@@ -73,8 +70,10 @@ class Style
73
  if (!$classObj instanceof $extensionInterface) {
74
  continue;
75
  }
76
-
77
- $styleData = $classObj->getStyles($pageName , array());
 
 
78
  if (!empty($styleData['cssFiles'])) {
79
  $styles[] = $styleData;
80
  }
17
  global $post_type;
18
  $pageName = $hook;
19
  $styles = array();
20
+ $popupType = AdminHelper::getCurrentPopupType();
21
+ $currentPostType = AdminHelper::getCurrentPostType();
 
 
 
22
 
23
  if ($hook == 'popupbuilder_page_popupbuilder') {
24
  $pageName = 'popupType';
70
  if (!$classObj instanceof $extensionInterface) {
71
  continue;
72
  }
73
+ $args = array(
74
+ 'popupType' => $popupType
75
+ );
76
+ $styleData = $classObj->getStyles($pageName , $args);
77
  if (!empty($styleData['cssFiles'])) {
78
  $styles[] = $styleData;
79
  }
com/classes/extension/SgpbPopupExtension.php CHANGED
@@ -189,8 +189,8 @@ class SgpbPopupExtension implements SgpbIPopupExtension
189
  $cssFiles[] = array('folderUrl' => SG_POPUP_CSS_URL, 'filename' => 'popupAdminStyles.css', 'dep' => array(), 'ver' => SG_POPUP_VERSION, 'inFooter' => false);
190
  $cssFiles[] = array('folderUrl' => SG_POPUP_CSS_URL, 'filename' => 'select2.min.css', 'dep' => array(), 'ver' => SG_POPUP_VERSION, 'inFooter' => false);
191
  $cssFiles[] = array('folderUrl' => SG_POPUP_CSS_URL, 'filename' => 'sgPopupRangeSlider.css', 'dep' => array(), 'ver' => SG_POPUP_VERSION, 'inFooter' => false);
 
192
  $cssFiles[] = array('folderUrl' => '', 'filename' => 'wp-color-picker');
193
- $cssFiles[] = array('folderUrl' => SG_POPUP_CSS_URL, 'filename' => 'animate.css');
194
  }
195
  else if ($pageName == 'subscribers') {
196
  $cssFiles[] = array('folderUrl' => SG_POPUP_CSS_URL, 'filename' => 'sgbp-bootstrap.css', 'dep' => array(), 'ver' => SG_POPUP_VERSION, 'inFooter' => false);
@@ -231,7 +231,8 @@ class SgpbPopupExtension implements SgpbIPopupExtension
231
  'homePageUrl' => get_home_url().'/',
232
  'isPreview' => is_preview(),
233
  'convertedIdsReverse' => AdminHelper::getReverseConvertIds(),
234
- 'dontShowPopupExpireTime' => SGPB_DONT_SHOW_POPUP_EXPIRY
 
235
  )
236
  );
237
  $localizeData[] = array(
@@ -277,7 +278,6 @@ class SgpbPopupExtension implements SgpbIPopupExtension
277
  {
278
  $cssFiles = array();
279
  $cssFiles[] = array('folderUrl' => SG_POPUP_CSS_URL, 'filename' => 'theme.css', 'dep' => array(), 'ver' => SG_POPUP_VERSION, 'inFooter' => false);
280
- $cssFiles[] = array('folderUrl' => SG_POPUP_CSS_URL, 'filename' => 'animate.css', 'dep' => array(), 'ver' => SG_POPUP_VERSION, 'inFooter' => false);
281
 
282
  $cssData = array(
283
  'cssFiles' => apply_filters('sgpbFrontendCssFiles', $cssFiles)
189
  $cssFiles[] = array('folderUrl' => SG_POPUP_CSS_URL, 'filename' => 'popupAdminStyles.css', 'dep' => array(), 'ver' => SG_POPUP_VERSION, 'inFooter' => false);
190
  $cssFiles[] = array('folderUrl' => SG_POPUP_CSS_URL, 'filename' => 'select2.min.css', 'dep' => array(), 'ver' => SG_POPUP_VERSION, 'inFooter' => false);
191
  $cssFiles[] = array('folderUrl' => SG_POPUP_CSS_URL, 'filename' => 'sgPopupRangeSlider.css', 'dep' => array(), 'ver' => SG_POPUP_VERSION, 'inFooter' => false);
192
+ $cssFiles[] = array('folderUrl' => SG_POPUP_CSS_URL, 'filename' => 'theme.css', 'dep' => array(), 'ver' => SG_POPUP_VERSION, 'inFooter' => false);
193
  $cssFiles[] = array('folderUrl' => '', 'filename' => 'wp-color-picker');
 
194
  }
195
  else if ($pageName == 'subscribers') {
196
  $cssFiles[] = array('folderUrl' => SG_POPUP_CSS_URL, 'filename' => 'sgbp-bootstrap.css', 'dep' => array(), 'ver' => SG_POPUP_VERSION, 'inFooter' => false);
231
  'homePageUrl' => get_home_url().'/',
232
  'isPreview' => is_preview(),
233
  'convertedIdsReverse' => AdminHelper::getReverseConvertIds(),
234
+ 'dontShowPopupExpireTime' => SGPB_DONT_SHOW_POPUP_EXPIRY,
235
+ 'conditionalJsClasses' => apply_filters('sgpbConditionalJsClasses', array())
236
  )
237
  );
238
  $localizeData[] = array(
278
  {
279
  $cssFiles = array();
280
  $cssFiles[] = array('folderUrl' => SG_POPUP_CSS_URL, 'filename' => 'theme.css', 'dep' => array(), 'ver' => SG_POPUP_VERSION, 'inFooter' => false);
 
281
 
282
  $cssData = array(
283
  'cssFiles' => apply_filters('sgpbFrontendCssFiles', $cssFiles)
com/classes/popups/HtmlPopup.php CHANGED
@@ -1,22 +1,8 @@
1
  <?php
2
  namespace sgpb;
3
  require_once(dirname(__FILE__).'/SGPopup.php') ;
4
- class HtmlPopup extends SGPopup {
5
-
6
- public function __construct() {
7
- add_filter('sgpbFrontendJsFiles', array($this, 'popupFrontJsFilter'),1,1);
8
- add_filter('sgpbAdminJsFiles', array($this, 'popupAdminJsFilter'),1,1);
9
- }
10
-
11
- public function popupFrontJsFilter($jsFiles)
12
- {
13
- return $jsFiles;
14
- }
15
-
16
- public function popupAdminJsFilter($jsFiles)
17
- {
18
- return $jsFiles;
19
- }
20
 
21
  public function getOptionValue($optionName, $forceDefaultValue = false)
22
  {
1
  <?php
2
  namespace sgpb;
3
  require_once(dirname(__FILE__).'/SGPopup.php') ;
4
+ class HtmlPopup extends SGPopup
5
+ {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
 
7
  public function getOptionValue($optionName, $forceDefaultValue = false)
8
  {
com/classes/popups/ImagePopup.php CHANGED
@@ -4,16 +4,6 @@ require_once(dirname(__FILE__).'/SGPopup.php');
4
 
5
  class ImagePopup extends SGPopup
6
  {
7
- public function popupFrontJsFilter($jsFiles)
8
- {
9
- return $jsFiles;
10
- }
11
-
12
- public function popupAdminJsFilter($jsFiles)
13
- {
14
- return $jsFiles;
15
- }
16
-
17
  public function getOptionValue($optionName, $forceDefaultValue = false)
18
  {
19
  return parent::getOptionValue($optionName, $forceDefaultValue);
@@ -28,7 +18,9 @@ class ImagePopup extends SGPopup
28
  {
29
  // Where 1 mean this options must not show for this popup type
30
  $removeOptions = array(
31
- 'sgpb-reopen-after-form-submission' => 1
 
 
32
  );
33
 
34
  return $removeOptions;
@@ -56,30 +48,7 @@ class ImagePopup extends SGPopup
56
 
57
  public function getPopupTypeContent()
58
  {
59
- $imageContent = '';
60
- $popupOptions = $this->getOptions();
61
-
62
- $image = $popupOptions['sgpb-image-url'];
63
- $maxWidth = $popupOptions['sgpb-max-width'];
64
- $maxHeight = $popupOptions['sgpb-max-height'];
65
-
66
- $styles = '';
67
-
68
- if ($maxWidth) {
69
- $styles .= 'max-width: '.$maxWidth.'px;';
70
- }
71
- if ($maxHeight) {
72
- $styles .= 'max-height: '.$maxHeight.'px;';
73
- }
74
- if ($styles) {
75
- $styles = ' style="'.$styles.'"';
76
- }
77
-
78
- $imageContent .= '<div class="sgpb-main-image-content-wrapper">';
79
- $imageContent .= '<img src="'.esc_attr($image).'"'.$styles.'>';
80
- $imageContent .= '</div>';
81
-
82
- return $imageContent;
83
  }
84
 
85
  public function getExtraRenderOptions()
4
 
5
  class ImagePopup extends SGPopup
6
  {
 
 
 
 
 
 
 
 
 
 
7
  public function getOptionValue($optionName, $forceDefaultValue = false)
8
  {
9
  return parent::getOptionValue($optionName, $forceDefaultValue);
18
  {
19
  // Where 1 mean this options must not show for this popup type
20
  $removeOptions = array(
21
+ 'sgpb-reopen-after-form-submission' => 1,
22
+ 'sgpb-background-image' => 1,
23
+ 'sgpb-background-image-mode' => 1
24
  );
25
 
26
  return $removeOptions;
48
 
49
  public function getPopupTypeContent()
50
  {
51
+ return '';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  }
53
 
54
  public function getExtraRenderOptions()
com/classes/popups/SGPopup.php CHANGED
@@ -115,7 +115,7 @@ abstract class SGPopup
115
  $this->content = $content;
116
  }
117
 
118
- public function getPopupAllEvents($postId, $popupId)
119
  {
120
  $events = array();
121
 
@@ -128,13 +128,13 @@ abstract class SGPopup
128
 
129
  if (@$loadableModes['option_event'] || is_null($loadableModes)) {
130
  $optionEvents = $this->getEvents();
131
- if (empty($optionEvents)) {
132
- return $events;
133
  }
134
  $events = array_merge($events, $optionEvents);
135
  }
136
 
137
- return apply_filters('sgpbPopupEvents', $events);
138
  }
139
 
140
  public function getContent()
@@ -270,10 +270,10 @@ abstract class SGPopup
270
  $eventsData = array();
271
  if (!empty($events)) {
272
  foreach ($events as $event) {
273
- if (empty($event['hiddenOption'])) {
274
- $eventsData[] = $event;
275
- continue;
276
- }
277
  $hiddenOptions = $event['hiddenOption'];
278
  unset($event['hiddenOption']);
279
  $eventsData[] = $event + $hiddenOptions;
@@ -554,10 +554,10 @@ abstract class SGPopup
554
  private function popupOptionsSave()
555
  {
556
  $popupOptions = $this->getOptions();
557
-
558
  //special code added for "Behavior After Special Events" section
559
  //todo: remove in the future if possible
560
- $specialBehaviors = $popupOptions['sgpb-behavior-after-special-events'];
561
  if (!empty($specialBehaviors) && is_array($specialBehaviors)) {
562
  foreach ($specialBehaviors as $groupId => $groupRow) {
563
  foreach ($groupRow as $ruleId => $ruleRow) {
@@ -644,8 +644,12 @@ abstract class SGPopup
644
  $popupSavedData['sgpb-events'] = self::getEventsDataById($popupId, $saveMode);
645
  }
646
  if (!empty($targetData)) {
647
- $popupSavedData['sgpb-target'] = $targetData['sgpb-target'];
648
- $popupSavedData['sgpb-conditions'] = $targetData['sgpb-conditions'];
 
 
 
 
649
  }
650
 
651
  $popupSavedData += self::getPopupOptionsById($popupId, $saveMode);
@@ -803,7 +807,7 @@ abstract class SGPopup
803
  }
804
  else {
805
  $targetData[$postId][] = $id;
806
- }
807
  }
808
  }
809
 
@@ -1281,7 +1285,7 @@ abstract class SGPopup
1281
  return array();
1282
  }
1283
 
1284
- /**
1285
  *
1286
  * Get WordPress localization name
1287
  *
@@ -1462,7 +1466,7 @@ abstract class SGPopup
1462
  {
1463
  global $wpdb;
1464
  // 7, 12, 13 => exclude close, subscription success, contact success events
1465
- $stmt = $wpdb->prepare('SELECT COUNT(*) FROM '.$wpdb->prefix.'sgpb_analytics WHERE target_id = %d AND event_id NOT IN (12, 13)', $popupId);
1466
  $popupAnalyticsData = $wpdb->get_var($stmt);
1467
 
1468
  return $popupAnalyticsData;
115
  $this->content = $content;
116
  }
117
 
118
+ public function getPopupAllEvents($postId, $popupId, $popupObj = false)
119
  {
120
  $events = array();
121
 
128
 
129
  if (@$loadableModes['option_event'] || is_null($loadableModes)) {
130
  $optionEvents = $this->getEvents();
131
+ if (!is_array($optionEvents)) {
132
+ $optionEvents = array();
133
  }
134
  $events = array_merge($events, $optionEvents);
135
  }
136
 
137
+ return apply_filters('sgpbPopupEvents', $events, $popupObj);
138
  }
139
 
140
  public function getContent()
270
  $eventsData = array();
271
  if (!empty($events)) {
272
  foreach ($events as $event) {
273
+ if (empty($event['hiddenOption'])) {
274
+ $eventsData[] = $event;
275
+ continue;
276
+ }
277
  $hiddenOptions = $event['hiddenOption'];
278
  unset($event['hiddenOption']);
279
  $eventsData[] = $event + $hiddenOptions;
554
  private function popupOptionsSave()
555
  {
556
  $popupOptions = $this->getOptions();
557
+ $popupOptions = apply_filters('sgpbSavePopupOptions', $popupOptions);
558
  //special code added for "Behavior After Special Events" section
559
  //todo: remove in the future if possible
560
+ $specialBehaviors = @$popupOptions['sgpb-behavior-after-special-events'];
561
  if (!empty($specialBehaviors) && is_array($specialBehaviors)) {
562
  foreach ($specialBehaviors as $groupId => $groupRow) {
563
  foreach ($groupRow as $ruleId => $ruleRow) {
644
  $popupSavedData['sgpb-events'] = self::getEventsDataById($popupId, $saveMode);
645
  }
646
  if (!empty($targetData)) {
647
+ if (!empty($targetData['sgpb-target'])) {
648
+ $popupSavedData['sgpb-target'] = $targetData['sgpb-target'];
649
+ }
650
+ if (!empty($targetData['sgpb-conditions'])) {
651
+ $popupSavedData['sgpb-conditions'] = $targetData['sgpb-conditions'];
652
+ }
653
  }
654
 
655
  $popupSavedData += self::getPopupOptionsById($popupId, $saveMode);
807
  }
808
  else {
809
  $targetData[$postId][] = $id;
810
+ }
811
  }
812
  }
813
 
1285
  return array();
1286
  }
1287
 
1288
+ /**
1289
  *
1290
  * Get WordPress localization name
1291
  *
1466
  {
1467
  global $wpdb;
1468
  // 7, 12, 13 => exclude close, subscription success, contact success events
1469
+ $stmt = $wpdb->prepare('SELECT COUNT(*) FROM '.$wpdb->prefix.'sgpb_analytics WHERE target_id = %d AND event_id NOT IN (7, 12, 13)', $popupId);
1470
  $popupAnalyticsData = $wpdb->get_var($stmt);
1471
 
1472
  return $popupAnalyticsData;
com/classes/popups/SubscriptionPopup.php CHANGED
@@ -8,12 +8,17 @@ class SubscriptionPopup extends SGPopup
8
 
9
  public function __construct()
10
  {
11
- add_filter('sgpbFrontendJsFiles', array($this, 'frontJsFilter'), 1, 1);
12
- add_filter('sgpbFrontendCssFiles', array($this, 'frontCssFilter'), 1, 1);
13
  add_filter('sgpbAdminJsFiles', array($this, 'adminJsFilter'), 1, 1);
14
  add_filter('sgpbAdminCssFiles', array($this, 'adminCssFilter'), 1, 1);
15
  }
16
 
 
 
 
 
 
 
17
  public function setData($data)
18
  {
19
  $this->data = $data;
@@ -220,7 +225,8 @@ class SubscriptionPopup extends SGPopup
220
  );
221
 
222
  $firstNamePlaceholder = $this->getFieldValue('sgpb-subs-first-placeholder');
223
- $firstNameRequired = (!empty($postData['sgpb-subs-first-name-required'])) ? true : false;
 
224
  $isShow = ($this->getFieldValue('sgpb-subs-first-name-status')) ? true : false;
225
 
226
  $formData['first-name'] = array(
@@ -238,7 +244,8 @@ class SubscriptionPopup extends SGPopup
238
  );
239
 
240
  $lastNamePlaceholder = $this->getFieldValue('sgpb-subs-last-placeholder');
241
- $lastNameRequired = (!empty($postData['sgpb-subs-last-name-required'])) ? true : false;
 
242
  $isShow = ($this->getFieldValue('sgpb-subs-last-name-status')) ? true : false;
243
 
244
  $formData['last-name'] = array(
@@ -256,9 +263,9 @@ class SubscriptionPopup extends SGPopup
256
  );
257
 
258
  /* GDPR checkbox */
259
- $gdprLabel = $this->getFieldValue('sgpb-subs-gdpr-label');
260
- $gdprRequired = ($this->getFieldValue('sgpb-subs-gdpr-status')) ? true : false;
261
- $isShow = ($this->getFieldValue('sgpb-subs-gdpr-status')) ? true : false;
262
 
263
  $formData['gdpr'] = array(
264
  'isShow' => $isShow,
@@ -464,20 +471,31 @@ class SubscriptionPopup extends SGPopup
464
  return $messages;
465
  }
466
 
 
 
 
 
 
 
 
 
 
 
467
  public function getPopupTypeContent()
468
  {
 
469
  $popupContent = $this->getContent();
470
  $popupOptions = $this->getOptions();
471
  $subsFields = $this->getOptionValue('sgpb-subs-fields');
 
 
 
 
472
  $subsRequiredMessages = '';
473
  if (!empty($popupOptions['sgpb-subs-validation-message'])) {
474
  $subsRequiredMessages = $popupOptions['sgpb-subs-validation-message'];
475
  }
476
 
477
- if (empty($subsFields)) {
478
- return $popupContent;
479
- }
480
-
481
  $validationMessages = array(
482
  'requiredMessage' => $subsRequiredMessages
483
  );
@@ -485,8 +503,8 @@ class SubscriptionPopup extends SGPopup
485
  $styleData = array(
486
  'placeholderColor' => $popupOptions['sgpb-subs-text-placeholder-color'],
487
  'formColor' => $popupOptions['sgpb-subs-form-bg-color'],
488
- 'formPadding' => $popupOptions['sgpb-subs-form-padding'],
489
- 'formBackgroundOpacity' => $popupOptions['sgpb-subs-form-bg-opacity']
490
  );
491
 
492
  $validateScript = $this->createValidateObj($subsFields, $validationMessages);
@@ -508,6 +526,11 @@ class SubscriptionPopup extends SGPopup
508
  return $subPopups;
509
  }
510
 
 
 
 
 
 
511
  $subPopupObj = SGPopup::find($subPopupId);
512
  if (!empty($subPopupObj) && ($subPopupObj instanceof SGPopup)) {
513
  // We remove all events because this popup will be open after successful subscription
8
 
9
  public function __construct()
10
  {
11
+ add_filter('sgpbPopupRenderOptions', array($this, 'renderOptions'), 12, 1);
 
12
  add_filter('sgpbAdminJsFiles', array($this, 'adminJsFilter'), 1, 1);
13
  add_filter('sgpbAdminCssFiles', array($this, 'adminCssFilter'), 1, 1);
14
  }
15
 
16
+ private function frontendFilters()
17
+ {
18
+ add_filter('sgpbFrontendJsFiles', array($this, 'frontJsFilter'), 1, 1);
19
+ add_filter('sgpbFrontendCssFiles', array($this, 'frontCssFilter'), 1, 1);
20
+ }
21
+
22
  public function setData($data)
23
  {
24
  $this->data = $data;
225
  );
226
 
227
  $firstNamePlaceholder = $this->getFieldValue('sgpb-subs-first-placeholder');
228
+ $firstNameRequired = $this->getOptionValueFromSavedData('sgpb-subs-first-name-required');
229
+ $firstNameRequired = (!empty($firstNameRequired)) ? true : false;
230
  $isShow = ($this->getFieldValue('sgpb-subs-first-name-status')) ? true : false;
231
 
232
  $formData['first-name'] = array(
244
  );
245
 
246
  $lastNamePlaceholder = $this->getFieldValue('sgpb-subs-last-placeholder');
247
+ $lastNameRequired = $this->getOptionValueFromSavedData('sgpb-subs-last-name-required');
248
+ $lastNameRequired = (!empty($lastNameRequired)) ? true : false;
249
  $isShow = ($this->getFieldValue('sgpb-subs-last-name-status')) ? true : false;
250
 
251
  $formData['last-name'] = array(
263
  );
264
 
265
  /* GDPR checkbox */
266
+ $gdprLabel = $this->getOptionValueFromSavedData('sgpb-subs-gdpr-label');
267
+ $gdprRequired = ($this->getOptionValueFromSavedData('sgpb-subs-gdpr-status')) ? true : false;
268
+ $isShow = ($this->getOptionValueFromSavedData('sgpb-subs-gdpr-status')) ? true : false;
269
 
270
  $formData['gdpr'] = array(
271
  'isShow' => $isShow,
471
  return $messages;
472
  }
473
 
474
+ public function renderOptions($options)
475
+ {
476
+ // for old popups
477
+ if (isset($options['sgpb-subs-success-popup']) && function_exists('sgpb\sgpGetCorrectPopupId')) {
478
+ $options['sgpb-subs-success-popup'] = sgpGetCorrectPopupId($options['sgpb-subs-success-popup']);
479
+ }
480
+
481
+ return $options;
482
+ }
483
+
484
  public function getPopupTypeContent()
485
  {
486
+ $this->frontendFilters();
487
  $popupContent = $this->getContent();
488
  $popupOptions = $this->getOptions();
489
  $subsFields = $this->getOptionValue('sgpb-subs-fields');
490
+
491
+ if (empty($subsFields)) {
492
+ $subsFields = $this->createFormFieldsData();
493
+ }
494
  $subsRequiredMessages = '';
495
  if (!empty($popupOptions['sgpb-subs-validation-message'])) {
496
  $subsRequiredMessages = $popupOptions['sgpb-subs-validation-message'];
497
  }
498
 
 
 
 
 
499
  $validationMessages = array(
500
  'requiredMessage' => $subsRequiredMessages
501
  );
503
  $styleData = array(
504
  'placeholderColor' => $popupOptions['sgpb-subs-text-placeholder-color'],
505
  'formColor' => $popupOptions['sgpb-subs-form-bg-color'],
506
+ 'formPadding' => @$popupOptions['sgpb-subs-form-padding'],
507
+ 'formBackgroundOpacity' => @$popupOptions['sgpb-subs-form-bg-opacity']
508
  );
509
 
510
  $validateScript = $this->createValidateObj($subsFields, $validationMessages);
526
  return $subPopups;
527
  }
528
 
529
+ // for old popups
530
+ if (function_exists('sgpb\sgpGetCorrectPopupId')) {
531
+ $subPopupId = sgpGetCorrectPopupId($subPopupId);
532
+ }
533
+
534
  $subPopupObj = SGPopup::find($subPopupId);
535
  if (!empty($subPopupObj) && ($subPopupObj instanceof SGPopup)) {
536
  // We remove all events because this popup will be open after successful subscription
com/config/config.php CHANGED
@@ -25,6 +25,8 @@ class SgpbPopupConfig
25
  self::addDefine('SG_POPUP_EXIT_INTENT_URL', 'https://popup-builder.com/downloads/exit-intent/');
26
  self::addDefine('SG_POPUP_MAILCHIMP_URL', 'https://popup-builder.com/downloads/mailchimp/');
27
  self::addDefine('SG_POPUP_AWEBER_URL', 'https://popup-builder.com/downloads/aweber/');
 
 
28
  self::addDefine('SG_POPUP_ADMIN_URL', admin_url());
29
  self::addDefine('SG_POPUP_BUILDER_URL', plugins_url().'/'.SG_POPUP_FOLDER_NAME.'/');
30
  self::addDefine('SG_POPUP_BUILDER_PATH', WP_PLUGIN_DIR.'/'.SG_POPUP_FOLDER_NAME.'/');
25
  self::addDefine('SG_POPUP_EXIT_INTENT_URL', 'https://popup-builder.com/downloads/exit-intent/');
26
  self::addDefine('SG_POPUP_MAILCHIMP_URL', 'https://popup-builder.com/downloads/mailchimp/');
27
  self::addDefine('SG_POPUP_AWEBER_URL', 'https://popup-builder.com/downloads/aweber/');
28
+ self::addDefine('SG_POPUP_WOOCOMMERCE_URL', 'https://popup-builder.com/downloads/woocommerce/');
29
+ self::addDefine('SG_POPUP_RECENT_SALES_URL', 'https://popup-builder.com/downloads/recent-sales/');
30
  self::addDefine('SG_POPUP_ADMIN_URL', admin_url());
31
  self::addDefine('SG_POPUP_BUILDER_URL', plugins_url().'/'.SG_POPUP_FOLDER_NAME.'/');
32
  self::addDefine('SG_POPUP_BUILDER_PATH', WP_PLUGIN_DIR.'/'.SG_POPUP_FOLDER_NAME.'/');
com/config/configPackage.php CHANGED
@@ -3,6 +3,6 @@ if (!defined('ABSPATH')) {
3
  exit();
4
  }
5
 
6
- define('SG_POPUP_VERSION', '3.0.4');
7
  define('SGPB_POPUP_PKG', SGPB_POPUP_PKG_FREE);
8
  define('POPUP_BUILDER_BASENAME', 'popupbuilder-platinum/popup-builder.php');
3
  exit();
4
  }
5
 
6
+ define('SG_POPUP_VERSION', '3.0.5');
7
  define('SGPB_POPUP_PKG', SGPB_POPUP_PKG_FREE);
8
  define('POPUP_BUILDER_BASENAME', 'popupbuilder-platinum/popup-builder.php');
com/config/dataConfig.php CHANGED
@@ -504,6 +504,18 @@ class SgpbDataConfig
504
  'key' => 'sgpbAWeber',
505
  'url' => SG_POPUP_AWEBER_URL
506
  );
 
 
 
 
 
 
 
 
 
 
 
 
507
 
508
  return apply_filters('sgpbExtensionsKeys', $keys);
509
  }
@@ -624,6 +636,7 @@ class SgpbDataConfig
624
  $config['initialData'] = apply_filters('sgPopupSpecialEventsInitialData', $initialData);
625
  $config['attrs'] = apply_filters('sgPopupSpecialEventsAttrs', $attrs);
626
  $config['operators'] = apply_filters('sgPopupSpecialEventsOperators', array());
 
627
 
628
  return $config;
629
  }
@@ -655,6 +668,9 @@ class SgpbDataConfig
655
  $options[] = array('name' => 'sgpb-click-redirect-to-url', 'type' => 'text', 'defaultValue' => '');
656
  $options[] = array('name' => 'sgpb-redirect-to-new-tab', 'type' => 'checkbox', 'defaultValue' => '');
657
  $options[] = array('name' => 'sgpb-copy-to-clipboard-text', 'type' => 'text', 'defaultValue' => '');
 
 
 
658
  $options[] = array('name' => 'sgpb-disable-popup-closing', 'type' => 'checkbox', 'defaultValue' => '', 'min-version' => SGPB_POPUP_PRO_MIN_VERSION, 'min-pkg' => SGPB_POPUP_PKG_SILVER);
659
  $options[] = array('name' => 'sgpb-popup-dimension-mode', 'type' => 'text', 'defaultValue' => 'responsiveMode');
660
  $options[] = array('name' => 'sgpb-popup-dimension-mode', 'type' => 'text', 'defaultValue' => '100');
@@ -685,7 +701,9 @@ class SgpbDataConfig
685
  $options[] = array('name' => 'sgpb-open-sound', 'type' => 'checkbox', 'defaultValue' => '');
686
  $options[] = array('name' => 'sgpb-sound-url', 'type' => 'text', 'defaultValue' => SG_POPUP_SOUND_URL.SGPB_POPUP_DEFAULT_SOUND);
687
  $options[] = array('name' => 'sgpb-open-animation', 'type' => 'checkbox', 'defaultValue' => '');
 
688
  $options[] = array('name' => 'sgpb-open-animation-speed', 'type' => 'text', 'defaultValue' => 1);
 
689
  $options[] = array('name' => 'sgpb-popup-themes', 'type' => 'text', 'defaultValue' => 'sgpb-theme-1');
690
  $options[] = array('name' => 'sgpb-enable-popup-overlay', 'type' => 'checkbox', 'defaultValue' => 'on', 'min-version' => SGPB_POPUP_PRO_MIN_VERSION, 'min-pkg' => SGPB_POPUP_PKG_SILVER);
691
  $options[] = array('name' => 'sgpb-overlay-custom-class', 'type' => 'text', 'defaultValue' => 'sgpb-popup-overlay');
@@ -755,6 +773,8 @@ class SgpbDataConfig
755
  $options[] = array('name' => 'sgpb-show-popup-same-user-count', 'type' => 'number', 'defaultValue' => 1);
756
  $options[] = array('name' => 'sgpb-show-popup-same-user-expiry', 'type' => 'number', 'defaultValue' => 1);
757
  $options[] = array('name' => 'sgpb-show-popup-same-user-page-level', 'type' => 'checkbox', 'defaultValue' => '');
 
 
758
 
759
  $SGPB_OPTIONS = apply_filters('sgpbPopupDefaultOptions', $options);
760
  }
504
  'key' => 'sgpbAWeber',
505
  'url' => SG_POPUP_AWEBER_URL
506
  );
507
+ $keys[] = array(
508
+ 'label' => __('WooCommerce', SG_POPUP_TEXT_DOMAIN),
509
+ 'pluginKey' => 'popupbuilder-woocommerce/popupbuilderWoocommerce.php',
510
+ 'key' => 'sgpbWOO',
511
+ 'url' => SG_POPUP_WOOCOMMERCE_URL
512
+ );
513
+ $keys[] = array(
514
+ 'label' => __('Recent Sales', SG_POPUP_TEXT_DOMAIN),
515
+ 'pluginKey' => 'popupbuilder-recent-sales/PopupBuilderRecentSales.php',
516
+ 'key' => 'sgpbRecentSales',
517
+ 'url' => SG_POPUP_RECENT_SALES_URL
518
+ );
519
 
520
  return apply_filters('sgpbExtensionsKeys', $keys);
521
  }
636
  $config['initialData'] = apply_filters('sgPopupSpecialEventsInitialData', $initialData);
637
  $config['attrs'] = apply_filters('sgPopupSpecialEventsAttrs', $attrs);
638
  $config['operators'] = apply_filters('sgPopupSpecialEventsOperators', array());
639
+ $config['specialDefaultOperator'] = apply_filters('sgPopupSpecialEventsOperators', ' ');
640
 
641
  return $config;
642
  }
668
  $options[] = array('name' => 'sgpb-click-redirect-to-url', 'type' => 'text', 'defaultValue' => '');
669
  $options[] = array('name' => 'sgpb-redirect-to-new-tab', 'type' => 'checkbox', 'defaultValue' => '');
670
  $options[] = array('name' => 'sgpb-copy-to-clipboard-text', 'type' => 'text', 'defaultValue' => '');
671
+ $options[] = array('name' => 'sgpb-copy-to-clipboard-close-popup', 'type' => 'checkbox', 'defaultValue' => 'on');
672
+ $options[] = array('name' => 'sgpb-copy-to-clipboard-alert', 'type' => 'checkbox', 'defaultValue' => 'on');
673
+ $options[] = array('name' => 'sgpb-copy-to-clipboard-message', 'type' => 'text', 'defaultValue' => __('Copied to Clipboard!', SG_POPUP_TEXT_DOMAIN));
674
  $options[] = array('name' => 'sgpb-disable-popup-closing', 'type' => 'checkbox', 'defaultValue' => '', 'min-version' => SGPB_POPUP_PRO_MIN_VERSION, 'min-pkg' => SGPB_POPUP_PKG_SILVER);
675
  $options[] = array('name' => 'sgpb-popup-dimension-mode', 'type' => 'text', 'defaultValue' => 'responsiveMode');
676
  $options[] = array('name' => 'sgpb-popup-dimension-mode', 'type' => 'text', 'defaultValue' => '100');
701
  $options[] = array('name' => 'sgpb-open-sound', 'type' => 'checkbox', 'defaultValue' => '');
702
  $options[] = array('name' => 'sgpb-sound-url', 'type' => 'text', 'defaultValue' => SG_POPUP_SOUND_URL.SGPB_POPUP_DEFAULT_SOUND);
703
  $options[] = array('name' => 'sgpb-open-animation', 'type' => 'checkbox', 'defaultValue' => '');
704
+ $options[] = array('name' => 'sgpb-close-animation', 'type' => 'checkbox', 'defaultValue' => '');
705
  $options[] = array('name' => 'sgpb-open-animation-speed', 'type' => 'text', 'defaultValue' => 1);
706
+ $options[] = array('name' => 'sgpb-close-animation-speed', 'type' => 'text', 'defaultValue' => 1);
707
  $options[] = array('name' => 'sgpb-popup-themes', 'type' => 'text', 'defaultValue' => 'sgpb-theme-1');
708
  $options[] = array('name' => 'sgpb-enable-popup-overlay', 'type' => 'checkbox', 'defaultValue' => 'on', 'min-version' => SGPB_POPUP_PRO_MIN_VERSION, 'min-pkg' => SGPB_POPUP_PKG_SILVER);
709
  $options[] = array('name' => 'sgpb-overlay-custom-class', 'type' => 'text', 'defaultValue' => 'sgpb-popup-overlay');
773
  $options[] = array('name' => 'sgpb-show-popup-same-user-count', 'type' => 'number', 'defaultValue' => 1);
774
  $options[] = array('name' => 'sgpb-show-popup-same-user-expiry', 'type' => 'number', 'defaultValue' => 1);
775
  $options[] = array('name' => 'sgpb-show-popup-same-user-page-level', 'type' => 'checkbox', 'defaultValue' => '');
776
+ $options[] = array('name' => 'sgpb-show-popup-after-x-pages', 'type' => 'checkbox', 'defaultValue' => '', 'min-pkg' => SGPB_POPUP_PKG_SILVER);
777
+ $options[] = array('name' => 'sgpb-show-popup-after-x-pages-count', 'type' => 'number', 'defaultValue' => '1');
778
 
779
  $SGPB_OPTIONS = apply_filters('sgpbPopupDefaultOptions', $options);
780
  }
com/helpers/AdminHelper.php CHANGED
@@ -454,6 +454,10 @@ class AdminHelper
454
 
455
  public static function defaultButtonImage($theme, $closeImage = '')
456
  {
 
 
 
 
457
  // if no image, set default by theme
458
  if ($closeImage == '') {
459
  if ($theme == 'sgpb-theme-1' || !$theme) {
@@ -480,7 +484,7 @@ class AdminHelper
480
  {
481
  $userSavedRoles = get_option('sgpb-user-roles');
482
 
483
- if (!$userSavedRoles) {
484
  $userSavedRoles = array('administrator');
485
  }
486
  else {
@@ -493,9 +497,12 @@ class AdminHelper
493
  public static function showMenuForCurrentUser()
494
  {
495
  $savedUserRoles = self::getPopupPostAllowedUserRoles();
496
- $currentUserRole = AdminHelper::getCurrentUserRole();
 
 
 
497
 
498
- return in_array($currentUserRole, $savedUserRoles);
499
  }
500
 
501
  public static function getPopupsIdAndTitle($excludesPopups = array())
@@ -577,7 +584,7 @@ class AdminHelper
577
 
578
  public static function getCurrentUserRole()
579
  {
580
- $role = 'administrator';
581
 
582
  if (is_multisite()) {
583
 
@@ -591,7 +598,7 @@ class AdminHelper
591
  if ($userData->ID == get_current_user_id()) {
592
  $roles = $userData->roles;
593
  if (is_array($roles) && !empty($roles)) {
594
- $role = $roles[0];
595
  }
596
  }
597
  }
@@ -600,16 +607,11 @@ class AdminHelper
600
  return $role;
601
  }
602
 
603
- global $current_user, $wpdb;
604
- $userRoleKey = $wpdb->prefix . 'capabilities';
605
- $userRoleName = $current_user->$userRoleKey;
606
 
607
- if ($userRoleName) {
608
- $usersRoles = array_keys($userRoleName);
609
-
610
- if (is_array($usersRoles) && !empty($usersRoles)) {
611
- $role = $usersRoles[0];
612
- }
613
  }
614
 
615
  return $role;
@@ -767,4 +769,70 @@ class AdminHelper
767
 
768
  return $content;
769
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
770
  }
454
 
455
  public static function defaultButtonImage($theme, $closeImage = '')
456
  {
457
+ $currentPostType = self::getCurrentPopupType();
458
+ if (defined('SGPB_POPUP_TYPE_RECENT_SALES') && $currentPostType == SGPB_POPUP_TYPE_RECENT_SALES) {
459
+ $theme = 'sgpb-theme-6';
460
+ }
461
  // if no image, set default by theme
462
  if ($closeImage == '') {
463
  if ($theme == 'sgpb-theme-1' || !$theme) {
484
  {
485
  $userSavedRoles = get_option('sgpb-user-roles');
486
 
487
+ if (empty($userSavedRoles) || !is_array($userSavedRoles)) {
488
  $userSavedRoles = array('administrator');
489
  }
490
  else {
497
  public static function showMenuForCurrentUser()
498
  {
499
  $savedUserRoles = self::getPopupPostAllowedUserRoles();
500
+ $currentUserRole = self::getCurrentUserRole();
501
+ if (!is_array($savedUserRoles) || !is_array($currentUserRole)) {
502
+ return true;
503
+ }
504
 
505
+ return array_intersect($currentUserRole, $savedUserRoles);
506
  }
507
 
508
  public static function getPopupsIdAndTitle($excludesPopups = array())
584
 
585
  public static function getCurrentUserRole()
586
  {
587
+ $role = array('administrator');
588
 
589
  if (is_multisite()) {
590
 
598
  if ($userData->ID == get_current_user_id()) {
599
  $roles = $userData->roles;
600
  if (is_array($roles) && !empty($roles)) {
601
+ $role[] = $roles[0];
602
  }
603
  }
604
  }
607
  return $role;
608
  }
609
 
610
+ global $current_user;
611
+ $userRoleName = $current_user->roles;
 
612
 
613
+ if (!empty($userRoleName)) {
614
+ $role = $userRoleName;
 
 
 
 
615
  }
616
 
617
  return $role;
769
 
770
  return $content;
771
  }
772
+
773
+ public static function getTaxonomyBySlug($slug = '')
774
+ {
775
+ $allTerms = get_terms(array('hide_empty' => false));
776
+
777
+ $result = array();
778
+ if (empty($allTerms)) {
779
+ return $result;
780
+ }
781
+ if ($slug == '') {
782
+ return $allTerms;
783
+ }
784
+ foreach ($allTerms as $term) {
785
+ if ($term->slug == $slug) {
786
+ return $term;
787
+ }
788
+ }
789
+ }
790
+
791
+ // proStartSilver
792
+ public static function setPushToBottom($element = '')
793
+ {
794
+ $style = '<style type="text/css">';
795
+ $style .= "$element";
796
+ $style .= '{position: absolute !important;';
797
+ $style .= 'left: 0 !important;';
798
+ $style .= 'right: 0 !important;';
799
+ $style .= 'bottom: 2px !important;}';
800
+ $style .= '</style>';
801
+
802
+ return $style;
803
+ }
804
+ // proEndSilver
805
+
806
+ public static function getCurrentPopupType()
807
+ {
808
+ $type = '';
809
+ if (!empty($_GET['sgpb_type'])) {
810
+ $type = $_GET['sgpb_type'];
811
+ }
812
+
813
+ $currentPostType = self::getCurrentPostType();
814
+
815
+ if ($currentPostType == SG_POPUP_POST_TYPE && !empty($_GET['post'])) {
816
+ $popupObj = SGPopup::find($_GET['post']);
817
+ if (is_object($popupObj)) {
818
+ $type = $popupObj->getType();
819
+ }
820
+ }
821
+
822
+ return $type;
823
+ }
824
+
825
+ public static function getCurrentPostType()
826
+ {
827
+ global $post_type;
828
+ global $post;
829
+
830
+ $currentPostType = @$post->post_type;
831
+ // in some themes global $post returns null
832
+ if (empty($currentPostType)) {
833
+ $currentPostType = $post_type;
834
+ }
835
+
836
+ return $currentPostType;
837
+ }
838
  }
com/helpers/ConfigDataHelper.php CHANGED
@@ -64,6 +64,10 @@ class ConfigDataHelper
64
  public static function addPopupTargetParams($targetParams)
65
  {
66
  $allCustomPostTypes = self::getAllCustomPosts();
 
 
 
 
67
 
68
  foreach ($allCustomPostTypes as $customPostType) {
69
  $targetParams[$customPostType] = array(
@@ -638,7 +642,6 @@ class ConfigDataHelper
638
  $data['backroundImageModes'] = array(
639
  'no-repeat' => __('None', SG_POPUP_TEXT_DOMAIN),
640
  'cover' => __('Cover', SG_POPUP_TEXT_DOMAIN),
641
- 'fit' => __('Fit', SG_POPUP_TEXT_DOMAIN),
642
  'contain' => __('Contain', SG_POPUP_TEXT_DOMAIN),
643
  'repeat' => __('Repeat', SG_POPUP_TEXT_DOMAIN)
644
  );
@@ -662,6 +665,25 @@ class ConfigDataHelper
662
  'sgpb-fadeIn' => __('FadeIn', SG_POPUP_TEXT_DOMAIN)
663
  );
664
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
665
  $data['userRoles'] = self::getAllUserRoles();
666
 
667
  return $data;
64
  public static function addPopupTargetParams($targetParams)
65
  {
66
  $allCustomPostTypes = self::getAllCustomPosts();
67
+ // for conditions, to exclude other post types, tags etc.
68
+ if (isset($targetParams['select_role']) && isset($targetParams['Groups'])) {
69
+ return $targetParams;
70
+ }
71
 
72
  foreach ($allCustomPostTypes as $customPostType) {
73
  $targetParams[$customPostType] = array(
642
  $data['backroundImageModes'] = array(
643
  'no-repeat' => __('None', SG_POPUP_TEXT_DOMAIN),
644
  'cover' => __('Cover', SG_POPUP_TEXT_DOMAIN),
 
645
  'contain' => __('Contain', SG_POPUP_TEXT_DOMAIN),
646
  'repeat' => __('Repeat', SG_POPUP_TEXT_DOMAIN)
647
  );
665
  'sgpb-fadeIn' => __('FadeIn', SG_POPUP_TEXT_DOMAIN)
666
  );
667
 
668
+ $data['closeAnimationEfects'] = array(
669
+ 'No effect' => __('None', SG_POPUP_TEXT_DOMAIN),
670
+ 'sgpb-flipInX' => __('Flip', SG_POPUP_TEXT_DOMAIN),
671
+ 'sgpb-shake' => __('Shake', SG_POPUP_TEXT_DOMAIN),
672
+ 'sgpb-wobble' => __('Wobble', SG_POPUP_TEXT_DOMAIN),
673
+ 'sgpb-swing' => __('Swing', SG_POPUP_TEXT_DOMAIN),
674
+ 'sgpb-flash' => __('Flash', SG_POPUP_TEXT_DOMAIN),
675
+ 'sgpb-bounce' => __('Bounce', SG_POPUP_TEXT_DOMAIN),
676
+ 'sgpb-bounceOutLeft' => __('BounceOutLeft', SG_POPUP_TEXT_DOMAIN),
677
+ 'sgpb-bounceOut' => __('BounceOut', SG_POPUP_TEXT_DOMAIN),
678
+ 'sgpb-pulse' => __('Pulse', SG_POPUP_TEXT_DOMAIN),
679
+ 'sgpb-rubberBand' => __('RubberBand', SG_POPUP_TEXT_DOMAIN),
680
+ 'sgpb-tada' => __('Tada', SG_POPUP_TEXT_DOMAIN),
681
+ 'sgpb-slideOutUp' => __('SlideOutUp', SG_POPUP_TEXT_DOMAIN),
682
+ 'sgpb-jello' => __('Jello', SG_POPUP_TEXT_DOMAIN),
683
+ 'sgpb-rotateOut' => __('RotateOut', SG_POPUP_TEXT_DOMAIN),
684
+ 'sgpb-fadeOut' => __('FadeOut', SG_POPUP_TEXT_DOMAIN)
685
+ );
686
+
687
  $data['userRoles'] = self::getAllUserRoles();
688
 
689
  return $data;
com/helpers/Functions.php CHANGED
@@ -4,6 +4,26 @@ use \SxGeo;
4
 
5
  class Functions
6
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  // proStartPlatinumproEndPlatinum
8
 
9
  // proStartSilverproEndSilver
4
 
5
  class Functions
6
  {
7
+ public static function getIpAddress()
8
+ {
9
+ if (getenv('HTTP_CLIENT_IP'))
10
+ $ipAddress = getenv('HTTP_CLIENT_IP');
11
+ else if (getenv('HTTP_X_FORWARDED_FOR'))
12
+ $ipAddress = getenv('HTTP_X_FORWARDED_FOR');
13
+ else if (getenv('HTTP_X_FORWARDED'))
14
+ $ipAddress = getenv('HTTP_X_FORWARDED');
15
+ else if (getenv('HTTP_FORWARDED_FOR'))
16
+ $ipAddress = getenv('HTTP_FORWARDED_FOR');
17
+ else if (getenv('HTTP_FORWARDED'))
18
+ $ipAddress = getenv('HTTP_FORWARDED');
19
+ else if (getenv('REMOTE_ADDR'))
20
+ $ipAddress = getenv('REMOTE_ADDR');
21
+ else
22
+ $ipAddress = 'UNKNOWN';
23
+
24
+ return $ipAddress;
25
+ }
26
+
27
  // proStartPlatinumproEndPlatinum
28
 
29
  // proStartSilverproEndSilver
languages/popupBuilder.pot ADDED
@@ -0,0 +1,2841 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2018-08-29 14:02+0400\n"
5
+ "PO-Revision-Date: 2018-08-29 14:02+0400\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \n"
8
+ "Language: en_US\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.11\n"
13
+ "X-Poedit-Basepath: ../..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e\n"
17
+ "X-Poedit-SearchPath-0: popup-builder-plugin\n"
18
+ "X-Poedit-SearchPath-1: popup-builder-adblock\n"
19
+ "X-Poedit-SearchPath-2: popup-builder-analytics\n"
20
+ "X-Poedit-SearchPath-3: popup-builder-exit-intent\n"
21
+ "X-Poedit-SearchPath-4: popup-builder-mailchimp\n"
22
+ "X-Poedit-SearchPath-5: popup-builder-aweber\n"
23
+
24
+ #: popup-builder-adblock/PopupBuilderAdBlock.php:18
25
+ msgid "You already have AdBlock extension. Please, remove this one"
26
+ msgstr ""
27
+
28
+ #: popup-builder-adblock/com/classes/Actions.php:24
29
+ #: popup-builder-plugin/com/config/dataConfig.php:614
30
+ msgid "Delay"
31
+ msgstr ""
32
+
33
+ #: popup-builder-adblock/com/classes/Actions.php:33
34
+ #: popup-builder-plugin/com/config/dataConfig.php:478
35
+ #: popup-builder-plugin/com/config/dataConfig.php:858
36
+ msgid "AdBlock"
37
+ msgstr ""
38
+
39
+ #: popup-builder-adblock/com/classes/AdBlockMain.php:56
40
+ #: popup-builder-mailchimp/com/classes/Mailchimp.php:63
41
+ msgid ""
42
+ "To enable Popup Builder Ad Block extension you need to activate Popup "
43
+ "Builder plugin"
44
+ msgstr ""
45
+
46
+ #: popup-builder-adblock/com/classes/AdBlockMain.php:71
47
+ msgid "Popup Builder AdBlock"
48
+ msgstr ""
49
+
50
+ #: popup-builder-adblock/com/classes/AdBlockMain.php:73
51
+ msgid "Popup Builder AdBlock License"
52
+ msgstr ""
53
+
54
+ #: popup-builder-analytics/PopupBuilderAnalytics.php:18
55
+ msgid "You already have Analytics extension. Please, remove this one."
56
+ msgstr ""
57
+
58
+ #: popup-builder-analytics/com/classes/Actions.php:19
59
+ #: popup-builder-plugin/com/config/dataConfig.php:484
60
+ #: popup-builder-plugin/com/config/dataConfig.php:862
61
+ msgid "Analytics"
62
+ msgstr ""
63
+
64
+ #: popup-builder-analytics/com/classes/Ajax.php:124
65
+ msgid "Popup Name"
66
+ msgstr ""
67
+
68
+ #: popup-builder-analytics/com/classes/Ajax.php:125
69
+ msgid "Count"
70
+ msgstr ""
71
+
72
+ #: popup-builder-analytics/com/classes/Ajax.php:131
73
+ msgid "No Analytics Data"
74
+ msgstr ""
75
+
76
+ #: popup-builder-analytics/com/classes/Analytics.php:63
77
+ msgid ""
78
+ "To enable Popup Builder Analytics extension you need to activate Popup "
79
+ "Builder plugin"
80
+ msgstr ""
81
+
82
+ #: popup-builder-analytics/com/classes/Analytics.php:79
83
+ msgid "Popup Builder Analytics"
84
+ msgstr ""
85
+
86
+ #: popup-builder-analytics/com/classes/Analytics.php:81
87
+ msgid "Popup Builder Analytics License"
88
+ msgstr ""
89
+
90
+ #: popup-builder-analytics/com/config/config.php:47
91
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:478
92
+ msgid "On load"
93
+ msgstr ""
94
+
95
+ #: popup-builder-analytics/com/config/config.php:48
96
+ msgid "On scroll"
97
+ msgstr ""
98
+
99
+ #: popup-builder-analytics/com/config/config.php:49
100
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:479
101
+ msgid "On click"
102
+ msgstr ""
103
+
104
+ #: popup-builder-analytics/com/config/config.php:50
105
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:480
106
+ msgid "On hover"
107
+ msgstr ""
108
+
109
+ #: popup-builder-analytics/com/config/config.php:51
110
+ msgid "On inactivity"
111
+ msgstr ""
112
+
113
+ #: popup-builder-analytics/com/config/config.php:52
114
+ msgid "On close"
115
+ msgstr ""
116
+
117
+ #: popup-builder-analytics/com/config/config.php:53
118
+ msgid "Inside popup click"
119
+ msgstr ""
120
+
121
+ #: popup-builder-analytics/com/config/config.php:54
122
+ msgid "Confirm class"
123
+ msgstr ""
124
+
125
+ #: popup-builder-analytics/com/config/config.php:55
126
+ msgid "Iframe class"
127
+ msgstr ""
128
+
129
+ #: popup-builder-analytics/com/config/config.php:56
130
+ msgid "Shortcode on load"
131
+ msgstr ""
132
+
133
+ #: popup-builder-analytics/com/config/config.php:57
134
+ msgid "Subscription success"
135
+ msgstr ""
136
+
137
+ #: popup-builder-analytics/com/config/config.php:58
138
+ msgid "Contact success"
139
+ msgstr ""
140
+
141
+ #: popup-builder-analytics/com/helpers/DefaultOptionsData.php:11
142
+ msgid "Today"
143
+ msgstr ""
144
+
145
+ #: popup-builder-analytics/com/helpers/DefaultOptionsData.php:12
146
+ msgid "Yesterday"
147
+ msgstr ""
148
+
149
+ #: popup-builder-analytics/com/helpers/DefaultOptionsData.php:13
150
+ msgid "Last 7 Days"
151
+ msgstr ""
152
+
153
+ #: popup-builder-analytics/com/helpers/DefaultOptionsData.php:14
154
+ msgid "Last 30 Days"
155
+ msgstr ""
156
+
157
+ #: popup-builder-analytics/public/views/analytics.php:22
158
+ msgid "Analytics Settings"
159
+ msgstr ""
160
+
161
+ #: popup-builder-analytics/public/views/analytics.php:27
162
+ msgid "Date Range"
163
+ msgstr ""
164
+
165
+ #: popup-builder-analytics/public/views/analytics.php:31
166
+ msgid "Popups"
167
+ msgstr ""
168
+
169
+ #: popup-builder-analytics/public/views/analytics.php:37
170
+ msgid "Events"
171
+ msgstr ""
172
+
173
+ #: popup-builder-aweber/PopupBuilderAWeber.php:17
174
+ msgid "You already have AWeber extension. Please, remove this one"
175
+ msgstr ""
176
+
177
+ #: popup-builder-aweber/com/classes/AWeber.php:61
178
+ msgid ""
179
+ "To enable Popup Builder AWeber extension you need to activate Popup Builder "
180
+ "plugin"
181
+ msgstr ""
182
+
183
+ #: popup-builder-aweber/com/classes/AWeber.php:76
184
+ msgid "Popup Builder AWeber"
185
+ msgstr ""
186
+
187
+ #: popup-builder-aweber/com/classes/AWeber.php:78
188
+ msgid "Popup Builder AWeber License"
189
+ msgstr ""
190
+
191
+ #: popup-builder-aweber/com/classes/AWeberApi.php:462
192
+ msgid "Successfully subscribed"
193
+ msgstr ""
194
+
195
+ #: popup-builder-aweber/com/classes/Actions.php:19
196
+ #: popup-builder-aweber/com/classes/Filters.php:103
197
+ #: popup-builder-plugin/com/config/dataConfig.php:502
198
+ #: popup-builder-plugin/com/config/dataConfig.php:874
199
+ msgid "AWeber"
200
+ msgstr ""
201
+
202
+ #: popup-builder-aweber/com/classes/AweberPopup.php:77
203
+ msgid "AWeber Popup Main Options"
204
+ msgstr ""
205
+
206
+ #: popup-builder-aweber/com/classes/AweberPopup.php:85
207
+ msgid "Popup Builder AWeber extension requires authentication."
208
+ msgstr ""
209
+
210
+ #: popup-builder-aweber/com/classes/Filters.php:73
211
+ msgid "Unable to send"
212
+ msgstr ""
213
+
214
+ #: popup-builder-aweber/com/classes/Filters.php:75
215
+ msgid "A user with this email address has already subscribed"
216
+ msgstr ""
217
+
218
+ #: popup-builder-aweber/com/classes/Filters.php:76
219
+ #: popup-builder-mailchimp/com/classes/Filters.php:88
220
+ #: popup-builder-plugin/public/views/jsVariableView.php:30
221
+ #: popup-builder-plugin/public/views/jsVariableView.php:48
222
+ msgid "This field is required"
223
+ msgstr ""
224
+
225
+ #: popup-builder-aweber/com/classes/Filters.php:77
226
+ msgid "Invalid email"
227
+ msgstr ""
228
+
229
+ #: popup-builder-aweber/com/classes/Filters.php:78
230
+ #: popup-builder-mailchimp/com/classes/Ajax.php:94
231
+ #: popup-builder-mailchimp/com/classes/Filters.php:98
232
+ msgid "You have successfully subscribed to our mail list"
233
+ msgstr ""
234
+
235
+ #: popup-builder-aweber/com/classes/PopupBuilderAWeberExtension.php:32
236
+ msgid "Are you sure you want to disconnect your AWeber account?"
237
+ msgstr ""
238
+
239
+ #: popup-builder-aweber/com/helpers/DefaultOptionsData.php:33
240
+ #: popup-builder-mailchimp/com/helpers/DefaultOptionsData.php:53
241
+ #: popup-builder-mailchimp/public/views/mainView.php:342
242
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:507
243
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:572
244
+ #: popup-builder-plugin/public/views/options/contact.php:437
245
+ #: popup-builder-plugin/public/views/options/subscription.php:334
246
+ msgid "Success message"
247
+ msgstr ""
248
+
249
+ #: popup-builder-aweber/com/helpers/DefaultOptionsData.php:46
250
+ #: popup-builder-mailchimp/com/helpers/DefaultOptionsData.php:65
251
+ #: popup-builder-plugin/com/config/dataConfig.php:540
252
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:519
253
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:584
254
+ msgid "Redirect to url"
255
+ msgstr ""
256
+
257
+ #: popup-builder-aweber/com/helpers/DefaultOptionsData.php:59
258
+ #: popup-builder-mailchimp/com/helpers/DefaultOptionsData.php:77
259
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:531
260
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:596
261
+ msgid "Open popup"
262
+ msgstr ""
263
+
264
+ #: popup-builder-aweber/com/helpers/DefaultOptionsData.php:71
265
+ #: popup-builder-mailchimp/com/helpers/DefaultOptionsData.php:88
266
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:542
267
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:607
268
+ msgid "Hide popup"
269
+ msgstr ""
270
+
271
+ #: popup-builder-aweber/public/views/aweberSettings.php:9
272
+ msgid "AWeber Settings"
273
+ msgstr ""
274
+
275
+ #: popup-builder-aweber/public/views/aweberSettings.php:20
276
+ #: popup-builder-mailchimp/public/views/mailchimpSettings.php:20
277
+ msgid "API Settings"
278
+ msgstr ""
279
+
280
+ #: popup-builder-aweber/public/views/aweberSettings.php:25
281
+ #: popup-builder-aweber/public/views/mainView.php:38
282
+ #: popup-builder-mailchimp/public/views/mailchimpSettings.php:31
283
+ #: popup-builder-mailchimp/public/views/mainView.php:22
284
+ #: popup-builder-plugin/public/views/license.php:48
285
+ msgid "Status"
286
+ msgstr ""
287
+
288
+ #: popup-builder-aweber/public/views/aweberSettings.php:29
289
+ #: popup-builder-aweber/public/views/mainView.php:42
290
+ msgid "Not Connected"
291
+ msgstr ""
292
+
293
+ #: popup-builder-aweber/public/views/aweberSettings.php:31
294
+ #: popup-builder-aweber/public/views/mainView.php:44
295
+ #: popup-builder-mailchimp/public/views/mailchimpSettings.php:37
296
+ #: popup-builder-mailchimp/public/views/mainView.php:28
297
+ msgid "Connected"
298
+ msgstr ""
299
+
300
+ #: popup-builder-aweber/public/views/aweberSettings.php:46
301
+ msgid "Connect Account"
302
+ msgstr ""
303
+
304
+ #: popup-builder-aweber/public/views/aweberSettings.php:60
305
+ msgid "Disconnect"
306
+ msgstr ""
307
+
308
+ #: popup-builder-aweber/public/views/mainView.php:51
309
+ #: popup-builder-aweber/public/views/mainView.php:60
310
+ #: popup-builder-mailchimp/public/views/mainView.php:34
311
+ msgid "Your lists"
312
+ msgstr ""
313
+
314
+ #: popup-builder-aweber/public/views/mainView.php:54
315
+ msgid "Authenticate AWeber account"
316
+ msgstr ""
317
+
318
+ #: popup-builder-aweber/public/views/mainView.php:71
319
+ msgid "Sign up forms"
320
+ msgstr ""
321
+
322
+ #: popup-builder-aweber/public/views/mainView.php:82
323
+ msgid "Unexpected error messages"
324
+ msgstr ""
325
+
326
+ #: popup-builder-aweber/public/views/mainView.php:91
327
+ #: popup-builder-aweber/public/views/mainView.php:141
328
+ #: popup-builder-plugin/public/views/optionsView.php:43
329
+ msgid "Text"
330
+ msgstr ""
331
+
332
+ #: popup-builder-aweber/public/views/mainView.php:101
333
+ msgid "Already subscribed message"
334
+ msgstr ""
335
+
336
+ #: popup-builder-aweber/public/views/mainView.php:110
337
+ msgid "Validation messages"
338
+ msgstr ""
339
+
340
+ #: popup-builder-aweber/public/views/mainView.php:115
341
+ #: popup-builder-mailchimp/public/views/mainView.php:121
342
+ msgid "Required message"
343
+ msgstr ""
344
+
345
+ #: popup-builder-aweber/public/views/mainView.php:123
346
+ #: popup-builder-plugin/public/views/options/subscription.php:315
347
+ msgid "Invalid email message"
348
+ msgstr ""
349
+
350
+ #: popup-builder-aweber/public/views/mainView.php:131
351
+ #: popup-builder-mailchimp/public/views/mainView.php:330
352
+ #: popup-builder-plugin/public/views/options/subscription.php:324
353
+ msgid "After successful subscription"
354
+ msgstr ""
355
+
356
+ #: popup-builder-aweber/public/views/mainView.php:151
357
+ #: popup-builder-plugin/com/config/dataConfig.php:589
358
+ #: popup-builder-plugin/public/views/options/social.php:23
359
+ #: popup-builder-plugin/public/views/optionsView.php:29
360
+ msgid "URL"
361
+ msgstr ""
362
+
363
+ #: popup-builder-aweber/public/views/mainView.php:159
364
+ #: popup-builder-mailchimp/public/views/mainView.php:356
365
+ #: popup-builder-plugin/public/views/options/contact.php:451
366
+ #: popup-builder-plugin/public/views/options/subscription.php:348
367
+ #: popup-builder-plugin/public/views/optionsView.php:35
368
+ msgid "Redirect to new tab"
369
+ msgstr ""
370
+
371
+ #: popup-builder-aweber/public/views/mainView.php:169
372
+ #: popup-builder-mailchimp/public/views/mainView.php:364
373
+ #: popup-builder-plugin/com/config/dataConfig.php:602
374
+ #: popup-builder-plugin/public/views/mediaButton.php:21
375
+ #: popup-builder-plugin/public/views/options/contact.php:460
376
+ #: popup-builder-plugin/public/views/options/subscription.php:357
377
+ msgid "Select popup"
378
+ msgstr ""
379
+
380
+ #: popup-builder-exit-intent/PopupBuilderExitIntent.php:18
381
+ msgid "You already have Exit Intent extension. Please, remove this one."
382
+ msgstr ""
383
+
384
+ #: popup-builder-exit-intent/com/classes/Actions.php:28
385
+ msgid "Detect exit only from top bar"
386
+ msgstr ""
387
+
388
+ #: popup-builder-exit-intent/com/classes/Actions.php:42
389
+ #: popup-builder-plugin/public/views/main/restriction.php:99
390
+ msgid "Page level cookie saving"
391
+ msgstr ""
392
+
393
+ #: popup-builder-exit-intent/com/classes/Actions.php:43
394
+ msgid ""
395
+ "If this option is checked the exit intent will be saved for the current "
396
+ "page. Otherwise, the exit intent will refer site wide, and the popup will be "
397
+ "shown for specific times on each page selected."
398
+ msgstr ""
399
+
400
+ #: popup-builder-exit-intent/com/classes/Actions.php:57
401
+ msgid "Expiry time"
402
+ msgstr ""
403
+
404
+ #: popup-builder-exit-intent/com/classes/Actions.php:62
405
+ msgid "day(s)"
406
+ msgstr ""
407
+
408
+ #: popup-builder-exit-intent/com/classes/Actions.php:71
409
+ #: popup-builder-plugin/public/views/popupDesignView.php:193
410
+ msgid "Mode"
411
+ msgstr ""
412
+
413
+ #: popup-builder-exit-intent/com/classes/Actions.php:72
414
+ msgid "Select the Exit Intent mode"
415
+ msgstr ""
416
+
417
+ #: popup-builder-exit-intent/com/classes/Actions.php:92
418
+ #: popup-builder-plugin/com/config/dataConfig.php:866
419
+ msgid "Exit intent"
420
+ msgstr ""
421
+
422
+ #: popup-builder-exit-intent/com/classes/ExitIntent.php:56
423
+ msgid ""
424
+ "To enable Popup Builder Exit Intent extension you need to activate Popup "
425
+ "Builder plugin"
426
+ msgstr ""
427
+
428
+ #: popup-builder-exit-intent/com/classes/ExitIntent.php:71
429
+ msgid "Popup Builder Exit intent"
430
+ msgstr ""
431
+
432
+ #: popup-builder-exit-intent/com/classes/ExitIntent.php:73
433
+ msgid "Popup Builder Exit Intent License"
434
+ msgstr ""
435
+
436
+ #: popup-builder-exit-intent/com/helpers/DefaultOptionsData.php:11
437
+ msgid "Soft mode"
438
+ msgstr ""
439
+
440
+ #: popup-builder-exit-intent/com/helpers/DefaultOptionsData.php:12
441
+ msgid "Aggressive mode"
442
+ msgstr ""
443
+
444
+ #: popup-builder-exit-intent/com/helpers/DefaultOptionsData.php:13
445
+ msgid "Soft and Aggressive modes"
446
+ msgstr ""
447
+
448
+ #: popup-builder-exit-intent/com/helpers/DefaultOptionsData.php:14
449
+ msgid "Aggressive without popup"
450
+ msgstr ""
451
+
452
+ #: popup-builder-mailchimp/PopupBuilderMailchimp.php:18
453
+ msgid "You already have Mailchimp extension. Please, remove this one"
454
+ msgstr ""
455
+
456
+ #: popup-builder-mailchimp/com/classes/Actions.php:20
457
+ #: popup-builder-mailchimp/com/classes/Filters.php:108
458
+ #: popup-builder-plugin/com/config/dataConfig.php:496
459
+ #: popup-builder-plugin/com/config/dataConfig.php:870
460
+ msgid "MailChimp"
461
+ msgstr ""
462
+
463
+ #: popup-builder-mailchimp/com/classes/Ajax.php:91
464
+ msgid ""
465
+ "Almost finished... We need to confirm your email address. To complete the "
466
+ "subscription process, please click the link in the email we just sent you"
467
+ msgstr ""
468
+
469
+ #: popup-builder-mailchimp/com/classes/Filters.php:87
470
+ msgid "indicates required"
471
+ msgstr ""
472
+
473
+ #: popup-builder-mailchimp/com/classes/Filters.php:89
474
+ msgid "Please enter valid email"
475
+ msgstr ""
476
+
477
+ #: popup-builder-mailchimp/com/classes/Filters.php:90
478
+ msgid "Email Address"
479
+ msgstr ""
480
+
481
+ #: popup-builder-mailchimp/com/classes/Filters.php:91
482
+ msgid "Too many subscribe attempts for this email address"
483
+ msgstr ""
484
+
485
+ #: popup-builder-mailchimp/com/classes/Filters.php:94
486
+ #: popup-builder-plugin/com/config/dataConfig.php:758
487
+ msgid "Subscribe"
488
+ msgstr ""
489
+
490
+ #: popup-builder-mailchimp/com/classes/Mailchimp.php:78
491
+ msgid "Popup Builder MailChimp"
492
+ msgstr ""
493
+
494
+ #: popup-builder-mailchimp/com/classes/Mailchimp.php:80
495
+ msgid "Popup Builder MailChimp License"
496
+ msgstr ""
497
+
498
+ #: popup-builder-mailchimp/com/classes/MailchimpPopup.php:43
499
+ msgid "Please wait"
500
+ msgstr ""
501
+
502
+ #: popup-builder-mailchimp/com/classes/MailchimpPopup.php:64
503
+ msgid "MailChimp Main Options"
504
+ msgstr ""
505
+
506
+ #: popup-builder-mailchimp/com/classes/MailchimpPopup.php:86
507
+ msgid "Popup Builder MailChimp extension requires authentication."
508
+ msgstr ""
509
+
510
+ #: popup-builder-mailchimp/com/classes/api/MailchimpApi.php:546
511
+ msgid "Address Line 2"
512
+ msgstr ""
513
+
514
+ #: popup-builder-mailchimp/com/classes/api/MailchimpApi.php:550
515
+ msgid "City"
516
+ msgstr ""
517
+
518
+ #: popup-builder-mailchimp/com/classes/api/MailchimpApi.php:555
519
+ msgid "State/Province/Region"
520
+ msgstr ""
521
+
522
+ #: popup-builder-mailchimp/com/classes/api/MailchimpApi.php:560
523
+ msgid "Postal / Zip Code "
524
+ msgstr ""
525
+
526
+ #: popup-builder-mailchimp/com/classes/api/MailchimpApi.php:565
527
+ msgid "Country"
528
+ msgstr ""
529
+
530
+ #: popup-builder-mailchimp/com/helpers/DefaultOptionsData.php:18
531
+ #: popup-builder-mailchimp/com/helpers/DefaultOptionsData.php:24
532
+ msgid "Left"
533
+ msgstr ""
534
+
535
+ #: popup-builder-mailchimp/com/helpers/DefaultOptionsData.php:19
536
+ #: popup-builder-mailchimp/com/helpers/DefaultOptionsData.php:25
537
+ msgid "Center"
538
+ msgstr ""
539
+
540
+ #: popup-builder-mailchimp/com/helpers/DefaultOptionsData.php:20
541
+ #: popup-builder-mailchimp/com/helpers/DefaultOptionsData.php:26
542
+ msgid "Right"
543
+ msgstr ""
544
+
545
+ #: popup-builder-mailchimp/public/views/mailchimpSettings.php:9
546
+ msgid "MailChimp Settings"
547
+ msgstr ""
548
+
549
+ #: popup-builder-mailchimp/public/views/mailchimpSettings.php:35
550
+ #: popup-builder-mailchimp/public/views/mainView.php:26
551
+ msgid "Not connected"
552
+ msgstr ""
553
+
554
+ #: popup-builder-mailchimp/public/views/mailchimpSettings.php:43
555
+ msgid "API Key"
556
+ msgstr ""
557
+
558
+ #: popup-builder-mailchimp/public/views/mailchimpSettings.php:50
559
+ msgid "Show"
560
+ msgstr ""
561
+
562
+ #: popup-builder-mailchimp/public/views/mailchimpSettings.php:53
563
+ msgid "The API key for connecting with your MailChimp account"
564
+ msgstr ""
565
+
566
+ #: popup-builder-mailchimp/public/views/mailchimpSettings.php:53
567
+ msgid "Get your API key here"
568
+ msgstr ""
569
+
570
+ #: popup-builder-mailchimp/public/views/mailchimpSettings.php:58
571
+ #: popup-builder-plugin/public/views/settings.php:52
572
+ msgid "Save Changes"
573
+ msgstr ""
574
+
575
+ #: popup-builder-mailchimp/public/views/mainView.php:39
576
+ msgid "Setup your MailChimp Api key"
577
+ msgstr ""
578
+
579
+ #: popup-builder-mailchimp/public/views/mainView.php:42
580
+ msgid "You don't have any lists yet. Please create a list first"
581
+ msgstr ""
582
+
583
+ #: popup-builder-mailchimp/public/views/mainView.php:51
584
+ msgid "General settings"
585
+ msgstr ""
586
+
587
+ #: popup-builder-mailchimp/public/views/mainView.php:57
588
+ msgid "Enable double opt-in"
589
+ msgstr ""
590
+
591
+ #: popup-builder-mailchimp/public/views/mainView.php:63
592
+ msgid ""
593
+ "With single opt-in, new subscribers fill out a signup form and are "
594
+ "immediately added to a mailing list, even if their address is invalid or "
595
+ "contains a typo. Single opt-in can clog your list with bad addresses, and "
596
+ "possibly generate spam complaints from subscribers who don’t remember "
597
+ "signing up"
598
+ msgstr ""
599
+
600
+ #: popup-builder-mailchimp/public/views/mainView.php:69
601
+ msgid "Show only required fields"
602
+ msgstr ""
603
+
604
+ #: popup-builder-mailchimp/public/views/mainView.php:77
605
+ msgid "Enable asterisk label"
606
+ msgstr ""
607
+
608
+ #: popup-builder-mailchimp/public/views/mainView.php:86
609
+ msgid "Asterisk title"
610
+ msgstr ""
611
+
612
+ #: popup-builder-mailchimp/public/views/mainView.php:95
613
+ msgid "Asterisk label"
614
+ msgstr ""
615
+
616
+ #: popup-builder-mailchimp/public/views/mainView.php:105
617
+ msgid "Form alignment"
618
+ msgstr ""
619
+
620
+ #: popup-builder-mailchimp/public/views/mainView.php:113
621
+ msgid "Label alignment"
622
+ msgstr ""
623
+
624
+ #: popup-builder-mailchimp/public/views/mainView.php:129
625
+ msgid "Email message"
626
+ msgstr ""
627
+
628
+ #: popup-builder-mailchimp/public/views/mainView.php:137
629
+ msgid "Email label"
630
+ msgstr ""
631
+
632
+ #: popup-builder-mailchimp/public/views/mainView.php:145
633
+ #: popup-builder-plugin/public/views/options/subscription.php:307
634
+ msgid "Error message"
635
+ msgstr ""
636
+
637
+ #: popup-builder-mailchimp/public/views/mainView.php:153
638
+ #: popup-builder-plugin/public/views/options/contact.php:30
639
+ msgid "Show form before content"
640
+ msgstr ""
641
+
642
+ #: popup-builder-mailchimp/public/views/mainView.php:159
643
+ msgid "If this option is checked, the form will be displayed before the text"
644
+ msgstr ""
645
+
646
+ #: popup-builder-mailchimp/public/views/mainView.php:165
647
+ msgid "General style"
648
+ msgstr ""
649
+
650
+ #: popup-builder-mailchimp/public/views/mainView.php:172
651
+ #: popup-builder-mailchimp/public/views/mainView.php:320
652
+ msgid "Label color"
653
+ msgstr ""
654
+
655
+ #: popup-builder-mailchimp/public/views/mainView.php:182
656
+ msgid "Inputs style"
657
+ msgstr ""
658
+
659
+ #: popup-builder-mailchimp/public/views/mainView.php:189
660
+ #: popup-builder-mailchimp/public/views/mainView.php:268
661
+ #: popup-builder-plugin/public/views/closeSettingsView.php:109
662
+ #: popup-builder-plugin/public/views/dimensionsView.php:20
663
+ #: popup-builder-plugin/public/views/options/contact.php:216
664
+ #: popup-builder-plugin/public/views/options/contact.php:287
665
+ #: popup-builder-plugin/public/views/options/contact.php:366
666
+ #: popup-builder-plugin/public/views/options/subscription.php:181
667
+ #: popup-builder-plugin/public/views/options/subscription.php:255
668
+ msgid "Width"
669
+ msgstr ""
670
+
671
+ #: popup-builder-mailchimp/public/views/mainView.php:197
672
+ #: popup-builder-mailchimp/public/views/mainView.php:276
673
+ #: popup-builder-plugin/public/views/closeSettingsView.php:120
674
+ #: popup-builder-plugin/public/views/dimensionsView.php:25
675
+ #: popup-builder-plugin/public/views/options/contact.php:224
676
+ #: popup-builder-plugin/public/views/options/contact.php:295
677
+ #: popup-builder-plugin/public/views/options/contact.php:374
678
+ #: popup-builder-plugin/public/views/options/subscription.php:189
679
+ #: popup-builder-plugin/public/views/options/subscription.php:263
680
+ msgid "Height"
681
+ msgstr ""
682
+
683
+ #: popup-builder-mailchimp/public/views/mainView.php:205
684
+ #: popup-builder-mailchimp/public/views/mainView.php:292
685
+ msgid "Border radius"
686
+ msgstr ""
687
+
688
+ #: popup-builder-mailchimp/public/views/mainView.php:213
689
+ #: popup-builder-mailchimp/public/views/mainView.php:284
690
+ #: popup-builder-plugin/public/views/options/contact.php:232
691
+ #: popup-builder-plugin/public/views/options/contact.php:303
692
+ #: popup-builder-plugin/public/views/options/subscription.php:197
693
+ msgid "Border width"
694
+ msgstr ""
695
+
696
+ #: popup-builder-mailchimp/public/views/mainView.php:221
697
+ #: popup-builder-mailchimp/public/views/mainView.php:310
698
+ #: popup-builder-plugin/public/views/options/contact.php:250
699
+ #: popup-builder-plugin/public/views/options/contact.php:321
700
+ #: popup-builder-plugin/public/views/options/subscription.php:215
701
+ msgid "Border color"
702
+ msgstr ""
703
+
704
+ #: popup-builder-mailchimp/public/views/mainView.php:231
705
+ #: popup-builder-mailchimp/public/views/mainView.php:300
706
+ #: popup-builder-plugin/public/views/options/contact.php:240
707
+ #: popup-builder-plugin/public/views/options/contact.php:311
708
+ #: popup-builder-plugin/public/views/options/contact.php:398
709
+ #: popup-builder-plugin/public/views/options/subscription.php:205
710
+ #: popup-builder-plugin/public/views/options/subscription.php:287
711
+ msgid "Background color"
712
+ msgstr ""
713
+
714
+ #: popup-builder-mailchimp/public/views/mainView.php:241
715
+ #: popup-builder-plugin/public/views/options/contact.php:260
716
+ #: popup-builder-plugin/public/views/options/contact.php:331
717
+ #: popup-builder-plugin/public/views/options/contact.php:408
718
+ #: popup-builder-plugin/public/views/options/subscription.php:225
719
+ #: popup-builder-plugin/public/views/options/subscription.php:297
720
+ msgid "Text color"
721
+ msgstr ""
722
+
723
+ #: popup-builder-mailchimp/public/views/mainView.php:251
724
+ #: popup-builder-plugin/public/views/options/contact.php:361
725
+ msgid "Submit button style"
726
+ msgstr ""
727
+
728
+ #: popup-builder-mailchimp/public/views/mainView.php:260
729
+ msgid "Button title"
730
+ msgstr ""
731
+
732
+ #: popup-builder-mailchimp/public/views/mainView.php:350
733
+ #: popup-builder-plugin/public/views/options/contact.php:445
734
+ #: popup-builder-plugin/public/views/options/subscription.php:342
735
+ msgid "Redirect URL"
736
+ msgstr ""
737
+
738
+ #: popup-builder-mailchimp/public/views/mainView.php:373
739
+ msgid "Close popup if user already subscribed"
740
+ msgstr ""
741
+
742
+ #: popup-builder-mailchimp/public/views/mainView.php:383
743
+ msgid "Live Preview"
744
+ msgstr ""
745
+
746
+ #: popup-builder-mailchimp/public/views/mainView.php:389
747
+ msgid "LOADING"
748
+ msgstr ""
749
+
750
+ #: popup-builder-plugin/com/classes/Actions.php:341
751
+ msgid "Once Every Minute"
752
+ msgstr ""
753
+
754
+ #: popup-builder-plugin/com/classes/Actions.php:731
755
+ msgid "(no title) (clone)"
756
+ msgstr ""
757
+
758
+ #: popup-builder-plugin/com/classes/Actions.php:734
759
+ msgid "(clone)"
760
+ msgstr ""
761
+
762
+ #: popup-builder-plugin/com/classes/Actions.php:902
763
+ msgid "Popup updated."
764
+ msgstr ""
765
+
766
+ #: popup-builder-plugin/com/classes/Actions.php:906
767
+ msgid "Popup published."
768
+ msgstr ""
769
+
770
+ #: popup-builder-plugin/com/classes/Ajax.php:210
771
+ msgid "New message from "
772
+ msgstr ""
773
+
774
+ #: popup-builder-plugin/com/classes/Ajax.php:210
775
+ msgid " popup by Popup Builder"
776
+ msgstr ""
777
+
778
+ #: popup-builder-plugin/com/classes/Ajax.php:211
779
+ msgid ""
780
+ "Hi admin. One of your visitors has contacted you. You can find the details "
781
+ "below:"
782
+ msgstr ""
783
+
784
+ #: popup-builder-plugin/com/classes/Ajax.php:213
785
+ #: popup-builder-plugin/public/views/options/contact.php:107
786
+ msgid "Name"
787
+ msgstr ""
788
+
789
+ #: popup-builder-plugin/com/classes/Ajax.php:216
790
+ #: popup-builder-plugin/public/views/options/contact.php:133
791
+ msgid "Subject"
792
+ msgstr ""
793
+
794
+ #: popup-builder-plugin/com/classes/Ajax.php:220
795
+ #: popup-builder-plugin/com/config/dataConfig.php:825
796
+ #: popup-builder-plugin/public/views/options/social.php:92
797
+ msgid "E-mail"
798
+ msgstr ""
799
+
800
+ #: popup-builder-plugin/com/classes/Ajax.php:221
801
+ msgid "Message"
802
+ msgstr ""
803
+
804
+ #: popup-builder-plugin/com/classes/ConditionCreator.php:71
805
+ msgid "OR"
806
+ msgstr ""
807
+
808
+ #: popup-builder-plugin/com/classes/ConditionCreator.php:176
809
+ msgid " "
810
+ msgstr ""
811
+
812
+ #: popup-builder-plugin/com/classes/ConditionCreator.php:394
813
+ msgid "No Data"
814
+ msgstr ""
815
+
816
+ #: popup-builder-plugin/com/classes/ConditionCreator.php:423
817
+ #: popup-builder-plugin/public/views/jsVariableView.php:57
818
+ #: popup-builder-plugin/public/views/mediaButton.php:42
819
+ #: popup-builder-plugin/public/views/subscribers.php:101
820
+ msgid "Cancel"
821
+ msgstr ""
822
+
823
+ #: popup-builder-plugin/com/classes/ConditionCreator.php:424
824
+ msgid "Save"
825
+ msgstr ""
826
+
827
+ #: popup-builder-plugin/com/classes/Filters.php:187
828
+ msgid "Show count"
829
+ msgstr ""
830
+
831
+ #: popup-builder-plugin/com/classes/Filters.php:188
832
+ msgid "Enabled (show popup)"
833
+ msgstr ""
834
+
835
+ #: popup-builder-plugin/com/classes/Filters.php:189
836
+ #: popup-builder-plugin/public/views/optionsView.php:157
837
+ msgid "Type"
838
+ msgstr ""
839
+
840
+ #: popup-builder-plugin/com/classes/Filters.php:190
841
+ msgid "Shortcode"
842
+ msgstr ""
843
+
844
+ #: popup-builder-plugin/com/classes/Installer.php:283
845
+ msgid "Popup Builder"
846
+ msgstr ""
847
+
848
+ #: popup-builder-plugin/com/classes/Installer.php:285
849
+ msgid "Popup Builder License"
850
+ msgstr ""
851
+
852
+ #: popup-builder-plugin/com/classes/MediaButton.php:55
853
+ msgid "Insert custom JS variable"
854
+ msgstr ""
855
+
856
+ #: popup-builder-plugin/com/classes/MediaButton.php:78
857
+ msgid "Insert popup"
858
+ msgstr ""
859
+
860
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:62
861
+ msgid "Description."
862
+ msgstr ""
863
+
864
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:93
865
+ #: popup-builder-plugin/public/views/popupTypes.php:14
866
+ #: popup-builder-plugin/public/views/popupTypes.php:25
867
+ msgid "Add New Popup"
868
+ msgstr ""
869
+
870
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:94
871
+ msgid "New Popup"
872
+ msgstr ""
873
+
874
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:95
875
+ msgid "Edit Popup"
876
+ msgstr ""
877
+
878
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:96
879
+ msgid "View Popup"
880
+ msgstr ""
881
+
882
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:97
883
+ msgid "All Popups"
884
+ msgstr ""
885
+
886
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:98
887
+ msgid "Search Popups"
888
+ msgstr ""
889
+
890
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:99
891
+ msgid "Parent Popups:"
892
+ msgstr ""
893
+
894
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:100
895
+ msgid "No popups found."
896
+ msgstr ""
897
+
898
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:101
899
+ msgid "No popups found in Trash."
900
+ msgstr ""
901
+
902
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:112
903
+ msgid "Search Categories"
904
+ msgstr ""
905
+
906
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:113
907
+ msgid "Popular Categories"
908
+ msgstr ""
909
+
910
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:114
911
+ msgid "All Categories"
912
+ msgstr ""
913
+
914
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:117
915
+ msgid "Edit Category"
916
+ msgstr ""
917
+
918
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:118
919
+ msgid "Update Category"
920
+ msgstr ""
921
+
922
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:119
923
+ msgid "Add New Category"
924
+ msgstr ""
925
+
926
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:120
927
+ msgid "New Category Name"
928
+ msgstr ""
929
+
930
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:121
931
+ msgid "Separate Categories with commas"
932
+ msgstr ""
933
+
934
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:122
935
+ msgid "Add or remove Categories"
936
+ msgstr ""
937
+
938
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:123
939
+ msgid "Choose from the most used Categories"
940
+ msgstr ""
941
+
942
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:124
943
+ msgid "No Categories found."
944
+ msgstr ""
945
+
946
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:125
947
+ msgid "Categories"
948
+ msgstr ""
949
+
950
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:149
951
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:152
952
+ msgid "Random popups"
953
+ msgstr ""
954
+
955
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:259
956
+ #: popup-builder-plugin/com/classes/popups/SGPopup.php:1273
957
+ msgid "Popup class does not exist"
958
+ msgstr ""
959
+
960
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:310
961
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:311
962
+ msgid "Add New"
963
+ msgstr ""
964
+
965
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:319
966
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:320
967
+ #: popup-builder-plugin/public/views/subscribers.php:30
968
+ msgid "Subscribers"
969
+ msgstr ""
970
+
971
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:328
972
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:329
973
+ msgid "Newsletter"
974
+ msgstr ""
975
+
976
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:337
977
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:338
978
+ msgid "Settings"
979
+ msgstr ""
980
+
981
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:349
982
+ msgid "Popup Display Rules"
983
+ msgstr ""
984
+
985
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:361
986
+ msgid "Popup Events"
987
+ msgstr ""
988
+
989
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:375
990
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:455
991
+ #: popup-builder-plugin/public/views/closeSettingsView.php:198
992
+ #: popup-builder-plugin/public/views/optionsView.php:245
993
+ #: popup-builder-plugin/public/views/popupDesignView.php:70
994
+ msgid "Upgrade to PRO"
995
+ msgstr ""
996
+
997
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:379
998
+ msgid "Popup Conditions"
999
+ msgstr ""
1000
+
1001
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:391
1002
+ msgid "Behavior After Special Events"
1003
+ msgstr ""
1004
+
1005
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:403
1006
+ msgid "Design"
1007
+ msgstr ""
1008
+
1009
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:416
1010
+ msgid "Close Settings"
1011
+ msgstr ""
1012
+
1013
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:429
1014
+ msgid "Dimensions"
1015
+ msgstr ""
1016
+
1017
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:441
1018
+ msgid "Popup Options"
1019
+ msgstr ""
1020
+
1021
+ #: popup-builder-plugin/com/classes/RegisterPostType.php:459
1022
+ msgid "Popup other Conditions"
1023
+ msgstr ""
1024
+
1025
+ #: popup-builder-plugin/com/classes/Updates.php:92
1026
+ msgid "License"
1027
+ msgstr ""
1028
+
1029
+ #: popup-builder-plugin/com/classes/Updates.php:147
1030
+ #: popup-builder-plugin/com/classes/Updates.php:176
1031
+ #: popup-builder-plugin/com/classes/Updates.php:208
1032
+ msgid "An error occurred, please try again."
1033
+ msgstr ""
1034
+
1035
+ #: popup-builder-plugin/com/classes/Updates.php:155
1036
+ #, php-format
1037
+ msgid "Your license key expired on %s."
1038
+ msgstr ""
1039
+
1040
+ #: popup-builder-plugin/com/classes/Updates.php:160
1041
+ msgid "Your license key has been disabled."
1042
+ msgstr ""
1043
+
1044
+ #: popup-builder-plugin/com/classes/Updates.php:163
1045
+ msgid "Invalid license."
1046
+ msgstr ""
1047
+
1048
+ #: popup-builder-plugin/com/classes/Updates.php:167
1049
+ msgid "Your license is not active for this URL."
1050
+ msgstr ""
1051
+
1052
+ #: popup-builder-plugin/com/classes/Updates.php:170
1053
+ #, php-format
1054
+ msgid "This appears to be an invalid license key for %s."
1055
+ msgstr ""
1056
+
1057
+ #: popup-builder-plugin/com/classes/Updates.php:173
1058
+ msgid "Invalid license key for current site."
1059
+ msgstr ""
1060
+
1061
+ #: popup-builder-plugin/com/classes/dataTable/Subscribers.php:30
1062
+ #: popup-builder-plugin/com/config/dataConfig.php:743
1063
+ #: popup-builder-plugin/public/views/options/subscription.php:105
1064
+ #: popup-builder-plugin/public/views/subscribers.php:88
1065
+ msgid "First name"
1066
+ msgstr ""
1067
+
1068
+ #: popup-builder-plugin/com/classes/dataTable/Subscribers.php:31
1069
+ #: popup-builder-plugin/com/config/dataConfig.php:746
1070
+ #: popup-builder-plugin/public/views/options/subscription.php:136
1071
+ #: popup-builder-plugin/public/views/subscribers.php:93
1072
+ msgid "Last name"
1073
+ msgstr ""
1074
+
1075
+ #: popup-builder-plugin/com/classes/dataTable/Subscribers.php:32
1076
+ #: popup-builder-plugin/public/views/subscribers.php:78
1077
+ msgid "Email"
1078
+ msgstr ""
1079
+
1080
+ #: popup-builder-plugin/com/classes/dataTable/Subscribers.php:33
1081
+ #: popup-builder-plugin/com/libs/Table.php:246
1082
+ msgid "Date"
1083
+ msgstr ""
1084
+
1085
+ #: popup-builder-plugin/com/classes/dataTable/Subscribers.php:34
1086
+ msgid "Popup"
1087
+ msgstr ""
1088
+
1089
+ #: popup-builder-plugin/com/classes/popups/CountdownPopup.php:90
1090
+ msgid "Countdown Popup Main Options"
1091
+ msgstr ""
1092
+
1093
+ #: popup-builder-plugin/com/classes/popups/SubscriptionPopup.php:576
1094
+ msgid "no title"
1095
+ msgstr ""
1096
+
1097
+ #: popup-builder-plugin/com/classes/popups/VideoPopup.php:224
1098
+ msgid "Your video format is not supported"
1099
+ msgstr ""
1100
+
1101
+ #: popup-builder-plugin/com/classes/popups/VideoPopup.php:225
1102
+ msgid ""
1103
+ "Our Video popup supports the following video streams: YouTube, Vimeo & Daily "
1104
+ "Motion"
1105
+ msgstr ""
1106
+
1107
+ #: popup-builder-plugin/com/classes/popups/VideoPopup.php:226
1108
+ msgid "Or, please, check if your inserted link is valid"
1109
+ msgstr ""
1110
+
1111
+ #: popup-builder-plugin/com/config/config.php:115
1112
+ #: popup-builder-plugin/public/views/popupDesignView.php:165
1113
+ msgid "Image"
1114
+ msgstr ""
1115
+
1116
+ #: popup-builder-plugin/com/config/config.php:116
1117
+ msgid "HTML"
1118
+ msgstr ""
1119
+
1120
+ #: popup-builder-plugin/com/config/config.php:117
1121
+ #: popup-builder-plugin/public/views/options/social.php:128
1122
+ msgid "Facebook"
1123
+ msgstr ""
1124
+
1125
+ #: popup-builder-plugin/com/config/config.php:118
1126
+ msgid "Iframe"
1127
+ msgstr ""
1128
+
1129
+ #: popup-builder-plugin/com/config/config.php:119
1130
+ msgid "Video"
1131
+ msgstr ""
1132
+
1133
+ #: popup-builder-plugin/com/config/config.php:120
1134
+ msgid "Restriction"
1135
+ msgstr ""
1136
+
1137
+ #: popup-builder-plugin/com/config/config.php:121
1138
+ msgid "Countdown"
1139
+ msgstr ""
1140
+
1141
+ #: popup-builder-plugin/com/config/config.php:122
1142
+ msgid "Social"
1143
+ msgstr ""
1144
+
1145
+ #: popup-builder-plugin/com/config/config.php:123
1146
+ msgid "Subscription"
1147
+ msgstr ""
1148
+
1149
+ #: popup-builder-plugin/com/config/config.php:124
1150
+ msgid "Contact form"
1151
+ msgstr ""
1152
+
1153
+ #: popup-builder-plugin/com/config/dataConfig.php:33
1154
+ msgid "Select rule"
1155
+ msgstr ""
1156
+
1157
+ #: popup-builder-plugin/com/config/dataConfig.php:34
1158
+ msgid "Everywhere"
1159
+ msgstr ""
1160
+
1161
+ #: popup-builder-plugin/com/config/dataConfig.php:36
1162
+ msgid "All posts"
1163
+ msgstr ""
1164
+
1165
+ #: popup-builder-plugin/com/config/dataConfig.php:37
1166
+ msgid "Selected posts"
1167
+ msgstr ""
1168
+
1169
+ #: popup-builder-plugin/com/config/dataConfig.php:38
1170
+ msgid "Post type"
1171
+ msgstr ""
1172
+
1173
+ #: popup-builder-plugin/com/config/dataConfig.php:39
1174
+ msgid "Post category"
1175
+ msgstr ""
1176
+
1177
+ #: popup-builder-plugin/com/config/dataConfig.php:42
1178
+ msgid "All pages"
1179
+ msgstr ""
1180
+
1181
+ #: popup-builder-plugin/com/config/dataConfig.php:43
1182
+ msgid "Selected pages"
1183
+ msgstr ""
1184
+
1185
+ #: popup-builder-plugin/com/config/dataConfig.php:44
1186
+ msgid "Page type"
1187
+ msgstr ""
1188
+
1189
+ #: popup-builder-plugin/com/config/dataConfig.php:45
1190
+ msgid "Page template"
1191
+ msgstr ""
1192
+
1193
+ #: popup-builder-plugin/com/config/dataConfig.php:48
1194
+ msgid "All tags"
1195
+ msgstr ""
1196
+
1197
+ #: popup-builder-plugin/com/config/dataConfig.php:49
1198
+ msgid "Selected tags"
1199
+ msgstr ""
1200
+
1201
+ #: popup-builder-plugin/com/config/dataConfig.php:54
1202
+ #: popup-builder-plugin/com/config/dataConfig.php:370
1203
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:1254
1204
+ msgid "Add"
1205
+ msgstr ""
1206
+
1207
+ #: popup-builder-plugin/com/config/dataConfig.php:55
1208
+ #: popup-builder-plugin/com/config/dataConfig.php:371
1209
+ msgid "Delete"
1210
+ msgstr ""
1211
+
1212
+ #: popup-builder-plugin/com/config/dataConfig.php:59
1213
+ #: popup-builder-plugin/com/config/dataConfig.php:375
1214
+ msgid "Is"
1215
+ msgstr ""
1216
+
1217
+ #: popup-builder-plugin/com/config/dataConfig.php:60
1218
+ #: popup-builder-plugin/com/config/dataConfig.php:376
1219
+ msgid "Is not"
1220
+ msgstr ""
1221
+
1222
+ #: popup-builder-plugin/com/config/dataConfig.php:92
1223
+ msgid "Specify where the popup should be shown on your site."
1224
+ msgstr ""
1225
+
1226
+ #: popup-builder-plugin/com/config/dataConfig.php:104
1227
+ msgid "Allow or Disallow popup showing for the selected rule."
1228
+ msgstr ""
1229
+
1230
+ #: popup-builder-plugin/com/config/dataConfig.php:117
1231
+ msgid "Select your specific posts where the popup should be shown."
1232
+ msgstr ""
1233
+
1234
+ #: popup-builder-plugin/com/config/dataConfig.php:130
1235
+ msgid "Select the pages on your site where the specific popup will be shown."
1236
+ msgstr ""
1237
+
1238
+ #: popup-builder-plugin/com/config/dataConfig.php:144
1239
+ msgid "Specify the post types on your site to show the popup."
1240
+ msgstr ""
1241
+
1242
+ #: popup-builder-plugin/com/config/dataConfig.php:158
1243
+ msgid "Select the post categories on which the popup should be shown."
1244
+ msgstr ""
1245
+
1246
+ #: popup-builder-plugin/com/config/dataConfig.php:172
1247
+ msgid "Specify the page types where the popup will be shown."
1248
+ msgstr ""
1249
+
1250
+ #: popup-builder-plugin/com/config/dataConfig.php:186
1251
+ msgid "Select the page templates on which the popup will be shown."
1252
+ msgstr ""
1253
+
1254
+ #: popup-builder-plugin/com/config/dataConfig.php:200
1255
+ msgid "Select the tags on your site for popup showing"
1256
+ msgstr ""
1257
+
1258
+ #: popup-builder-plugin/com/config/dataConfig.php:238
1259
+ msgid "Set by CSS class"
1260
+ msgstr ""
1261
+
1262
+ #: popup-builder-plugin/com/config/dataConfig.php:279
1263
+ msgid "Select when the popup should appear on the page."
1264
+ msgstr ""
1265
+
1266
+ #: popup-builder-plugin/com/config/dataConfig.php:290
1267
+ #: popup-builder-plugin/com/config/dataConfig.php:333
1268
+ msgid "This is info"
1269
+ msgstr ""
1270
+
1271
+ #: popup-builder-plugin/com/config/dataConfig.php:294
1272
+ msgid "default custom delay will be used"
1273
+ msgstr ""
1274
+
1275
+ #: popup-builder-plugin/com/config/dataConfig.php:297
1276
+ msgid ""
1277
+ "Specify how long the popup appearance should be delayed after loading the "
1278
+ "page (in sec)."
1279
+ msgstr ""
1280
+
1281
+ #: popup-builder-plugin/com/config/dataConfig.php:304
1282
+ msgid ""
1283
+ "Specify the part of the page, in percentages, where the popup should appear "
1284
+ "after scrolling."
1285
+ msgstr ""
1286
+
1287
+ #: popup-builder-plugin/com/config/dataConfig.php:311
1288
+ msgid ""
1289
+ "Show the popup after some time of inactivity. The popup will appear if a "
1290
+ "user does nothing for some specific time mentioned."
1291
+ msgstr ""
1292
+
1293
+ #: popup-builder-plugin/com/config/dataConfig.php:322
1294
+ msgid ""
1295
+ "If this option is enabled the same popup will open up after every X seconds "
1296
+ "you have defined (after closing it)."
1297
+ msgstr ""
1298
+
1299
+ #: popup-builder-plugin/com/config/dataConfig.php:361
1300
+ msgid "Select role"
1301
+ msgstr ""
1302
+
1303
+ #: popup-builder-plugin/com/config/dataConfig.php:363
1304
+ msgid "User status"
1305
+ msgstr ""
1306
+
1307
+ #: popup-builder-plugin/com/config/dataConfig.php:364
1308
+ msgid "Countries"
1309
+ msgstr ""
1310
+
1311
+ #: popup-builder-plugin/com/config/dataConfig.php:365
1312
+ msgid "Devices"
1313
+ msgstr ""
1314
+
1315
+ #: popup-builder-plugin/com/config/dataConfig.php:384
1316
+ msgid "logged in"
1317
+ msgstr ""
1318
+
1319
+ #: popup-builder-plugin/com/config/dataConfig.php:409
1320
+ msgid "Target visitors to show the popup by different conditions."
1321
+ msgstr ""
1322
+
1323
+ #: popup-builder-plugin/com/config/dataConfig.php:420
1324
+ msgid "Allow or Disallow popup showing for the selected conditions."
1325
+ msgstr ""
1326
+
1327
+ #: popup-builder-plugin/com/config/dataConfig.php:431
1328
+ msgid "Set up the popup to allow it for logged-in or logged-out users."
1329
+ msgstr ""
1330
+
1331
+ #: popup-builder-plugin/com/config/dataConfig.php:443
1332
+ msgid "Select the countries for which the popup will be shown or hidden."
1333
+ msgstr ""
1334
+
1335
+ #: popup-builder-plugin/com/config/dataConfig.php:455
1336
+ msgid "Select the device for which the popup will be available."
1337
+ msgstr ""
1338
+
1339
+ #: popup-builder-plugin/com/config/dataConfig.php:490
1340
+ msgid "Exit Intent"
1341
+ msgstr ""
1342
+
1343
+ #: popup-builder-plugin/com/config/dataConfig.php:532
1344
+ #: popup-builder-plugin/public/views/mediaButton.php:30
1345
+ msgid "Select event"
1346
+ msgstr ""
1347
+
1348
+ #: popup-builder-plugin/com/config/dataConfig.php:533
1349
+ msgid "Special events"
1350
+ msgstr ""
1351
+
1352
+ #: popup-builder-plugin/com/config/dataConfig.php:534
1353
+ msgid "Contact Form 7 submission"
1354
+ msgstr ""
1355
+
1356
+ #: popup-builder-plugin/com/config/dataConfig.php:538
1357
+ msgid "Select behavior"
1358
+ msgstr ""
1359
+
1360
+ #: popup-builder-plugin/com/config/dataConfig.php:539
1361
+ msgid "Behaviors"
1362
+ msgstr ""
1363
+
1364
+ #: popup-builder-plugin/com/config/dataConfig.php:541
1365
+ msgid "Open another popup"
1366
+ msgstr ""
1367
+
1368
+ #: popup-builder-plugin/com/config/dataConfig.php:542
1369
+ msgid "Close current popup"
1370
+ msgstr ""
1371
+
1372
+ #: popup-builder-plugin/com/config/dataConfig.php:567
1373
+ msgid "Event"
1374
+ msgstr ""
1375
+
1376
+ #: popup-builder-plugin/com/config/dataConfig.php:568
1377
+ msgid "Select the special event you want to catch."
1378
+ msgstr ""
1379
+
1380
+ #: popup-builder-plugin/com/config/dataConfig.php:578
1381
+ msgid "Behavior"
1382
+ msgstr ""
1383
+
1384
+ #: popup-builder-plugin/com/config/dataConfig.php:579
1385
+ msgid "Select what should happen after the special event."
1386
+ msgstr ""
1387
+
1388
+ #: popup-builder-plugin/com/config/dataConfig.php:590
1389
+ msgid "Enter the URL of the page should be redirected to."
1390
+ msgstr ""
1391
+
1392
+ #: popup-builder-plugin/com/config/dataConfig.php:603
1393
+ msgid "Select the popup that should be opened."
1394
+ msgstr ""
1395
+
1396
+ #: popup-builder-plugin/com/config/dataConfig.php:615
1397
+ msgid "After how many seconds the popup should close."
1398
+ msgstr ""
1399
+
1400
+ #: popup-builder-plugin/com/config/dataConfig.php:698
1401
+ msgid "Invalid URL."
1402
+ msgstr ""
1403
+
1404
+ #: popup-builder-plugin/com/config/dataConfig.php:699
1405
+ msgid "This url may not work, as it is HTTP and you are running HTTPS."
1406
+ msgstr ""
1407
+
1408
+ #: popup-builder-plugin/com/config/dataConfig.php:700
1409
+ msgid "This url may not work, as it doesn't allow embedding in iframes."
1410
+ msgstr ""
1411
+
1412
+ #: popup-builder-plugin/com/config/dataConfig.php:710
1413
+ msgid "Invalid URL"
1414
+ msgstr ""
1415
+
1416
+ #: popup-builder-plugin/com/config/dataConfig.php:711
1417
+ msgid "This video URL is not supported"
1418
+ msgstr ""
1419
+
1420
+ #: popup-builder-plugin/com/config/dataConfig.php:728
1421
+ msgid "Yes"
1422
+ msgstr ""
1423
+
1424
+ #: popup-builder-plugin/com/config/dataConfig.php:730
1425
+ msgid "No"
1426
+ msgstr ""
1427
+
1428
+ #: popup-builder-plugin/com/config/dataConfig.php:741
1429
+ msgid "Email *"
1430
+ msgstr ""
1431
+
1432
+ #: popup-builder-plugin/com/config/dataConfig.php:748
1433
+ #: popup-builder-plugin/com/config/dataConfig.php:786
1434
+ msgid "This field is required."
1435
+ msgstr ""
1436
+
1437
+ #: popup-builder-plugin/com/config/dataConfig.php:759
1438
+ #: popup-builder-plugin/com/config/dataConfig.php:803
1439
+ msgid "Please wait..."
1440
+ msgstr ""
1441
+
1442
+ #: popup-builder-plugin/com/config/dataConfig.php:762
1443
+ msgid "There was an error while trying to send your request. Please try again"
1444
+ msgstr ""
1445
+
1446
+ #: popup-builder-plugin/com/config/dataConfig.php:763
1447
+ msgid "Please enter a valid email address"
1448
+ msgstr ""
1449
+
1450
+ #: popup-builder-plugin/com/config/dataConfig.php:765
1451
+ msgid "You have successfully subscribed to the newsletter"
1452
+ msgstr ""
1453
+
1454
+ #: popup-builder-plugin/com/config/dataConfig.php:769
1455
+ #: popup-builder-plugin/com/config/dataConfig.php:815
1456
+ msgid "Accept Terms"
1457
+ msgstr ""
1458
+
1459
+ #: popup-builder-plugin/com/config/dataConfig.php:770
1460
+ #: popup-builder-plugin/com/config/dataConfig.php:816
1461
+ msgid ""
1462
+ " will use the information you provide on this form to be in touch with you "
1463
+ "and to provide updates and marketing."
1464
+ msgstr ""
1465
+
1466
+ #: popup-builder-plugin/com/config/dataConfig.php:777
1467
+ msgid "Name *"
1468
+ msgstr ""
1469
+
1470
+ #: popup-builder-plugin/com/config/dataConfig.php:780
1471
+ msgid "Subject *"
1472
+ msgstr ""
1473
+
1474
+ #: popup-builder-plugin/com/config/dataConfig.php:782
1475
+ msgid "E-mail *"
1476
+ msgstr ""
1477
+
1478
+ #: popup-builder-plugin/com/config/dataConfig.php:783
1479
+ msgid "Message *"
1480
+ msgstr ""
1481
+
1482
+ #: popup-builder-plugin/com/config/dataConfig.php:785
1483
+ msgid "Unable to send."
1484
+ msgstr ""
1485
+
1486
+ #: popup-builder-plugin/com/config/dataConfig.php:787
1487
+ msgid "Please enter a valid email."
1488
+ msgstr ""
1489
+
1490
+ #: popup-builder-plugin/com/config/dataConfig.php:802
1491
+ msgid "Submit"
1492
+ msgstr ""
1493
+
1494
+ #: popup-builder-plugin/com/config/dataConfig.php:811
1495
+ msgid "Your message has been successfully sent"
1496
+ msgstr ""
1497
+
1498
+ #: popup-builder-plugin/com/config/dataConfig.php:827
1499
+ #: popup-builder-plugin/com/config/dataConfig.php:829
1500
+ msgid "Share"
1501
+ msgstr ""
1502
+
1503
+ #: popup-builder-plugin/com/config/dataConfig.php:831
1504
+ msgid "+1"
1505
+ msgstr ""
1506
+
1507
+ #: popup-builder-plugin/com/config/dataConfig.php:833
1508
+ msgid "Tweet"
1509
+ msgstr ""
1510
+
1511
+ #: popup-builder-plugin/com/config/dataConfig.php:835
1512
+ msgid "Pin it"
1513
+ msgstr ""
1514
+
1515
+ #: popup-builder-plugin/com/helpers/AdminHelper.php:692
1516
+ msgid "Popup Builder plugin has been successfully updated"
1517
+ msgstr ""
1518
+
1519
+ #: popup-builder-plugin/com/helpers/AdminHelper.php:693
1520
+ msgid "The following extensions need to be updated manually"
1521
+ msgstr ""
1522
+
1523
+ #: popup-builder-plugin/com/helpers/AdminHelper.php:701
1524
+ #: popup-builder-plugin/com/helpers/AdminHelper.php:757
1525
+ msgid "Don't show again"
1526
+ msgstr ""
1527
+
1528
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:111
1529
+ msgid "Select "
1530
+ msgstr ""
1531
+
1532
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:167
1533
+ msgid "Home Page"
1534
+ msgstr ""
1535
+
1536
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:168
1537
+ msgid "Posts Page"
1538
+ msgstr ""
1539
+
1540
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:169
1541
+ msgid "Search Pages"
1542
+ msgstr ""
1543
+
1544
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:170
1545
+ msgid "404 Pages"
1546
+ msgstr ""
1547
+
1548
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:179
1549
+ msgid "Desktop"
1550
+ msgstr ""
1551
+
1552
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:180
1553
+ msgid "Tablet"
1554
+ msgstr ""
1555
+
1556
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:181
1557
+ msgid "Mobile"
1558
+ msgstr ""
1559
+
1560
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:182
1561
+ msgid "Bots"
1562
+ msgstr ""
1563
+
1564
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:190
1565
+ msgid "Default Template"
1566
+ msgstr ""
1567
+
1568
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:245
1569
+ msgid "Close Popup"
1570
+ msgstr ""
1571
+
1572
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:256
1573
+ msgid "Redirect"
1574
+ msgstr ""
1575
+
1576
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:267
1577
+ msgid "Copy to clipboard"
1578
+ msgstr ""
1579
+
1580
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:297
1581
+ msgid "Responsive mode"
1582
+ msgstr ""
1583
+
1584
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:298
1585
+ msgid ""
1586
+ "The sizes of the popup will be counted automatically, according to the "
1587
+ "content size of the popup. You can select the size in percentages, with this "
1588
+ "mode, to specify the size on the screen"
1589
+ msgstr ""
1590
+
1591
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:310
1592
+ msgid "Custom mode"
1593
+ msgstr ""
1594
+
1595
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:311
1596
+ msgid ""
1597
+ "Add your own custom dimensions for the popup to get the exact sizing for "
1598
+ "your popup"
1599
+ msgstr ""
1600
+
1601
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:363
1602
+ msgid "Auto"
1603
+ msgstr ""
1604
+
1605
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:377
1606
+ msgid "top-left"
1607
+ msgstr ""
1608
+
1609
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:378
1610
+ msgid "top-right"
1611
+ msgstr ""
1612
+
1613
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:379
1614
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:384
1615
+ msgid "bottom-left"
1616
+ msgstr ""
1617
+
1618
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:380
1619
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:385
1620
+ msgid "bottom-right"
1621
+ msgstr ""
1622
+
1623
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:417
1624
+ msgid "Monday"
1625
+ msgstr ""
1626
+
1627
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:418
1628
+ msgid "Tuesday"
1629
+ msgstr ""
1630
+
1631
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:419
1632
+ msgid "Wednesday"
1633
+ msgstr ""
1634
+
1635
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:420
1636
+ msgid "Thursday"
1637
+ msgstr ""
1638
+
1639
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:421
1640
+ msgid "Friday"
1641
+ msgstr ""
1642
+
1643
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:422
1644
+ msgid "Saturday"
1645
+ msgstr ""
1646
+
1647
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:423
1648
+ msgid "Sunday"
1649
+ msgstr ""
1650
+
1651
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:427
1652
+ msgid "Both"
1653
+ msgstr ""
1654
+
1655
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:428
1656
+ msgid "Horizontal"
1657
+ msgstr ""
1658
+
1659
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:429
1660
+ msgid "Vertical"
1661
+ msgstr ""
1662
+
1663
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:430
1664
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:645
1665
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:653
1666
+ msgid "None"
1667
+ msgstr ""
1668
+
1669
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:431
1670
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:477
1671
+ msgid "Inherit"
1672
+ msgstr ""
1673
+
1674
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:458
1675
+ msgid "Use active URL"
1676
+ msgstr ""
1677
+
1678
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:470
1679
+ msgid "Share URL"
1680
+ msgstr ""
1681
+
1682
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:614
1683
+ msgid "Flat"
1684
+ msgstr ""
1685
+
1686
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:615
1687
+ msgid "Classic"
1688
+ msgstr ""
1689
+
1690
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:616
1691
+ msgid "Minima"
1692
+ msgstr ""
1693
+
1694
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:617
1695
+ msgid "Plain"
1696
+ msgstr ""
1697
+
1698
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:632
1699
+ msgid "True"
1700
+ msgstr ""
1701
+
1702
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:633
1703
+ msgid "False"
1704
+ msgstr ""
1705
+
1706
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:634
1707
+ msgid "Inside"
1708
+ msgstr ""
1709
+
1710
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:638
1711
+ msgid "Standard"
1712
+ msgstr ""
1713
+
1714
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:639
1715
+ msgid "Box with count"
1716
+ msgstr ""
1717
+
1718
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:640
1719
+ msgid "Button with count"
1720
+ msgstr ""
1721
+
1722
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:641
1723
+ msgid "Button"
1724
+ msgstr ""
1725
+
1726
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:646
1727
+ msgid "Cover"
1728
+ msgstr ""
1729
+
1730
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:647
1731
+ msgid "Fit"
1732
+ msgstr ""
1733
+
1734
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:648
1735
+ msgid "Contain"
1736
+ msgstr ""
1737
+
1738
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:649
1739
+ msgid "Repeat"
1740
+ msgstr ""
1741
+
1742
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:654
1743
+ msgid "Flip"
1744
+ msgstr ""
1745
+
1746
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:655
1747
+ msgid "Shake"
1748
+ msgstr ""
1749
+
1750
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:656
1751
+ msgid "Wobble"
1752
+ msgstr ""
1753
+
1754
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:657
1755
+ msgid "Swing"
1756
+ msgstr ""
1757
+
1758
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:658
1759
+ msgid "Flash"
1760
+ msgstr ""
1761
+
1762
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:659
1763
+ msgid "Bounce"
1764
+ msgstr ""
1765
+
1766
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:660
1767
+ msgid "BounceInRight"
1768
+ msgstr ""
1769
+
1770
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:661
1771
+ msgid "BounceIn"
1772
+ msgstr ""
1773
+
1774
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:662
1775
+ msgid "Pulse"
1776
+ msgstr ""
1777
+
1778
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:663
1779
+ msgid "RubberBand"
1780
+ msgstr ""
1781
+
1782
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:664
1783
+ msgid "Tada"
1784
+ msgstr ""
1785
+
1786
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:665
1787
+ msgid "SlideInUp"
1788
+ msgstr ""
1789
+
1790
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:666
1791
+ msgid "Jello"
1792
+ msgstr ""
1793
+
1794
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:667
1795
+ msgid "RotateIn"
1796
+ msgstr ""
1797
+
1798
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:668
1799
+ msgid "FadeIn"
1800
+ msgstr ""
1801
+
1802
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:1252
1803
+ msgid "Only image files supported"
1804
+ msgstr ""
1805
+
1806
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:1253
1807
+ msgid "Are you sure?"
1808
+ msgstr ""
1809
+
1810
+ #: popup-builder-plugin/com/helpers/ConfigDataHelper.php:1255
1811
+ msgid "Only audio files supported (e.g.: mp3, wav, m4a, ogg)"
1812
+ msgstr ""
1813
+
1814
+ #: popup-builder-plugin/com/libs/EDD_SL_Plugin_Updater.php:149
1815
+ #, php-format
1816
+ msgid ""
1817
+ "There is a new version of %1$s available. %2$sView version %3$s details%4$s."
1818
+ msgstr ""
1819
+
1820
+ #: popup-builder-plugin/com/libs/EDD_SL_Plugin_Updater.php:157
1821
+ #, php-format
1822
+ msgid ""
1823
+ "There is a new version of %1$s available. %2$sView version %3$s details%4$s "
1824
+ "or %5$supdate now%6$s."
1825
+ msgstr ""
1826
+
1827
+ #: popup-builder-plugin/com/libs/EDD_SL_Plugin_Updater.php:304
1828
+ msgid "You do not have permission to install plugin updates"
1829
+ msgstr ""
1830
+
1831
+ #: popup-builder-plugin/com/libs/EDD_SL_Plugin_Updater.php:304
1832
+ msgid "Error"
1833
+ msgstr ""
1834
+
1835
+ #: popup-builder-plugin/com/libs/ListTable.php:144
1836
+ msgid "List View"
1837
+ msgstr ""
1838
+
1839
+ #: popup-builder-plugin/com/libs/ListTable.php:145
1840
+ msgid "Excerpt View"
1841
+ msgstr ""
1842
+
1843
+ #: popup-builder-plugin/com/libs/ListTable.php:314
1844
+ msgid "No items found."
1845
+ msgstr ""
1846
+
1847
+ #: popup-builder-plugin/com/libs/ListTable.php:439
1848
+ msgid "Select bulk action"
1849
+ msgstr ""
1850
+
1851
+ #: popup-builder-plugin/com/libs/ListTable.php:441
1852
+ msgid "Bulk Actions"
1853
+ msgstr ""
1854
+
1855
+ #: popup-builder-plugin/com/libs/ListTable.php:451
1856
+ msgid "Apply"
1857
+ msgstr ""
1858
+
1859
+ #: popup-builder-plugin/com/libs/ListTable.php:501
1860
+ #: popup-builder-plugin/com/libs/ListTable.php:1262
1861
+ msgid "Show more details"
1862
+ msgstr ""
1863
+
1864
+ #: popup-builder-plugin/com/libs/ListTable.php:556
1865
+ #: popup-builder-plugin/com/libs/Table.php:231
1866
+ msgid "Filter by date"
1867
+ msgstr ""
1868
+
1869
+ #: popup-builder-plugin/com/libs/ListTable.php:558
1870
+ msgid "All dates"
1871
+ msgstr ""
1872
+
1873
+ #: popup-builder-plugin/com/libs/ListTable.php:571
1874
+ #, php-format
1875
+ msgid "%1$s %2$d"
1876
+ msgstr ""
1877
+
1878
+ #: popup-builder-plugin/com/libs/ListTable.php:630
1879
+ #: popup-builder-plugin/com/libs/ListTable.php:642
1880
+ msgid "No comments"
1881
+ msgstr ""
1882
+
1883
+ #: popup-builder-plugin/com/libs/ListTable.php:642
1884
+ msgid "No approved comments"
1885
+ msgstr ""
1886
+
1887
+ #: popup-builder-plugin/com/libs/ListTable.php:758
1888
+ msgid "First page"
1889
+ msgstr ""
1890
+
1891
+ #: popup-builder-plugin/com/libs/ListTable.php:768
1892
+ msgid "Previous page"
1893
+ msgstr ""
1894
+
1895
+ #: popup-builder-plugin/com/libs/ListTable.php:775
1896
+ #: popup-builder-plugin/com/libs/ListTable.php:778
1897
+ msgid "Current Page"
1898
+ msgstr ""
1899
+
1900
+ #: popup-builder-plugin/com/libs/ListTable.php:791
1901
+ msgid "Next page"
1902
+ msgstr ""
1903
+
1904
+ #: popup-builder-plugin/com/libs/ListTable.php:801
1905
+ msgid "Last page"
1906
+ msgstr ""
1907
+
1908
+ #: popup-builder-plugin/com/libs/ListTable.php:1011
1909
+ msgid "Select All"
1910
+ msgstr ""
1911
+
1912
+ #: popup-builder-plugin/com/libs/Table.php:214
1913
+ msgid "Filter by popup"
1914
+ msgstr ""
1915
+
1916
+ #: popup-builder-plugin/com/libs/Table.php:218
1917
+ msgid "All"
1918
+ msgstr ""
1919
+
1920
+ #: popup-builder-plugin/com/libs/Table.php:251
1921
+ msgid "Filter"
1922
+ msgstr ""
1923
+
1924
+ #: popup-builder-plugin/public/views/closeSettingsView.php:35
1925
+ msgid "Dismiss on \"esc\" key"
1926
+ msgstr ""
1927
+
1928
+ #: popup-builder-plugin/public/views/closeSettingsView.php:41
1929
+ msgid "The popup will close if the \"Esc\" key of your keyboard is clicked."
1930
+ msgstr ""
1931
+
1932
+ #: popup-builder-plugin/public/views/closeSettingsView.php:49
1933
+ msgid "Show \"close\" button"
1934
+ msgstr ""
1935
+
1936
+ #: popup-builder-plugin/public/views/closeSettingsView.php:55
1937
+ msgid ""
1938
+ "Uncheck this option if you don't want to show a \"close\" button on your "
1939
+ "popup."
1940
+ msgstr ""
1941
+
1942
+ #: popup-builder-plugin/public/views/closeSettingsView.php:62
1943
+ msgid "Button delay"
1944
+ msgstr ""
1945
+
1946
+ #: popup-builder-plugin/public/views/closeSettingsView.php:70
1947
+ msgid ""
1948
+ "Specify the time (in seconds) after which the close button will appear. The "
1949
+ "close button will be shown by default without any delay if no time is "
1950
+ "specified"
1951
+ msgstr ""
1952
+
1953
+ #: popup-builder-plugin/public/views/closeSettingsView.php:76
1954
+ msgid "Button position"
1955
+ msgstr ""
1956
+
1957
+ #: popup-builder-plugin/public/views/closeSettingsView.php:84
1958
+ msgid "Button image"
1959
+ msgstr ""
1960
+
1961
+ #: popup-builder-plugin/public/views/closeSettingsView.php:99
1962
+ #: popup-builder-plugin/public/views/popupDesignView.php:183
1963
+ msgid "Change image"
1964
+ msgstr ""
1965
+
1966
+ #: popup-builder-plugin/public/views/closeSettingsView.php:102
1967
+ #: popup-builder-plugin/public/views/popupDesignView.php:186
1968
+ msgid "Remove"
1969
+ msgstr ""
1970
+
1971
+ #: popup-builder-plugin/public/views/closeSettingsView.php:133
1972
+ msgid "Popup border color"
1973
+ msgstr ""
1974
+
1975
+ #: popup-builder-plugin/public/views/closeSettingsView.php:143
1976
+ msgid "Popup border radius"
1977
+ msgstr ""
1978
+
1979
+ #: popup-builder-plugin/public/views/closeSettingsView.php:156
1980
+ msgid "Button text"
1981
+ msgstr ""
1982
+
1983
+ #: popup-builder-plugin/public/views/closeSettingsView.php:160
1984
+ msgid "Close"
1985
+ msgstr ""
1986
+
1987
+ #: popup-builder-plugin/public/views/closeSettingsView.php:170
1988
+ msgid "Dismiss on overlay click"
1989
+ msgstr ""
1990
+
1991
+ #: popup-builder-plugin/public/views/closeSettingsView.php:176
1992
+ msgid "The popup will close when clicked on the overlay of the popup"
1993
+ msgstr ""
1994
+
1995
+ #: popup-builder-plugin/public/views/closeSettingsView.php:183
1996
+ msgid "Disable popup closing"
1997
+ msgstr ""
1998
+
1999
+ #: popup-builder-plugin/public/views/closeSettingsView.php:193
2000
+ msgid ""
2001
+ "The users will not be able to close the popup, if this option is checked"
2002
+ msgstr ""
2003
+
2004
+ #: popup-builder-plugin/public/views/dimensionsView.php:21
2005
+ #: popup-builder-plugin/public/views/dimensionsView.php:27
2006
+ #: popup-builder-plugin/public/views/dimensionsView.php:38
2007
+ #: popup-builder-plugin/public/views/dimensionsView.php:42
2008
+ #: popup-builder-plugin/public/views/dimensionsView.php:46
2009
+ #: popup-builder-plugin/public/views/dimensionsView.php:50
2010
+ msgid "Ex: 100, 100px or 100%"
2011
+ msgstr ""
2012
+
2013
+ #: popup-builder-plugin/public/views/dimensionsView.php:21
2014
+ #: popup-builder-plugin/public/views/dimensionsView.php:27
2015
+ #: popup-builder-plugin/public/views/dimensionsView.php:38
2016
+ #: popup-builder-plugin/public/views/dimensionsView.php:42
2017
+ #: popup-builder-plugin/public/views/dimensionsView.php:46
2018
+ #: popup-builder-plugin/public/views/dimensionsView.php:50
2019
+ msgid "It must be number + px or %"
2020
+ msgstr ""
2021
+
2022
+ #: popup-builder-plugin/public/views/dimensionsView.php:32
2023
+ msgid "Size"
2024
+ msgstr ""
2025
+
2026
+ #: popup-builder-plugin/public/views/dimensionsView.php:37
2027
+ msgid "Max width"
2028
+ msgstr ""
2029
+
2030
+ #: popup-builder-plugin/public/views/dimensionsView.php:41
2031
+ msgid "Max height"
2032
+ msgstr ""
2033
+
2034
+ #: popup-builder-plugin/public/views/dimensionsView.php:45
2035
+ msgid "Min width"
2036
+ msgstr ""
2037
+
2038
+ #: popup-builder-plugin/public/views/dimensionsView.php:49
2039
+ msgid "Min height"
2040
+ msgstr ""
2041
+
2042
+ #: popup-builder-plugin/public/views/jsVariableView.php:9
2043
+ msgid "Insert JS variable inside the popup"
2044
+ msgstr ""
2045
+
2046
+ #: popup-builder-plugin/public/views/jsVariableView.php:18
2047
+ msgid "Selector"
2048
+ msgstr ""
2049
+
2050
+ #: popup-builder-plugin/public/views/jsVariableView.php:24
2051
+ msgid "Ex. #myselector or .myselector"
2052
+ msgstr ""
2053
+
2054
+ #: popup-builder-plugin/public/views/jsVariableView.php:36
2055
+ msgid "Attribute"
2056
+ msgstr ""
2057
+
2058
+ #: popup-builder-plugin/public/views/jsVariableView.php:42
2059
+ msgid "Ex. value or data-name"
2060
+ msgstr ""
2061
+
2062
+ #: popup-builder-plugin/public/views/jsVariableView.php:54
2063
+ #: popup-builder-plugin/public/views/mediaButton.php:39
2064
+ msgid "Insert"
2065
+ msgstr ""
2066
+
2067
+ #: popup-builder-plugin/public/views/license.php:27
2068
+ msgid "License Key"
2069
+ msgstr ""
2070
+
2071
+ #: popup-builder-plugin/public/views/license.php:36
2072
+ msgid "Deactivate"
2073
+ msgstr ""
2074
+
2075
+ #: popup-builder-plugin/public/views/license.php:41
2076
+ msgid "Activate"
2077
+ msgstr ""
2078
+
2079
+ #: popup-builder-plugin/public/views/license.php:52
2080
+ msgid "active"
2081
+ msgstr ""
2082
+
2083
+ #: popup-builder-plugin/public/views/license.php:56
2084
+ msgid "not active"
2085
+ msgstr ""
2086
+
2087
+ #: popup-builder-plugin/public/views/main/countdown.php:25
2088
+ msgid "Counter background color"
2089
+ msgstr ""
2090
+
2091
+ #: popup-builder-plugin/public/views/main/countdown.php:35
2092
+ msgid "Counter text color"
2093
+ msgstr ""
2094
+
2095
+ #: popup-builder-plugin/public/views/main/countdown.php:45
2096
+ msgid "Due date"
2097
+ msgstr ""
2098
+
2099
+ #: popup-builder-plugin/public/views/main/countdown.php:53
2100
+ msgid "Countdown format"
2101
+ msgstr ""
2102
+
2103
+ #: popup-builder-plugin/public/views/main/countdown.php:61
2104
+ msgid "Timezone"
2105
+ msgstr ""
2106
+
2107
+ #: popup-builder-plugin/public/views/main/countdown.php:69
2108
+ msgid "Select language"
2109
+ msgstr ""
2110
+
2111
+ #: popup-builder-plugin/public/views/main/countdown.php:77
2112
+ msgid "Show counter on the Top"
2113
+ msgstr ""
2114
+
2115
+ #: popup-builder-plugin/public/views/main/countdown.php:85
2116
+ msgid "Close popup on timeout"
2117
+ msgstr ""
2118
+
2119
+ #: popup-builder-plugin/public/views/main/iframe.php:6
2120
+ msgid "Enter iframe URL"
2121
+ msgstr ""
2122
+
2123
+ #: popup-builder-plugin/public/views/main/image.php:2
2124
+ msgid "Please choose your picture"
2125
+ msgstr ""
2126
+
2127
+ #: popup-builder-plugin/public/views/main/image.php:8
2128
+ #: popup-builder-plugin/public/views/popupDesignView.php:177
2129
+ msgid "No image selected"
2130
+ msgstr ""
2131
+
2132
+ #: popup-builder-plugin/public/views/main/restriction.php:10
2133
+ #: popup-builder-plugin/public/views/options/social.php:11
2134
+ msgid "Push to bottom"
2135
+ msgstr ""
2136
+
2137
+ #: popup-builder-plugin/public/views/main/restriction.php:18
2138
+ msgid "\"Yes\" button"
2139
+ msgstr ""
2140
+
2141
+ #: popup-builder-plugin/public/views/main/restriction.php:23
2142
+ #: popup-builder-plugin/public/views/main/restriction.php:116
2143
+ #: popup-builder-plugin/public/views/options/contact.php:88
2144
+ #: popup-builder-plugin/public/views/options/social.php:101
2145
+ #: popup-builder-plugin/public/views/options/social.php:119
2146
+ #: popup-builder-plugin/public/views/options/social.php:137
2147
+ #: popup-builder-plugin/public/views/options/social.php:155
2148
+ #: popup-builder-plugin/public/views/options/social.php:173
2149
+ #: popup-builder-plugin/public/views/options/social.php:191
2150
+ #: popup-builder-plugin/public/views/options/subscription.php:85
2151
+ msgid "Label"
2152
+ msgstr ""
2153
+
2154
+ #: popup-builder-plugin/public/views/main/restriction.php:26
2155
+ msgid "e.g.: Yes"
2156
+ msgstr ""
2157
+
2158
+ #: popup-builder-plugin/public/views/main/restriction.php:31
2159
+ #: popup-builder-plugin/public/views/main/restriction.php:124
2160
+ msgid "Button background color"
2161
+ msgstr ""
2162
+
2163
+ #: popup-builder-plugin/public/views/main/restriction.php:41
2164
+ #: popup-builder-plugin/public/views/main/restriction.php:134
2165
+ msgid "Button text color"
2166
+ msgstr ""
2167
+
2168
+ #: popup-builder-plugin/public/views/main/restriction.php:52
2169
+ #: popup-builder-plugin/public/views/main/restriction.php:145
2170
+ msgid "Button border color"
2171
+ msgstr ""
2172
+
2173
+ #: popup-builder-plugin/public/views/main/restriction.php:62
2174
+ #: popup-builder-plugin/public/views/main/restriction.php:155
2175
+ msgid "Button border width"
2176
+ msgstr ""
2177
+
2178
+ #: popup-builder-plugin/public/views/main/restriction.php:74
2179
+ #: popup-builder-plugin/public/views/main/restriction.php:167
2180
+ msgid "Button radius"
2181
+ msgstr ""
2182
+
2183
+ #: popup-builder-plugin/public/views/main/restriction.php:85
2184
+ msgid "Expiration time"
2185
+ msgstr ""
2186
+
2187
+ #: popup-builder-plugin/public/views/main/restriction.php:93
2188
+ msgid ""
2189
+ "Estimate the count of the days after which the popup will be shown to the "
2190
+ "same user after they confirm with \"Yes\" button."
2191
+ msgstr ""
2192
+
2193
+ #: popup-builder-plugin/public/views/main/restriction.php:105
2194
+ msgid ""
2195
+ "If this option is checked the popup confirmation date will refer to the "
2196
+ "current page. Otherwise the popup will be shown for specific times on each "
2197
+ "page selected."
2198
+ msgstr ""
2199
+
2200
+ #: popup-builder-plugin/public/views/main/restriction.php:111
2201
+ msgid "\"No\" button"
2202
+ msgstr ""
2203
+
2204
+ #: popup-builder-plugin/public/views/main/restriction.php:119
2205
+ msgid "e.g.: No"
2206
+ msgstr ""
2207
+
2208
+ #: popup-builder-plugin/public/views/main/restriction.php:178
2209
+ msgid "Restriction URL"
2210
+ msgstr ""
2211
+
2212
+ #: popup-builder-plugin/public/views/main/restriction.php:186
2213
+ msgid ""
2214
+ "Add the URL to which the users will be redirected to, after selecting the "
2215
+ "\"No\" button."
2216
+ msgstr ""
2217
+
2218
+ #: popup-builder-plugin/public/views/main/video.php:6
2219
+ msgid "Enter video URL"
2220
+ msgstr ""
2221
+
2222
+ #: popup-builder-plugin/public/views/mainRateUsBanner.php:38
2223
+ msgid "Rate Us"
2224
+ msgstr ""
2225
+
2226
+ #: popup-builder-plugin/public/views/mainRateUsBanner.php:42
2227
+ msgid "Submit Ticket"
2228
+ msgstr ""
2229
+
2230
+ #: popup-builder-plugin/public/views/mainRateUsBanner.php:45
2231
+ msgid "Support"
2232
+ msgstr ""
2233
+
2234
+ #: popup-builder-plugin/public/views/mainRateUsBanner.php:52
2235
+ msgid "FAQ"
2236
+ msgstr ""
2237
+
2238
+ #: popup-builder-plugin/public/views/mainRateUsBanner.php:55
2239
+ msgid "Contact"
2240
+ msgstr ""
2241
+
2242
+ #: popup-builder-plugin/public/views/mainRateUsBanner.php:65
2243
+ msgid "Don't show again."
2244
+ msgstr ""
2245
+
2246
+ #: popup-builder-plugin/public/views/mediaButton.php:12
2247
+ msgid "Insert the [shortcode]"
2248
+ msgstr ""
2249
+
2250
+ #: popup-builder-plugin/public/views/newsletter.php:27
2251
+ msgid "Newsletter Settings"
2252
+ msgstr ""
2253
+
2254
+ #: popup-builder-plugin/public/views/newsletter.php:31
2255
+ msgid "You will receive an email notification after all emails are sent"
2256
+ msgstr ""
2257
+
2258
+ #: popup-builder-plugin/public/views/newsletter.php:35
2259
+ msgid "Choose the popup"
2260
+ msgstr ""
2261
+
2262
+ #: popup-builder-plugin/public/views/newsletter.php:43
2263
+ msgid "Select a popup"
2264
+ msgstr ""
2265
+
2266
+ #: popup-builder-plugin/public/views/newsletter.php:48
2267
+ msgid "Emails to send in one flow per 1 minute"
2268
+ msgstr ""
2269
+
2270
+ #: popup-builder-plugin/public/views/newsletter.php:56
2271
+ msgid "From email"
2272
+ msgstr ""
2273
+
2274
+ #: popup-builder-plugin/public/views/newsletter.php:64
2275
+ msgid "Please enter a valid email"
2276
+ msgstr ""
2277
+
2278
+ #: popup-builder-plugin/public/views/newsletter.php:69
2279
+ msgid "Email's subject"
2280
+ msgstr ""
2281
+
2282
+ #: popup-builder-plugin/public/views/newsletter.php:72
2283
+ msgid "Your subject here"
2284
+ msgstr ""
2285
+
2286
+ #: popup-builder-plugin/public/views/newsletter.php:77
2287
+ msgid "Enter newsletter email template below"
2288
+ msgstr ""
2289
+
2290
+ #: popup-builder-plugin/public/views/newsletter.php:102
2291
+ msgid "Send newsletter"
2292
+ msgstr ""
2293
+
2294
+ #: popup-builder-plugin/public/views/newsletter.php:119
2295
+ msgid "Newsletter Shortcodes"
2296
+ msgstr ""
2297
+
2298
+ #: popup-builder-plugin/public/views/newsletter.php:124
2299
+ msgid "[First name]"
2300
+ msgstr ""
2301
+
2302
+ #: popup-builder-plugin/public/views/newsletter.php:127
2303
+ msgid "Subscriber First name"
2304
+ msgstr ""
2305
+
2306
+ #: popup-builder-plugin/public/views/newsletter.php:132
2307
+ msgid "[Last name]"
2308
+ msgstr ""
2309
+
2310
+ #: popup-builder-plugin/public/views/newsletter.php:135
2311
+ msgid "Subscriber Last name"
2312
+ msgstr ""
2313
+
2314
+ #: popup-builder-plugin/public/views/newsletter.php:140
2315
+ msgid "[Blog name]"
2316
+ msgstr ""
2317
+
2318
+ #: popup-builder-plugin/public/views/newsletter.php:143
2319
+ msgid "Your blog name"
2320
+ msgstr ""
2321
+
2322
+ #: popup-builder-plugin/public/views/newsletter.php:148
2323
+ msgid "[User name]"
2324
+ msgstr ""
2325
+
2326
+ #: popup-builder-plugin/public/views/newsletter.php:151
2327
+ msgid "Your user name"
2328
+ msgstr ""
2329
+
2330
+ #: popup-builder-plugin/public/views/options/contact.php:25
2331
+ msgid "General options"
2332
+ msgstr ""
2333
+
2334
+ #: popup-builder-plugin/public/views/options/contact.php:39
2335
+ #: popup-builder-plugin/public/views/options/subscription.php:26
2336
+ msgid "Form background options"
2337
+ msgstr ""
2338
+
2339
+ #: popup-builder-plugin/public/views/options/contact.php:44
2340
+ #: popup-builder-plugin/public/views/options/subscription.php:31
2341
+ msgid "Form background color"
2342
+ msgstr ""
2343
+
2344
+ #: popup-builder-plugin/public/views/options/contact.php:54
2345
+ #: popup-builder-plugin/public/views/options/subscription.php:41
2346
+ msgid "Form background opacity"
2347
+ msgstr ""
2348
+
2349
+ #: popup-builder-plugin/public/views/options/contact.php:65
2350
+ #: popup-builder-plugin/public/views/options/subscription.php:52
2351
+ msgid "Form padding"
2352
+ msgstr ""
2353
+
2354
+ #: popup-builder-plugin/public/views/options/contact.php:79
2355
+ #: popup-builder-plugin/public/views/options/subscription.php:76
2356
+ msgid "Enable GDPR"
2357
+ msgstr ""
2358
+
2359
+ #: popup-builder-plugin/public/views/options/contact.php:96
2360
+ #: popup-builder-plugin/public/views/options/subscription.php:93
2361
+ msgid "Confirmation text"
2362
+ msgstr ""
2363
+
2364
+ #: popup-builder-plugin/public/views/options/contact.php:116
2365
+ #: popup-builder-plugin/public/views/options/contact.php:142
2366
+ msgid "placeholder"
2367
+ msgstr ""
2368
+
2369
+ #: popup-builder-plugin/public/views/options/contact.php:124
2370
+ #: popup-builder-plugin/public/views/options/contact.php:150
2371
+ msgid "required field"
2372
+ msgstr ""
2373
+
2374
+ #: popup-builder-plugin/public/views/options/contact.php:159
2375
+ #: popup-builder-plugin/public/views/options/subscription.php:66
2376
+ msgid "Email placeholder"
2377
+ msgstr ""
2378
+
2379
+ #: popup-builder-plugin/public/views/options/contact.php:167
2380
+ msgid "Message placeholder"
2381
+ msgstr ""
2382
+
2383
+ #: popup-builder-plugin/public/views/options/contact.php:177
2384
+ msgid "Receiver email"
2385
+ msgstr ""
2386
+
2387
+ #: popup-builder-plugin/public/views/options/contact.php:185
2388
+ msgid "Send error message"
2389
+ msgstr ""
2390
+
2391
+ #: popup-builder-plugin/public/views/options/contact.php:193
2392
+ #: popup-builder-plugin/public/views/options/subscription.php:165
2393
+ msgid "Required field message"
2394
+ msgstr ""
2395
+
2396
+ #: popup-builder-plugin/public/views/options/contact.php:201
2397
+ msgid "Invalid email field message"
2398
+ msgstr ""
2399
+
2400
+ #: popup-builder-plugin/public/views/options/contact.php:211
2401
+ msgid " Inputs' style"
2402
+ msgstr ""
2403
+
2404
+ #: popup-builder-plugin/public/views/options/contact.php:270
2405
+ #: popup-builder-plugin/public/views/options/contact.php:341
2406
+ #: popup-builder-plugin/public/views/options/subscription.php:235
2407
+ msgid "Placeholder color"
2408
+ msgstr ""
2409
+
2410
+ #: popup-builder-plugin/public/views/options/contact.php:282
2411
+ msgid "Message style"
2412
+ msgstr ""
2413
+
2414
+ #: popup-builder-plugin/public/views/options/contact.php:351
2415
+ msgid "Resize"
2416
+ msgstr ""
2417
+
2418
+ #: popup-builder-plugin/public/views/options/contact.php:382
2419
+ #: popup-builder-plugin/public/views/options/subscription.php:271
2420
+ msgid "Title"
2421
+ msgstr ""
2422
+
2423
+ #: popup-builder-plugin/public/views/options/contact.php:390
2424
+ #: popup-builder-plugin/public/views/options/subscription.php:279
2425
+ msgid "Title (in progress)"
2426
+ msgstr ""
2427
+
2428
+ #: popup-builder-plugin/public/views/options/contact.php:418
2429
+ msgid "Hide popup for already contacted users"
2430
+ msgstr ""
2431
+
2432
+ #: popup-builder-plugin/public/views/options/contact.php:427
2433
+ msgid "After successful form submission"
2434
+ msgstr ""
2435
+
2436
+ #: popup-builder-plugin/public/views/options/contact.php:468
2437
+ #: popup-builder-plugin/public/views/options/subscription.php:366
2438
+ msgid "Live preview"
2439
+ msgstr ""
2440
+
2441
+ #: popup-builder-plugin/public/views/options/facebook.php:10
2442
+ msgid "Url"
2443
+ msgstr ""
2444
+
2445
+ #: popup-builder-plugin/public/views/options/facebook.php:18
2446
+ msgid "Layout"
2447
+ msgstr ""
2448
+
2449
+ #: popup-builder-plugin/public/views/options/facebook.php:26
2450
+ msgid "Don't show share button"
2451
+ msgstr ""
2452
+
2453
+ #: popup-builder-plugin/public/views/options/social.php:26
2454
+ msgid "If empty, current URL will be used."
2455
+ msgstr ""
2456
+
2457
+ #: popup-builder-plugin/public/views/options/social.php:32
2458
+ msgid "Configuration of the buttons"
2459
+ msgstr ""
2460
+
2461
+ #: popup-builder-plugin/public/views/options/social.php:37
2462
+ #: popup-builder-plugin/public/views/popupDesignView.php:38
2463
+ msgid "Theme"
2464
+ msgstr ""
2465
+
2466
+ #: popup-builder-plugin/public/views/options/social.php:55
2467
+ msgid "Font size"
2468
+ msgstr ""
2469
+
2470
+ #: popup-builder-plugin/public/views/options/social.php:63
2471
+ msgid "Show labels"
2472
+ msgstr ""
2473
+
2474
+ #: popup-builder-plugin/public/views/options/social.php:71
2475
+ msgid "Show share count"
2476
+ msgstr ""
2477
+
2478
+ #: popup-builder-plugin/public/views/options/social.php:79
2479
+ msgid "Use round buttons"
2480
+ msgstr ""
2481
+
2482
+ #: popup-builder-plugin/public/views/options/social.php:87
2483
+ msgid "Share Buttons"
2484
+ msgstr ""
2485
+
2486
+ #: popup-builder-plugin/public/views/options/social.php:110
2487
+ msgid "Twitter"
2488
+ msgstr ""
2489
+
2490
+ #: popup-builder-plugin/public/views/options/social.php:146
2491
+ msgid "Google+"
2492
+ msgstr ""
2493
+
2494
+ #: popup-builder-plugin/public/views/options/social.php:164
2495
+ msgid "LinkedIn"
2496
+ msgstr ""
2497
+
2498
+ #: popup-builder-plugin/public/views/options/social.php:182
2499
+ msgid "Pinterest"
2500
+ msgstr ""
2501
+
2502
+ #: popup-builder-plugin/public/views/options/subscription.php:114
2503
+ #: popup-builder-plugin/public/views/options/subscription.php:145
2504
+ msgid "Placeholder"
2505
+ msgstr ""
2506
+
2507
+ #: popup-builder-plugin/public/views/options/subscription.php:122
2508
+ #: popup-builder-plugin/public/views/options/subscription.php:153
2509
+ msgid "Required field"
2510
+ msgstr ""
2511
+
2512
+ #: popup-builder-plugin/public/views/options/subscription.php:176
2513
+ msgid "Inputs' style"
2514
+ msgstr ""
2515
+
2516
+ #: popup-builder-plugin/public/views/options/subscription.php:250
2517
+ msgid "Submit button styles"
2518
+ msgstr ""
2519
+
2520
+ #: popup-builder-plugin/public/views/options/video.php:6
2521
+ msgid "Autoplay"
2522
+ msgstr ""
2523
+
2524
+ #: popup-builder-plugin/public/views/optionsView.php:16
2525
+ msgid "Action on popup content click"
2526
+ msgstr ""
2527
+
2528
+ #: popup-builder-plugin/public/views/optionsView.php:49
2529
+ msgid "Close popup"
2530
+ msgstr ""
2531
+
2532
+ #: popup-builder-plugin/public/views/optionsView.php:60
2533
+ msgid "Popup showing limitation"
2534
+ msgstr ""
2535
+
2536
+ #: popup-builder-plugin/public/views/optionsView.php:66
2537
+ msgid "Estimate the popup showing frequency to the same user."
2538
+ msgstr ""
2539
+
2540
+ #: popup-builder-plugin/public/views/optionsView.php:73
2541
+ msgid "Popup showing count"
2542
+ msgstr ""
2543
+
2544
+ #: popup-builder-plugin/public/views/optionsView.php:81
2545
+ msgid "Select how many times the popup will be shown for the same user."
2546
+ msgstr ""
2547
+
2548
+ #: popup-builder-plugin/public/views/optionsView.php:87
2549
+ msgid "Popup showing expiry"
2550
+ msgstr ""
2551
+
2552
+ #: popup-builder-plugin/public/views/optionsView.php:95
2553
+ msgid ""
2554
+ "Select the count of the days after which the popup will be shown to the same "
2555
+ "user."
2556
+ msgstr ""
2557
+
2558
+ #: popup-builder-plugin/public/views/optionsView.php:101
2559
+ msgid "Apply option on each page"
2560
+ msgstr ""
2561
+
2562
+ #: popup-builder-plugin/public/views/optionsView.php:107
2563
+ msgid ""
2564
+ "If this option is checked the popup showing limitation will be saved for the "
2565
+ "current page. Otherwise, the limitation will refer site wide, and the popup "
2566
+ "will be shown for specific times on each page selected.The previously "
2567
+ "specified count of days will be reset every time you check/uncheck this "
2568
+ "option."
2569
+ msgstr ""
2570
+
2571
+ #: popup-builder-plugin/public/views/optionsView.php:116
2572
+ msgid "Popup opening sound"
2573
+ msgstr ""
2574
+
2575
+ #: popup-builder-plugin/public/views/optionsView.php:122
2576
+ msgid ""
2577
+ "If this option is enabled the popup will appear with a sound. The sound "
2578
+ "option is not available on mobile devices, as there are restrictions on "
2579
+ "sound auto-play options for mobile devices"
2580
+ msgstr ""
2581
+
2582
+ #: popup-builder-plugin/public/views/optionsView.php:139
2583
+ msgid "Change sound"
2584
+ msgstr ""
2585
+
2586
+ #: popup-builder-plugin/public/views/optionsView.php:142
2587
+ msgid "Reset"
2588
+ msgstr ""
2589
+
2590
+ #: popup-builder-plugin/public/views/optionsView.php:148
2591
+ msgid "Popup opening animation"
2592
+ msgstr ""
2593
+
2594
+ #: popup-builder-plugin/public/views/optionsView.php:168
2595
+ msgid "Speed"
2596
+ msgstr ""
2597
+
2598
+ #: popup-builder-plugin/public/views/optionsView.php:175
2599
+ #: popup-builder-plugin/public/views/optionsView.php:260
2600
+ msgid "Second(s)"
2601
+ msgstr ""
2602
+
2603
+ #: popup-builder-plugin/public/views/optionsView.php:183
2604
+ msgid "Popup location"
2605
+ msgstr ""
2606
+
2607
+ #: popup-builder-plugin/public/views/optionsView.php:209
2608
+ msgid "Disable page scrolling"
2609
+ msgstr ""
2610
+
2611
+ #: popup-builder-plugin/public/views/optionsView.php:215
2612
+ msgid ""
2613
+ "If this option is checked, the page won't scroll until the popup is open"
2614
+ msgstr ""
2615
+
2616
+ #: popup-builder-plugin/public/views/optionsView.php:222
2617
+ msgid "Enable content scrolling"
2618
+ msgstr ""
2619
+
2620
+ #: popup-builder-plugin/public/views/optionsView.php:228
2621
+ msgid ""
2622
+ "If the content is larger than the specified dimensions, then the content "
2623
+ "will be scrollable"
2624
+ msgstr ""
2625
+
2626
+ #: popup-builder-plugin/public/views/optionsView.php:234
2627
+ msgid "Auto close popup"
2628
+ msgstr ""
2629
+
2630
+ #: popup-builder-plugin/public/views/optionsView.php:253
2631
+ msgid "Auto close after"
2632
+ msgstr ""
2633
+
2634
+ #: popup-builder-plugin/public/views/optionsView.php:269
2635
+ msgid "Reopen after form submission"
2636
+ msgstr ""
2637
+
2638
+ #: popup-builder-plugin/public/views/optionsView.php:275
2639
+ msgid ""
2640
+ "If this option is enabled, the popup will reopen after the form submission"
2641
+ msgstr ""
2642
+
2643
+ #: popup-builder-plugin/public/views/optionsView.php:282
2644
+ msgid "Popup order"
2645
+ msgstr ""
2646
+
2647
+ #: popup-builder-plugin/public/views/optionsView.php:290
2648
+ msgid ""
2649
+ "Select the priority number for your popup to appear on the page, along with "
2650
+ "other popups. The popup with a lower order number will be behind the others "
2651
+ "with a higher order number."
2652
+ msgstr ""
2653
+
2654
+ #: popup-builder-plugin/public/views/optionsView.php:296
2655
+ msgid "Custom event delay"
2656
+ msgstr ""
2657
+
2658
+ #: popup-builder-plugin/public/views/optionsView.php:304
2659
+ msgid ""
2660
+ "You can add an opening delay for the popup, in seconds. This will refer to "
2661
+ "custom events, like:\n"
2662
+ "\t\t\t\t\t\t\t\t\tShortcodes, custom CSS classes, HTML attributes, or JS "
2663
+ "called custom events"
2664
+ msgstr ""
2665
+
2666
+ #: popup-builder-plugin/public/views/otherConditionsView.php:18
2667
+ msgid "Schedule"
2668
+ msgstr ""
2669
+
2670
+ #: popup-builder-plugin/public/views/otherConditionsView.php:24
2671
+ msgid ""
2672
+ "Select the day(s) of the week and estimate specific time during which the "
2673
+ "popup will regularly be shown."
2674
+ msgstr ""
2675
+
2676
+ #: popup-builder-plugin/public/views/otherConditionsView.php:31
2677
+ msgid "Every"
2678
+ msgstr ""
2679
+
2680
+ #: popup-builder-plugin/public/views/otherConditionsView.php:45
2681
+ msgid "From"
2682
+ msgstr ""
2683
+
2684
+ #: popup-builder-plugin/public/views/otherConditionsView.php:53
2685
+ msgid "To"
2686
+ msgstr ""
2687
+
2688
+ #: popup-builder-plugin/public/views/otherConditionsView.php:68
2689
+ msgid "Show popup in date range"
2690
+ msgstr ""
2691
+
2692
+ #: popup-builder-plugin/public/views/otherConditionsView.php:74
2693
+ msgid ""
2694
+ "Select a time period during which the popup will appear on your site. "
2695
+ "Specify the date and the hours for the start and end of popup showing."
2696
+ msgstr ""
2697
+
2698
+ #: popup-builder-plugin/public/views/otherConditionsView.php:81
2699
+ msgid "Start date"
2700
+ msgstr ""
2701
+
2702
+ #: popup-builder-plugin/public/views/otherConditionsView.php:89
2703
+ msgid "End date"
2704
+ msgstr ""
2705
+
2706
+ #: popup-builder-plugin/public/views/popupDesignView.php:12
2707
+ msgid "Padding"
2708
+ msgstr ""
2709
+
2710
+ #: popup-builder-plugin/public/views/popupDesignView.php:18
2711
+ msgid "Add some space, in pixels, around your popup content."
2712
+ msgstr ""
2713
+
2714
+ #: popup-builder-plugin/public/views/popupDesignView.php:24
2715
+ msgid "Popup z-index"
2716
+ msgstr ""
2717
+
2718
+ #: popup-builder-plugin/public/views/popupDesignView.php:32
2719
+ msgid ""
2720
+ "Increase or dicrease the value to set the priority of displaying the popup "
2721
+ "content in comparison of other elements on the page. The highest value of z-"
2722
+ "index is 2147483647."
2723
+ msgstr ""
2724
+
2725
+ #: popup-builder-plugin/public/views/popupDesignView.php:55
2726
+ msgid "Enable popup overlay"
2727
+ msgstr ""
2728
+
2729
+ #: popup-builder-plugin/public/views/popupDesignView.php:65
2730
+ msgid "If this option is checked, the popup will appear with an overlay."
2731
+ msgstr ""
2732
+
2733
+ #: popup-builder-plugin/public/views/popupDesignView.php:77
2734
+ msgid "Overlay custom css class"
2735
+ msgstr ""
2736
+
2737
+ #: popup-builder-plugin/public/views/popupDesignView.php:85
2738
+ msgid "Add a custom class to the overlay for additional customization."
2739
+ msgstr ""
2740
+
2741
+ #: popup-builder-plugin/public/views/popupDesignView.php:91
2742
+ msgid "Change color"
2743
+ msgstr ""
2744
+
2745
+ #: popup-builder-plugin/public/views/popupDesignView.php:101
2746
+ #: popup-builder-plugin/public/views/popupDesignView.php:153
2747
+ msgid "Opacity"
2748
+ msgstr ""
2749
+
2750
+ #: popup-builder-plugin/public/views/popupDesignView.php:115
2751
+ msgid "Content custom css class"
2752
+ msgstr ""
2753
+
2754
+ #: popup-builder-plugin/public/views/popupDesignView.php:123
2755
+ msgid "Add a custom class to the content for additional customization"
2756
+ msgstr ""
2757
+
2758
+ #: popup-builder-plugin/public/views/popupDesignView.php:129
2759
+ msgid "Background options"
2760
+ msgstr ""
2761
+
2762
+ #: popup-builder-plugin/public/views/popupDesignView.php:134
2763
+ msgid "Show background"
2764
+ msgstr ""
2765
+
2766
+ #: popup-builder-plugin/public/views/popupDesignView.php:143
2767
+ msgid "Color"
2768
+ msgstr ""
2769
+
2770
+ #: popup-builder-plugin/public/views/popupDesignView.php:201
2771
+ msgid "Choose how the background image will be displayed with your content."
2772
+ msgstr ""
2773
+
2774
+ #: popup-builder-plugin/public/views/popupTypes.php:17
2775
+ msgid "Upgrade to PRO version"
2776
+ msgstr ""
2777
+
2778
+ #: popup-builder-plugin/public/views/popupTypes.php:45
2779
+ msgid "PRO"
2780
+ msgstr ""
2781
+
2782
+ #: popup-builder-plugin/public/views/popupTypes.php:77
2783
+ msgid "More Ideas?"
2784
+ msgstr ""
2785
+
2786
+ #: popup-builder-plugin/public/views/popupTypes.php:89
2787
+ msgid "Extensions"
2788
+ msgstr ""
2789
+
2790
+ #: popup-builder-plugin/public/views/settings.php:20
2791
+ msgid "General Settings"
2792
+ msgstr ""
2793
+
2794
+ #: popup-builder-plugin/public/views/settings.php:26
2795
+ msgid "Delete popup data"
2796
+ msgstr ""
2797
+
2798
+ #: popup-builder-plugin/public/views/settings.php:32
2799
+ msgid "Don't keep popups and their data after removing the plugin"
2800
+ msgstr ""
2801
+
2802
+ #: popup-builder-plugin/public/views/settings.php:38
2803
+ msgid "User role to access the plugin"
2804
+ msgstr ""
2805
+
2806
+ #: popup-builder-plugin/public/views/settings.php:46
2807
+ msgid ""
2808
+ "In spite of user roles the administrator always has access to the plugin"
2809
+ msgstr ""
2810
+
2811
+ #: popup-builder-plugin/public/views/subscribers.php:31
2812
+ msgid "Export"
2813
+ msgstr ""
2814
+
2815
+ #: popup-builder-plugin/public/views/subscribers.php:32
2816
+ msgid "Add new"
2817
+ msgstr ""
2818
+
2819
+ #: popup-builder-plugin/public/views/subscribers.php:36
2820
+ msgid "Delete subscriber(s)"
2821
+ msgstr ""
2822
+
2823
+ #: popup-builder-plugin/public/views/subscribers.php:51
2824
+ msgid "Select subscription(s):"
2825
+ msgstr ""
2826
+
2827
+ #: popup-builder-plugin/public/views/subscribers.php:62
2828
+ msgid "Error occurred: could not add subscriber."
2829
+ msgstr ""
2830
+
2831
+ #: popup-builder-plugin/public/views/subscribers.php:73
2832
+ msgid "Subscription is not selected"
2833
+ msgstr ""
2834
+
2835
+ #: popup-builder-plugin/public/views/subscribers.php:83
2836
+ msgid "Invalid email address"
2837
+ msgstr ""
2838
+
2839
+ #: popup-builder-plugin/public/views/subscribers.php:98
2840
+ msgid "Add to list"
2841
+ msgstr ""
popup-builder.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Popup Builder
4
  * Plugin URI: https://popup-builder.com
5
  * Description: The most complete popup plugin. Html, image, iframe, shortcode, video and many other popup types. Manage popup dimensions, effects, themes and more.
6
- * Version: 3.0.4
7
  * Author: Sygnoos
8
  * Author URI: https://sygnoos.com
9
  * License: GPLv2
3
  * Plugin Name: Popup Builder
4
  * Plugin URI: https://popup-builder.com
5
  * Description: The most complete popup plugin. Html, image, iframe, shortcode, video and many other popup types. Manage popup dimensions, effects, themes and more.
6
+ * Version: 3.0.5
7
  * Author: Sygnoos
8
  * Author URI: https://sygnoos.com
9
  * License: GPLv2
public/css/popupAdminStyles.css CHANGED
@@ -1,6 +1,19 @@
1
  /*Bootstrap customization*/
2
-
3
  /*General Styles*/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  .sg-hide-condition-row {
5
  display: none !important;
6
  }
@@ -434,6 +447,10 @@
434
  background-image: url("../img/analyticsTypeIcon.png") !important;
435
  }
436
 
 
 
 
 
437
  .sgpb-sgpbAnalitics-div {
438
  background-color: rgba(250, 166, 40, 0.4);
439
  }
@@ -446,6 +463,22 @@
446
  background-image: url("../img/exitIntentTypeIcon.png") !important;
447
  }
448
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
449
  .sgpb-sgpbExitIntent-div {
450
  background-color: rgba(140, 115, 211, 0.4);
451
  }
@@ -526,6 +559,21 @@
526
  background-color: rgba(251, 175, 93, 0.4);
527
  }
528
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
529
  .sgpb-popup-type-pro-ribbon {
530
  background-image: url(../img/probadge.png);
531
  position: absolute;
@@ -657,6 +705,7 @@
657
  }
658
 
659
  .sgpb-show-button-image-container,
 
660
  .sgpb-show-background-image-container {
661
  background-color: #F8F8F8;
662
  background-size: contain;
@@ -666,7 +715,8 @@
666
  border-radius: 3px;
667
  }
668
 
669
- .sgpb-show-button-image-container {
 
670
  width: 35px;
671
  height: 35px;
672
  }
@@ -1078,6 +1128,10 @@ input:checked + .sgpb-slider:before {
1078
  margin-left: 0 !important;
1079
  }
1080
 
 
 
 
 
1081
  .sgpb-info-icon-align-inputs {
1082
  margin-top: 15px !important;
1083
  }
@@ -1189,7 +1243,8 @@ input:checked + .sgpb-slider:before {
1189
  }
1190
  }
1191
 
1192
- .sgpb-preview-animation {
 
1193
  background-image: url(../img/preview-eye.png);
1194
  width: 30px;
1195
  height: 30px;
@@ -1197,7 +1252,8 @@ input:checked + .sgpb-slider:before {
1197
  cursor: pointer;
1198
  }
1199
 
1200
- #js-open-animation-effect {
 
1201
  display: none;
1202
  width: 150px;
1203
  height: 150px;
@@ -1494,7 +1550,7 @@ input:checked + .sgpb-slider:before {
1494
 
1495
  .sgpb-other-pro-options {
1496
  position:absolute;
1497
- background-color: rgb(255, 255, 255, 0.6);
1498
  width: 99%;
1499
  height: 96%;
1500
  top: 0;
1
  /*Bootstrap customization*/
 
2
  /*General Styles*/
3
+ .sgpb-dashboard-popup-count-wrapper {
4
+ display: inline-block;
5
+ margin: 5px 5px 0 0;
6
+ float: left;
7
+ }
8
+
9
+ .sgpb-counter-wrapper {
10
+ max-width: 90px;
11
+ }
12
+
13
+ .sgpb-reset-count-btn {
14
+ float: right;
15
+ }
16
+
17
  .sg-hide-condition-row {
18
  display: none !important;
19
  }
447
  background-image: url("../img/analyticsTypeIcon.png") !important;
448
  }
449
 
450
+ .sgpbRecentSales-popup-pro {
451
+ background-image: url("../img/recentSales.png") !important;
452
+ }
453
+
454
  .sgpb-sgpbAnalitics-div {
455
  background-color: rgba(250, 166, 40, 0.4);
456
  }
463
  background-image: url("../img/exitIntentTypeIcon.png") !important;
464
  }
465
 
466
+ .recentSales-popup {
467
+ background-image: url("../img/recentSales.png") !important;
468
+ }
469
+
470
+ .sgpb-recentSales-div {
471
+ background-color: #ea7e11 !important;
472
+ }
473
+
474
+ .sgpb-recentSales-div:hover {
475
+ background-color: #ffa142 !important;
476
+ }
477
+
478
+ .sgpb-sgpbRecentSales-div {
479
+ background-color: #ffa142 !important;
480
+ }
481
+
482
  .sgpb-sgpbExitIntent-div {
483
  background-color: rgba(140, 115, 211, 0.4);
484
  }
559
  background-color: rgba(251, 175, 93, 0.4);
560
  }
561
 
562
+ .Woo-popup,
563
+ .sgpbWOO-popup-pro {
564
+ background-image: url("../img/wooTypeIcon.png");
565
+ }
566
+
567
+ .sgpb-Woo-div,
568
+ .sgpb-sgpbWOO-div {
569
+ background-color: #a46497 !important;
570
+ }
571
+
572
+ .sgpb-Woo-div:hover,
573
+ .sgpb-sgpbWOO-div:hover {
574
+ background-color: #cb7fbb !important;
575
+ }
576
+
577
  .sgpb-popup-type-pro-ribbon {
578
  background-image: url(../img/probadge.png);
579
  position: absolute;
705
  }
706
 
707
  .sgpb-show-button-image-container,
708
+ .sgpb-show-sales-image-container,
709
  .sgpb-show-background-image-container {
710
  background-color: #F8F8F8;
711
  background-size: contain;
715
  border-radius: 3px;
716
  }
717
 
718
+ .sgpb-show-button-image-container,
719
+ .sgpb-show-sales-image-container {
720
  width: 35px;
721
  height: 35px;
722
  }
1128
  margin-left: 0 !important;
1129
  }
1130
 
1131
+ .sgpb-col-no-padding {
1132
+ padding: 0 !important;
1133
+ }
1134
+
1135
  .sgpb-info-icon-align-inputs {
1136
  margin-top: 15px !important;
1137
  }
1243
  }
1244
  }
1245
 
1246
+ .sgpb-preview-animation,
1247
+ .sgpb-preview-close-animation {
1248
  background-image: url(../img/preview-eye.png);
1249
  width: 30px;
1250
  height: 30px;
1252
  cursor: pointer;
1253
  }
1254
 
1255
+ #js-open-animation-effect,
1256
+ #js-close-animation-effect {
1257
  display: none;
1258
  width: 150px;
1259
  height: 150px;
1550
 
1551
  .sgpb-other-pro-options {
1552
  position:absolute;
1553
+ background-color: rgba(255, 255, 255, 0.6);
1554
  width: 99%;
1555
  height: 96%;
1556
  top: 0;
public/css/theme.css CHANGED
@@ -1 +1,6 @@
1
- .sg-popup-builder-content{height:100%}.sgpb-theme-1-overlay{background:url(data:image/image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAAAAAAeW/F+AAAAOklEQVR4Ae3QIQrAUADD0Lj2AIV//5uO+RE59asKz4U177rz9VAdqkU1qAbVoBpUg2pR3V/VbrVb7QHULigVcx3ZmQAAAABJRU5ErkJggg==)}.sgpb-theme-6-overlay{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpCMEM4NDgzQjlDRTNFMTExODE4NUVDOTdFQ0I0RDgxRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpGREU5OEVCQzAzMjYxMUUyOTg5OURDMDlDRTJDMTc0RSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpGREU5OEVCQjAzMjYxMUUyOTg5OURDMDlDRTJDMTc0RSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkIxQzg0ODNCOUNFM0UxMTE4MTg1RUM5N0VDQjREODFFIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkIwQzg0ODNCOUNFM0UxMTE4MTg1RUM5N0VDQjREODFFIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+s3YRAQAAABtJREFUeNpiFODh2cBABGBiIBKMKqSOQoAAAwBokQDs5F/8FAAAAABJRU5ErkJggg==)}#sgpb-popup-dialog-main-div-wrapper #sgpb-close-button{padding:0!important;color:#444!important;border:0!important;margin:0!important;overflow:visible!important;width:auto!important;background:none!important;text-shadow:0 0 2px #fff!important}#sgpb-popup-dialog-main-div-wrapper #sgpb-close-button:active{outline:0!important}.sgpb-popup-dialog-main-div-wrapper iframe{border:0!important}#popup-dialog-main-div div{margin-bottom:43px}.popup-main-wrapper div:after{background-color:#E6E5E5;content:'';display:block;position:absolute;left:5px;right:5px;bottom:5px;z-index:99999999999999999999999999999999999999999;height:43px}#content-div{border:12px solid #4B4B4B}.sgpb-theme-5-content{border-bottom:34px solid #E6E5E5!important}.sgpb-scroll-wrapper{width:100%;height:100%;overflow:hidden;-webkit-overflow-scrolling:touch}.sgpb-scroll-wrapper iframe{margin:0!important;width:1px!important;min-width:100%!important;height:100%!important}.sgpb-video-iframe-wrapper{width:100%;height:100%;overflow:hidden;-webkit-overflow-scrolling:touch}.sgpb-video-iframe-wrapper iframe{margin:0!important;width:100%;height:100%;border:0}.sgpb-video-error-message-wrapper h1{text-align:center}.sgpb-video-error-message-wrapper h3:last-child{padding:0}#sgpb-yes-button,#sgpb-no-button{text-transform:none!important}.sg-fb-buttons-wrapper{text-align:center;min-height:25px}@media only screen and (max-width:600px){.sgpb-scroll-wrapper{overflow:auto!important}}@media (min-width:600px){.sgpb-fb-wrapper-standard{min-width:450px!important;overflow:hidden}}@media (min-width:521px) and (max-width:599px){.sgpb-fb-wrapper-standard{min-width:450px!important;overflow:scroll}#sg-facebook-like{overflow:hidden}}@media (max-width:520px){.sgpb-fb-wrapper-standard{min-width:380px!important;max-width:380px!important;overflow:hidden}.sgpb-fb-wrapper-standard .fb-like{max-width:380px!important}#sg-facebook-like{overflow:hidden}}@media (max-width:420px){.sgpb-fb-wrapper-standard{min-width:350px!important;max-width:350px!important;overflow:hidden}}@media (max-width:400px){.sgpb-fb-wrapper-standard{min-width:330px!important;max-width:330px!important;overflow:scroll}}@media (max-width:320px){.sgpb-fb-wrapper-standard{min-width:270px!important;max-width:270px!important;overflow:scroll}}.sg-hide-element{display:none}a.sg-show-popup{cursor:pointer!important}.sgpb-theme-1-content{border-radius:6px;padding-bottom:0;box-shadow:rgba(0,0,0,.6) 0 0 0 14px!important;border-bottom-width:35px!important;border-bottom-color:#fff!important}.sgpb-theme-4-content{padding-bottom:0;border-radius:7px!important;border-bottom-width:35px!important;border-bottom-color:#fff!important}.sgpb-popup-close-button-4{height:auto!important}.sgpb-popup-dialog-main-div-theme-wrapper-5{border:8px solid #555;outline:1px solid #8A8A8A;background-color:#707070}.sgpb-theme-5-content{border-radius:3px!important;box-shadow:0 0 10px #222!important}.sgpb-theme-6-content{box-shadow:#646161 0 0 8px 3px!important}.sgpb-popup-close-button-1:hover,.sgpb-popup-close-button-2:hover,.sgpb-popup-close-button-5:hover{opacity:.8}.sgpb-popup-close-button-3:hover{opacity:.9}.sgpb-popup-close-button-2{border-radius:2px}.sgpb-main-image-content-wrapper img{height:auto;max-width:100%}
 
 
 
 
 
1
+ .sg-popup-builder-content{height:100%}.sgpb-theme-1-overlay{background:url(data:image/image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAAAAAAeW/F+AAAAOklEQVR4Ae3QIQrAUADD0Lj2AIV//5uO+RE59asKz4U177rz9VAdqkU1qAbVoBpUg2pR3V/VbrVb7QHULigVcx3ZmQAAAABJRU5ErkJggg==)}.sgpb-theme-6-overlay{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpCMEM4NDgzQjlDRTNFMTExODE4NUVDOTdFQ0I0RDgxRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpGREU5OEVCQzAzMjYxMUUyOTg5OURDMDlDRTJDMTc0RSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpGREU5OEVCQjAzMjYxMUUyOTg5OURDMDlDRTJDMTc0RSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkIxQzg0ODNCOUNFM0UxMTE4MTg1RUM5N0VDQjREODFFIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkIwQzg0ODNCOUNFM0UxMTE4MTg1RUM5N0VDQjREODFFIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+s3YRAQAAABtJREFUeNpiFODh2cBABGBiIBKMKqSOQoAAAwBokQDs5F/8FAAAAABJRU5ErkJggg==)}#sgpb-popup-dialog-main-div-wrapper #sgpb-close-button{padding:0!important;color:#444!important;border:0!important;margin:0!important;overflow:visible!important;width:auto!important;background:none!important;text-shadow:0 0 2px #fff!important}#sgpb-popup-dialog-main-div-wrapper #sgpb-close-button:active{outline:0!important}.sgpb-popup-dialog-main-div-wrapper iframe{border:0!important}#popup-dialog-main-div div{margin-bottom:43px}.popup-main-wrapper div:after{background-color:#E6E5E5;content:'';display:block;position:absolute;left:5px;right:5px;bottom:5px;z-index:99999999999999999999999999999999999999999;height:43px}#content-div{border:12px solid #4B4B4B}.sgpb-theme-5-content{border-bottom:34px solid #E6E5E5!important}.sgpb-scroll-wrapper{width:100%;height:100%;overflow:hidden;-webkit-overflow-scrolling:touch}.sgpb-scroll-wrapper iframe{margin:0!important;width:1px!important;min-width:100%!important;height:100%!important}.sgpb-video-iframe-wrapper{width:100%;height:100%;overflow:hidden;-webkit-overflow-scrolling:touch}.sgpb-video-iframe-wrapper iframe{margin:0!important;width:100%;height:100%;border:0}.sgpb-video-error-message-wrapper h1{text-align:center}.sgpb-video-error-message-wrapper h3:last-child{padding:0}#sgpb-yes-button,#sgpb-no-button{text-transform:none!important}.sg-fb-buttons-wrapper{text-align:center;min-height:25px}@media only screen and (max-width:600px){.sgpb-scroll-wrapper{overflow:auto!important}}@media (min-width:600px){.sgpb-fb-wrapper-standard{min-width:450px!important;overflow:hidden}}@media (min-width:521px) and (max-width:599px){.sgpb-fb-wrapper-standard{min-width:450px!important;overflow:scroll}#sg-facebook-like{overflow:hidden}}@media (max-width:520px){.sgpb-fb-wrapper-standard{min-width:380px!important;max-width:380px!important;overflow:hidden}.sgpb-fb-wrapper-standard .fb-like{max-width:380px!important}#sg-facebook-like{overflow:hidden}}@media (max-width:420px){.sgpb-fb-wrapper-standard{min-width:350px!important;max-width:350px!important;overflow:hidden}}@media (max-width:400px){.sgpb-fb-wrapper-standard{min-width:330px!important;max-width:330px!important;overflow:scroll}}@media (max-width:320px){.sgpb-fb-wrapper-standard{min-width:270px!important;max-width:270px!important;overflow:scroll}}.sg-hide-element{display:none}a.sg-show-popup{cursor:pointer!important}.sgpb-theme-1-content{border-radius:6px;padding-bottom:0;box-shadow:rgba(0,0,0,.6) 0 0 0 14px!important;border-bottom-width:35px!important;border-bottom-color:#fff!important}.sgpb-theme-4-content{padding-bottom:0;border-radius:7px!important;border-bottom-width:35px!important;border-bottom-color:#fff!important}.sgpb-popup-close-button-4{height:auto!important}.sgpb-popup-dialog-main-div-theme-wrapper-5{border:8px solid #555;outline:1px solid #8A8A8A;background-color:#707070}.sgpb-theme-5-content{border-radius:3px!important;box-shadow:0 0 10px #222!important}.sgpb-theme-6-content{box-shadow:#646161 0 0 8px 3px!important}.sgpb-popup-close-button-1:hover,.sgpb-popup-close-button-2:hover,.sgpb-popup-close-button-5:hover{opacity:.8}.sgpb-popup-close-button-3:hover{opacity:.9}.sgpb-popup-close-button-2{border-radius:2px}.sgpb-main-image-content-wrapper img{height:auto;max-width:100%}.sgpb-overflow-hidden{overflow:hidden!important;height:100%}@charset"UTF-8";/*!
2
+ Animate.css - http://daneden.me/animate
3
+ Licensed under the MIT license - http://opensource.org/licenses/MIT
4
+
5
+ Copyright (c) 2015 Daniel Eden
6
+ */.sg-animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:none;animation-fill-mode:none}.sg-animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.sg-animated.hinge{-webkit-animation-duration:2s;animation-duration:2s}.sg-animated.bounceIn,.sg-animated.bounceOut,.sg-animated.flipOutX,.sg-animated.flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s}@-webkit-keyframes bounce{20%,53%,80%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.050,.855,.060);animation-timing-function:cubic-bezier(.755,.050,.855,.060);-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.050,.855,.060);animation-timing-function:cubic-bezier(.755,.050,.855,.060);-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}@keyframes bounce{20%,53%,80%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.050,.855,.060);animation-timing-function:cubic-bezier(.755,.050,.855,.060);-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.050,.855,.060);animation-timing-function:cubic-bezier(.755,.050,.855,.060);-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}.sgpb-bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{50%,from,to{opacity:1}25%,75%{opacity:0}}@keyframes flash{50%,from,to{opacity:1}25%,75%{opacity:0}}.sgpb-flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{from,to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}}@keyframes pulse{from,to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}}.sgpb-pulse{-webkit-animation-name:pulse;animation-name:pulse}@-webkit-keyframes rubberBand{from,to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}}@keyframes rubberBand{from,to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}}.sgpb-rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shake{from,to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shake{from,to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.sgpb-shake{-webkit-animation-name:shake;animation-name:shake}@-webkit-keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0);transform:rotate3d(0,0,1,0)}}@keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0);transform:rotate3d(0,0,1,0)}}.sgpb-swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{from,to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}}@keyframes tada{from,to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}}.sgpb-tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{from,to{-webkit-transform:none;transform:none}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}}@keyframes wobble{from,to{-webkit-transform:none;transform:none}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}}.sgpb-wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{11.1%,from,to{-webkit-transform:none;transform:none}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skewX(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skewX(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skewX(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skewX(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skewX(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{11.1%,from,to{-webkit-transform:none;transform:none}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skewX(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skewX(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skewX(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skewX(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skewX(-.1953125deg) skewY(-.1953125deg)}}.sgpb-jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes bounceIn{20%,40%,60%,80%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes bounceIn{20%,40%,60%,80%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.sgpb-bounceIn{-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}to{-webkit-transform:none;transform:none}}@keyframes bounceInDown{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}to{-webkit-transform:none;transform:none}}.bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}to{-webkit-transform:none;transform:none}}@keyframes bounceInLeft{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}to{-webkit-transform:none;transform:none}}.sgpb-bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}from{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:none;transform:none}}@keyframes bounceInRight{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}from{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:none;transform:none}}.sgpb-bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}from{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes bounceInUp{60%,75%,90%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}from{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.sgpb-bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}.sgpb-bounceOut{-webkit-animation-name:bounceOut;animation-name:bounceOut}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.sgpb-bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}.sgpb-fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{from{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInDownBig{from{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{from{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeft{from{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{from{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftBig{from{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{from{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInRight{from{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{from{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInRightBig{from{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{from{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUp{from{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{from{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpBig{from{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeOut{from{opacity:1}to{opacity:0}}@keyframes fadeOut{from{opacity:1}to{opacity:0}}.sgpb-fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes flip{from{-webkit-transform:perspective(400px) rotate3d(0,1,0,-360deg);transform:perspective(400px) rotate3d(0,1,0,-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95);transform:perspective(400px) scale3d(.95,.95,.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px);transform:perspective(400px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{from{-webkit-transform:perspective(400px) rotate3d(0,1,0,-360deg);transform:perspective(400px) rotate3d(0,1,0,-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95);transform:perspective(400px) scale3d(.95,.95,.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px);transform:perspective(400px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.sg-animated.sgpb-flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{from{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{from{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.sgpb-flipInX{backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}.flipInX,.flipInY{-webkit-backface-visibility:visible!important}@-webkit-keyframes flipInY{from{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotate3d(0,1,0,-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{from{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotate3d(0,1,0,-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInY{backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{from{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}@keyframes flipOutX{from{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}.flipOutX{-webkit-animation-name:flipOutX;animation-name:flipOutX;backface-visibility:visible!important}.flipOutX,.flipOutY{-webkit-backface-visibility:visible!important}@-webkit-keyframes flipOutY{from{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}@keyframes flipOutY{from{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}.flipOutY{backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY}@-webkit-keyframes lightSpeedIn{from{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg);opacity:1}to{-webkit-transform:none;transform:none;opacity:1}}@keyframes lightSpeedIn{from{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg);opacity:1}to{-webkit-transform:none;transform:none;opacity:1}}.lightSpeedIn{-webkit-animation-name:lightSpeedIn;animation-name:lightSpeedIn;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOut{from{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skewX(30deg);opacity:0}}@keyframes lightSpeedOut{from{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skewX(30deg);opacity:0}}.lightSpeedOut{-webkit-animation-name:lightSpeedOut;animation-name:lightSpeedOut;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{from{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateIn{from{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:none;transform:none;opacity:1}}.sgpb-rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn}@-webkit-keyframes rotateInDownLeft{from{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInDownLeft{from{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}.sgpb-rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft}@-webkit-keyframes rotateInDownRight{from{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInDownRight{from{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}.rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight}@-webkit-keyframes rotateInUpLeft{from{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInUpLeft{from{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}.rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft}@-webkit-keyframes rotateInUpRight{from{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInUpRight{from{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}.rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight}@-webkit-keyframes rotateOut{from{-webkit-transform-origin:center;transform-origin:center;opacity:1}to{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOut{from{-webkit-transform-origin:center;transform-origin:center;opacity:1}to{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}.sgpb-rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut}@-webkit-keyframes rotateOutDownLeft{from{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownLeft{from{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}.rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft}@-webkit-keyframes rotateOutDownRight{from{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutDownRight{from{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight}@-webkit-keyframes rotateOutUpLeft{from{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpLeft{from{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft}@-webkit-keyframes rotateOutUpRight{from{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutUpRight{from{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}.rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight}@-webkit-keyframes hinge{0{-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0{-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.hinge{-webkit-animation-name:hinge;animation-name:hinge}@-webkit-keyframes rollIn{from{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes rollIn{from{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:none;transform:none}}.rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes rollOut{from{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}.rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}@-webkit-keyframes zoomIn{from{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{from{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes zoomInDown{from{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{from{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{from{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInLeft{from{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{from{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{from{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{from{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{from{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}@-webkit-keyframes zoomOut{from{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOut{from{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}.zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;transform-origin:left center}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;transform-origin:left center}}.zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;transform-origin:right center}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;transform-origin:right center}}.zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight}@-webkit-keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp}@-webkit-keyframes slideInDown{from{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes slideInDown{from{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.sgpb-slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{from{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes slideInLeft{from{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{from{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes slideInRight{from{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{from{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes slideInUp{from{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.sgpb-slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.sgpb-slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.sgpb-slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}
public/img/recentSales.png ADDED
Binary file
public/img/wooTypeIcon.png ADDED
Binary file
public/js/Backend.js CHANGED
@@ -41,6 +41,7 @@ SGPBBackend.prototype.sgInit = function()
41
  this.soundPreview();
42
  this.showInfo();
43
  this.openAnimationPreview();
 
44
  this.resetToDefaultValue();
45
  };
46
 
@@ -219,6 +220,38 @@ SGPBBackend.prototype.openAnimationPreview = function()
219
  openAnimationPreview.bind('click', openAnimationAction);
220
  };
221
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222
  SGPBBackend.prototype.multipleChoiceButton = function()
223
  {
224
  if (!jQuery('.sgpb-choice-wrapper input').length) {
@@ -618,21 +651,23 @@ SGPBBackend.prototype.changeConditionParams = function()
618
  This junky code was added because the code related to the column creation is not abstract enough.
619
  TODO: throw away all related code and create new architecture for the purpose.
620
  */
621
- jQuery('.behavior-after-special-events-wrapper .sg-condition-operator-wrapper select').each(function() {
622
  jQuery(this).change(function(e) {
623
  e.preventDefault();
624
 
625
  var paramSavedValue = jQuery(this).val();
626
- var conditionName = 'behavior-after-special-events';
 
 
627
  var ruleId = 0;
628
  var groupId = 0;
629
- var currentTargetDiv = jQuery(this).parents('.'+conditionName+'-wrapper').first();
630
 
631
  var data = {
632
  action: 'change_condition_rule_row',
633
  nonce_ajax: SGPB_JS_PARAMS.nonce,
634
  conditionName: conditionName,
635
  paramName: paramSavedValue,
 
636
  ruleId: ruleId,
637
  groupId: groupId
638
  };
@@ -1028,6 +1063,9 @@ SGPBBackend.prototype.buttonImageRemove = function()
1028
  {
1029
  jQuery('#js-button-upload-image-remove-button').click(function(){
1030
  var selectedTheme = jQuery('.js-sgpb-popup-themes:checked').attr('data-popup-theme-number');
 
 
 
1031
  jQuery(".sgpb-show-button-image-container").html("");
1032
  jQuery("#js-button-upload-image").attr('value', '');
1033
  jQuery('.sgpb-show-button-image-container').attr('style', 'background-image: url("' + sgpbPublicUrl + 'img/theme_' + selectedTheme + '/close.png")');
@@ -1342,6 +1380,21 @@ SGPBBackend.hexToRgba = function(hex, opacity)
1342
  throw new Error('Bad Hex');
1343
  };
1344
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1345
  jQuery(document).ready(function() {
1346
  var sgpbBackendObj = new SGPBBackend();
1347
  sgpbBackendObj.sgInit();
41
  this.soundPreview();
42
  this.showInfo();
43
  this.openAnimationPreview();
44
+ this.closeAnimationPreview();
45
  this.resetToDefaultValue();
46
  };
47
 
220
  openAnimationPreview.bind('click', openAnimationAction);
221
  };
222
 
223
+ SGPBBackend.prototype.closeAnimationPreview = function()
224
+ {
225
+ var closeAnimationPreview = jQuery('.sgpb-preview-close-animation');
226
+
227
+ if (!closeAnimationPreview.length) {
228
+ return false;
229
+ }
230
+ var closeAnimation = jQuery('.sgpb-preview-close-animation');
231
+ var closeAnimationDiv = jQuery('#js-close-animation-effect');
232
+ var speed = jQuery('#sgpb-close-animation-speed');
233
+
234
+ var closeAnimationAction = function() {
235
+ var speedVal = parseInt(speed.val());
236
+
237
+ if (!speedVal) {
238
+ speedVal = 1;
239
+ }
240
+ var speedSeconds = speedVal * 1000;
241
+
242
+ setTimeout(function() {
243
+ closeAnimationDiv.hide();
244
+ }, speedSeconds);
245
+ closeAnimationDiv.removeClass();
246
+ closeAnimationDiv.show();
247
+ closeAnimationDiv.css({'animationDuration' : speedSeconds + 'ms'});
248
+ closeAnimationDiv.addClass('sg-animated ' + jQuery('.sgpb-close-animation-effects option:selected').val());
249
+ };
250
+
251
+ jQuery('.sgpb-close-animation-effects').bind('change', closeAnimationAction);
252
+ closeAnimationPreview.bind('click', closeAnimationAction);
253
+ };
254
+
255
  SGPBBackend.prototype.multipleChoiceButton = function()
256
  {
257
  if (!jQuery('.sgpb-choice-wrapper input').length) {
651
  This junky code was added because the code related to the column creation is not abstract enough.
652
  TODO: throw away all related code and create new architecture for the purpose.
653
  */
654
+ jQuery('.popup-special-conditions-wrapper .sg-condition-operator-wrapper select').each(function() {
655
  jQuery(this).change(function(e) {
656
  e.preventDefault();
657
 
658
  var paramSavedValue = jQuery(this).val();
659
+ var currentTargetDiv = jQuery(this).closest('.popup-special-conditions-wrapper');
660
+ var conditionName = currentTargetDiv.data('condition-type');
661
+ var paramValue = currentTargetDiv.find('.sg-condition-param-wrapper select').first().val();
662
  var ruleId = 0;
663
  var groupId = 0;
 
664
 
665
  var data = {
666
  action: 'change_condition_rule_row',
667
  nonce_ajax: SGPB_JS_PARAMS.nonce,
668
  conditionName: conditionName,
669
  paramName: paramSavedValue,
670
+ paramValue: paramValue,
671
  ruleId: ruleId,
672
  groupId: groupId
673
  };
1063
  {
1064
  jQuery('#js-button-upload-image-remove-button').click(function(){
1065
  var selectedTheme = jQuery('.js-sgpb-popup-themes:checked').attr('data-popup-theme-number');
1066
+ if (typeof selectedTheme == 'undefined') {
1067
+ selectedTheme = 6;
1068
+ }
1069
  jQuery(".sgpb-show-button-image-container").html("");
1070
  jQuery("#js-button-upload-image").attr('value', '');
1071
  jQuery('.sgpb-show-button-image-container').attr('style', 'background-image: url("' + sgpbPublicUrl + 'img/theme_' + selectedTheme + '/close.png")');
1380
  throw new Error('Bad Hex');
1381
  };
1382
 
1383
+ SGPBBackend.resetCount = function(popupId)
1384
+ {
1385
+ if (confirm(SGPB_JS_LOCALIZATION.areYouSure)) {
1386
+ var data = {
1387
+ nonce: SGPB_JS_PARAMS.nonce,
1388
+ action: 'sgpb_reset_popup_opening_count',
1389
+ popupId: popupId
1390
+ };
1391
+
1392
+ jQuery.post(ajaxurl, data, function(response) {
1393
+ location.reload();
1394
+ });
1395
+ }
1396
+ };
1397
+
1398
  jQuery(document).ready(function() {
1399
  var sgpbBackendObj = new SGPBBackend();
1400
  sgpbBackendObj.sgInit();
public/js/Popup.js CHANGED
@@ -1,5 +1,5 @@
1
  function SGPopup(config)
2
- {var integrations=config.integrations;var popupName=config.popupName;var initialConfig=config;var prefix=config.prefix||'sgpb';var isInited=false;var mainDiv=null;var contentDiv=null;var DIV=null;var opened=false;var resizeTimeout=null;var overlayDiv=null;var defaultZIndex=config.contentBox.zIndex||9999;var defaultWidth="640px";var defaultHeight=config.autoHeight;var closeButtonImage=null;var popupId=config.id;var showOnce=config.showOnce||false;var events=config.events||[];var openDelay=config.openDelay||0;var popupTheme=config.popupTheme;var openAnimation=config.openAnimation||{type:"none",speed:0};var closeAnimation=config.closeAnimation||{type:"none",speed:0};var closeBehavior=config.closeBehavior||{allowed:true,showButton:true,buttonPosition:'topLeft',buttonInside:true,autoclose:false,overlayShouldClose:true,contentShouldClose:false,escShouldClose:true};var closeButton=config.closeButton||{data:sgpbPublicUrl+'img/close.png',width:16,height:16,widthType:'px',heightType:'px',closeButtonType:'IMG',closeButtonText:'Close'};var overlay=config.overlay||{visible:true,color:"#000",opacity:0.7};var contentBox=config.contentBox||{padding:8,showBackground:true,backgroundColor:"#fff",borderStyle:"solid",borderColor:"#ccc",borderRadius:config.contentBox.borderRadius,borderRadiusType:config.contentBox.borderRadiusType,borderWidth:1,shadowColor:"#ccc",shadowSpread:0,shadowBlure:10,scrollingEnabled:true};var contents=config.contents||"";var inline=config.inline||false;var href=config.href||false;var position=config.position||{left:"center",top:"center"};if((typeof position.left=="undefined"||(isNaN(parseInt(position.left))&&position.left!="center"))&&(typeof position.right=="undefined"||(isNaN(parseInt(position.right))&&position.right!="center"))){position.left="center";}
3
  if((typeof position.top=="undefined"||(isNaN(parseInt(position.top))&&position.top!="center"))&&(typeof position.bottom=="undefined"||(isNaN(parseInt(position.bottom))&&position.bottom!="center"))){position.top="center";}
4
  var sizingRanges=config.sizingRanges||[{screenFrom:{width:-1,height:-1},screenTo:{width:-1,height:-1},width:defaultWidth,height:defaultHeight,maxWidth:-1,maxHeight:-1,minWidth:-1,minHeight:-1}];var shouldOpen=config.shouldOpen||function(){return true;};var willOpen=config.willOpen||function(){};var didOpen=config.didOpen||function(){};var shouldClose=config.shouldClose||function(){return true;};var willClose=config.willClose||function(){};var didClose=config.didClose||function(){};SGPopup.inlinePrevTarget=SGPopup.inlinePrevTarget||{};function resetInlineContent()
5
  {if(inline){var htmlElement=document.getElementById(inline);if(SGPopup.inlinePrevTarget.hasPreviousElement){SGPopup.inlinePrevTarget.parentNode.insertBefore(htmlElement,SGPopup.inlinePrevTarget.node.nextSibling);}
@@ -25,10 +25,13 @@ mainDiv.style.borderWidth=contentBox.borderWidth+"px";if(contentBox.padding){mai
25
  var widthToSet=sizeConfig.width||defaultWidth;if(widthToSet.indexOf("%")>-1){var widthNum=parseFloat(widthToSet);var closeButtonWidthToSubtract=parseInt(closeButton.width);if(closeBehavior.showButton==false||config.closeButton.type=='button'){closeButtonWidthToSubtract=0;}
26
  widthToSet=(((widthNum/100)*window.innerWidth)-(2*(contentBox.padding?contentBox.padding:0))-parseInt(mainDiv.style.borderLeftWidth)-parseInt(mainDiv.style.borderRightWidth)-(parseInt(contentBox.shadowSpread)/2)-closeButtonWidthToSubtract)+'px';}
27
  else{widthToSet=parseInt(widthToSet)-2*(contentBox.padding?contentBox.padding:0)+'px';}
28
- mainDiv.style.width=widthToSet;if(contentBox.showBackground){if(contentBox.backgroundImage){mainDiv.style.backgroundImage="url("+contentBox.backgroundImage+")";}
 
29
  if(contentBox.backgroundMode=="cover"){mainDiv.style.backgroundSize="cover";mainDiv.style.backgroundRepeat="no-repeat";}
30
  else if(contentBox.backgroundMode=="contain"){mainDiv.style.backgroundSize="contain";mainDiv.style.backgroundRepeat="no-repeat";}
31
  else if(contentBox.backgroundMode=="repeat"){mainDiv.style.backgroundRepeat="repeat";}
 
 
32
  else{mainDiv.style.backgroundRepeat="no-repeat";}}
33
  var heightToSet=sizeConfig.height||defaultHeight;if(typeof heightToSet!='undefined'&&heightToSet.indexOf("%")>-1){var heightNum=parseFloat(heightToSet);heightToSet=(((heightNum/100)*window.innerHeight)-(2*(contentBox.padding?contentBox.padding:0))-parseInt(mainDiv.style.borderTopWidth)-parseInt(mainDiv.style.borderBottomWidth))+"px";}
34
  else{heightToSet=parseInt(heightToSet)-2*(contentBox.padding?contentBox.padding:0)+"px";}
@@ -41,6 +44,11 @@ function calculateMaxWidth(maxWidth)
41
  if(closeButtonLeft){maxWidth-=Math.abs(closeButtonLeft);}}
42
  if(maxWidth<0){return'30px';}
43
  return maxWidth+'px';}
 
 
 
 
 
44
  function calculateMaxHeight(maxHeight)
45
  {var contentPadding=contentBox.padding*2;var shadowSpread=contentBox.shadowSpread*4;var borderHeight=contentBox.borderWidth*2;var boxBorderHeight=contentBox.boxBorderWidth*4;var closeButtonTop=parseInt(closeBehavior.top)*2;var closeButtonBottom=parseInt(closeBehavior.bottom)*2;maxHeight-=contentPadding;if(shadowSpread){maxHeight-=shadowSpread;maxHeight-=35;}
46
  maxHeight-=borderHeight;maxHeight-=boxBorderHeight;if(!closeBehavior.buttonInside){if(closeButtonBottom){maxHeight-=Math.abs(closeButtonBottom);}
@@ -81,7 +89,9 @@ left=parseFloat(mainDivWidth)-Math.ceil(closeButton.width/2)+2*contentBox.paddin
81
  closeButtonImage.style.left=left+"px";}
82
  closeButtonImage.style.top=parseFloat(closeBehavior.topPosition)+"px";}
83
  function onWindowRsize()
84
- {clearTimeout(resizeTimeout);resizeTimeout=setTimeout(function(){resizeBox();positionPopup();positionCloseButton(mainDiv);jQuery(window).trigger('sgpbPopupReload')},500);}
 
 
85
  function setOpenAnimation()
86
  {if(!openAnimation.status){return false;}
87
  contentDiv.style.animationTimingFunction="linear";var border=contentBox.borderWidth||0;var padding=contentBox.padding||0;if(openAnimation.type=="slideleft"){var start=window.innerWidth-parseInt(contentDiv.style.left)+2*border;addAnimationClass(OPEN_ANIMATION_SLIDELEFT.replace(/\{start\}/g,start+"px"));contentDiv.style.animationName="slideinfromright";}
@@ -113,7 +123,8 @@ var end=top+parseInt(mainDiv.style.height);addAnimationClass(CLOSE_ANIMATION_SLI
113
  else if(closeAnimation.type=="slidedown"){var bottom=0;if(contentDiv.style.bottom){bottom=parseInt(mainDiv.style.height)+2*border+parseInt(contentDiv.style.bottom)+2*padding;}
114
  else{bottom=window.innerHeight-parseInt(contentDiv.style.top)+2*border;}
115
  var end=bottom;addAnimationClass(CLOSE_ANIMATION_SLIDEDOWN.replace(/\{end\}/g,end+"px"));contentDiv.style.animationName="slideouttobottom";}
116
- contentDiv.style.animationFillMode="forwards";contentDiv.style.animationDuration=closeAnimation.speed+"ms";window.setTimeout(function(){var effectStyleElement=document.getElementById(prefix+"-effect-custom-style");effectStyleElement.parentNode.removeChild(effectStyleElement);contentDiv.style.animationName="";contentDiv.style.transform="";contentDiv.style.transformOrigin="";contentDiv.style.opacity="";},parseInt(closeAnimation.speed)+10);}
 
117
  function setOpenEvents()
118
  {for(var i=0;i<events.length;i++){var event=events[i];switch(event.type){case"load":setOpenOnLoadEvent();break;case"click":setOpenOnClickEvent(event);break;case"hover":setOpenOnHoverEvent(event);break;case"scroll":setOpenOnScrollEvent(event);break;case"exit":setOpenOnExitEvent(event);break;case"inactivity":setOpenInactivityEvent(event);}}}
119
  function setOpenOnExitEvent(config)
1
  function SGPopup(config)
2
+ {var integrations=config.integrations;var popupName=config.popupName;var initialConfig=config;var prefix=config.prefix||'sgpb';var isInited=false;var mainDiv=null;var contentDiv=null;var DIV=null;var opened=false;var resizeTimeout=null;var overlayDiv=null;var defaultZIndex=config.contentBox.zIndex||9999;var defaultWidth="640px";var defaultHeight=config.autoHeight;var closeButtonImage=null;var popupId=config.id;var showOnce=config.showOnce||false;var events=config.events||[];var openDelay=config.openDelay||0;var popupTheme=config.popupTheme;var popupType=config.popupType;var fitBackgroundImg=null;var openAnimation=config.openAnimation||{type:"none",speed:0};var closeAnimation=config.closeAnimation||{type:"none",speed:0};var closeBehavior=config.closeBehavior||{allowed:true,showButton:true,buttonPosition:'topLeft',buttonInside:true,autoclose:false,overlayShouldClose:true,contentShouldClose:false,escShouldClose:true};var closeButton=config.closeButton||{data:sgpbPublicUrl+'img/close.png',width:16,height:16,widthType:'px',heightType:'px',closeButtonType:'IMG',closeButtonText:'Close'};var overlay=config.overlay||{visible:true,color:"#000",opacity:0.7};var contentBox=config.contentBox||{padding:8,showBackground:true,backgroundColor:"#fff",borderStyle:"solid",borderColor:"#ccc",borderRadius:config.contentBox.borderRadius,borderRadiusType:config.contentBox.borderRadiusType,borderWidth:1,shadowColor:"#ccc",shadowSpread:0,shadowBlur:10,scrollingEnabled:true};var contents=config.contents||"";var inline=config.inline||false;var href=config.href||false;var position=config.position||{left:"center",top:"center"};if((typeof position.left=="undefined"||(isNaN(parseInt(position.left))&&position.left!="center"))&&(typeof position.right=="undefined"||(isNaN(parseInt(position.right))&&position.right!="center"))){position.left="center";}
3
  if((typeof position.top=="undefined"||(isNaN(parseInt(position.top))&&position.top!="center"))&&(typeof position.bottom=="undefined"||(isNaN(parseInt(position.bottom))&&position.bottom!="center"))){position.top="center";}
4
  var sizingRanges=config.sizingRanges||[{screenFrom:{width:-1,height:-1},screenTo:{width:-1,height:-1},width:defaultWidth,height:defaultHeight,maxWidth:-1,maxHeight:-1,minWidth:-1,minHeight:-1}];var shouldOpen=config.shouldOpen||function(){return true;};var willOpen=config.willOpen||function(){};var didOpen=config.didOpen||function(){};var shouldClose=config.shouldClose||function(){return true;};var willClose=config.willClose||function(){};var didClose=config.didClose||function(){};SGPopup.inlinePrevTarget=SGPopup.inlinePrevTarget||{};function resetInlineContent()
5
  {if(inline){var htmlElement=document.getElementById(inline);if(SGPopup.inlinePrevTarget.hasPreviousElement){SGPopup.inlinePrevTarget.parentNode.insertBefore(htmlElement,SGPopup.inlinePrevTarget.node.nextSibling);}
25
  var widthToSet=sizeConfig.width||defaultWidth;if(widthToSet.indexOf("%")>-1){var widthNum=parseFloat(widthToSet);var closeButtonWidthToSubtract=parseInt(closeButton.width);if(closeBehavior.showButton==false||config.closeButton.type=='button'){closeButtonWidthToSubtract=0;}
26
  widthToSet=(((widthNum/100)*window.innerWidth)-(2*(contentBox.padding?contentBox.padding:0))-parseInt(mainDiv.style.borderLeftWidth)-parseInt(mainDiv.style.borderRightWidth)-(parseInt(contentBox.shadowSpread)/2)-closeButtonWidthToSubtract)+'px';}
27
  else{widthToSet=parseInt(widthToSet)-2*(contentBox.padding?contentBox.padding:0)+'px';}
28
+ mainDiv.style.width=widthToSet;if(config.popupType=='image'){mainDiv.style.backgroundImage="url("+contentBox.backgroundImage+")";}
29
+ if(contentBox.showBackground){if(contentBox.backgroundImage){mainDiv.style.backgroundImage="url("+contentBox.backgroundImage+")";}
30
  if(contentBox.backgroundMode=="cover"){mainDiv.style.backgroundSize="cover";mainDiv.style.backgroundRepeat="no-repeat";}
31
  else if(contentBox.backgroundMode=="contain"){mainDiv.style.backgroundSize="contain";mainDiv.style.backgroundRepeat="no-repeat";}
32
  else if(contentBox.backgroundMode=="repeat"){mainDiv.style.backgroundRepeat="repeat";}
33
+ else if(contentBox.backgroundMode=='fit'){if(!fitBackgroundImg){fitBackgroundImg=document.createElement('img');fitBackgroundImg.style.display='none';document.body.appendChild(fitBackgroundImg);fitBackgroundImg.onload=function(){windowResizeHandler();}
34
+ fitBackgroundImg.src=contentBox.backgroundImage;mainDiv.style.backgroundSize='contain';mainDiv.style.backgroundRepeat='no-repeat';}}
35
  else{mainDiv.style.backgroundRepeat="no-repeat";}}
36
  var heightToSet=sizeConfig.height||defaultHeight;if(typeof heightToSet!='undefined'&&heightToSet.indexOf("%")>-1){var heightNum=parseFloat(heightToSet);heightToSet=(((heightNum/100)*window.innerHeight)-(2*(contentBox.padding?contentBox.padding:0))-parseInt(mainDiv.style.borderTopWidth)-parseInt(mainDiv.style.borderBottomWidth))+"px";}
37
  else{heightToSet=parseInt(heightToSet)-2*(contentBox.padding?contentBox.padding:0)+"px";}
44
  if(closeButtonLeft){maxWidth-=Math.abs(closeButtonLeft);}}
45
  if(maxWidth<0){return'30px';}
46
  return maxWidth+'px';}
47
+ function setFitBackground()
48
+ {if(!fitBackgroundImg)return;var imgHeight=fitBackgroundImg.height;var imgWidth=fitBackgroundImg.width;var winHeight=window.innerHeight;var winWidth=window.innerWidth;var minMargin=40;var popupWidth=0,popupHeight=0;if(imgWidth<(winWidth-2*minMargin)&&imgHeight<(winHeight-2*minMargin)){popupWidth=imgWidth;popupHeight=imgHeight;}else{var widthDif=winWidth-imgWidth;var heightDif=winHeight-imgHeight;if(widthDif<heightDif){popupWidth=winWidth-2*minMargin;popupHeight=popupWidth*imgHeight/imgWidth;}else{popupHeight=winHeight-2*minMargin;popupWidth=popupHeight*imgWidth/imgHeight;}}
49
+ var border=contentBox.borderWidth||0;var padding=contentBox.padding||0;popupWidth=popupWidth-2*border;popupHeight=popupHeight-2*border;var sizeConfig=getSizeConfig();if(sizeConfig.width=='14px'){sizeConfig.width=parseInt(popupWidth-(2*padding))+'px';}
50
+ else{mainDiv.style.backgroundPosition='center';}
51
+ sizeConfig.height=popupHeight+'px';}
52
  function calculateMaxHeight(maxHeight)
53
  {var contentPadding=contentBox.padding*2;var shadowSpread=contentBox.shadowSpread*4;var borderHeight=contentBox.borderWidth*2;var boxBorderHeight=contentBox.boxBorderWidth*4;var closeButtonTop=parseInt(closeBehavior.top)*2;var closeButtonBottom=parseInt(closeBehavior.bottom)*2;maxHeight-=contentPadding;if(shadowSpread){maxHeight-=shadowSpread;maxHeight-=35;}
54
  maxHeight-=borderHeight;maxHeight-=boxBorderHeight;if(!closeBehavior.buttonInside){if(closeButtonBottom){maxHeight-=Math.abs(closeButtonBottom);}
89
  closeButtonImage.style.left=left+"px";}
90
  closeButtonImage.style.top=parseFloat(closeBehavior.topPosition)+"px";}
91
  function onWindowRsize()
92
+ {clearTimeout(resizeTimeout);resizeTimeout=setTimeout(function(){setFitBackground();resizeBox();positionPopup();positionCloseButton(mainDiv);jQuery(window).trigger('sgpbPopupReload')},500);}
93
+ function windowResizeHandler()
94
+ {setFitBackground();resizeBox();positionPopup();positionCloseButton(mainDiv);jQuery(window).trigger('sgpbPopupReload')}
95
  function setOpenAnimation()
96
  {if(!openAnimation.status){return false;}
97
  contentDiv.style.animationTimingFunction="linear";var border=contentBox.borderWidth||0;var padding=contentBox.padding||0;if(openAnimation.type=="slideleft"){var start=window.innerWidth-parseInt(contentDiv.style.left)+2*border;addAnimationClass(OPEN_ANIMATION_SLIDELEFT.replace(/\{start\}/g,start+"px"));contentDiv.style.animationName="slideinfromright";}
123
  else if(closeAnimation.type=="slidedown"){var bottom=0;if(contentDiv.style.bottom){bottom=parseInt(mainDiv.style.height)+2*border+parseInt(contentDiv.style.bottom)+2*padding;}
124
  else{bottom=window.innerHeight-parseInt(contentDiv.style.top)+2*border;}
125
  var end=bottom;addAnimationClass(CLOSE_ANIMATION_SLIDEDOWN.replace(/\{end\}/g,end+"px"));contentDiv.style.animationName="slideouttobottom";}
126
+ else{contentDiv.className=prefix+'-popup-dialog-main-div-theme-wrapper-'+config.popupTheme+' sg-animated '+closeAnimation.type;}
127
+ contentDiv.style.animationDuration=closeAnimation.speed+"ms";window.setTimeout(function(){contentDiv.className=prefix+'-popup-dialog-main-div-theme-wrapper-'+config.popupTheme;contentDiv.style.animationName="";contentDiv.style.transform="";contentDiv.style.transformOrigin="";contentDiv.style.opacity="";},parseInt(closeAnimation.speed)+10);}
128
  function setOpenEvents()
129
  {for(var i=0;i<events.length;i++){var event=events[i];switch(event.type){case"load":setOpenOnLoadEvent();break;case"click":setOpenOnClickEvent(event);break;case"hover":setOpenOnHoverEvent(event);break;case"scroll":setOpenOnScrollEvent(event);break;case"exit":setOpenOnExitEvent(event);break;case"inactivity":setOpenInactivityEvent(event);}}}
130
  function setOpenOnExitEvent(config)
public/js/PopupBuilder.js CHANGED
@@ -82,7 +82,7 @@ SGPBPopup.prototype.onceListener = function()
82
  var nextObj = popups[nextIndex];
83
 
84
  if (typeof nextObj == 'undefined') {
85
- jQuery('html').css({overflow: 'auto'});
86
  break;
87
  }
88
 
@@ -91,16 +91,16 @@ SGPBPopup.prototype.onceListener = function()
91
  }
92
  var options = SGPBPopup.getPopupOptionsById(nextObj.popupId);
93
  if (typeof options['sgpb-disable-page-scrolling'] == 'undefined') {
94
- jQuery('html').css({overflow: 'auto'});
95
  }
96
  else {
97
- jQuery('html').css({overflow: 'hidden'});
98
  }
99
  break;
100
  }
101
  }
102
  else {
103
- jQuery('html').css({overflow: 'auto'});
104
  }
105
  });
106
  };
@@ -225,6 +225,7 @@ SGPBPopup.prototype.prepareOpen = function()
225
  var popupId = this.getPopupId();
226
  var popupData = this.getPopupData();
227
  var popupZIndex = this.getCompatibleZiIndex(popupData['sgpb-popup-z-index']);
 
228
  this.setUpPopupConfig();
229
  var that = this;
230
 
@@ -246,10 +247,24 @@ SGPBPopup.prototype.prepareOpen = function()
246
  popupConfig.magicCall('setShowButton', SGPBPopup.varToBool(popupData['sgpb-enable-close-button']));
247
  /* Convert seconds to micro seconds */
248
  var openAnimationSpeed = parseInt(popupData['sgpb-open-animation-speed'])*1000;
 
249
  popupConfig.magicCall('setOpenAnimationEffect', popupData['sgpb-open-animation-effect']);
 
250
  popupConfig.magicCall('setOpenAnimationSpeed', openAnimationSpeed);
 
251
  popupConfig.magicCall('setOpenAnimationStatus', popupData['sgpb-open-animation']);
 
252
  popupConfig.magicCall('setContentPadding', popupData['sgpb-content-padding']);
 
 
 
 
 
 
 
 
 
 
253
  popupConfig.magicCall('setZIndex', popupZIndex);
254
  popupConfig.magicCall('setCloseButtonWidth', popupData['sgpb-button-image-width']);
255
  popupConfig.magicCall('setCloseButtonHeight', popupData['sgpb-button-image-height']);
@@ -275,6 +290,7 @@ SGPBPopup.prototype.prepareOpen = function()
275
  this.themeCustomizations();
276
 
277
  popupConfig.magicCall('setContents', document.getElementById('sg-popup-content-wrapper-'+popupId));
 
278
  this.setPopupConfig(popupConfig);
279
  this.popupTriggeringListeners();
280
 
@@ -310,6 +326,21 @@ SGPBPopup.prototype.checkCurrentPopupType = function()
310
  if (typeof className == 'undefined' || className == 'undefined') {
311
  return false;
312
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
313
  /* make the first letter of a string uppercase, then concat prefix (uppercase all prefix string) */
314
  className = popupConfig.prefix.toUpperCase() + className.firstToUpperCase();
315
  /* hasOwnProperty returns boolean value */
@@ -326,6 +357,35 @@ SGPBPopup.prototype.checkCurrentPopupType = function()
326
  return allowToOpen;
327
  };
328
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
329
  SGPBPopup.prototype.popupLimitation = function(popupData)
330
  {
331
  var currentUrl = window.location.href;
@@ -373,7 +433,9 @@ SGPBPopup.prototype.popupLimitation = function(popupData)
373
  if (typeof popupLimitationPageLevelCookie == 'undefined') {
374
  popupLimitationPageLevelCookie = '';
375
  }
376
- var popupLimitationPageLevelCookie = jQuery.parseJSON(popupLimitationPageLevelCookie);
 
 
377
  /* if has already another saving level cookie */
378
  if (popupLimitationPageLevelCookie) {
379
  SGPBPopup.deleteCookie(popupLimitationCookiePageLevelName, popupLimitationPageLevelCookie.openingPage);
@@ -408,6 +470,7 @@ SGPBPopup.prototype.themeCreator = function()
408
  var popupId = this.getPopupId();
409
  var popupConfig = this.getPopupConfig();
410
  var popupTheme = popupData['sgpb-popup-themes'];
 
411
  var closeButtonWidth = popupData['sgpb-button-image-width'];
412
  var closeButtonHeight = popupData['sgpb-button-image-height'];
413
  var contentPadding = parseInt(popupData['sgpb-content-padding']);
@@ -434,6 +497,19 @@ SGPBPopup.prototype.themeCreator = function()
434
  popupConfig.magicCall('setButtonPosition', closeButtonPosition);
435
  }
436
 
 
 
 
 
 
 
 
 
 
 
 
 
 
437
  if (popupTheme == 'sgpb-theme-1') {
438
  themeNumber = 1;
439
  popupConfig.magicCall('setShadowSpread', 14);
@@ -451,13 +527,20 @@ SGPBPopup.prototype.themeCreator = function()
451
  themeNumber = 2;
452
  popupConfig.magicCall('setButtonInside', false);
453
  popupConfig.magicCall('setContentBorderWidth', 1);
454
- popupConfig.magicCall('setContentBackgroundColor', 'black');
455
  popupConfig.magicCall('setContentBorderColor', 'transparent');
456
  popupConfig.magicCall('setOverlayColor', 'white');
 
 
 
 
 
 
 
457
  if (noPositionSelected || closeButtonPosition == 'topRight') {
458
  /* this theme has 1px border */
459
- popupConfig.magicCall('setCloseButtonPositionRight', '0');
460
- popupConfig.magicCall('setCloseButtonPositionTop', '-' + closeButtonHeight + 'px');
461
  }
462
  else {
463
  if (closeButtonPosition == 'topLeft') {
@@ -593,6 +676,7 @@ SGPBPopup.prototype.themeCustomizations = function()
593
  var popupId = this.getPopupId();
594
  var popupData = this.getPopupData();
595
  var popupConfig = this.getPopupConfig();
 
596
  var contentOpacity = popupData['sgpb-content-opacity'];
597
  var contentBgColor = popupData['sgpb-background-color'];
598
  var contentBgImage = popupData['sgpb-background-image'];
@@ -600,13 +684,24 @@ SGPBPopup.prototype.themeCustomizations = function()
600
  var contentBgImageMode = popupData['sgpb-background-image-mode'];
601
  var overlayColor = popupData['sgpb-overlay-color'];
602
  var popupTheme = popupData['sgpb-popup-themes'];
 
603
 
604
  if (typeof showContentBackground == 'undefined') {
605
  contentBgColor = '';
606
  contentBgImage = '';
607
  contentBgImageMode = '';
608
  }
 
 
 
 
 
 
 
609
 
 
 
 
610
  if (contentBgImageMode) {
611
  popupConfig.magicCall('setContentBackgroundMode', contentBgImageMode);
612
  }
@@ -810,14 +905,13 @@ SGPBPopup.prototype.popupTriggeringListeners = function()
810
  jQuery('.sgpb-theme-1-overlay').css({'background-image': 'none'});
811
  }
812
  if (SGPBPopup.varToBool(disablePageScrolling)) {
813
- jQuery('html').css({overflow: 'hidden'});
814
  }
815
  });
816
 
817
  sgAddEvent(window, 'sgpbWillOpen', function(e) {
818
  var args = e.detail;
819
  var popupId = parseInt(args['popupId']);
820
-
821
  that.htmlIframeFilterForOpen(args.popupId, 'open');
822
  that.replaceWithCustomShortcode(popupId);
823
  that.sgpbDontShowPopup(popupId);
@@ -847,8 +941,7 @@ SGPBPopup.prototype.popupTriggeringListeners = function()
847
 
848
  SGPBPopup.prototype.sgpbDontShowPopup = function(popupId)
849
  {
850
- var dontShowPopup = jQuery('#sg-popup-content-wrapper-' + popupId + ' [class^=sg-popup-dont-show]');
851
-
852
  if (!dontShowPopup.length) {
853
  return false;
854
  }
@@ -858,9 +951,9 @@ SGPBPopup.prototype.sgpbDontShowPopup = function(popupId)
858
  e.preventDefault();
859
  var expireTime = SGPB_POPUP_PARAMS.dontShowPopupExpireTime;
860
  var cookieName = 'sgDontShowPopup' + popupId;
861
- var classNameSearch = jQuery(this).attr('class').match(/^sg-popup-dont-show/);
862
  var className = classNameSearch['input'];
863
- var customExpireTime = className.match(/^sg-popup-dont-show-(\d+$)/);
864
 
865
  if (customExpireTime) {
866
  expireTime = parseInt(customExpireTime[1]);
@@ -1016,6 +1109,9 @@ SGPBPopup.prototype.findTargetInsideExceptionsList = function(targetName, except
1016
 
1017
  while (targetName.parentNode) {
1018
  targetName = targetName.parentNode;
 
 
 
1019
  var tagName = targetName.tagName.toLowerCase();
1020
  if (targetName === popupContentMainDiv) {
1021
  break;
@@ -1037,6 +1133,8 @@ SGPBPopup.prototype.contentCloseBehavior = function()
1037
  var redirectUrl = popupData['sgpb-click-redirect-to-url'];
1038
  var contentClickBehavior = popupData['sgpb-content-click-behavior'];
1039
  var redirectToNewTab = SGPBPopup.varToBool(popupData['sgpb-redirect-to-new-tab']);
 
 
1040
 
1041
  sgAddEvent(window, 'sgpbDidOpen', function(e) {
1042
 
@@ -1065,6 +1163,13 @@ SGPBPopup.prototype.contentCloseBehavior = function()
1065
  /*for do not copy when user click to any input element*/
1066
  if (exceptionList.indexOf(targetName) == -1 && !parentsIsInExceptionsList) {
1067
  that.contentCopyToClick();
 
 
 
 
 
 
 
1068
  }
1069
  }
1070
  else if (popupData['sgpb-disable-popup-closing'] != 'on') {
@@ -1123,6 +1228,16 @@ SGPBPopup.prototype.addFixedPosition = function()
1123
  positionBottom = 2;
1124
  }
1125
 
 
 
 
 
 
 
 
 
 
 
1126
  popupConfig.magicCall('setPositionTop', positionTop);
1127
  popupConfig.magicCall('setPositionRight', positionRight);
1128
  popupConfig.magicCall('setPositionBottom', positionBottom);
@@ -1140,13 +1255,23 @@ SGPBPopup.prototype.setPopupDimensions = function()
1140
  var minWidth = popupData['sgpb-min-width'];
1141
  var minHeight = popupData['sgpb-min-height'];
1142
  var contentPadding = popupData['sgpb-content-padding'];
 
1143
 
1144
  popupConfig.magicCall('setMaxWidth', maxWidth);
1145
  popupConfig.magicCall('setMaxHeight', maxHeight);
1146
  popupConfig.magicCall('setMinWidth', minWidth);
1147
  popupConfig.magicCall('setMinHeight', minHeight);
1148
 
 
 
 
 
1149
  if (dimensionData == 'responsiveMode') {
 
 
 
 
 
1150
  var dimensionMeasure = popupData['sgpb-responsive-dimension-measure'];
1151
  var popupConfig = this.getPopupConfig();
1152
 
82
  var nextObj = popups[nextIndex];
83
 
84
  if (typeof nextObj == 'undefined') {
85
+ jQuery('html, body').removeClass('sgpb-overflow-hidden');
86
  break;
87
  }
88
 
91
  }
92
  var options = SGPBPopup.getPopupOptionsById(nextObj.popupId);
93
  if (typeof options['sgpb-disable-page-scrolling'] == 'undefined') {
94
+ jQuery('html, body').removeClass('sgpb-overflow-hidden');
95
  }
96
  else {
97
+ jQuery('html, body').addClass('sgpb-overflow-hidden');
98
  }
99
  break;
100
  }
101
  }
102
  else {
103
+ jQuery('html, body').addClass('sgpb-overflow-hidden');
104
  }
105
  });
106
  };
225
  var popupId = this.getPopupId();
226
  var popupData = this.getPopupData();
227
  var popupZIndex = this.getCompatibleZiIndex(popupData['sgpb-popup-z-index']);
228
+ var popupType = this.popupData['sgpb-type'];
229
  this.setUpPopupConfig();
230
  var that = this;
231
 
247
  popupConfig.magicCall('setShowButton', SGPBPopup.varToBool(popupData['sgpb-enable-close-button']));
248
  /* Convert seconds to micro seconds */
249
  var openAnimationSpeed = parseInt(popupData['sgpb-open-animation-speed'])*1000;
250
+ var closeAnimationSpeed = parseInt(popupData['sgpb-close-animation-speed'])*1000;
251
  popupConfig.magicCall('setOpenAnimationEffect', popupData['sgpb-open-animation-effect']);
252
+ popupConfig.magicCall('setCloseAnimationEffect', popupData['sgpb-close-animation-effect']);
253
  popupConfig.magicCall('setOpenAnimationSpeed', openAnimationSpeed);
254
+ popupConfig.magicCall('setCloseAnimationSpeed', closeAnimationSpeed);
255
  popupConfig.magicCall('setOpenAnimationStatus', popupData['sgpb-open-animation']);
256
+ popupConfig.magicCall('setCloseAnimationStatus', popupData['sgpb-close-animation']);
257
  popupConfig.magicCall('setContentPadding', popupData['sgpb-content-padding']);
258
+ if (typeof SgpbRecentSalesPopupType != 'undefined') {
259
+ if (popupType == SgpbRecentSalesPopupType) {
260
+ /* set max z index for recent sales popup */
261
+ popupZIndex = 2147483647;
262
+ popupConfig.magicCall('setCloseAnimationEffect', 'fade');
263
+ popupConfig.magicCall('setCloseAnimationSpeed', 1000);
264
+ popupConfig.magicCall('setCloseAnimationStatus', 'on');
265
+ }
266
+ }
267
+
268
  popupConfig.magicCall('setZIndex', popupZIndex);
269
  popupConfig.magicCall('setCloseButtonWidth', popupData['sgpb-button-image-width']);
270
  popupConfig.magicCall('setCloseButtonHeight', popupData['sgpb-button-image-height']);
290
  this.themeCustomizations();
291
 
292
  popupConfig.magicCall('setContents', document.getElementById('sg-popup-content-wrapper-'+popupId));
293
+ popupConfig.magicCall('setPopupType', popupType);
294
  this.setPopupConfig(popupConfig);
295
  this.popupTriggeringListeners();
296
 
326
  if (typeof className == 'undefined' || className == 'undefined') {
327
  return false;
328
  }
329
+
330
+ if (typeof SGPB_POPUP_PARAMS.conditionalJsClasses != 'undefined' && SGPB_POPUP_PARAMS.conditionalJsClasses.length) {
331
+ var isAllowConditions = this.isAllowJsConditions();
332
+
333
+ if (!isAllowConditions) {
334
+ return false;
335
+ }
336
+ }
337
+
338
+ if (typeof this.allowAfterXPages != 'undefined') {
339
+ var allowAfterXPages = this.allowAfterXPages();
340
+ if (!allowAfterXPages) {
341
+ return false;
342
+ }
343
+ }
344
  /* make the first letter of a string uppercase, then concat prefix (uppercase all prefix string) */
345
  className = popupConfig.prefix.toUpperCase() + className.firstToUpperCase();
346
  /* hasOwnProperty returns boolean value */
357
  return allowToOpen;
358
  };
359
 
360
+ SGPBPopup.prototype.isAllowJsConditions = function() {
361
+ var conditions = SGPB_POPUP_PARAMS.conditionalJsClasses;
362
+ var isAllow = true;
363
+
364
+ for (var i in conditions) {
365
+ if (!conditions.hasOwnProperty(i)) {
366
+ break;
367
+ }
368
+
369
+ try {
370
+ var className = eval(conditions[i]);
371
+ }
372
+ catch (e) {
373
+ continue;
374
+ }
375
+ var obj = new className;
376
+ /* call allowToOpen function if exists */
377
+ if (typeof obj.allowToOpen === 'function') {
378
+ var allowToOpen = obj.allowToOpen(this.id);
379
+ if (!allowToOpen) {
380
+ isAllow = allowToOpen;
381
+ break;
382
+ }
383
+ }
384
+ }
385
+
386
+ return isAllow;
387
+ };
388
+
389
  SGPBPopup.prototype.popupLimitation = function(popupData)
390
  {
391
  var currentUrl = window.location.href;
433
  if (typeof popupLimitationPageLevelCookie == 'undefined') {
434
  popupLimitationPageLevelCookie = '';
435
  }
436
+ if (popupLimitationPageLevelCookie != '') {
437
+ var popupLimitationPageLevelCookie = jQuery.parseJSON(popupLimitationPageLevelCookie);
438
+ }
439
  /* if has already another saving level cookie */
440
  if (popupLimitationPageLevelCookie) {
441
  SGPBPopup.deleteCookie(popupLimitationCookiePageLevelName, popupLimitationPageLevelCookie.openingPage);
470
  var popupId = this.getPopupId();
471
  var popupConfig = this.getPopupConfig();
472
  var popupTheme = popupData['sgpb-popup-themes'];
473
+ var popupType = popupData['sgpb-type'];
474
  var closeButtonWidth = popupData['sgpb-button-image-width'];
475
  var closeButtonHeight = popupData['sgpb-button-image-height'];
476
  var contentPadding = parseInt(popupData['sgpb-content-padding']);
497
  popupConfig.magicCall('setButtonPosition', closeButtonPosition);
498
  }
499
 
500
+ var backgroundColor = 'black';
501
+ var recentSalesPopup = false;
502
+ if (typeof SgpbRecentSalesPopupType != 'undefined') {
503
+ if (popupType == SgpbRecentSalesPopupType) {
504
+ recentSalesPopup = true;
505
+ popupTheme = 'sgpb-theme-2';
506
+ closeButtonPosition = 'topRight';
507
+ backgroundColor = 'white';
508
+ popupConfig.magicCall('setShadowSpread', 3);
509
+ popupConfig.magicCall('setContentShadowBlur', 5);
510
+ }
511
+ }
512
+
513
  if (popupTheme == 'sgpb-theme-1') {
514
  themeNumber = 1;
515
  popupConfig.magicCall('setShadowSpread', 14);
527
  themeNumber = 2;
528
  popupConfig.magicCall('setButtonInside', false);
529
  popupConfig.magicCall('setContentBorderWidth', 1);
530
+ popupConfig.magicCall('setContentBackgroundColor', backgroundColor);
531
  popupConfig.magicCall('setContentBorderColor', 'transparent');
532
  popupConfig.magicCall('setOverlayColor', 'white');
533
+ var rightPosition = '0';
534
+ var topPosition = '-' + closeButtonHeight + 'px';
535
+ if (recentSalesPopup) {
536
+ rightPosition = '-' + (closeButtonWidth / 2) + 'px';
537
+ topPosition = '-' + (closeButtonHeight / 2) + 'px';
538
+ themeNumber = 6;
539
+ }
540
  if (noPositionSelected || closeButtonPosition == 'topRight') {
541
  /* this theme has 1px border */
542
+ popupConfig.magicCall('setCloseButtonPositionRight', rightPosition);
543
+ popupConfig.magicCall('setCloseButtonPositionTop', topPosition);
544
  }
545
  else {
546
  if (closeButtonPosition == 'topLeft') {
676
  var popupId = this.getPopupId();
677
  var popupData = this.getPopupData();
678
  var popupConfig = this.getPopupConfig();
679
+
680
  var contentOpacity = popupData['sgpb-content-opacity'];
681
  var contentBgColor = popupData['sgpb-background-color'];
682
  var contentBgImage = popupData['sgpb-background-image'];
684
  var contentBgImageMode = popupData['sgpb-background-image-mode'];
685
  var overlayColor = popupData['sgpb-overlay-color'];
686
  var popupTheme = popupData['sgpb-popup-themes'];
687
+ var popupType = popupData['sgpb-type'];
688
 
689
  if (typeof showContentBackground == 'undefined') {
690
  contentBgColor = '';
691
  contentBgImage = '';
692
  contentBgImageMode = '';
693
  }
694
+ if (typeof SgpbRecentSalesPopupType != 'undefined') {
695
+ if (popupType == SgpbRecentSalesPopupType) {
696
+ showContentBackground = 'on';
697
+ contentBgColor = popupData['sgpb-background-color'];
698
+ contentOpacity = popupData['sgpb-content-opacity'];
699
+ }
700
+ }
701
 
702
+ if (contentOpacity) {
703
+ popupConfig.magicCall('setContentBackgroundOpacity', contentOpacity);
704
+ }
705
  if (contentBgImageMode) {
706
  popupConfig.magicCall('setContentBackgroundMode', contentBgImageMode);
707
  }
905
  jQuery('.sgpb-theme-1-overlay').css({'background-image': 'none'});
906
  }
907
  if (SGPBPopup.varToBool(disablePageScrolling)) {
908
+ jQuery('html, body').addClass('sgpb-overflow-hidden');
909
  }
910
  });
911
 
912
  sgAddEvent(window, 'sgpbWillOpen', function(e) {
913
  var args = e.detail;
914
  var popupId = parseInt(args['popupId']);
 
915
  that.htmlIframeFilterForOpen(args.popupId, 'open');
916
  that.replaceWithCustomShortcode(popupId);
917
  that.sgpbDontShowPopup(popupId);
941
 
942
  SGPBPopup.prototype.sgpbDontShowPopup = function(popupId)
943
  {
944
+ var dontShowPopup = jQuery('.sgpb-content-' + popupId).parent().find('[class*="sg-popup-dont-show"]');
 
945
  if (!dontShowPopup.length) {
946
  return false;
947
  }
951
  e.preventDefault();
952
  var expireTime = SGPB_POPUP_PARAMS.dontShowPopupExpireTime;
953
  var cookieName = 'sgDontShowPopup' + popupId;
954
+ var classNameSearch = jQuery(this).attr('class').match(/sg-popup-dont-show/);
955
  var className = classNameSearch['input'];
956
+ var customExpireTime = className.match(/sg-popup-dont-show-(\d+$)/);
957
 
958
  if (customExpireTime) {
959
  expireTime = parseInt(customExpireTime[1]);
1109
 
1110
  while (targetName.parentNode) {
1111
  targetName = targetName.parentNode;
1112
+ if (typeof targetName.tagName == 'undefined') {
1113
+ continue;
1114
+ }
1115
  var tagName = targetName.tagName.toLowerCase();
1116
  if (targetName === popupContentMainDiv) {
1117
  break;
1133
  var redirectUrl = popupData['sgpb-click-redirect-to-url'];
1134
  var contentClickBehavior = popupData['sgpb-content-click-behavior'];
1135
  var redirectToNewTab = SGPBPopup.varToBool(popupData['sgpb-redirect-to-new-tab']);
1136
+ var closePopupAfterCopy = SGPBPopup.varToBool(popupData['sgpb-copy-to-clipboard-close-popup']);
1137
+ var clipboardAlert = SGPBPopup.varToBool(popupData['sgpb-copy-to-clipboard-alert']);
1138
 
1139
  sgAddEvent(window, 'sgpbDidOpen', function(e) {
1140
 
1163
  /*for do not copy when user click to any input element*/
1164
  if (exceptionList.indexOf(targetName) == -1 && !parentsIsInExceptionsList) {
1165
  that.contentCopyToClick();
1166
+
1167
+ if (closePopupAfterCopy) {
1168
+ SGPBPopup.closePopupById(that.getPopupId());
1169
+ }
1170
+ if (clipboardAlert) {
1171
+ alert(popupData['sgpb-copy-to-clipboard-message'])
1172
+ }
1173
  }
1174
  }
1175
  else if (popupData['sgpb-disable-popup-closing'] != 'on') {
1228
  positionBottom = 2;
1229
  }
1230
 
1231
+ if (typeof SgpbRecentSalesPopupType != 'undefined') {
1232
+ if (popupData['sgpb-type'] == SgpbRecentSalesPopupType) {
1233
+ if (positionTop != '') {
1234
+ positionTop = parseInt(positionTop+10);
1235
+ }
1236
+ else if (positionBottom != '') {
1237
+ positionBottom = parseInt(positionBottom+10);
1238
+ }
1239
+ }
1240
+ }
1241
  popupConfig.magicCall('setPositionTop', positionTop);
1242
  popupConfig.magicCall('setPositionRight', positionRight);
1243
  popupConfig.magicCall('setPositionBottom', positionBottom);
1255
  var minWidth = popupData['sgpb-min-width'];
1256
  var minHeight = popupData['sgpb-min-height'];
1257
  var contentPadding = popupData['sgpb-content-padding'];
1258
+ var popupType = popupData['sgpb-type'];
1259
 
1260
  popupConfig.magicCall('setMaxWidth', maxWidth);
1261
  popupConfig.magicCall('setMaxHeight', maxHeight);
1262
  popupConfig.magicCall('setMinWidth', minWidth);
1263
  popupConfig.magicCall('setMinHeight', minHeight);
1264
 
1265
+ if (popupType == 'image') {
1266
+ popupConfig.magicCall('setContentBackgroundImage', popupData['sgpb-image-url']);
1267
+ popupConfig.magicCall('setContentBackgroundMode', 'contain');
1268
+ }
1269
  if (dimensionData == 'responsiveMode') {
1270
+ /* for image popup type and responsive mode, set background image to fit */
1271
+ if (popupType == 'image') {
1272
+ popupConfig.magicCall('setContentBackgroundMode', 'fit');
1273
+ }
1274
+
1275
  var dimensionMeasure = popupData['sgpb-responsive-dimension-measure'];
1276
  var popupConfig = this.getPopupConfig();
1277
 
public/js/PopupConfig.js CHANGED
@@ -1,9 +1,9 @@
1
  function PopupConfig()
2
- {this.prefix='sgpb';this.popupId;this.popupData;this.openDelay=0;this.currentObj={};this.allowed=true;this.showButton=true;this.buttonPosition='topRight';this.buttonInside=true;this.autoclose=false;this.overlayShouldClose=true;this.contentShouldClose=false;this.escShouldClose=true;this.closeButtonImage=sgpbPublicUrl+'img/close.png';this.popupTheme=1;this.closeButtonWidth=21;this.closeButtonHeight=21;this.closeButtonWidthType='px';this.closeButtonHeightType='px';this.closeButtonType='IMG';this.closeButtonText='Close';this.closeButtonDelay=0;this.overlayVisible=true;this.overlayColor='black';this.overlayOpacity=80;this.overlayAddClass='sgpb-popup-overlay sg-popup-overlay';this.contentPadding=8;this.zIndex=9999;this.contentShowBackground=true;this.contentBackgroundColor='#ffffff';this.contentBackgroundImage='';this.contentBackgroundMode='none';this.contentBorderStyle='solid';this.contentBorderRadius=0;this.contentBorderRadiusType='%';this.contentBorderColor='#f00';this.contentBorderWidth=0;this.boxBorderWidth=0;this.contentShadowColor='#ccc';this.contentShadowBlur=0;this.scrollingEnabled=false;this.shadowSpread=0;this.contentAddClass='class2';this.contents=false;this.positionRight=false;this.positionTop=false;this.positionBottom=false;this.positionLeft=false;this.width='-1';this.height='-1';this.maxWidth='-1';this.maxHeight='-1';this.minWidth='-1';this.minHeight='-1';this.srcElement='';this.openAnimationEffect='';this.openAnimationSpeed=0;this.openAnimationStatus=false;}
3
  String.prototype.firstToLowerCase=function()
4
  {return this.charAt(0).toLowerCase()+this.slice(1);};String.prototype.firstToUpperCase=function()
5
  {return this.charAt(0).toUpperCase()+this.slice(1);};PopupConfig.prototype.magicCall=function(functionName,arrgname)
6
  {if(functionName.indexOf('get')!=-1){var param=functionName.replace(/^get/g,"").firstToLowerCase();return this[param];}
7
  else{var param=functionName.replace(/^set/g,"").firstToLowerCase();this[param]=arrgname;}};PopupConfig.prototype.addCustomEvent=function(eventName,args)
8
  {var event=document.createEvent('CustomEvent');event.initCustomEvent(eventName,true,true,args);window.dispatchEvent(event);};PopupConfig.prototype.combineConfigObj=function()
9
- {var that=this;var eventSendArgs={'popupId':that.popupId,'popupData':that.popupData,'currentObj':that.currentObj};var config={openDelay:this.openDelay,popupTheme:this.popupTheme,closeBehavior:{allowed:this.allowed,showButton:this.showButton,buttonPosition:this.buttonPosition,buttonInside:this.buttonInside,autoclose:this.autoclose,overlayShouldClose:this.overlayShouldClose,contentShouldClose:this.contentShouldClose,escShouldClose:this.escShouldClose,right:this.closeButtonPositionRight,top:this.closeButtonPositionTop,bottom:this.closeButtonPositionBottom,left:this.closeButtonPositionLeft},openAnimation:{type:this.openAnimationEffect,speed:this.openAnimationSpeed,status:this.openAnimationStatus},closeButton:{data:this.buttonImage,width:this.closeButtonWidth,height:this.closeButtonHeight,widthType:this.closeButtonWidthType,heightType:this.closeButtonHeightType,type:this.closeButtonType,text:this.closeButtonText},overlay:{visible:this.overlayVisible,color:this.overlayColor,opacity:this.overlayOpacity,addClass:this.overlayAddClass},contentBox:{padding:this.contentPadding,zIndex:this.zIndex,showBackground:this.contentShowBackground,backgroundColor:this.contentBackgroundColor,backgroundImage:this.contentBackgroundImage,backgroundMode:this.contentBackgroundMode,borderStyle:this.contentBorderStyle,borderRadius:this.contentBorderRadius,borderRadiusType:this.contentBorderRadiusType,borderColor:this.contentBorderColor,borderWidth:this.contentBorderWidth,boxBorderWidth:this.boxBorderWidth,shadowColor:this.contentShadowColor,shadowBlur:this.contentShadowBlur,scrollingEnabled:this.scrollingEnabled,shadowSpread:this.shadowSpread,addClass:this.contentAddClass},contents:this.contents,inline:this.srcElement,iframe:false,position:{right:this.positionRight,top:this.positionTop,bottom:this.positionBottom,left:this.positionLeft},sizingRanges:[{screenFrom:{width:0,height:0},screenTo:{width:320,height:3000},width:'100%',height:this.height,maxWidth:this.maxWidth,maxHeight:this.maxHeight,minWidth:this.minWidth,minHeight:this.minHeight},{screenFrom:{width:320,height:0},screenTo:{width:3000,height:3000},width:this.width,height:this.height,maxWidth:this.maxWidth,maxHeight:this.maxHeight,minWidth:this.minWidth,minHeight:this.minHeight}],shouldOpen:function(){that.addCustomEvent('sgpbShouldOpen',eventSendArgs);return true;},willOpen:function(){that.addCustomEvent('sgpbWillOpen',eventSendArgs);},didOpen:function(){that.addCustomEvent('sgpbDidOpen',eventSendArgs);},shouldClose:function(){that.addCustomEvent('sgpbShouldClose',eventSendArgs);return true;},willClose:function(){that.addCustomEvent('sgpbWillClose',eventSendArgs);},didClose:function(){that.addCustomEvent('sgpbDidClose',eventSendArgs);}};return config;};var obj=new PopupConfig();
1
  function PopupConfig()
2
+ {this.prefix='sgpb';this.popupId;this.popupData;this.openDelay=0;this.currentObj={};this.allowed=true;this.showButton=true;this.buttonPosition='topRight';this.buttonInside=true;this.autoclose=false;this.overlayShouldClose=true;this.contentShouldClose=false;this.escShouldClose=true;this.closeButtonImage=sgpbPublicUrl+'img/close.png';this.popupTheme=1;this.popupType='html';this.closeButtonWidth=21;this.closeButtonHeight=21;this.closeButtonWidthType='px';this.closeButtonHeightType='px';this.closeButtonType='IMG';this.closeButtonText='Close';this.closeButtonDelay=0;this.overlayVisible=true;this.overlayColor='black';this.overlayOpacity=80;this.overlayAddClass='sgpb-popup-overlay sg-popup-overlay';this.contentPadding=8;this.zIndex=9999;this.contentShowBackground=true;this.contentBackgroundColor='#ffffff';this.contentBackgroundImage='';this.contentBackgroundMode='none';this.contentBackgroundPosition='center';this.contentBorderStyle='solid';this.contentBorderRadius=0;this.contentBorderRadiusType='%';this.contentBorderColor='#f00';this.contentBorderWidth=0;this.boxBorderWidth=0;this.contentShadowColor='#ccc';this.contentShadowBlur=0;this.scrollingEnabled=false;this.shadowSpread=0;this.contentAddClass='class2';this.contents=false;this.positionRight=false;this.positionTop=false;this.positionBottom=false;this.positionLeft=false;this.width='-1';this.height='-1';this.maxWidth='-1';this.maxHeight='-1';this.minWidth='-1';this.minHeight='-1';this.srcElement='';this.openAnimationEffect='';this.openAnimationSpeed=0;this.openAnimationStatus=false;this.closeAnimationEffect='';this.closeAnimationSpeed=0;this.closeAnimationStatus=false;}
3
  String.prototype.firstToLowerCase=function()
4
  {return this.charAt(0).toLowerCase()+this.slice(1);};String.prototype.firstToUpperCase=function()
5
  {return this.charAt(0).toUpperCase()+this.slice(1);};PopupConfig.prototype.magicCall=function(functionName,arrgname)
6
  {if(functionName.indexOf('get')!=-1){var param=functionName.replace(/^get/g,"").firstToLowerCase();return this[param];}
7
  else{var param=functionName.replace(/^set/g,"").firstToLowerCase();this[param]=arrgname;}};PopupConfig.prototype.addCustomEvent=function(eventName,args)
8
  {var event=document.createEvent('CustomEvent');event.initCustomEvent(eventName,true,true,args);window.dispatchEvent(event);};PopupConfig.prototype.combineConfigObj=function()
9
+ {var that=this;var eventSendArgs={'popupId':that.popupId,'popupData':that.popupData,'currentObj':that.currentObj};var config={openDelay:this.openDelay,popupTheme:this.popupTheme,popupType:this.popupType,closeBehavior:{allowed:this.allowed,showButton:this.showButton,buttonPosition:this.buttonPosition,buttonInside:this.buttonInside,autoclose:this.autoclose,overlayShouldClose:this.overlayShouldClose,contentShouldClose:this.contentShouldClose,escShouldClose:this.escShouldClose,right:this.closeButtonPositionRight,top:this.closeButtonPositionTop,bottom:this.closeButtonPositionBottom,left:this.closeButtonPositionLeft},openAnimation:{type:this.openAnimationEffect,speed:this.openAnimationSpeed,status:this.openAnimationStatus},closeAnimation:{type:this.closeAnimationEffect,speed:this.closeAnimationSpeed,status:this.closeAnimationStatus},closeButton:{data:this.buttonImage,width:this.closeButtonWidth,height:this.closeButtonHeight,widthType:this.closeButtonWidthType,heightType:this.closeButtonHeightType,type:this.closeButtonType,text:this.closeButtonText},overlay:{visible:this.overlayVisible,color:this.overlayColor,opacity:this.overlayOpacity,addClass:this.overlayAddClass},contentBox:{padding:this.contentPadding,zIndex:this.zIndex,showBackground:this.contentShowBackground,backgroundColor:this.contentBackgroundColor,backgroundImage:this.contentBackgroundImage,backgroundMode:this.contentBackgroundMode,backgroundPosition:this.contentBackgroundPosition,borderStyle:this.contentBorderStyle,borderRadius:this.contentBorderRadius,borderRadiusType:this.contentBorderRadiusType,borderColor:this.contentBorderColor,borderWidth:this.contentBorderWidth,boxBorderWidth:this.boxBorderWidth,shadowColor:this.contentShadowColor,shadowBlur:this.contentShadowBlur,scrollingEnabled:this.scrollingEnabled,shadowSpread:this.shadowSpread,addClass:this.contentAddClass},contents:this.contents,inline:this.srcElement,iframe:false,position:{right:this.positionRight,top:this.positionTop,bottom:this.positionBottom,left:this.positionLeft},sizingRanges:[{screenFrom:{width:0,height:0},screenTo:{width:320,height:3000},width:'100%',height:this.height,maxWidth:this.maxWidth,maxHeight:this.maxHeight,minWidth:this.minWidth,minHeight:this.minHeight},{screenFrom:{width:320,height:0},screenTo:{width:3000,height:3000},width:this.width,height:this.height,maxWidth:this.maxWidth,maxHeight:this.maxHeight,minWidth:this.minWidth,minHeight:this.minHeight}],shouldOpen:function(){that.addCustomEvent('sgpbShouldOpen',eventSendArgs);return true;},willOpen:function(){that.addCustomEvent('sgpbWillOpen',eventSendArgs);},didOpen:function(){that.addCustomEvent('sgpbDidOpen',eventSendArgs);},shouldClose:function(){that.addCustomEvent('sgpbShouldClose',eventSendArgs);return true;},willClose:function(){that.addCustomEvent('sgpbWillClose',eventSendArgs);},didClose:function(){that.addCustomEvent('sgpbDidClose',eventSendArgs);}};return config;};var obj=new PopupConfig();
public/js/Subscription.js CHANGED
@@ -2,9 +2,10 @@ function SGPBSubscription()
2
  {this.expiryTime=365;this.submissionPopupId=0;this.newWindow=null;this.init();}
3
  SGPBSubscription.cookieName='SGPBSubscription';SGPBSubscription.prototype.init=function()
4
  {this.livePreview();this.formSubmission();};SGPBSubscription.prototype.formSubmission=function()
5
- {var that=this;jQuery(window).bind('sgpbDidOpen',function(e){var popupArgs=e.detail;var popupId=popupArgs.popupId;var popupOptions=SGPBPopup.getPopupOptionsById(popupId);var additionalPopupParams={};var subscriptionForm=jQuery('#sgpb-popup-dialog-main-div .sgpb-subs-form-'+popupId+' form');var submitButton=subscriptionForm.find('.js-subs-submit-btn');if(typeof sgpbSubsValidateObj!='object'){return false;}
 
6
  jQuery.validator.setDefaults({errorPlacement:function(error,element){var errorWrapperClassName=jQuery(element).attr('data-error-message-class');jQuery('.sgpb-subs-form-'+popupId+' .'+errorWrapperClassName).html(error);}});sgpbSubsValidateObj.submitHandler=function()
7
- {var formData=subscriptionForm.serialize();var ajaxData={action:'sgpb_subscription_submission',nonce:SGPB_JS_PARAMS.nonce,beforeSend:function(){submitButton.val(submitButton.attr('data-progress-title'));if(popupOptions['sgpb-subs-success-behavior']=='redirectToURL'&&popupOptions['sgpb-subs-success-redirect-new-tab']){that.newWindow=window.open(popupOptions['sgpb-subs-success-redirect-URL']);}},formData:formData,popupPostId:popupId};jQuery.post(SGPB_JS_PARAMS.ajaxUrl,ajaxData,function(res){that.submissionPopupId=popupId;jQuery('.sgpb-subs-form-'+popupId+' .sgpb-alert').addClass('sg-hide-element');submitButton.val(submitButton.attr('data-title'));additionalPopupParams['res']=res;that.showMessages(additionalPopupParams);})};subscriptionForm.validate(sgpbSubsValidateObj);jQuery.extend(jQuery.validator.messages,{email:popupOptions['sgpb-subs-invalid-message']});});jQuery(window).on('sgpbDidClose',function(e){var popupArgs=e.detail;var popupId=popupArgs.popupId;jQuery('.sgpb-subs-form-'+popupId+' form label.error').hide();});};SGPBSubscription.prototype.showMessages=function(res)
8
  {var that=this;if(res['res']==1){this.subscriptionSuccessBehavior();}
9
  else{if(that.newWindow!=null){that.newWindow.close();}
10
  this.showErrorMessage();}
2
  {this.expiryTime=365;this.submissionPopupId=0;this.newWindow=null;this.init();}
3
  SGPBSubscription.cookieName='SGPBSubscription';SGPBSubscription.prototype.init=function()
4
  {this.livePreview();this.formSubmission();};SGPBSubscription.prototype.formSubmission=function()
5
+ {var that=this;if(typeof sgAddEvent=='undefined'){return false;}
6
+ sgAddEvent(window,'sgpbDidOpen',function(e){var popupArgs=e.detail;var popupId=popupArgs.popupId;var popupOptions=SGPBPopup.getPopupOptionsById(popupId);var additionalPopupParams={};var subscriptionForm=jQuery('#sgpb-popup-dialog-main-div .sgpb-subs-form-'+popupId+' form');var submitButton=subscriptionForm.find('.js-subs-submit-btn');if(typeof sgpbSubsValidateObj!='object'){return false;}
7
  jQuery.validator.setDefaults({errorPlacement:function(error,element){var errorWrapperClassName=jQuery(element).attr('data-error-message-class');jQuery('.sgpb-subs-form-'+popupId+' .'+errorWrapperClassName).html(error);}});sgpbSubsValidateObj.submitHandler=function()
8
+ {var formData=subscriptionForm.serialize();var ajaxData={action:'sgpb_subscription_submission',nonce:SGPB_JS_PARAMS.nonce,beforeSend:function(){submitButton.val(submitButton.attr('data-progress-title'));if(popupOptions['sgpb-subs-success-behavior']=='redirectToURL'&&popupOptions['sgpb-subs-success-redirect-new-tab']){that.newWindow=window.open(popupOptions['sgpb-subs-success-redirect-URL']);}},formData:formData,popupPostId:popupId};jQuery.post(SGPB_JS_PARAMS.ajaxUrl,ajaxData,function(res){that.submissionPopupId=popupId;jQuery('.sgpb-subs-form-'+popupId+' .sgpb-alert').addClass('sg-hide-element');submitButton.val(submitButton.attr('data-title'));additionalPopupParams['res']=res;that.showMessages(additionalPopupParams);})};subscriptionForm.validate(sgpbSubsValidateObj);jQuery.extend(jQuery.validator.messages,{email:popupOptions['sgpb-subs-invalid-message'],required:popupOptions['sgpb-subs-validation-message']});});jQuery(window).on('sgpbDidClose',function(e){var popupArgs=e.detail;var popupId=popupArgs.popupId;jQuery('.sgpb-subs-form-'+popupId+' form label.error').hide();});};SGPBSubscription.prototype.showMessages=function(res)
9
  {var that=this;if(res['res']==1){this.subscriptionSuccessBehavior();}
10
  else{if(that.newWindow!=null){that.newWindow.close();}
11
  this.showErrorMessage();}
public/views/behaviorAfterSpecialEventsView.php CHANGED
@@ -4,7 +4,7 @@ $data = $popupTypeObj->getOptionValue('sgpb-behavior-after-special-events');
4
  $builder = ConditionBuilder::createBehaviorAfterSpecialEventsConditionBuilder($data);
5
  ?>
6
 
7
- <div class="popup-conditions-wrapper behavior-after-special-events-wrapper" data-condition-type="behavior-after-special-events">
8
  <?php
9
  $creator = new ConditionCreator($builder);
10
  echo $creator->render();
4
  $builder = ConditionBuilder::createBehaviorAfterSpecialEventsConditionBuilder($data);
5
  ?>
6
 
7
+ <div class="popup-conditions-wrapper popup-special-conditions-wrapper behavior-after-special-events-wrapper" data-condition-type="behavior-after-special-events">
8
  <?php
9
  $creator = new ConditionCreator($builder);
10
  echo $creator->render();
public/views/closeSettingsView.php CHANGED
@@ -57,27 +57,30 @@
57
  </div>
58
  </div>
59
  <div class="sg-full-width">
60
- <div class="row form-group">
61
- <label for="sgpb-close-button-delay" class="col-md-5 control-label sgpb-sub-option">
62
- <?php _e('Button delay', SG_POPUP_TEXT_DOMAIN)?>:
63
- </label>
64
- <div class="col-md-6">
65
- <input type="number" min="0" id="sgpb-close-button-delay" class="sgpb-full-width-events form-control" name="sgpb-close-button-delay" value="<?php echo $popupTypeObj->getOptionValue('sgpb-close-button-delay'); ?>" placeholder="e.g.: 1">
 
 
 
 
 
 
 
 
66
  </div>
67
- <div class="col-md-1 sgpb-info-wrapper">
68
- <span class="dashicons dashicons-editor-help sgpb-info-icon sgpb-info-icon-align"></span>
69
- <span class="infoSelectRepeat samefontStyle sgpb-info-text">
70
- <?php _e('Specify the time (in seconds) after which the close button will appear. The close button will be shown by default without any delay if no time is specified', SG_POPUP_TEXT_DOMAIN)?>.
71
- </span>
 
 
72
  </div>
73
- </div>
74
- <div class="row form-group">
75
- <label for="redirect-to-url" class="col-md-5 control-label sgpb-sub-option">
76
- <?php _e('Button position', SG_POPUP_TEXT_DOMAIN)?>:
77
- </label>
78
- <div class="col-md-6"><?php echo AdminHelper::createSelectBox($defaultCloseButtonPositions, $closeButtonPosition, array('name' => 'sgpb-close-button-position', 'class'=>'js-sg-select2 sgpb-close-button-position')); ?></div>
79
- </div>
80
-
81
  <div class="<?php echo ($popupTypeObj->getOptionValue('sgpb-popup-themes') == 'sgpb-theme-4') ? 'sg-hide ' : '' ;?>sgpb-close-button-image-option-wrapper">
82
  <div class="row form-group">
83
  <label for="redirect-to-url" class="col-md-5 control-label sgpb-static-padding-top sgpb-sub-option">
57
  </div>
58
  </div>
59
  <div class="sg-full-width">
60
+ <?php if (empty($removedOptions['sgpb-close-button-delay'])) :?>
61
+ <div class="row form-group">
62
+ <label for="sgpb-close-button-delay" class="col-md-5 control-label sgpb-sub-option">
63
+ <?php _e('Button delay', SG_POPUP_TEXT_DOMAIN)?>:
64
+ </label>
65
+ <div class="col-md-6">
66
+ <input type="number" min="0" id="sgpb-close-button-delay" class="sgpb-full-width-events form-control" name="sgpb-close-button-delay" value="<?php echo $popupTypeObj->getOptionValue('sgpb-close-button-delay'); ?>" placeholder="e.g.: 1">
67
+ </div>
68
+ <div class="col-md-1 sgpb-info-wrapper">
69
+ <span class="dashicons dashicons-editor-help sgpb-info-icon sgpb-info-icon-align"></span>
70
+ <span class="infoSelectRepeat samefontStyle sgpb-info-text">
71
+ <?php _e('Specify the time (in seconds) after which the close button will appear. The close button will be shown by default without any delay if no time is specified', SG_POPUP_TEXT_DOMAIN)?>.
72
+ </span>
73
+ </div>
74
  </div>
75
+ <?php endif; ?>
76
+ <?php if (empty($removedOptions['sgpb-close-button-position'])) :?>
77
+ <div class="row form-group">
78
+ <label for="redirect-to-url" class="col-md-5 control-label sgpb-sub-option">
79
+ <?php _e('Button position', SG_POPUP_TEXT_DOMAIN)?>:
80
+ </label>
81
+ <div class="col-md-6"><?php echo AdminHelper::createSelectBox($defaultCloseButtonPositions, $closeButtonPosition, array('name' => 'sgpb-close-button-position', 'class'=>'js-sg-select2 sgpb-close-button-position')); ?></div>
82
  </div>
83
+ <?php endif; ?>
 
 
 
 
 
 
 
84
  <div class="<?php echo ($popupTypeObj->getOptionValue('sgpb-popup-themes') == 'sgpb-theme-4') ? 'sg-hide ' : '' ;?>sgpb-close-button-image-option-wrapper">
85
  <div class="row form-group">
86
  <label for="redirect-to-url" class="col-md-5 control-label sgpb-static-padding-top sgpb-sub-option">
public/views/conditionsView.php CHANGED
@@ -1,7 +1,6 @@
1
  <?php
2
  namespace sgpb;
3
  use sgpb\PopupBuilderActivePackage;
4
-
5
  $targetData = $popupTypeObj->getOptionValue('sgpb-conditions');
6
  $popupTargetData = ConditionBuilder::createConditionBuilder($targetData);
7
  $conditionsCanBeUsed = PopupBuilderActivePackage::canUseSection('popupConditionsSection');
1
  <?php
2
  namespace sgpb;
3
  use sgpb\PopupBuilderActivePackage;
 
4
  $targetData = $popupTypeObj->getOptionValue('sgpb-conditions');
5
  $popupTargetData = ConditionBuilder::createConditionBuilder($targetData);
6
  $conditionsCanBeUsed = PopupBuilderActivePackage::canUseSection('popupConditionsSection');
public/views/options/subscription.php CHANGED
@@ -10,6 +10,12 @@
10
  $popupId = (int)$_GET['post'];
11
  }
12
  $subscriptionSubPopups = $popupTypeObj->getPopupsIdAndTitle();
 
 
 
 
 
 
13
  ?>
14
  <div class="sgpb-wrapper">
15
  <div class="row">
@@ -351,7 +357,7 @@
351
  <?php _e('Select popup', SG_POPUP_TEXT_DOMAIN)?>:
352
  </label>
353
  <div class="col-md-6">
354
- <?php echo AdminHelper::createSelectBox($subscriptionSubPopups, $popupTypeObj->getOptionValue('sgpb-subs-success-popup'), array('name' => 'sgpb-subs-success-popup', 'class'=>'js-sg-select2 sgpb-full-width-events')); ?>
355
  </div>
356
  </div>
357
  </div>
10
  $popupId = (int)$_GET['post'];
11
  }
12
  $subscriptionSubPopups = $popupTypeObj->getPopupsIdAndTitle();
13
+ $successPopup = $popupTypeObj->getOptionValue('sgpb-subs-success-popup');
14
+
15
+ // for old popups
16
+ if (function_exists('sgpb\sgpGetCorrectPopupId')) {
17
+ $successPopup = sgpb\sgpGetCorrectPopupId($successPopup);
18
+ }
19
  ?>
20
  <div class="sgpb-wrapper">
21
  <div class="row">
357
  <?php _e('Select popup', SG_POPUP_TEXT_DOMAIN)?>:
358
  </label>
359
  <div class="col-md-6">
360
+ <?php echo AdminHelper::createSelectBox($subscriptionSubPopups, $successPopup, array('name' => 'sgpb-subs-success-popup', 'class'=>'js-sg-select2 sgpb-full-width-events')); ?>
361
  </div>
362
  </div>
363
  </div>
public/views/optionsView.php CHANGED
@@ -4,8 +4,22 @@ use sgpb\MultipleChoiceButton;
4
  use sgpb\PopupBuilderActivePackage;
5
  $removedOptions = $popupTypeObj->getRemoveOptions();
6
  $defaultData = ConfigDataHelper::defaultData();
 
 
 
 
 
 
 
 
7
  $autoClose = PopupBuilderActivePackage::canUseOption('sgpb-auto-close');
8
-
 
 
 
 
 
 
9
  ?>
10
  <div class="sgpb-wrapper">
11
  <div class="row">
@@ -44,6 +58,30 @@ $autoClose = PopupBuilderActivePackage::canUseOption('sgpb-auto-close');
44
  </label>
45
  <div class="col-md-6"><input name="sgpb-copy-to-clipboard-text" id="sgpb-copy-to-clipboard-text" class="form-control sgpb-full-width-events" value="<?php echo esc_attr($popupTypeObj->getOptionValue('sgpb-copy-to-clipboard-text')); ?>"></div>
46
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  </div>
48
  </div>
49
  <?php endif; ?>
@@ -105,6 +143,45 @@ $autoClose = PopupBuilderActivePackage::canUseOption('sgpb-auto-close');
105
  </div>
106
  <?php endif; ?>
107
  <!-- this often end -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  <div class="row form-group">
109
  <label class="col-md-5" for="open-sound">
110
  <?php _e('Popup opening sound', SG_POPUP_TEXT_DOMAIN); ?>:
@@ -137,6 +214,7 @@ $autoClose = PopupBuilderActivePackage::canUseOption('sgpb-auto-close');
137
  </div>
138
  </div>
139
  </div>
 
140
  <div class="row form-group">
141
  <label class="col-md-5" for="open-animation">
142
  <?php _e('Popup opening animation', SG_POPUP_TEXT_DOMAIN); ?>:
@@ -151,7 +229,7 @@ $autoClose = PopupBuilderActivePackage::canUseOption('sgpb-auto-close');
151
  <?php _e('Type', SG_POPUP_TEXT_DOMAIN); ?>:
152
  </label>
153
  <div class="col-md-6 sgpb-select2-input-styles">
154
- <?php echo AdminHelper::createSelectBox($defaultData['openAnimationEfects'], esc_attr($popupTypeObj->getOptionValue('sgpb-open-animation-effect')), array('name' => 'sgpb-open-animation-effect', 'class'=>'js-sg-select2 sgpb-open-animation-effects')); ?>
155
  </div>
156
  <div class="col-md-1">
157
  <span class="sgpb-preview-animation"></span>
@@ -172,6 +250,44 @@ $autoClose = PopupBuilderActivePackage::canUseOption('sgpb-auto-close');
172
  </div>
173
  </div>
174
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
175
  <div class="row form-group">
176
  <label class="col-md-5 sgpb-static-padding-top" for="popup-fixed">
177
  <?php _e('Popup location', SG_POPUP_TEXT_DOMAIN); ?>:
@@ -211,18 +327,21 @@ $autoClose = PopupBuilderActivePackage::canUseOption('sgpb-auto-close');
211
  </div>
212
  </div>
213
  <?php endif; ?>
214
- <div class="row form-group">
215
- <label for="content-scrolling" class="col-md-5 control-label sgpb-static-padding-top">
216
- <?php _e('Enable content scrolling', SG_POPUP_TEXT_DOMAIN)?>:
217
- </label>
218
- <div class="col-md-6">
219
- <input type="checkbox" id="content-scrolling" name="sgpb-enable-content-scrolling" <?php echo $popupTypeObj->getOptionValue('sgpb-enable-content-scrolling'); ?>>
220
- <span class="dashicons dashicons-editor-help sgpb-info-icon sgpb-info-icon-align"></span>
221
- <span class="infoSelectRepeat samefontStyle sgpb-info-text">
222
- <?php _e('If the content is larger than the specified dimensions, then the content will be scrollable', SG_POPUP_TEXT_DOMAIN)?>.
223
- </span>
 
 
224
  </div>
225
- </div>
 
226
  <div class="row form-group">
227
  <label class="col-md-5 sgpb-static-padding-top" for="auto-close">
228
  <?php _e('Auto close popup', SG_POPUP_TEXT_DOMAIN); ?>:
@@ -240,7 +359,8 @@ $autoClose = PopupBuilderActivePackage::canUseOption('sgpb-auto-close');
240
  </div>
241
  <?php endif; ?>
242
  </div>
243
- <?php if ($autoClose): ?>
 
244
  <div class="sg-full-width">
245
  <div class="row form-group">
246
  <label class="col-md-5 sgpb-static-padding-top sgpb-sub-option">
@@ -271,6 +391,8 @@ $autoClose = PopupBuilderActivePackage::canUseOption('sgpb-auto-close');
271
  </div>
272
  </div>
273
  <?php endif; ?>
 
 
274
  <div class="row form-group">
275
  <label class="col-md-5 sgpb-static-padding-top" for="sgpb-popup-order">
276
  <?php _e('Popup order', SG_POPUP_TEXT_DOMAIN); ?>:
@@ -285,21 +407,25 @@ $autoClose = PopupBuilderActivePackage::canUseOption('sgpb-auto-close');
285
  </span>
286
  </div>
287
  </div>
288
- <div class="row form-group">
289
- <label class="col-md-5 sgpb-static-padding-top" for="sgpb-popup-delay">
290
- <?php _e('Custom event delay', SG_POPUP_TEXT_DOMAIN); ?>:
291
- </label>
292
- <div class="col-md-6">
293
- <input type="number" min="0" name="sgpb-popup-delay" id="sgpb-popup-delay" class="form-control sgpb-full-width-events" value="<?php echo (int)$popupTypeObj->getOptionValue('sgpb-popup-delay'); ?>">
294
- </div>
295
- <div class="col-md-1 sgpb-info-wrapper">
296
- <span class="dashicons dashicons-editor-help sgpb-info-icon sgpb-info-icon-align"></span>
297
- <span class="infoSelectRepeat samefontStyle sgpb-info-text" style="display: none;">
298
- <?php _e('You can add an opening delay for the popup, in seconds. This will refer to custom events, like:
299
- Shortcodes, custom CSS classes, HTML attributes, or JS called custom events', SG_POPUP_TEXT_DOMAIN)?>.
300
- </span>
 
 
 
 
301
  </div>
302
- </div>
303
  </div>
304
  </div>
305
  </div>
4
  use sgpb\PopupBuilderActivePackage;
5
  $removedOptions = $popupTypeObj->getRemoveOptions();
6
  $defaultData = ConfigDataHelper::defaultData();
7
+ $defaultAnimation = esc_attr($popupTypeObj->getOptionValue('sgpb-open-animation-effect'));
8
+ if (!empty($_GET['sgpb_type'])) {
9
+ if (defined('SGPB_POPUP_TYPE_RECENT_SALES')) {
10
+ if ($_GET['sgpb_type'] == defined('SGPB_POPUP_TYPE_RECENT_SALES') && !$popupTypeObj->getOptionValue('sgpb-open-animation-effect')) {
11
+ $defaultAnimation = 'sgpb-fadeIn';
12
+ }
13
+ }
14
+ }
15
  $autoClose = PopupBuilderActivePackage::canUseOption('sgpb-auto-close');
16
+ $afterXpagesUseOption = PopupBuilderActivePackage::canUseOption('sgpb-show-popup-after-x-pages');
17
+ if (!empty($removedOptions['content-copy-to-clipboard'])) {
18
+ if (isset($defaultData['contentClickOptions']['fields'])) {
19
+ // where 2 is copy to clipboard index
20
+ unset($defaultData['contentClickOptions']['fields'][2]);
21
+ }
22
+ }
23
  ?>
24
  <div class="sgpb-wrapper">
25
  <div class="row">
58
  </label>
59
  <div class="col-md-6"><input name="sgpb-copy-to-clipboard-text" id="sgpb-copy-to-clipboard-text" class="form-control sgpb-full-width-events" value="<?php echo esc_attr($popupTypeObj->getOptionValue('sgpb-copy-to-clipboard-text')); ?>"></div>
60
  </div>
61
+ <div class="row form-group">
62
+ <label for="sgpb-copy-to-clipboard-close-popup" class="col-md-5 control-label sgpb-static-padding-top sgpb-double-sub-option">
63
+ <?php _e('Close popup', SG_POPUP_TEXT_DOMAIN)?>:
64
+ </label>
65
+ <div class="col-md-6"><input type="checkbox" name="sgpb-copy-to-clipboard-close-popup" id="sgpb-copy-to-clipboard-close-popup" <?php echo $popupTypeObj->getOptionValue('sgpb-copy-to-clipboard-close-popup'); ?>></div>
66
+ </div>
67
+ <div class="row form-group">
68
+ <label for="sgpb-copy-to-clipboard-alert" class="col-md-5 control-label sgpb-static-padding-top sgpb-double-sub-option">
69
+ <?php _e('Show alert', SG_POPUP_TEXT_DOMAIN)?>:
70
+ </label>
71
+ <div class="col-md-6">
72
+ <input type="checkbox" id="sgpb-copy-to-clipboard-alert" class="js-checkbox-accordion" name="sgpb-copy-to-clipboard-alert" <?php echo $popupTypeObj->getOptionValue('sgpb-copy-to-clipboard-alert'); ?>>
73
+ </div>
74
+ </div>
75
+ <div class="sg-full-width form-group">
76
+ <div class="row">
77
+ <label for="col-md-5 sgpb-copy-to-clipboard-message" class="col-md-5 control-label sgpb-static-padding-top sgpb-double-sub-option">
78
+ <?php _e('Message', SG_POPUP_TEXT_DOMAIN)?>:
79
+ </label>
80
+ <div class="col-md-6">
81
+ <input type="text" id="sgpb-copy-to-clipboard-message" class="form-control sgpb-full-width-events " name="sgpb-copy-to-clipboard-message" value="<?php echo $popupTypeObj->getOptionValue('sgpb-copy-to-clipboard-message'); ?>">
82
+ </div>
83
+ </div>
84
+ </div>
85
  </div>
86
  </div>
87
  <?php endif; ?>
143
  </div>
144
  <?php endif; ?>
145
  <!-- this often end -->
146
+ <?php if (empty($removedOptions['sgpb-show-popup-after-x-pages'])): ?>
147
+ <div class="row form-group">
148
+ <label for="sgpb-show-popup-after-x-pages" class="col-md-5 control-label sgpb-static-padding-top">
149
+ <?php _e('After X pages visit', SG_POPUP_TEXT_DOMAIN)?>:
150
+ </label>
151
+ <div class="col-md-2<?php echo (!$afterXpagesUseOption) ? ' sgpb-pro-options-row' : '' ;?>">
152
+ <?php if($afterXpagesUseOption): ?>
153
+ <input type="checkbox" id="sgpb-show-popup-after-x-pages" name="sgpb-show-popup-after-x-pages" class="js-checkbox-accordion" <?php echo $popupTypeObj->getOptionValue('sgpb-show-popup-after-x-pages'); ?>>
154
+ <span class="dashicons dashicons-editor-help sgpb-info-icon sgpb-info-icon-align"></span>
155
+ <span class="infoSelectRepeat samefontStyle sgpb-info-text" style="display: none;">
156
+ <?php _e('If this option is enabled, you can show a popup after the user has visited your specified number of pages.', SG_POPUP_TEXT_DOMAIN);?>
157
+ </span>
158
+ <?php else: ?>
159
+ <input type="checkbox" id="sgpb-show-popup-after-x-pages" name="sgpb-show-popup-after-x-pages" class="js-checkbox-accordion" disabled>
160
+ <?php endif; ?>
161
+ </div>
162
+ <?php if (!$afterXpagesUseOption): ?>
163
+ <div class="col-md-2 sgpb-pro-options-label-wrapper">
164
+ <a href="<?php echo SG_POPUP_PRO_URL;?>" target="_blank" class="btn btn-warning btn-xs sgpb-pro-label-sm"><?php _e('Upgrade to PRO', SG_POPUP_TEXT_DOMAIN) ?></a>
165
+ </div>
166
+ <?php endif; ?>
167
+ </div>
168
+ <div class="sg-full-width">
169
+ <div class="row form-group">
170
+ <label for="sgpb-show-popup-after-x-pages-count" class="col-md-5 control-label sgpb-static-padding-top sgpb-sub-option">
171
+ <?php _e('is at least', SG_POPUP_TEXT_DOMAIN)?>:
172
+ </label>
173
+ <div class="col-md-6">
174
+ <input type="number" min="1" disabled required id="sgpb-show-popup-after-x-pages-count" class="sgpb-full-width-events form-control" name="sgpb-show-popup-after-x-pages-count" value="<?php echo $popupTypeObj->getOptionValue('sgpb-show-popup-after-x-pages-count'); ?>">
175
+ </div>
176
+ <div class="col-md-1 sgpb-info-wrapper">
177
+ <span class="dashicons dashicons-editor-help sgpb-info-icon sgpb-info-icon-align"></span>
178
+ <span class="infoSelectRepeat samefontStyle sgpb-info-text" style="display: none;">
179
+ <?php _e('Select the number of pages after visiting which the popup will open. If the number is set 1, the popup will be shown from the 2nd page visit.', SG_POPUP_TEXT_DOMAIN);?>
180
+ </span>
181
+ </div>
182
+ </div>
183
+ </div>
184
+ <?php endif;?>
185
  <div class="row form-group">
186
  <label class="col-md-5" for="open-sound">
187
  <?php _e('Popup opening sound', SG_POPUP_TEXT_DOMAIN); ?>:
214
  </div>
215
  </div>
216
  </div>
217
+ <!-- opening animation -->
218
  <div class="row form-group">
219
  <label class="col-md-5" for="open-animation">
220
  <?php _e('Popup opening animation', SG_POPUP_TEXT_DOMAIN); ?>:
229
  <?php _e('Type', SG_POPUP_TEXT_DOMAIN); ?>:
230
  </label>
231
  <div class="col-md-6 sgpb-select2-input-styles">
232
+ <?php echo AdminHelper::createSelectBox($defaultData['openAnimationEfects'], $defaultAnimation, array('name' => 'sgpb-open-animation-effect', 'class'=>'js-sg-select2 sgpb-open-animation-effects')); ?>
233
  </div>
234
  <div class="col-md-1">
235
  <span class="sgpb-preview-animation"></span>
250
  </div>
251
  </div>
252
  </div>
253
+ <!-- opening animation end -->
254
+ <!-- closing animation -->
255
+ <div class="row form-group">
256
+ <label class="col-md-5" for="open-animation">
257
+ <?php _e('Popup closing animation', SG_POPUP_TEXT_DOMAIN); ?>:
258
+ </label>
259
+ <div class="col-md-6">
260
+ <input type="checkbox" id="close-animation" class="js-checkbox-accordion" name="sgpb-close-animation" <?php echo $popupTypeObj->getOptionValue('sgpb-close-animation'); ?>>
261
+ </div>
262
+ </div>
263
+ <div class="sg-full-width form-group">
264
+ <div class="row">
265
+ <label class="col-md-5 sgpb-align-with-select2 sgpb-sub-option">
266
+ <?php _e('Type', SG_POPUP_TEXT_DOMAIN); ?>:
267
+ </label>
268
+ <div class="col-md-6 sgpb-select2-input-styles">
269
+ <?php echo AdminHelper::createSelectBox($defaultData['closeAnimationEfects'], esc_attr($popupTypeObj->getOptionValue('sgpb-close-animation-effect')), array('name' => 'sgpb-close-animation-effect', 'class'=>'js-sg-select2 sgpb-close-animation-effects')); ?>
270
+ </div>
271
+ <div class="col-md-1">
272
+ <span class="sgpb-preview-close-animation"></span>
273
+ </div>
274
+ </div>
275
+ <div class="row">
276
+ <label class="col-md-5 sgpb-static-padding-top sgpb-sub-option" for="sgpb-close-animation-speed">
277
+ <?php _e('Speed', SG_POPUP_TEXT_DOMAIN); ?>:
278
+ </label>
279
+ <div class="col-md-6">
280
+ <input type="number" min="1" data-default="<?php echo esc_attr($popupTypeObj->getOptionDefaultValue('sgpb-close-animation-speed'))?>" class="js-sgpb-reset-default-value sgpb-full-width-events form-control" id="sgpb-close-animation-speed" name="sgpb-close-animation-speed" value="<?php echo esc_attr($popupTypeObj->getOptionValue('sgpb-close-animation-speed'))?>">
281
+ </div>
282
+ <div class="col-md-1 sgpb-relative-position">
283
+ <span class="sgpb-restriction-unit">
284
+ <?php _e('Second(s)', SG_POPUP_TEXT_DOMAIN)?>
285
+ </span>
286
+ <div id="js-close-animation-effect"></div>
287
+ </div>
288
+ </div>
289
+ </div>
290
+ <!-- closing animation end -->
291
  <div class="row form-group">
292
  <label class="col-md-5 sgpb-static-padding-top" for="popup-fixed">
293
  <?php _e('Popup location', SG_POPUP_TEXT_DOMAIN); ?>:
327
  </div>
328
  </div>
329
  <?php endif; ?>
330
+ <?php if (empty($removedOptions['sgpb-enable-content-scrolling'])): ?>
331
+ <div class="row form-group">
332
+ <label for="content-scrolling" class="col-md-5 control-label sgpb-static-padding-top">
333
+ <?php _e('Enable content scrolling', SG_POPUP_TEXT_DOMAIN)?>:
334
+ </label>
335
+ <div class="col-md-6">
336
+ <input type="checkbox" id="content-scrolling" name="sgpb-enable-content-scrolling" <?php echo $popupTypeObj->getOptionValue('sgpb-enable-content-scrolling'); ?>>
337
+ <span class="dashicons dashicons-editor-help sgpb-info-icon sgpb-info-icon-align"></span>
338
+ <span class="infoSelectRepeat samefontStyle sgpb-info-text">
339
+ <?php _e('If the content is larger than the specified dimensions, then the content will be scrollable', SG_POPUP_TEXT_DOMAIN)?>.
340
+ </span>
341
+ </div>
342
  </div>
343
+ <?php endif; ?>
344
+ <?php if (empty($removedOptions['sgpb-auto-close'])): ?>
345
  <div class="row form-group">
346
  <label class="col-md-5 sgpb-static-padding-top" for="auto-close">
347
  <?php _e('Auto close popup', SG_POPUP_TEXT_DOMAIN); ?>:
359
  </div>
360
  <?php endif; ?>
361
  </div>
362
+ <?php endif; ?>
363
+ <?php if ($autoClose && empty($removedOptions['sgpb-auto-close-time'])): ?>
364
  <div class="sg-full-width">
365
  <div class="row form-group">
366
  <label class="col-md-5 sgpb-static-padding-top sgpb-sub-option">
391
  </div>
392
  </div>
393
  <?php endif; ?>
394
+
395
+ <?php if (empty($removedOptions['sgpb-popup-order'])): ?>
396
  <div class="row form-group">
397
  <label class="col-md-5 sgpb-static-padding-top" for="sgpb-popup-order">
398
  <?php _e('Popup order', SG_POPUP_TEXT_DOMAIN); ?>:
407
  </span>
408
  </div>
409
  </div>
410
+ <?php endif; ?>
411
+
412
+ <?php if (empty($removedOptions['sgpb-popup-delay'])): ?>
413
+ <div class="row form-group">
414
+ <label class="col-md-5 sgpb-static-padding-top" for="sgpb-popup-delay">
415
+ <?php _e('Custom event delay', SG_POPUP_TEXT_DOMAIN); ?>:
416
+ </label>
417
+ <div class="col-md-6">
418
+ <input type="number" min="0" name="sgpb-popup-delay" id="sgpb-popup-delay" class="form-control sgpb-full-width-events" value="<?php echo (int)$popupTypeObj->getOptionValue('sgpb-popup-delay'); ?>">
419
+ </div>
420
+ <div class="col-md-1 sgpb-info-wrapper">
421
+ <span class="dashicons dashicons-editor-help sgpb-info-icon sgpb-info-icon-align"></span>
422
+ <span class="infoSelectRepeat samefontStyle sgpb-info-text" style="display: none;">
423
+ <?php _e('You can add an opening delay for the popup, in seconds. This will refer to custom events, like:
424
+ Shortcodes, custom CSS classes, HTML attributes, or JS called custom events', SG_POPUP_TEXT_DOMAIN)?>.
425
+ </span>
426
+ </div>
427
  </div>
428
+ <?php endif; ?>
429
  </div>
430
  </div>
431
  </div>
public/views/otherConditionsView.php CHANGED
@@ -97,6 +97,12 @@ $conditionsCanBeUsed = PopupBuilderActivePackage::canUseSection('popupOtherCondi
97
  </div>
98
  </div>
99
 
 
 
 
 
 
 
100
  <?php if (!$conditionsCanBeUsed): ?>
101
  <div class="sgpb-other-pro-options">
102
  <div class="sgpb-wrapper">
97
  </div>
98
  </div>
99
 
100
+ <style type="text/css">
101
+ #ui-datepicker-div {
102
+ z-index: 9999 !important;
103
+ }
104
+ </style>
105
+
106
  <?php if (!$conditionsCanBeUsed): ?>
107
  <div class="sgpb-other-pro-options">
108
  <div class="sgpb-wrapper">
public/views/popupDesignView.php CHANGED
@@ -3,22 +3,27 @@ use sgpb\AdminHelper;
3
  use sgpb\PopupBuilderActivePackage;
4
  $defaultData = ConfigDataHelper::defaultData();
5
  $enablePopupOverlay = PopupBuilderActivePackage::canUseOption('sgpb-enable-popup-overlay');
 
6
  ?>
7
  <div class="sgpb-wrapper">
8
  <div class="row">
9
  <div class="col-md-8">
10
- <div class="row form-group">
11
- <label for="content-padding" class="col-md-5 control-label sgpb-static-padding-top">
12
- <?php _e('Padding', SG_POPUP_TEXT_DOMAIN)?>:
13
- </label>
14
- <div class="col-md-6"><input type="number" min="0" class="form-control sgpb-full-width-events" id="content-padding" name="sgpb-content-padding" value="<?php echo esc_html((int)$popupTypeObj->getOptionValue('sgpb-content-padding')); ?>"></div>
15
- <div class="col-md-1 sgpb-info-wrapper">
16
- <span class="dashicons dashicons-editor-help sgpb-info-icon sgpb-info-icon-align"></span>
17
- <span class="infoSelectRepeat samefontStyle sgpb-info-text" style="display: none;">
18
- <?php _e('Add some space, in pixels, around your popup content.', SG_POPUP_TEXT_DOMAIN);?>
19
- </span>
20
- </div>
21
- </div>
 
 
 
 
22
  <div class="row form-group">
23
  <label class="col-md-5 sgpb-static-padding-top" for="sgpb-popup-order">
24
  <?php _e('Popup z-index', SG_POPUP_TEXT_DOMAIN) ?>:
@@ -33,6 +38,8 @@ $enablePopupOverlay = PopupBuilderActivePackage::canUseOption('sgpb-enable-popup
33
  </span>
34
  </div>
35
  </div>
 
 
36
  <div class="row form-group">
37
  <label for="sgpb-popup-themes" class="col-md-5 control-label sgpb-static-padding-top">
38
  <?php _e('Theme', SG_POPUP_TEXT_DOMAIN)?>:
@@ -50,6 +57,7 @@ $enablePopupOverlay = PopupBuilderActivePackage::canUseOption('sgpb-enable-popup
50
  </div>
51
  </div>
52
  <!-- popup overlay start -->
 
53
  <div class="row form-group">
54
  <label for="sgpb-enable-popup-overlay" class="col-md-5 control-label sgpb-static-padding-top">
55
  <?php _e('Enable popup overlay', SG_POPUP_TEXT_DOMAIN)?>:
@@ -109,6 +117,7 @@ $enablePopupOverlay = PopupBuilderActivePackage::canUseOption('sgpb-enable-popup
109
  </div>
110
  </div>
111
  </div>
 
112
  <!-- popup overlay end -->
113
  <div class="row form-group">
114
  <label for="content-custom-class" class="col-md-5 control-label sgpb-static-padding-top">
@@ -124,6 +133,7 @@ $enablePopupOverlay = PopupBuilderActivePackage::canUseOption('sgpb-enable-popup
124
  </span>
125
  </div>
126
  </div>
 
127
  <div class="row form-group">
128
  <label for="content-padding" class="col-md-10 control-label sgpb-static-padding-top">
129
  <?php _e('Background options', SG_POPUP_TEXT_DOMAIN)?>
@@ -160,6 +170,9 @@ $enablePopupOverlay = PopupBuilderActivePackage::canUseOption('sgpb-enable-popup
160
  </div>
161
  </div>
162
  </div>
 
 
 
163
  <div class="row">
164
  <label for="redirect-to-url" class="col-md-5 control-label sgpb-static-padding-top sgpb-double-sub-option">
165
  <?php _e('Image', SG_POPUP_TEXT_DOMAIN)?>:
@@ -188,6 +201,9 @@ $enablePopupOverlay = PopupBuilderActivePackage::canUseOption('sgpb-enable-popup
188
  </div>
189
  </div>
190
  </div>
 
 
 
191
  <div class="row form-group">
192
  <label for="content-padding" class="col-md-5 control-label sgpb-static-padding-top sgpb-double-sub-option">
193
  <?php _e('Mode', SG_POPUP_TEXT_DOMAIN)?>:
@@ -202,6 +218,7 @@ $enablePopupOverlay = PopupBuilderActivePackage::canUseOption('sgpb-enable-popup
202
  </span>
203
  </div>
204
  </div>
 
205
  </div>
206
  </div>
207
  </div>
3
  use sgpb\PopupBuilderActivePackage;
4
  $defaultData = ConfigDataHelper::defaultData();
5
  $enablePopupOverlay = PopupBuilderActivePackage::canUseOption('sgpb-enable-popup-overlay');
6
+ $removedOptions = $popupTypeObj->getRemoveOptions();
7
  ?>
8
  <div class="sgpb-wrapper">
9
  <div class="row">
10
  <div class="col-md-8">
11
+ <?php if (empty($removedOptions['sgpb-content-padding'])) :?>
12
+ <div class="row form-group">
13
+ <label for="content-padding" class="col-md-5 control-label sgpb-static-padding-top">
14
+ <?php _e('Padding', SG_POPUP_TEXT_DOMAIN)?>:
15
+ </label>
16
+ <div class="col-md-6"><input type="number" min="0" class="form-control sgpb-full-width-events" id="content-padding" name="sgpb-content-padding" value="<?php echo esc_html((int)$popupTypeObj->getOptionValue('sgpb-content-padding')); ?>"></div>
17
+ <div class="col-md-1 sgpb-info-wrapper">
18
+ <span class="dashicons dashicons-editor-help sgpb-info-icon sgpb-info-icon-align"></span>
19
+ <span class="infoSelectRepeat samefontStyle sgpb-info-text" style="display: none;">
20
+ <?php _e('Add some space, in pixels, around your popup content.', SG_POPUP_TEXT_DOMAIN);?>
21
+ </span>
22
+ </div>
23
+ </div>
24
+ <?php endif; ?>
25
+
26
+ <?php if (empty($removedOptions['sgpb-popup-z-index'])) :?>
27
  <div class="row form-group">
28
  <label class="col-md-5 sgpb-static-padding-top" for="sgpb-popup-order">
29
  <?php _e('Popup z-index', SG_POPUP_TEXT_DOMAIN) ?>:
38
  </span>
39
  </div>
40
  </div>
41
+ <?php endif; ?>
42
+
43
  <div class="row form-group">
44
  <label for="sgpb-popup-themes" class="col-md-5 control-label sgpb-static-padding-top">
45
  <?php _e('Theme', SG_POPUP_TEXT_DOMAIN)?>:
57
  </div>
58
  </div>
59
  <!-- popup overlay start -->
60
+ <?php if (empty($removedOptions['sgpb-enable-popup-overlay'])) :?>
61
  <div class="row form-group">
62
  <label for="sgpb-enable-popup-overlay" class="col-md-5 control-label sgpb-static-padding-top">
63
  <?php _e('Enable popup overlay', SG_POPUP_TEXT_DOMAIN)?>:
117
  </div>
118
  </div>
119
  </div>
120
+ <?php endif; ?>
121
  <!-- popup overlay end -->
122
  <div class="row form-group">
123
  <label for="content-custom-class" class="col-md-5 control-label sgpb-static-padding-top">
133
  </span>
134
  </div>
135
  </div>
136
+ <?php if (empty($removedOptions['sgpb-show-background'])) :?>
137
  <div class="row form-group">
138
  <label for="content-padding" class="col-md-10 control-label sgpb-static-padding-top">
139
  <?php _e('Background options', SG_POPUP_TEXT_DOMAIN)?>
170
  </div>
171
  </div>
172
  </div>
173
+ <?php endif; ?>
174
+
175
+ <?php if (empty($removedOptions['sgpb-background-image'])) :?>
176
  <div class="row">
177
  <label for="redirect-to-url" class="col-md-5 control-label sgpb-static-padding-top sgpb-double-sub-option">
178
  <?php _e('Image', SG_POPUP_TEXT_DOMAIN)?>:
201
  </div>
202
  </div>
203
  </div>
204
+ <?php endif; ?>
205
+
206
+ <?php if (empty($removedOptions['sgpb-background-image-mode'])) :?>
207
  <div class="row form-group">
208
  <label for="content-padding" class="col-md-5 control-label sgpb-static-padding-top sgpb-double-sub-option">
209
  <?php _e('Mode', SG_POPUP_TEXT_DOMAIN)?>:
218
  </span>
219
  </div>
220
  </div>
221
+ <?php endif; ?>
222
  </div>
223
  </div>
224
  </div>
readme.txt CHANGED
@@ -5,7 +5,7 @@ Author: Popup Builder
5
  Donate link: https://popup-builder.com
6
  Tags: popup, pop up, wordpress popup, popup maker, exit popup, popup builder, wordpress popup plugin
7
  Requires at least: 3.8
8
- Tested up to: 4.9.7
9
  Requires PHP: 5.3.3
10
  Stable tag: trunk
11
  License: GPLv2 or later
@@ -33,6 +33,7 @@ https://www.youtube.com/watch?v=-wFDJDjczeY
33
  * Redirect confirmation popup/Leaving notice popup
34
  * Repetitive pop up - show popup every X period of time
35
 
 
36
 
37
  * Popup opening sound
38
  * Responsive popup
@@ -43,8 +44,9 @@ https://www.youtube.com/watch?v=-wFDJDjczeY
43
  * Redirect user to another page when he/she clicks on popup content
44
  * Show/Hide Popup for selected User Roles (Admin panel)
45
  * Open popup from URL. Example http://popup-builder.com/index.php?sg_popup_id=1
46
- * Reopen popup after form submission
47
 
 
48
 
49
  * Html popup
50
  * Image popup
@@ -64,7 +66,7 @@ https://www.youtube.com/watch?v=-wFDJDjczeY
64
  * HTML5 Maps
65
  * Review Builder
66
 
67
- This is a modal popup plugin for WordPress websites, that allows you to add highly customizable lightbox. This lightbox plugin will enable awesome popup windows in your WordPress website using short codes. You can add unlimited popups with their own configurations. We added effective settings'-panel for each type. So, you can fully customize the popup themes, colors, sizes and many other options.
68
 
69
  Popups are a good marketing tool, they're impressively high converting. A web page with a modal popup typically sees more conversions than the same page without one. More important, a page with a well-designed and thoughtfully implemented popup converts better than one with a poor popup. With Popup Builder plugin you can customize the look and the functionality according to your needs.
70
 
@@ -72,7 +74,11 @@ With Popup Builder plugin you can insert any type of content, right into your Po
72
 
73
  **Popup Builder - PRO features:**
74
 
75
- * Iframe popup - you can set the URL you want to load within an iframe and the popup will load that iframe
 
 
 
 
76
 
77
  * Video popup - embed YouTube and Vimeo videos inside your popup.
78
 
@@ -83,14 +89,14 @@ With Popup Builder plugin you can insert any type of content, right into your Po
83
  * Create countdown popup - your site is under construction and you are planning to open it in some amount of time, in this case countdown popup is exactly for you.
84
 
85
  * Exit popup - catch your users' attention when they decide to leave your site without doing any of the things you want them to do. Exit popups can briefly interrupt them with a popup message, steering them towards a singular call to action.
86
-
87
  * Contact form popup - this type will allow your clients to write you a message right from the popup.
88
 
89
  * MailChimp popup (separate extension) - create eye-catching, beautiful MailChimp popups to make your users sign up to the mail list right from the popup. You can set up all the design customization according to your needs and preferences!
90
 
91
  * Adblock popup (separate extension) - detect Adblock extensions that block the advertisements of your site and show a message to your visitors via popup!
92
 
93
- * AWeber popup (separate extension) - let your visitors to subscribe to your AWeber subscription form right from the popup.
94
 
95
  * Popup analytics (separate extension) - get statistics about the effectiveness of your popup.
96
 
@@ -110,6 +116,8 @@ With Popup Builder plugin you can insert any type of content, right into your Po
110
 
111
  * Show popup for logged in users or vice versa - you can make the popup appear only for the users who are logged in. Or you can make the it visible only for the users who aren't logged in.
112
 
 
 
113
  * Schedule popup - you can schedule the period (in days) when you want the popup to be shown. The users will see the popup during the period of the time you set. (Ex. April 13- May 9)
114
 
115
  * Popup showing frequency - you can select how many times you want the popup be shown to the same user. This means, you can make the popup appear for 3 times, for example, to the same user.
@@ -166,6 +174,18 @@ Go to the Popup Builder settings and set your desired options.
166
 
167
  == Changelog ==
168
 
 
 
 
 
 
 
 
 
 
 
 
 
169
  = Version 3.0.4 =
170
  * Seo redirect for popup post types (301).
171
  * CSS class support for popup opening.
@@ -417,7 +437,7 @@ Example `<button class="sg-dont-show-popup-30">Close Popup and Dont Show for 30
417
  * Added empty index.php file inside every directory to prevent directory listing.
418
  * Shortcode functionality improvements.
419
  * Prevented direct access to plugins php file.
420
- * Bug fixes.
421
 
422
  = Version 2.4.2 =
423
  * Added option to open from URL. Example http://popup-builder.com/index.php?sg_popup_id=1
@@ -568,7 +588,7 @@ Example `<button class="sg-dont-show-popup-30">Close Popup and Dont Show for 30
568
 
569
  * Compatible with minify plugins.
570
  * Code cleanup.
571
-
572
  = Version 2.1.0 =
573
 
574
  * Added ability to close popup from itself. Just add html class to the element.
@@ -577,16 +597,16 @@ Example `<button class="sg-dont-show-popup-30">Close Popup and Dont Show for 30
577
  = Version 2.0.9 =
578
 
579
  * Facebook share and like popup added.
580
- * Code cleanup.
581
  * Bug fixed.
582
 
583
  = Version 2.0.8 =
584
 
585
  * Inside Popup data table added sorting and search field.
586
  * Bug fixed.
587
-
588
  = Version 2.0.7 =
589
-
590
  * Inside HTML popup WYSIWYG is updated and now allows to create content with most common HTML tags and styles.
591
  * Code cleanup.
592
  * Bug fixed.
@@ -633,7 +653,7 @@ Example `<button class="sg-dont-show-popup-30">Close Popup and Dont Show for 30
633
 
634
  * Multisite support.
635
  * Bug fixes.
636
-
637
  = Version 1.1.2 =
638
 
639
  * Bug fixes.
@@ -692,7 +712,7 @@ Ex. [sg_popup id="1" event="click" wrap="span"]Your text, which will be wraped i
692
 
693
  Ex. [sg_popup id="1" event="click"]`<img src="https://sygnoos.com/images/sygnoos_logo_grey.png">`[/sg_popup]
694
 
695
- Alternative method in case if shortcode doesn't satisfy your needs
696
 
697
  Adding the following class `sg-popup-id-1`
698
 
@@ -718,17 +738,17 @@ Example: `[sg_popup id="1" event="hover" wrap="span"]Your text, which will be wr
718
 
719
  It's a very easy thing to do, just follow the steps!
720
 
721
- * Find "Popup Builder" plugin on the left bar
722
- * Press "Add new Popup" button
723
- * Press "Shortcode" button
724
- * Enter a title for the Popup
725
- * Setup general options of the popup
726
- * Enter a Shortcode
727
- * Setup effects of the popup
728
- * Setup the dimensions of the popup
729
- * Setup advanced options of the popup
730
- * After creating press "Save changes" right above the page
731
- * Find the popup you created in "All popups" on the left bar
732
 
733
  One perfect news for the popup builder users! Our popup builder plugin is now compatible with any other plugins' shortcodes!
734
 
@@ -757,10 +777,10 @@ You should enter the URL of the site you want to share.
757
 
758
  You should create any type of popup.
759
 
760
- * From the Popup's options, find "Dismiss on content click" option.
761
- * Check it.
762
- * Select "Redirect" button.
763
- * In the "URL" field enter the URL of the page you need your users to be redirected to.
764
 
765
  Don't forget to Save changes!)
766
 
@@ -784,8 +804,8 @@ The Free version of Popup Builder gives you anything you need for creating unlim
784
 
785
  We made it very easy for you! All you need to do is:
786
 
787
- * In your Menu sidebar, go to Popup -> "Settings" section.
788
- * Disable the "Delete popup data" option.
789
 
790
  That's all! And you don't need to delete your Free version manually before upgrading to Pro!
791
 
@@ -796,7 +816,7 @@ Please be noted that browser's don't support all the formats. We recommend to us
796
 
797
  **Can I create a popup and make it invisible for some countries? (PRO)**
798
 
799
- Our plugin has an option for such cases. You can select "Filter popup for selected countries" option, which allows you to select the countries in which you want the popup to be shown or hidden, because there can be some popups which you make for specific countries and you may not want them to be seen in some other countries in cases of targeting groups for your marketing. (Allow/Disallow)
800
 
801
  **What's Live Preview in Countdown, Subscription and Contact Form popups for? (PRO)**
802
 
@@ -813,7 +833,7 @@ Leave us a good review :)
813
 
814
  == Upgrade Notice ==
815
 
816
- Current Version of Popup Builder is 2.6.7
817
 
818
  == Other Notes ==
819
 
@@ -825,21 +845,21 @@ Popup Builder Team finds popups as another definition of the word "Solution".
825
  Ready to see 10 relevant problems that appear while social marketing?
826
  Here is how this works.
827
 
828
- = First problem: I want to have basic information about my product in a certain popup but a huge text might make annoying or just unreadable the text. How can this be achieved? Is there a correspondent tool for it? =
829
 
830
  == First solution: HTML Popup ==
831
 
832
  While sharing your ideas and viewpoints online, it is not always convenient or adequate to involve in the text all the information you got. On the other hand, it is always important not to ignore all the significant extra pieces of the information, because every website owner wants to satisfy the needs of a manifold audience.
833
-
834
  The HTML popup of ours is quite popular solution. After installing it, you gain the golden ability to be brief in your texts but unleash a pack of needed information that was collected in your mind. It is all about a simple redirection.
835
  There are several sections in the options we give, that represent a grateful help to configure all the popups up to your needs.
836
-
837
- Firstly - the way the Popup looks.
838
- You may easily customize it by choosing the theme and effect types applied to it and deciding the appropriate dimensions.
839
  Secondly - the time, when the Popup turns up.
840
  You have all the abilities to manage when and where the popup turns up. It can appear while visitors scroll the page, whether while they try to exit the page.
841
  Thirdly - the size of your Popup.
842
- You may make the it to remain unchangeable or be resized according to the window.
843
  Fourthly - how visitors can close it.
844
  The popup could close itself either automatically or by visitor's hand. All this options are up to you our dear customer.
845
  And finally - the availability of the Popup.
@@ -849,16 +869,16 @@ You can decide on its availability on different devices (PC, mobile, etc.).
849
 
850
  == Second solution: Image Popup ==
851
 
852
- It is not a secret that even the greatest articles written with the most attractive style awaken laziness among readers. The victims of these situations are huge texts that are allowed to include only words as main characters but the images. An undeniable fact - even few images certainly ease the process of reading and getting information from blogs.
853
  Image popup is the best way to deal with this problem; the best way to make your ideas stand out in the crowd. All you need to do is using all the available opportunities we offer by adding a topic image to the pilot.
854
 
855
  * You may customize your installed image popup in many interesting ways, such as determining the image dimensions that considers being a very responsive option due to its resizing and repositioning ability when the main window resizes.
856
  * It also provides options for choosing the image frame theme and effects that vary in the duration of the popup animation as well.
857
  * There is one more possibility up to you, to specify how long the ready-made popup appearance should be delayed after loading the page.
858
  * With the help of both basic and advanced options, you are able to easily regulate the dismissal, display, color and location of the image popup.
859
- * You may choose where it should appear. It can appear at the top right or left corner, at the bottom or in the center.
860
- * You can choose to show it whenever the user scrolls the page or ensure its permanent occurrence by disabling popup closing in any possible way.
861
- * On the other hand, the popup can be chosen to close automatically, whether be dismissed when the user clicks inside or beyond of the popup area.
862
  * In addition, it is up to you to decide on your popup accessibility on different devices (PC, mobile, etc.).
863
 
864
 
@@ -873,7 +893,7 @@ As far as the popup accessibility on different devices is freely manageable too,
873
 
874
  Here is another useful pop up to make your content or website more sociable and vibrant. It is a great addition to your social toolkit, since Iframe enables you to include and remind of another website with the help of a simple tool.
875
  One can think of a number of cases when this popup can efficiently be used.
876
- For instance, if you are lucky enough to have sponsors or you have got partners that are worth a mention, Iframe will give you the wonderful opportunity to share the work they do. Thus, by clicking on the popup, the user will get to their websites.
877
  It can also be used to add some maps, diagrams, charts, etc. to your content without putting them within the material itself or by refraining from dealing with copyright issues.
878
  You can build the Iframe popup having decided on its frame theme and the effects that vary in duration. It is also possible to manage how long the ready-made popup appearance should be delayed after loading the page (in sec).
879
  The popup can appear at the top right/left corner, at the bottom or in the center. Thanks to certain ticks-off in the options section you will be able to show the popup whenever the user scrolls the page and disable its closing at all. On the contrary, the popup can be chosen to close automatically or be dismissed when the user clicks inside or beyond the popup area.
@@ -908,9 +928,9 @@ In the meantime, there are basic and advanced options available which help to re
908
  No doubt, building a trustful relationship with an audience is highly important if you wish to make a profit online and have an email list full of targeted, engaged subscribers. As the trust grows, the audience will be more prone to buying whatever is being sold. One way to make this happen is to make people wish to subscribe to your website with the help of the Subscription popup which can help to extend the functionality of your website.
909
  The Subscription popup offered allows to generate a great-looking form, add a compelling incentive to subscribe and guarantee the buildup of an email list, as, once installed, it will be given maximum visibility on your website.
910
  Happily, almost every element of the popup is fully customizable - including fonts, sizes and colours, themes and effects applied. Also, you can view it real-time thanks to the live previewer displaying changes you make.
911
- The appearance and disappearance of the popup is under complete control too. It will appear after a pre-configured wait, be permanent or turn up while scrolling, close by hand or by itself.
912
 
913
- = Age restriction Popup =
914
 
915
  Internet is recognized as somehow an open space for creation and dissemination of ideas and content that comply to no kind of limits. It is also known that many children have at least once accessed some online content that contains violence, sex, bad language, etc.. The latter can play a crucial role in the child's personality development and can lead to serious deviations later.
916
  Thus, to help avoid such kind of developments, you can foster child protection by simply deciding on how much explicit each of your content is and installing the age restriction popup we offer. It will make your content accessible to the age group it refers to, as the popup will make the user answer some questions to decide his/her age and will direct to certain content accordingly.
@@ -918,4 +938,4 @@ This popup can be built up to your preferences, as there is a range of options a
918
 
919
  More marketing popup descriptions/solutions are coming soon.
920
 
921
- Popup Builder Team.
5
  Donate link: https://popup-builder.com
6
  Tags: popup, pop up, wordpress popup, popup maker, exit popup, popup builder, wordpress popup plugin
7
  Requires at least: 3.8
8
+ Tested up to: 4.9.8
9
  Requires PHP: 5.3.3
10
  Stable tag: trunk
11
  License: GPLv2 or later
33
  * Redirect confirmation popup/Leaving notice popup
34
  * Repetitive pop up - show popup every X period of time
35
 
36
+ -
37
 
38
  * Popup opening sound
39
  * Responsive popup
44
  * Redirect user to another page when he/she clicks on popup content
45
  * Show/Hide Popup for selected User Roles (Admin panel)
46
  * Open popup from URL. Example http://popup-builder.com/index.php?sg_popup_id=1
47
+ * Reopen popup after form submission
48
 
49
+ -
50
 
51
  * Html popup
52
  * Image popup
66
  * HTML5 Maps
67
  * Review Builder
68
 
69
+ This is a modal popup plugin for WordPress websites, that allows you to add highly customizable lightbox. This lightbox plugin will enable awesome popup windows in your WordPress website using short codes. You can add unlimited popups with their own configurations. We added effective settings'-panel for each type. So, you can fully customize the popup themes, colors, sizes and many other options.
70
 
71
  Popups are a good marketing tool, they're impressively high converting. A web page with a modal popup typically sees more conversions than the same page without one. More important, a page with a well-designed and thoughtfully implemented popup converts better than one with a poor popup. With Popup Builder plugin you can customize the look and the functionality according to your needs.
72
 
74
 
75
  **Popup Builder - PRO features:**
76
 
77
+ * WooCommerce popup - display targeted popup offers depending on the WooCommerce cart conditions: Price, Product amount, Specific product.
78
+
79
+ * Recent sales or Social proof - promote more sales showing all your live sales popups to notify your customers about recently bought items.
80
+
81
+ * Iframe popup - you can set the URL you want to load within an iframe and the popup will load that iframe.
82
 
83
  * Video popup - embed YouTube and Vimeo videos inside your popup.
84
 
89
  * Create countdown popup - your site is under construction and you are planning to open it in some amount of time, in this case countdown popup is exactly for you.
90
 
91
  * Exit popup - catch your users' attention when they decide to leave your site without doing any of the things you want them to do. Exit popups can briefly interrupt them with a popup message, steering them towards a singular call to action.
92
+
93
  * Contact form popup - this type will allow your clients to write you a message right from the popup.
94
 
95
  * MailChimp popup (separate extension) - create eye-catching, beautiful MailChimp popups to make your users sign up to the mail list right from the popup. You can set up all the design customization according to your needs and preferences!
96
 
97
  * Adblock popup (separate extension) - detect Adblock extensions that block the advertisements of your site and show a message to your visitors via popup!
98
 
99
+ * AWeber popup (separate extension) - let your visitors to subscribe to your AWeber subscription form right from the popup.
100
 
101
  * Popup analytics (separate extension) - get statistics about the effectiveness of your popup.
102
 
116
 
117
  * Show popup for logged in users or vice versa - you can make the popup appear only for the users who are logged in. Or you can make the it visible only for the users who aren't logged in.
118
 
119
+ * Show popup after X pages - this option will help you to show a popup when the visitor visits your specified amount of pages.
120
+
121
  * Schedule popup - you can schedule the period (in days) when you want the popup to be shown. The users will see the popup during the period of the time you set. (Ex. April 13- May 9)
122
 
123
  * Popup showing frequency - you can select how many times you want the popup be shown to the same user. This means, you can make the popup appear for 3 times, for example, to the same user.
174
 
175
  == Changelog ==
176
 
177
+ = Version 3.0.5 =
178
+ * Bug fixed for subscription popup for some cases when the submit event was not triggering.
179
+ * Added new option to close popup after copy to clipboard action.
180
+ * Added 'Push to bottom' option for social and restriction popup types.
181
+ * Bug fixed connected to user roles who can use the plugin.
182
+ * Bug fixed related to Popup Conditions saved data.
183
+ * Improvements connected to 'disable scrolling' option for Android devices.
184
+ * Added new Fit option for image popup type to resize it according to the image size.
185
+ * Added success message for 'Copy to clipboard' option
186
+ * Added new option to reset popup opening count.
187
+ * New animation effect for popup closing.
188
+
189
  = Version 3.0.4 =
190
  * Seo redirect for popup post types (301).
191
  * CSS class support for popup opening.
437
  * Added empty index.php file inside every directory to prevent directory listing.
438
  * Shortcode functionality improvements.
439
  * Prevented direct access to plugins php file.
440
+ * Bug fixes.
441
 
442
  = Version 2.4.2 =
443
  * Added option to open from URL. Example http://popup-builder.com/index.php?sg_popup_id=1
588
 
589
  * Compatible with minify plugins.
590
  * Code cleanup.
591
+
592
  = Version 2.1.0 =
593
 
594
  * Added ability to close popup from itself. Just add html class to the element.
597
  = Version 2.0.9 =
598
 
599
  * Facebook share and like popup added.
600
+ * Code cleanup.
601
  * Bug fixed.
602
 
603
  = Version 2.0.8 =
604
 
605
  * Inside Popup data table added sorting and search field.
606
  * Bug fixed.
607
+
608
  = Version 2.0.7 =
609
+
610
  * Inside HTML popup WYSIWYG is updated and now allows to create content with most common HTML tags and styles.
611
  * Code cleanup.
612
  * Bug fixed.
653
 
654
  * Multisite support.
655
  * Bug fixes.
656
+
657
  = Version 1.1.2 =
658
 
659
  * Bug fixes.
712
 
713
  Ex. [sg_popup id="1" event="click"]`<img src="https://sygnoos.com/images/sygnoos_logo_grey.png">`[/sg_popup]
714
 
715
+ Alternative method in case if shortcode doesn't satisfy your needs
716
 
717
  Adding the following class `sg-popup-id-1`
718
 
738
 
739
  It's a very easy thing to do, just follow the steps!
740
 
741
+ * Find "Popup Builder" plugin on the left bar
742
+ * Press "Add new Popup" button
743
+ * Press "Shortcode" button
744
+ * Enter a title for the Popup
745
+ * Setup general options of the popup
746
+ * Enter a Shortcode
747
+ * Setup effects of the popup
748
+ * Setup the dimensions of the popup
749
+ * Setup advanced options of the popup
750
+ * After creating press "Save changes" right above the page
751
+ * Find the popup you created in "All popups" on the left bar
752
 
753
  One perfect news for the popup builder users! Our popup builder plugin is now compatible with any other plugins' shortcodes!
754
 
777
 
778
  You should create any type of popup.
779
 
780
+ * From the Popup's options, find "Dismiss on content click" option.
781
+ * Check it.
782
+ * Select "Redirect" button.
783
+ * In the "URL" field enter the URL of the page you need your users to be redirected to.
784
 
785
  Don't forget to Save changes!)
786
 
804
 
805
  We made it very easy for you! All you need to do is:
806
 
807
+ * In your Menu sidebar, go to Popup -> "Settings" section.
808
+ * Disable the "Delete popup data" option.
809
 
810
  That's all! And you don't need to delete your Free version manually before upgrading to Pro!
811
 
816
 
817
  **Can I create a popup and make it invisible for some countries? (PRO)**
818
 
819
+ Our plugin has an option for such cases. You can select "Filter popup for selected countries" option, which allows you to select the countries in which you want the popup to be shown or hidden, because there can be some popups which you make for specific countries and you may not want them to be seen in some other countries in cases of targeting groups for your marketing. (Allow/Disallow)
820
 
821
  **What's Live Preview in Countdown, Subscription and Contact Form popups for? (PRO)**
822
 
833
 
834
  == Upgrade Notice ==
835
 
836
+ Current Version of Popup Builder is 3.0.5
837
 
838
  == Other Notes ==
839
 
845
  Ready to see 10 relevant problems that appear while social marketing?
846
  Here is how this works.
847
 
848
+ = First problem: I want to have basic information about my product in a certain popup but a huge text might make annoying or just unreadable the text. How can this be achieved? Is there a correspondent tool for it? =
849
 
850
  == First solution: HTML Popup ==
851
 
852
  While sharing your ideas and viewpoints online, it is not always convenient or adequate to involve in the text all the information you got. On the other hand, it is always important not to ignore all the significant extra pieces of the information, because every website owner wants to satisfy the needs of a manifold audience.
853
+
854
  The HTML popup of ours is quite popular solution. After installing it, you gain the golden ability to be brief in your texts but unleash a pack of needed information that was collected in your mind. It is all about a simple redirection.
855
  There are several sections in the options we give, that represent a grateful help to configure all the popups up to your needs.
856
+
857
+ Firstly - the way the Popup looks.
858
+ You may easily customize it by choosing the theme and effect types applied to it and deciding the appropriate dimensions.
859
  Secondly - the time, when the Popup turns up.
860
  You have all the abilities to manage when and where the popup turns up. It can appear while visitors scroll the page, whether while they try to exit the page.
861
  Thirdly - the size of your Popup.
862
+ You may make the it to remain unchangeable or be resized according to the window.
863
  Fourthly - how visitors can close it.
864
  The popup could close itself either automatically or by visitor's hand. All this options are up to you our dear customer.
865
  And finally - the availability of the Popup.
869
 
870
  == Second solution: Image Popup ==
871
 
872
+ It is not a secret that even the greatest articles written with the most attractive style awaken laziness among readers. The victims of these situations are huge texts that are allowed to include only words as main characters but the images. An undeniable fact - even few images certainly ease the process of reading and getting information from blogs.
873
  Image popup is the best way to deal with this problem; the best way to make your ideas stand out in the crowd. All you need to do is using all the available opportunities we offer by adding a topic image to the pilot.
874
 
875
  * You may customize your installed image popup in many interesting ways, such as determining the image dimensions that considers being a very responsive option due to its resizing and repositioning ability when the main window resizes.
876
  * It also provides options for choosing the image frame theme and effects that vary in the duration of the popup animation as well.
877
  * There is one more possibility up to you, to specify how long the ready-made popup appearance should be delayed after loading the page.
878
  * With the help of both basic and advanced options, you are able to easily regulate the dismissal, display, color and location of the image popup.
879
+ * You may choose where it should appear. It can appear at the top right or left corner, at the bottom or in the center.
880
+ * You can choose to show it whenever the user scrolls the page or ensure its permanent occurrence by disabling popup closing in any possible way.
881
+ * On the other hand, the popup can be chosen to close automatically, whether be dismissed when the user clicks inside or beyond of the popup area.
882
  * In addition, it is up to you to decide on your popup accessibility on different devices (PC, mobile, etc.).
883
 
884
 
893
 
894
  Here is another useful pop up to make your content or website more sociable and vibrant. It is a great addition to your social toolkit, since Iframe enables you to include and remind of another website with the help of a simple tool.
895
  One can think of a number of cases when this popup can efficiently be used.
896
+ For instance, if you are lucky enough to have sponsors or you have got partners that are worth a mention, Iframe will give you the wonderful opportunity to share the work they do. Thus, by clicking on the popup, the user will get to their websites.
897
  It can also be used to add some maps, diagrams, charts, etc. to your content without putting them within the material itself or by refraining from dealing with copyright issues.
898
  You can build the Iframe popup having decided on its frame theme and the effects that vary in duration. It is also possible to manage how long the ready-made popup appearance should be delayed after loading the page (in sec).
899
  The popup can appear at the top right/left corner, at the bottom or in the center. Thanks to certain ticks-off in the options section you will be able to show the popup whenever the user scrolls the page and disable its closing at all. On the contrary, the popup can be chosen to close automatically or be dismissed when the user clicks inside or beyond the popup area.
928
  No doubt, building a trustful relationship with an audience is highly important if you wish to make a profit online and have an email list full of targeted, engaged subscribers. As the trust grows, the audience will be more prone to buying whatever is being sold. One way to make this happen is to make people wish to subscribe to your website with the help of the Subscription popup which can help to extend the functionality of your website.
929
  The Subscription popup offered allows to generate a great-looking form, add a compelling incentive to subscribe and guarantee the buildup of an email list, as, once installed, it will be given maximum visibility on your website.
930
  Happily, almost every element of the popup is fully customizable - including fonts, sizes and colours, themes and effects applied. Also, you can view it real-time thanks to the live previewer displaying changes you make.
931
+ The appearance and disappearance of the popup is under complete control too. It will appear after a pre-configured wait, be permanent or turn up while scrolling, close by hand or by itself.
932
 
933
+ = Age restriction Popup =
934
 
935
  Internet is recognized as somehow an open space for creation and dissemination of ideas and content that comply to no kind of limits. It is also known that many children have at least once accessed some online content that contains violence, sex, bad language, etc.. The latter can play a crucial role in the child's personality development and can lead to serious deviations later.
936
  Thus, to help avoid such kind of developments, you can foster child protection by simply deciding on how much explicit each of your content is and installing the age restriction popup we offer. It will make your content accessible to the age group it refers to, as the popup will make the user answer some questions to decide his/her age and will direct to certain content accordingly.
938
 
939
  More marketing popup descriptions/solutions are coming soon.
940
 
941
+ Popup Builder Team.