Popups – WordPress Popup - Version 1.3

Version Description

  • Added new option to keep popup open on conversion
  • Added spanish language
  • Added "powered by" link with affiliate support
  • Improved popups style in admin area
  • User can now remove ajax from generic form by added .spu-disable-ajax class
  • Fixed bug when not using social shortcodes
  • Updated core to work with latest premium version
Download this release

Release Info

Developer timersys
Plugin Icon 128x128 Popups – WordPress Popup
Version 1.3
Comparing to
See all releases

Code changes from version 1.2.3.5 to 1.3

README.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: timersys
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K4T6L69EV9G2Q
4
  Tags: twitter,google+, facebook,Popups, twitter follow, facebook like, google plus,social boost, social splash, popup, facebook popup, scroll popups, popups, wordpress popup, wp popups, cf7, gf, gravity forms, contact form 7, ifs, infusion soft, subscribe
5
  Requires at least: 3.6
6
- Tested up to: 4.1.1
7
- Stable tag: 1.2.3.5
8
  Text Domain: spucpt
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -47,6 +47,7 @@ There are multiple display filters that can be combined:
47
  >
48
  > Check the **new premium version** available in ([http://wp.timersys.com/popups/](http://wp.timersys.com/popups/))
49
  >
 
50
  > * Track impressions and Conversions of social networks and forms like CF7 or Gravity forms
51
  > * Track impressions and Conversions in Google Analytics
52
  > * 8 New animations effects
@@ -69,6 +70,7 @@ Fork me in https://github.com/timersys/popups/
69
  = Available Languages =
70
 
71
  * Serbo-Croatian - Borisa - http://www.webhostinghub.com/
 
72
 
73
  = Install Multiple plugins at once with WpFavs =
74
 
@@ -107,6 +109,16 @@ Yes if you need to debug you can use uncompressed javascript by addings ([this c
107
 
108
  == Changelog ==
109
 
 
 
 
 
 
 
 
 
 
 
110
  = 1.2.3.5 =
111
 
112
  * Added IFS (infusion soft) support
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K4T6L69EV9G2Q
4
  Tags: twitter,google+, facebook,Popups, twitter follow, facebook like, google plus,social boost, social splash, popup, facebook popup, scroll popups, popups, wordpress popup, wp popups, cf7, gf, gravity forms, contact form 7, ifs, infusion soft, subscribe
5
  Requires at least: 3.6
6
+ Tested up to: 4.2.1
7
+ Stable tag: 1.3
8
  Text Domain: spucpt
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
47
  >
48
  > Check the **new premium version** available in ([http://wp.timersys.com/popups/](http://wp.timersys.com/popups/))
49
  >
50
+ > * Beautiful optin forms for popular mail providers like MailChimp
51
  > * Track impressions and Conversions of social networks and forms like CF7 or Gravity forms
52
  > * Track impressions and Conversions in Google Analytics
53
  > * 8 New animations effects
70
  = Available Languages =
71
 
72
  * Serbo-Croatian - Borisa - http://www.webhostinghub.com/
73
+ * Spanish - Andrew Kurtis - http://www.webhostinghub.com/
74
 
75
  = Install Multiple plugins at once with WpFavs =
76
 
109
 
110
  == Changelog ==
111
 
112
+ = 1.3 =
113
+
114
+ * Added new option to keep popup open on conversion
115
+ * Added spanish language
116
+ * Added "powered by" link with affiliate support
117
+ * Improved popups style in admin area
118
+ * User can now remove ajax from generic form by added .spu-disable-ajax class
119
+ * Fixed bug when not using social shortcodes
120
+ * Updated core to work with latest premium version
121
+
122
  = 1.2.3.5 =
123
 
124
  * Added IFS (infusion soft) support
admin/assets/css/admin.css CHANGED
@@ -191,7 +191,9 @@ h3.spu-title {
191
  #spu-rules .rules-group .rules-remove-rule:hover {
192
  color: red;
193
  }
194
-
 
 
195
  .spu-loading{
196
  height: 16px;
197
  margin: 10px auto;
@@ -209,4 +211,74 @@ div#spu-premium li{
209
  /* Don't allow user to delete the first field group */
210
  #spu-rules .rules-group:first-child tr:first-child:hover .rules-remove-rule {
211
  display: none;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
212
  }
191
  #spu-rules .rules-group .rules-remove-rule:hover {
192
  color: red;
193
  }
194
+ /**
195
+ * Other Rules
196
+ */
197
  .spu-loading{
198
  height: 16px;
199
  margin: 10px auto;
211
  /* Don't allow user to delete the first field group */
212
  #spu-rules .rules-group:first-child tr:first-child:hover .rules-remove-rule {
213
  display: none;
214
+ }
215
+ #spu-options p.help {
216
+ font-weight: normal;
217
+ font-size: .9em !important;
218
+ }
219
+
220
+ @font-face {
221
+ font-family: 'spufont';
222
+ src:url('../../../public/assets/fonts/spufont.eot?sze5my');
223
+ src:url('../../../public/assets/fonts/spufont.eot?#iefixsze5my') format('embedded-opentype'),
224
+ url('../../../public/assets/fonts/spufont.woff?sze5my') format('woff'),
225
+ url('../../../public/assets/fonts/spufont.ttf?sze5my') format('truetype'),
226
+ url('../../../public/assets/fonts/spufont.svg?sze5my#spufont') format('svg');
227
+ font-weight: normal;
228
+ font-style: normal;
229
+ }
230
+
231
+ [class^="spu-icon-"], [class*=" spu-icon-"] {
232
+ font-family: 'spufont';
233
+ speak: none;
234
+ font-style: normal;
235
+ font-weight: normal;
236
+ font-variant: normal;
237
+ text-transform: none;
238
+ line-height: 1;
239
+
240
+ /* Better Font Rendering =========== */
241
+ -webkit-font-smoothing: antialiased;
242
+ -moz-osx-font-smoothing: grayscale;
243
+ }
244
+
245
+ .spu-icon-envelope:before {
246
+ content: "\f003";
247
+ }
248
+
249
+ .spu-icon-check:before {
250
+ content: "\f00c";
251
+ }
252
+
253
+ .spu-icon-close:before {
254
+ content: "\f00d";
255
+ }
256
+
257
+ .spu-icon-eye:before {
258
+ content: "\f06e";
259
+ }
260
+
261
+ .spu-icon-gears:before {
262
+ content: "\f085";
263
+ }
264
+
265
+ .spu-icon-spinner:before {
266
+ content: "\f110";
267
+ animation: spu-rotate 1s infinite linear;
268
+ -webkit-animation: spu-rotate 1s infinite linear;
269
+ -o-animation: spu-rotate 1s infinite linear;
270
+ -moz-animation: spu-rotate 1s infinite linear;
271
+ }
272
+ @keyframes spu-rotate {
273
+ 0% {
274
+ transform: rotate(0deg);
275
+ opacity: 1;
276
+ }
277
+ 50% {
278
+ opacity: .7;
279
+ }
280
+ 100% {
281
+ transform: rotate(359deg);
282
+ opacity: 1;
283
+ }
284
  }
admin/assets/css/editor-style.css ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Editor
3
+ */
4
+ html{
5
+ background: #9C9B9B;
6
+ }
7
+ body#tinymce.wp-editor{
8
+ margin: 20px auto;
9
+ }
10
+ body#tinymce.wp-editor,
11
+ body#tinymce.wp-editor * {
12
+ box-sizing: border-box;
13
+ -webkit-box-sizing: border-box;
14
+ -moz-box-sizing: border-box;
15
+ }
16
+ body#tinymce.wp-editor{
17
+ max-width: 100%;
18
+ padding: 20px !important;
19
+ }
admin/assets/js/admin.js CHANGED
@@ -9,8 +9,11 @@ SPU_ADMIN = (function ( $ ) {
9
  $(document).ready(function(){
10
 
11
  spu.rules.init();
 
12
  //Thanks to scoll triggered boxes plugin for this piece of javascript
13
- $('#spu-options input.spu-color-field').wpColorPicker({ change: applyStyles, clear: applyStyles });
 
 
14
  $("#spu-options :input").not(".spu-color-field").change(applyStyles);
15
 
16
  //Toogle trigger boxes on init
@@ -51,25 +54,31 @@ SPU_ADMIN = (function ( $ ) {
51
  }
52
 
53
  function applyStyles()
54
- {
55
  var $editor = $("#content_ifr").contents().find('html');
56
-
57
  $editor.css({
58
- 'background': 'white'
59
  });
60
 
61
- $editor.find("#tinymce").css({
62
- 'padding': '25px',
63
- 'background-color': getColor($("#spu-background-color")),
64
- 'border-color': getColor($("#spu-border-color")),
65
- 'border-width': getPxValue($("#spu-border-width")),
66
- 'border-style': 'solid',
67
- 'display': "inline-block",
68
- 'width': $("#spu-width").val(),
69
- 'color': getColor($("#spu-color")),
70
- 'height': 'auto',
71
- 'min-width': '200px'
72
- });
 
 
 
 
 
 
73
  }
74
 
75
 
@@ -256,6 +265,7 @@ SPU_ADMIN = (function ( $ ) {
256
  return {
257
  onTinyMceInit: function() {
258
  applyStyles();
 
259
  }
260
  }
261
  }(jQuery));
9
  $(document).ready(function(){
10
 
11
  spu.rules.init();
12
+ var color_field = $('#spu-options input.spu-color-field');
13
  //Thanks to scoll triggered boxes plugin for this piece of javascript
14
+ if( color_field.length ){
15
+ color_field.wpColorPicker({ change: applyStyles, clear: applyStyles });
16
+ }
17
  $("#spu-options :input").not(".spu-color-field").change(applyStyles);
18
 
19
  //Toogle trigger boxes on init
54
  }
55
 
56
  function applyStyles()
57
+ {
58
  var $editor = $("#content_ifr").contents().find('html');
59
+ $editor.trigger('spu_tinymce_init');
60
  $editor.css({
61
+ 'background': '#9C9B9B;'
62
  });
63
 
64
+ // if there is no optin mode load defaults
65
+ if (typeof spup_js == "undefined" || !spup_js.opts.optin) {
66
+ // remove any field that could be there after deactivating premium version
67
+ $editor.find(".spu-fields-container").remove();
68
+ $editor.find("#tinymce").css({
69
+ 'padding': '25px',
70
+ 'background-color': getColor($("#spu-background-color")),
71
+ 'border-color': getColor($("#spu-border-color")),
72
+ 'border-width': getPxValue($("#spu-border-width")),
73
+ 'border-style': 'solid',
74
+ 'width': $("#spu-width").val(),
75
+ 'color': getColor($("#spu-color")),
76
+ 'height': 'auto',
77
+ 'min-width': '200px',
78
+ 'max-width': '100%',
79
+ 'margin': '8px auto 0;'
80
+ });
81
+ }
82
  }
83
 
84
 
265
  return {
266
  onTinyMceInit: function() {
267
  applyStyles();
268
+
269
  }
270
  }
271
  }(jQuery));
admin/assets/js/min/admin-min.js CHANGED
@@ -1 +1 @@
1
- var spu={rules:null};SPU_ADMIN=function($){function t(t){"percentage"==t?$("tr.auto_hide").fadeIn("fast"):$("tr.auto_hide").fadeOut("fast")}function r(t,r){return t.val()?parseInt(t.val()):void 0!==r?r+"px":0}function e(t,r){return t.val().length>0?t.wpColorPicker("color"):void 0!==r?r:""}function n(){var t=$("#content_ifr").contents().find("html");t.css({background:"white"}),t.find("#tinymce").css({padding:"25px","background-color":e($("#spu-background-color")),"border-color":e($("#spu-border-color")),"border-width":r($("#spu-border-width")),"border-style":"solid",display:"inline-block",width:$("#spu-width").val(),color:e($("#spu-color")),height:"auto","min-width":"200px"})}return $(document).ready(function(){spu.rules.init(),$("#spu-options input.spu-color-field").wpColorPicker({change:n,clear:n}),$("#spu-options :input").not(".spu-color-field").change(n),t($("#spu_trigger").val()),$("#spu_trigger").change(function(){t($(this).val())})}),spu.rules={$el:null,init:function(){var t=this;t.$el=$("#spu-rules"),t.$el.on("click",".rules-add-rule",function(){return t.add_rule($(this).closest("tr")),!1}),t.$el.on("click",".rules-remove-rule",function(){return t.remove_rule($(this).closest("tr")),!1}),t.$el.on("click",".rules-add-group",function(){return t.add_group(),!1}),t.$el.on("change",".param select",function(){var t=$(this).closest("tr"),r=t.attr("data-id"),e=t.closest(".rules-group"),n=e.attr("data-id"),i={action:"spu/field_group/render_rules",nonce:spu_js.nonce,rule_id:r,group_id:n,value:"",param:$(this).val()},a=$('<div class="spu-loading"><img src="'+spu_js.admin_url+'/images/wpspin_light.gif"/> </div>');t.find("td.value").html(a),$.ajax({url:ajaxurl,data:i,type:"post",dataType:"html",success:function(t){a.replaceWith(t)}})})},add_rule:function(t){var r=t.clone(),e=r.attr("data-id"),n="rule_"+(parseInt(e.replace("rule_",""),10)+1);return r.find("[name]").each(function(){$(this).attr("name",$(this).attr("name").replace(e,n)),$(this).attr("id",$(this).attr("id").replace(e,n))}),r.attr("data-id",n),t.after(r),!1},remove_rule:function(t){var r=t.siblings("tr").length;0==r?this.remove_group(t.closest(".rules-group")):t.remove()},add_group:function(){var t=this.$el.find(".rules-group:last"),r=t.clone(),e=r.attr("data-id"),n="group_"+(parseInt(e.replace("group_",""),10)+1);r.find("[name]").each(function(){$(this).attr("name",$(this).attr("name").replace(e,n)),$(this).attr("id",$(this).attr("id").replace(e,n))}),r.attr("data-id",n),r.find("h4").text(spu_js.l10n.or),r.find("tr:not(:first)").remove(),t.after(r)},remove_group:function(t){t.remove()}},{onTinyMceInit:function(){n()}}}(jQuery);
1
+ var spu={rules:null};SPU_ADMIN=function($){function t(t){"percentage"==t?$("tr.auto_hide").fadeIn("fast"):$("tr.auto_hide").fadeOut("fast")}function r(t,r){return t.val()?parseInt(t.val()):void 0!==r?r+"px":0}function e(t,r){return t.val().length>0?t.wpColorPicker("color"):void 0!==r?r:""}function n(){var t=$("#content_ifr").contents().find("html");t.trigger("spu_tinymce_init"),t.css({background:"#9C9B9B;"}),"undefined"!=typeof spup_js&&spup_js.opts.optin||(t.find(".spu-fields-container").remove(),t.find("#tinymce").css({padding:"25px","background-color":e($("#spu-background-color")),"border-color":e($("#spu-border-color")),"border-width":r($("#spu-border-width")),"border-style":"solid",width:$("#spu-width").val(),color:e($("#spu-color")),height:"auto","min-width":"200px","max-width":"100%",margin:"8px auto 0;"}))}return $(document).ready(function(){spu.rules.init();var r=$("#spu-options input.spu-color-field");r.length&&r.wpColorPicker({change:n,clear:n}),$("#spu-options :input").not(".spu-color-field").change(n),t($("#spu_trigger").val()),$("#spu_trigger").change(function(){t($(this).val())})}),spu.rules={$el:null,init:function(){var t=this;t.$el=$("#spu-rules"),t.$el.on("click",".rules-add-rule",function(){return t.add_rule($(this).closest("tr")),!1}),t.$el.on("click",".rules-remove-rule",function(){return t.remove_rule($(this).closest("tr")),!1}),t.$el.on("click",".rules-add-group",function(){return t.add_group(),!1}),t.$el.on("change",".param select",function(){var t=$(this).closest("tr"),r=t.attr("data-id"),e=t.closest(".rules-group"),n=e.attr("data-id"),i={action:"spu/field_group/render_rules",nonce:spu_js.nonce,rule_id:r,group_id:n,value:"",param:$(this).val()},a=$('<div class="spu-loading"><img src="'+spu_js.admin_url+'/images/wpspin_light.gif"/> </div>');t.find("td.value").html(a),$.ajax({url:ajaxurl,data:i,type:"post",dataType:"html",success:function(t){a.replaceWith(t)}})})},add_rule:function(t){var r=t.clone(),e=r.attr("data-id"),n="rule_"+(parseInt(e.replace("rule_",""),10)+1);return r.find("[name]").each(function(){$(this).attr("name",$(this).attr("name").replace(e,n)),$(this).attr("id",$(this).attr("id").replace(e,n))}),r.attr("data-id",n),t.after(r),!1},remove_rule:function(t){var r=t.siblings("tr").length;0==r?this.remove_group(t.closest(".rules-group")):t.remove()},add_group:function(){var t=this.$el.find(".rules-group:last"),r=t.clone(),e=r.attr("data-id"),n="group_"+(parseInt(e.replace("group_",""),10)+1);r.find("[name]").each(function(){$(this).attr("name",$(this).attr("name").replace(e,n)),$(this).attr("id",$(this).attr("id").replace(e,n))}),r.attr("data-id",n),r.find("h4").text(spu_js.l10n.or),r.find("tr:not(:first)").remove(),t.after(r)},remove_group:function(t){t.remove()}},{onTinyMceInit:function(){n()}}}(jQuery);
admin/class-social-popup-admin.php CHANGED
@@ -12,9 +12,6 @@
12
 
13
  define( 'SPU_ADMIN_DIR' , plugin_dir_path(__FILE__) );
14
 
15
- // Include Helper class
16
- include_once( SPU_PLUGIN_DIR . 'includes/class-spu-helper.php' );
17
-
18
 
19
  /**
20
  * Admin Class of the plugin
@@ -118,7 +115,7 @@ class SocialPopup_Admin {
118
 
119
  //Tinymce
120
  add_filter( 'tiny_mce_before_init', array($this, 'tinymce_init') );
121
-
122
  }
123
 
124
  /**
@@ -218,12 +215,6 @@ class SocialPopup_Admin {
218
  */
219
  public function settings_page() {
220
 
221
- if ( isset( $_POST['spu_nonce'] ) && wp_verify_nonce( $_POST['spu_nonce'], 'spu_save_settings' ) ) {
222
-
223
- update_option( 'spu_settings', esc_sql( @$_POST['spu_settings'] ) );
224
-
225
- }
226
-
227
  $defaults = array(
228
  'debug' => '',
229
  'safe' => '',
@@ -232,9 +223,15 @@ class SocialPopup_Admin {
232
  'google' => '',
233
  'twitter' => '',
234
  );
235
-
236
  $opts = apply_filters( 'spu/settings_page/opts', get_option( 'spu_settings', $defaults ) );
237
 
 
 
 
 
 
 
 
238
  include 'views/settings-page.php';
239
 
240
  }
@@ -397,8 +394,8 @@ class SocialPopup_Admin {
397
  * Saves popup options and rules
398
  *
399
  * @param $post_id
400
- * @param $post
401
- * @param $update
402
  */
403
  public function save_meta_options( $post_id ) {
404
  // Verify that the nonce is set and valid.
@@ -533,11 +530,14 @@ class SocialPopup_Admin {
533
  * @return null Return early if no settings page is registered.
534
  */
535
  public function enqueue_admin_scripts() {
536
- global $pagenow;
537
 
538
  if ( get_post_type() !== 'spucpt' || !in_array( $pagenow, array( 'post-new.php', 'post.php' ) ) ) {
539
  return;
540
  }
 
 
 
541
  wp_enqueue_script( 'wp-color-picker' );
542
  wp_enqueue_script( 'spu-admin-js', plugins_url( 'assets/js/admin.js', __FILE__ ) , '', SocialPopup::VERSION );
543
  wp_localize_script( 'spu-admin-js', 'spu_js',
@@ -546,9 +546,18 @@ class SocialPopup_Admin {
546
  'nonce' => wp_create_nonce( 'spu_nonce' ),
547
  'l10n' => array (
548
  'or' => __('or', $this->plugin_slug )
549
- )
 
550
  )
551
  );
 
 
 
 
 
 
 
 
552
  }
553
 
554
 
@@ -668,9 +677,16 @@ class SocialPopup_Admin {
668
  return $args;
669
  }
670
 
671
- $args['setup'] = 'function(ed) { if(typeof SPU_ADMIN === \'undefined\') { return; } ed.onInit.add(SPU_ADMIN.onTinyMceInit); }';
672
 
673
  return $args;
674
  }
675
 
 
 
 
 
 
 
 
676
  }
12
 
13
  define( 'SPU_ADMIN_DIR' , plugin_dir_path(__FILE__) );
14
 
 
 
 
15
 
16
  /**
17
  * Admin Class of the plugin
115
 
116
  //Tinymce
117
  add_filter( 'tiny_mce_before_init', array($this, 'tinymce_init') );
118
+ add_action( 'admin_init', array( $this, 'editor_styles' ) );
119
  }
120
 
121
  /**
215
  */
216
  public function settings_page() {
217
 
 
 
 
 
 
 
218
  $defaults = array(
219
  'debug' => '',
220
  'safe' => '',
223
  'google' => '',
224
  'twitter' => '',
225
  );
 
226
  $opts = apply_filters( 'spu/settings_page/opts', get_option( 'spu_settings', $defaults ) );
227
 
228
+ if ( isset( $_POST['spu_nonce'] ) && wp_verify_nonce( $_POST['spu_nonce'], 'spu_save_settings' ) ) {
229
+ $opts = array_merge(esc_sql( @$_POST['spu_settings'] ), $opts);
230
+ update_option( 'spu_settings' , $opts );
231
+ }
232
+
233
+
234
+
235
  include 'views/settings-page.php';
236
 
237
  }
394
  * Saves popup options and rules
395
  *
396
  * @param $post_id
397
+ *
398
+ * @return mixed
399
  */
400
  public function save_meta_options( $post_id ) {
401
  // Verify that the nonce is set and valid.
530
  * @return null Return early if no settings page is registered.
531
  */
532
  public function enqueue_admin_scripts() {
533
+ global $pagenow, $post;
534
 
535
  if ( get_post_type() !== 'spucpt' || !in_array( $pagenow, array( 'post-new.php', 'post.php' ) ) ) {
536
  return;
537
  }
538
+
539
+ $box_id = isset( $post->ID ) ? $post->ID : '';
540
+
541
  wp_enqueue_script( 'wp-color-picker' );
542
  wp_enqueue_script( 'spu-admin-js', plugins_url( 'assets/js/admin.js', __FILE__ ) , '', SocialPopup::VERSION );
543
  wp_localize_script( 'spu-admin-js', 'spu_js',
546
  'nonce' => wp_create_nonce( 'spu_nonce' ),
547
  'l10n' => array (
548
  'or' => __('or', $this->plugin_slug )
549
+ ),
550
+ 'opts' => $this->helper->get_box_options($box_id)
551
  )
552
  );
553
+
554
+ wp_localize_script( 'spup-admin-js' , 'spup_js' ,
555
+ array(
556
+ 'opts' => $this->helper->get_box_options($box_id),
557
+ 'spinner' => SPU_PLUGIN_URL . 'public/assets/img/ajax-loader.gif'
558
+
559
+ )
560
+ );
561
  }
562
 
563
 
677
  return $args;
678
  }
679
 
680
+ $args['setup'] = 'function(ed) { if(typeof SPU_ADMIN === \'undefined\') { return; } ed.onInit.add(SPU_ADMIN.onTinyMceInit);if(typeof SPUP_ADMIN === \'undefined\') { return; } ed.onInit.add(SPUP_ADMIN.onTinyMceInit); }';
681
 
682
  return $args;
683
  }
684
 
685
+ /**
686
+ * Add the stylesheet for optin in editor
687
+ * @since 1.2.3.6
688
+ */
689
+ function editor_styles() {
690
+ add_editor_style( SPU_PLUGIN_URL .'admin/assets/css/editor-style.css' );
691
+ }
692
  }
admin/views/metaboxes/metabox-links.php CHANGED
@@ -8,6 +8,6 @@ if ( !defined( 'ABSPATH' ) ) exit;
8
  <h4><?php _e( 'Other plugins I built:', $this->plugin_slug );?></h4>
9
  <ul>
10
  <li> <a href="http://wordpress.org/plugins/wpfavs/" target="_blank">Wp Favs</a> - <?php _e( 'Install multiple plugins and create collections', $this->plugin_slug );?></li>
11
- <li> <a href="http://wordpress.org/plugins/twitter-like-box-reloaded/" target="_blank">Twitter like Box</a> - <?php _e( 'Like Facebook like box but for Twitter', $this->plugin_slug );?></li>
12
  <li> <a href="http://wordpress.org/plugins/wp-social-invitations" target="_blank">Wordpress Social Invitations</a> - <?php _e( 'Invite your network friends and import contacts', $this->plugin_slug );?></li>
13
  </ul>
8
  <h4><?php _e( 'Other plugins I built:', $this->plugin_slug );?></h4>
9
  <ul>
10
  <li> <a href="http://wordpress.org/plugins/wpfavs/" target="_blank">Wp Favs</a> - <?php _e( 'Install multiple plugins and create collections', $this->plugin_slug );?></li>
11
+ <li> <a href="http://wordpress.org/plugins/geotargeting/" target="_blank">Geotargeting</a> - <?php _e( 'Geotarget your content', $this->plugin_slug );?></li>
12
  <li> <a href="http://wordpress.org/plugins/wp-social-invitations" target="_blank">Wordpress Social Invitations</a> - <?php _e( 'Invite your network friends and import contacts', $this->plugin_slug );?></li>
13
  </ul>
admin/views/metaboxes/metabox-options.php CHANGED
@@ -41,7 +41,6 @@ if ( !defined( 'ABSPATH' ) ) exit;?>
41
  <label><input type="radio" id="spu_auto_hide_0" name="spu[auto_hide]" value="0" <?php checked($opts['auto_hide'], 0); ?> /> <?php _e( 'No' ); ?></label> &nbsp;
42
  <p class="help"><?php _e( 'Hide box again when visitors scroll back up? Only works when Trigger action is set to % of page height', $this->plugin_slug ); ?></p>
43
  </td>
44
-
45
  </tr>
46
  <tr valign="top">
47
  <th><label><?php _e( 'Animation', $this->plugin_slug ); ?></label></th>
@@ -71,46 +70,61 @@ if ( !defined( 'ABSPATH' ) ) exit;?>
71
  <p class="help"><?php _e( 'If test mode is enabled, the box will show up regardless of whether a cookie has been set. (To admins only)', $this->plugin_slug ); ?></p>
72
  </td>
73
  </tr>
74
- <?php do_action( 'spu/metaboxes/after_display_options', $opts );?>
75
- </table>
76
-
77
- <h3 class="spu-title"><?php _e( 'Appearance', $this->plugin_slug ); ?></h3>
78
- <table class="form-table">
79
- <?php do_action( 'spu/metaboxes/before_appearance_options', $opts );?>
80
- <tr valign="top">
81
- <th><label for="spu_bgopacity"><?php _e( 'Background opacity', $this->plugin_slug ); ?></label></th>
82
  <td colspan="3">
83
- <input type="number" id="spu_bgopacity" name="spu[css][bgopacity]" min="0" step="0.1" max="1" value="<?php echo esc_attr($opts['css']['bgopacity']); ?>" />
84
- <p class="help"><?php _e( 'Leave at 0 for no background. Max value is 1', $this->plugin_slug ); ?></p>
85
- </td>
86
-
87
- </tr>
88
- <tr valign="top">
89
- <td>
90
- <label class="spu-label" for="spu-background-color"><?php _e( 'Background color', $this->plugin_slug ); ?></label>
91
- <input id="spu-background-color" name="spu[css][background_color]" type="text" class="spu-color-field" value="<?php echo esc_attr($opts['css']['background_color']); ?>" />
92
- </td>
93
- <td>
94
- <label class="spu-label" for="spu-color"><?php _e( 'Text color', $this->plugin_slug ); ?></label>
95
- <input id="spu-color" name="spu[css][color]" type="text" class="spu-color-field" value="<?php echo esc_attr($opts['css']['color']); ?>" />
96
- </td>
97
- <td>
98
- <label class="spu-label" for="spu-width"><?php _e( 'Box width', $this->plugin_slug ); ?></label>
99
- <input id="spu-width" name="spu[css][width]" id="spu-box-width" type="text" class="small" value="<?php echo esc_attr($opts['css']['width']); ?>" />
100
  </td>
101
  </tr>
102
- <tr valign="top">
103
- <td>
104
- <label class="spu-label" for="spu-border-color"><?php _e( 'Border color', $this->plugin_slug ); ?></label>
105
- <input name="spu[css][border_color]" id="spu-border-color" type="text" class="spu-color-field" value="<?php echo esc_attr($opts['css']['border_color']); ?>" />
106
- </td>
107
- <td>
108
- <label class="spu-label" for="spu-border-width"><?php _e( 'Border width', $this->plugin_slug ); ?></label>
109
- <input name="spu[css][border_width]" id="spu-border-width" type="number" min="0" max="25" value="<?php echo esc_attr($opts['css']['border_width']); ?>" /> px
110
  </td>
111
- <td></td>
112
  </tr>
113
- <?php do_action( 'spu/metaboxes/after_appearance_options', $opts );?>
114
  </table>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
 
116
  <?php wp_nonce_field( 'spu_options', 'spu_options_nonce' ); ?>
41
  <label><input type="radio" id="spu_auto_hide_0" name="spu[auto_hide]" value="0" <?php checked($opts['auto_hide'], 0); ?> /> <?php _e( 'No' ); ?></label> &nbsp;
42
  <p class="help"><?php _e( 'Hide box again when visitors scroll back up? Only works when Trigger action is set to % of page height', $this->plugin_slug ); ?></p>
43
  </td>
 
44
  </tr>
45
  <tr valign="top">
46
  <th><label><?php _e( 'Animation', $this->plugin_slug ); ?></label></th>
70
  <p class="help"><?php _e( 'If test mode is enabled, the box will show up regardless of whether a cookie has been set. (To admins only)', $this->plugin_slug ); ?></p>
71
  </td>
72
  </tr>
73
+ <tr valign="top" class="conversion_close">
74
+ <th><label for="spu_conversion_close"><?php _e( 'Close on conversion?', $this->plugin_slug ); ?></label></th>
 
 
 
 
 
 
75
  <td colspan="3">
76
+ <label><input type="radio" id="spu_conversion_close_1" name="spu[conversion_close]" value="1" <?php checked($opts['conversion_close'], 1); ?> /> <?php _e( 'Yes' ); ?></label> &nbsp;
77
+ <label><input type="radio" id="spu_conversion_close_0" name="spu[conversion_close]" value="0" <?php checked($opts['conversion_close'], 0); ?> /> <?php _e( 'No' ); ?></label> &nbsp;
78
+ <p class="help"><?php _e( 'If you have a form or social shortcode, by default popup will close on submission/conversion', $this->plugin_slug ); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  </td>
80
  </tr>
81
+ <tr valign="top" class="powered_link">
82
+ <th><label for="spu_powered_link"><?php _e( 'Show powered by link?', $this->plugin_slug ); ?></label></th>
83
+ <td colspan="3">
84
+ <label><input type="radio" id="spu_powered_link_1" name="spu[powered_link]" value="1" <?php checked($opts['powered_link'], 1); ?> /> <?php _e( 'Yes' ); ?></label> &nbsp;
85
+ <label><input type="radio" id="spu_powered_link_0" name="spu[powered_link]" value="0" <?php checked($opts['powered_link'], 0); ?> /> <?php _e( 'No' ); ?></label> &nbsp;
86
+ <p class="help"><?php echo sprintf(__( 'Shows a "powered by" link below your popup. If your affiliate link is set in the <a href="%s">settings</a>, it will be used.', $this->plugin_slug ), admin_url('edit.php?post_type=spucpt&page=spu_settings')); ?></p>
 
 
87
  </td>
 
88
  </tr>
89
+ <?php do_action( 'spu/metaboxes/after_display_options', $opts );?>
90
  </table>
91
+ <h3 class="spu-title"><?php _e( 'Appearance', $this->plugin_slug ); ?></h3>
92
+ <table class="form-table">
93
+ <?php do_action( 'spu/metaboxes/before_appearance_options', $opts );?>
94
+ <tr valign="top">
95
+ <th><label for="spu_bgopacity"><?php _e( 'Background opacity', $this->plugin_slug ); ?></label></th>
96
+ <td colspan="3">
97
+ <input type="number" id="spu_bgopacity" name="spu[css][bgopacity]" min="0" step="0.1" max="1" value="<?php echo esc_attr($opts['css']['bgopacity']); ?>" />
98
+ <p class="help"><?php _e( 'Leave at 0 for no background. Max value is 1', $this->plugin_slug ); ?></p>
99
+ </td>
100
+
101
+ </tr>
102
+ <tr valign="top" class="spu-appearance">
103
+ <td>
104
+ <label class="spu-label" for="spu-background-color"><?php _e( 'Background color', $this->plugin_slug ); ?></label>
105
+ <input id="spu-background-color" name="spu[css][background_color]" type="text" class="spu-color-field" value="<?php echo esc_attr($opts['css']['background_color']); ?>" />
106
+ </td>
107
+ <td>
108
+ <label class="spu-label" for="spu-color"><?php _e( 'Text color', $this->plugin_slug ); ?></label>
109
+ <input id="spu-color" name="spu[css][color]" type="text" class="spu-color-field" value="<?php echo esc_attr($opts['css']['color']); ?>" />
110
+ </td>
111
+ <td>
112
+ <label class="spu-label" for="spu-width"><?php _e( 'Box width', $this->plugin_slug ); ?></label>
113
+ <input id="spu-width" name="spu[css][width]" id="spu-box-width" type="text" class="small" value="<?php echo esc_attr($opts['css']['width']); ?>" />
114
+ </td>
115
+ </tr>
116
+ <tr valign="top" class="spu-appearance">
117
+ <td>
118
+ <label class="spu-label" for="spu-border-color"><?php _e( 'Border color', $this->plugin_slug ); ?></label>
119
+ <input name="spu[css][border_color]" id="spu-border-color" type="text" class="spu-color-field" value="<?php echo esc_attr($opts['css']['border_color']); ?>" />
120
+ </td>
121
+ <td>
122
+ <label class="spu-label" for="spu-border-width"><?php _e( 'Border width', $this->plugin_slug ); ?></label>
123
+ <input name="spu[css][border_width]" id="spu-border-width" type="number" min="0" max="25" value="<?php echo esc_attr($opts['css']['border_width']); ?>" /> px
124
+ </td>
125
+ <td></td>
126
+ </tr>
127
+ <?php do_action( 'spu/metaboxes/after_appearance_options', $opts );?>
128
+ </table>
129
 
130
  <?php wp_nonce_field( 'spu_options', 'spu_options_nonce' ); ?>
admin/views/metaboxes/metabox-premium.php CHANGED
@@ -16,7 +16,8 @@ if($today > $blackbegin && $today < $blackend) : ?>
16
  <p><?php _e( 'Take the best WordPress Popups plugin to the next level with Popups Premium extension.', $this->plugin_slug );?></p>
17
  <h2><?php _e( 'Popups Premium Features:', $this->plugin_slug );?></h2>
18
  <ul>
19
- <li><?php _e( 'Track impressions and Conversions of social likes/follow and forms submissions like Contact Form 7, Gravity forms, etc', $this->plugin_slug );?></li>
 
20
  <li><?php _e( 'Track impressions and Conversions also in Google Analytics', $this->plugin_slug );?></li>
21
  <li><?php _e( 'Exit Intent technology', $this->plugin_slug );?></li>
22
  <li><?php _e( '8 New animations effects', $this->plugin_slug );?> - <a href="http://wp.timersys.com/popups/?utm_source=Plugin&utm_medium=demo-button&utm_campaign=Popups%20Premium">Online demo</a></li>
@@ -27,7 +28,7 @@ if($today > $blackbegin && $today < $blackend) : ?>
27
  <li><?php _e( 'Ability to disable Advanced close methods like esc or clicking outside of the popup', $this->plugin_slug );?></li>
28
  <li><?php _e( 'Premium support', $this->plugin_slug );?></li>
29
  </ul>
30
- <p><strong>Hurry up and get your copy!</strong> Take advantage of this <span style="color:red">launch offer</span> before the price goes up. We have a <strong>lot of new features</strong> to be added soon like mailchimp integration, aweber, etc</p>
31
  <p style="text-align:center">
32
  <a class="button-primary" href="http://wp.timersys.com/downloads/popups-premium/?utm_source=Plugin&utm_medium=buy-button&utm_campaign=Popups%20Premium"><?php _e( 'Buy Now!', $this->plugin_slug );?></a>
33
  </p>
16
  <p><?php _e( 'Take the best WordPress Popups plugin to the next level with Popups Premium extension.', $this->plugin_slug );?></p>
17
  <h2><?php _e( 'Popups Premium Features:', $this->plugin_slug );?></h2>
18
  <ul>
19
+ <li><?php _e( 'Beautiful optin forms for popular mail providers like MailChimp', $this->plugin_slug );?></li>
20
+ <li><?php _e( 'Track impressions and Conversions of social likes and forms submissions like Contact Form 7, Gravity forms, etc', $this->plugin_slug );?></li>
21
  <li><?php _e( 'Track impressions and Conversions also in Google Analytics', $this->plugin_slug );?></li>
22
  <li><?php _e( 'Exit Intent technology', $this->plugin_slug );?></li>
23
  <li><?php _e( '8 New animations effects', $this->plugin_slug );?> - <a href="http://wp.timersys.com/popups/?utm_source=Plugin&utm_medium=demo-button&utm_campaign=Popups%20Premium">Online demo</a></li>
28
  <li><?php _e( 'Ability to disable Advanced close methods like esc or clicking outside of the popup', $this->plugin_slug );?></li>
29
  <li><?php _e( 'Premium support', $this->plugin_slug );?></li>
30
  </ul>
31
+ <p><strong>Hurry up and get your copy!</strong> Take advantage of this <span style="color:red">launch offer</span> before the price goes up. We have a <strong>lot of new features</strong> to be added soon like aweber integration, etc</p>
32
  <p style="text-align:center">
33
  <a class="button-primary" href="http://wp.timersys.com/downloads/popups-premium/?utm_source=Plugin&utm_medium=buy-button&utm_campaign=Popups%20Premium"><?php _e( 'Buy Now!', $this->plugin_slug );?></a>
34
  </p>
admin/views/settings-page.php CHANGED
@@ -13,14 +13,19 @@
13
  <form name="spu-settings" method="post">
14
  <table class="form-table">
15
  <?php do_action( 'spu/settings_page/before' ); ?>
16
-
 
 
 
 
 
 
17
  <tr valign="top" class="">
18
  <th><label for="ajax_mode"><?php _e( 'Ajax mode?', $this->plugin_slug ); ?></label></th>
19
  <td colspan="3">
20
  <label><input type="checkbox" id="ajax_mode" name="spu_settings[ajax_mode]" value="1" <?php checked(@$opts['ajax_mode'], 1); ?> />
21
  <p class="help"><?php _e( 'Load popups using ajax. Compatible with cache plugins, but might not work with all plugins', $this->plugin_slug ); ?></p>
22
  </td>
23
-
24
  </tr>
25
 
26
  <tr valign="top" class="">
13
  <form name="spu-settings" method="post">
14
  <table class="form-table">
15
  <?php do_action( 'spu/settings_page/before' ); ?>
16
+ <tr valign="top" class="">
17
+ <th><label for="add_link"><?php _e( 'Affiliate link', $this->plugin_slug ); ?></label></th>
18
+ <td colspan="3">
19
+ <label><input type="text" id="add_link" name="spu_settings[aff_link]" value="<?php echo @$opts['aff_link'];?>" class="regular-text" />
20
+ <p class="help"><?php echo sprintf(__( 'You can earn money by promoting the plugin! Join <a href="%s">our affiliate program</a> and paste your affiliate link here to earn 35&#37; in commissions . Once entered, it will replace the default "Powered by" on the popups.', $this->plugin_slug ) , 'https://wp.timersys.com/affiliates/'); ?></p>
21
+ </td>
22
+ </tr>
23
  <tr valign="top" class="">
24
  <th><label for="ajax_mode"><?php _e( 'Ajax mode?', $this->plugin_slug ); ?></label></th>
25
  <td colspan="3">
26
  <label><input type="checkbox" id="ajax_mode" name="spu_settings[ajax_mode]" value="1" <?php checked(@$opts['ajax_mode'], 1); ?> />
27
  <p class="help"><?php _e( 'Load popups using ajax. Compatible with cache plugins, but might not work with all plugins', $this->plugin_slug ); ?></p>
28
  </td>
 
29
  </tr>
30
 
31
  <tr valign="top" class="">
includes/class-spu-helper.php CHANGED
@@ -393,6 +393,8 @@ class Spu_Helper {
393
  'cookie' => '99',
394
  'auto_hide' => 0,
395
  'test_mode' => 0,
 
 
396
  );
397
 
398
  $opts = get_post_meta( $id, 'spu_options', true );
393
  'cookie' => '99',
394
  'auto_hide' => 0,
395
  'test_mode' => 0,
396
+ 'conversion_close' => '1',
397
+ 'powered_link' => '1',
398
  );
399
 
400
  $opts = get_post_meta( $id, 'spu_options', true );
languages/popups.mo ADDED
Binary file
languages/popups.pot CHANGED
@@ -4,116 +4,112 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Popups\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
7
- "POT-Creation-Date: 2015-01-26 10:24-0300\n"
8
- "PO-Revision-Date: 2015-01-26 10:24-0300\n"
9
  "Last-Translator: Damian Logghe <info@timersys.com>\n"
10
  "Language-Team: Timersys <info@timersys.com>\n"
11
  "Language: en_EN\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
- "X-Generator: Poedit 1.6.8\n"
16
  "X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;"
17
  "esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n"
18
  "X-Poedit-Basepath: ../\n"
19
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
- #: admin/class-social-popup-admin.php:150
23
- msgctxt "post type general name"
24
- msgid "Popups v"
25
- msgstr ""
26
-
27
- #: admin/class-social-popup-admin.php:151
28
  msgctxt "post type singular name"
29
  msgid "Popups"
30
  msgstr ""
31
 
32
- #: admin/class-social-popup-admin.php:152
33
  msgctxt "admin menu"
34
  msgid "Popups"
35
  msgstr ""
36
 
37
- #: admin/class-social-popup-admin.php:153
38
  msgctxt "add new on admin bar"
39
  msgid "Popups"
40
  msgstr ""
41
 
42
- #: admin/class-social-popup-admin.php:154
43
  msgctxt "Popups"
44
  msgid "Add New"
45
  msgstr ""
46
 
47
- #: admin/class-social-popup-admin.php:155
48
  msgid "Add New Popups"
49
  msgstr ""
50
 
51
- #: admin/class-social-popup-admin.php:156
52
  msgid "New Popups"
53
  msgstr ""
54
 
55
- #: admin/class-social-popup-admin.php:157
56
  msgid "Edit Popups"
57
  msgstr ""
58
 
59
- #: admin/class-social-popup-admin.php:158
60
  msgid "View Popups"
61
  msgstr ""
62
 
63
- #: admin/class-social-popup-admin.php:159
64
  msgid "All Popups"
65
  msgstr ""
66
 
67
- #: admin/class-social-popup-admin.php:160
68
  msgid "Search Popups"
69
  msgstr ""
70
 
71
- #: admin/class-social-popup-admin.php:161
72
  msgid "Parent Popups:"
73
  msgstr ""
74
 
75
- #: admin/class-social-popup-admin.php:162
76
  msgid "No Popups found."
77
  msgstr ""
78
 
79
- #: admin/class-social-popup-admin.php:163
80
  msgid "No Popups found in Trash."
81
  msgstr ""
82
 
83
- #: admin/class-social-popup-admin.php:244
84
  msgid "Popups Premium"
85
  msgstr ""
86
 
87
- #: admin/class-social-popup-admin.php:255
88
  msgid "PopUp Shortcodes"
89
  msgstr ""
90
 
91
- #: admin/class-social-popup-admin.php:264
92
  msgid "PopUp Display Rules"
93
  msgstr ""
94
 
95
- #: admin/class-social-popup-admin.php:273
96
  msgid "Display Options"
97
  msgstr ""
98
 
99
- #: admin/class-social-popup-admin.php:282
100
  msgid "Need support?"
101
  msgstr ""
102
 
103
- #: admin/class-social-popup-admin.php:290
104
  msgid "Donate & support"
105
  msgstr ""
106
 
107
- #: admin/class-social-popup-admin.php:298
108
  msgid "About the developer"
109
  msgstr ""
110
 
111
- #: admin/class-social-popup-admin.php:541 admin/views/metabox-rules.php:33
112
- #: admin/views/metabox-rules.php:137
 
113
  msgid "or"
114
  msgstr ""
115
 
116
- #: admin/class-social-popup-admin.php:559
117
  msgid "Add a Popup"
118
  msgstr ""
119
 
@@ -125,496 +121,510 @@ msgstr ""
125
  msgid "credits"
126
  msgstr ""
127
 
128
- #: admin/views/metabox-donate.php:6
129
  msgid "If you like this plugin, consider supporting it by donating."
130
  msgstr ""
131
 
132
- #: admin/views/metabox-donate.php:8
133
  msgid "Donate with PayPal"
134
  msgstr ""
135
 
136
- #: admin/views/metabox-donate.php:10
137
  msgid "Some other ways to support this plugin"
138
  msgstr ""
139
 
140
- #: admin/views/metabox-donate.php:12
141
  msgid "Leave a &#9733;&#9733;&#9733;&#9733;&#9733; review on WordPress.org"
142
  msgstr ""
143
 
144
- #: admin/views/metabox-donate.php:13
145
  msgid "Write about Popups on your blog"
146
  msgstr ""
147
 
148
- #: admin/views/metabox-donate.php:14
149
  msgid "Tweet about Popups"
150
  msgstr ""
151
 
152
- #: admin/views/metabox-donate.php:15
153
  msgid "Vote \"works\" on the WordPress.org plugin page"
154
  msgstr ""
155
 
156
- #: admin/views/metabox-help.php:6
157
  msgid ""
158
  "You have three social shortcodes to use that will print a Facebook like, a "
159
  "Google+ Follow and a Twitter follow. Check the available options and "
160
  "<strong>configure them with your social accounts</strong>:"
161
  msgstr ""
162
 
163
- #: admin/views/metabox-help.php:12
164
  msgid "View Facebook Options"
165
  msgstr ""
166
 
167
- #: admin/views/metabox-help.php:14
168
  msgid "Your facebook page url"
169
  msgstr ""
170
 
171
- #: admin/views/metabox-help.php:15
172
  msgid "standard, box_count, button <b>Default value:</b> button_count"
173
  msgstr ""
174
 
175
- #: admin/views/metabox-help.php:16 admin/views/metabox-help.php:17
 
176
  msgid "true <b>Default value:</b> false"
177
  msgstr ""
178
 
179
- #: admin/views/metabox-help.php:18
180
  msgid "recommend <b>Default value:</b> like"
181
  msgstr ""
182
 
183
- #: admin/views/metabox-help.php:25
184
  msgid "View Google+ Options"
185
  msgstr ""
186
 
187
- #: admin/views/metabox-help.php:27
188
  msgid "Your Google+ url"
189
  msgstr ""
190
 
191
- #: admin/views/metabox-help.php:28
192
  msgid "small, standard, tall <b>Default value:</b> medium"
193
  msgstr ""
194
 
195
- #: admin/views/metabox-help.php:29
196
  msgid "inline, none <b>Default value:</b> bubble"
197
  msgstr ""
198
 
199
- #: admin/views/metabox-help.php:35
200
  msgid "View Twitter Options"
201
  msgstr ""
202
 
203
- #: admin/views/metabox-help.php:37
204
  msgid "Your Twitter user <b>Default chifli</b>iiii"
205
  msgstr ""
206
 
207
- #: admin/views/metabox-help.php:38
208
  msgid "false <b>Default value:</b> true"
209
  msgstr ""
210
 
211
- #: admin/views/metabox-help.php:39
212
  msgid "large <b>Default value:</b> \"\""
213
  msgstr ""
214
 
215
- #: admin/views/metabox-help.php:42
216
  msgid "Other available Shortcodes:"
217
  msgstr ""
218
 
219
- #: admin/views/metabox-help.php:47
220
  msgid "View Close shortcode Options"
221
  msgstr ""
222
 
223
- #: admin/views/metabox-help.php:49
224
  msgid "Pass a custom class to style your button"
225
  msgstr ""
226
 
227
- #: admin/views/metabox-help.php:50
228
  msgid "Button label - <b>Default value:</b> Close"
229
  msgstr ""
230
 
231
- #: admin/views/metabox-help.php:51
232
  msgid "left, right, center, none - <b>Default value:</b> center"
233
  msgstr ""
234
 
235
- #: admin/views/metabox-links.php:6
236
  msgid "My name is"
237
  msgstr ""
238
 
239
- #: admin/views/metabox-links.php:6
240
  msgid "I develop WordPress plugins and themes."
241
  msgstr ""
242
 
243
- #: admin/views/metabox-links.php:7
244
  #, php-format
245
  msgid ""
246
  "Take a look at my <a href=\"%s\">site</a> to see my other plugins or hire "
247
  "me. Subscribe to get updates!"
248
  msgstr ""
249
 
250
- #: admin/views/metabox-links.php:8
251
  msgid "Other plugins I built:"
252
  msgstr ""
253
 
254
- #: admin/views/metabox-links.php:10
255
  msgid "Install multiple plugins and create collections"
256
  msgstr ""
257
 
258
- #: admin/views/metabox-links.php:11
259
  msgid "Like Facebook like box but for Twitter"
260
  msgstr ""
261
 
262
- #: admin/views/metabox-links.php:12
263
  msgid "Invite your network friends and import contacts"
264
  msgstr ""
265
 
266
- #: admin/views/metabox-options.php:9
267
  msgid "Box Position"
268
  msgstr ""
269
 
270
- #: admin/views/metabox-options.php:12
271
  msgid "Centered"
272
  msgstr ""
273
 
274
- #: admin/views/metabox-options.php:13
275
  msgid "Top Left"
276
  msgstr ""
277
 
278
- #: admin/views/metabox-options.php:14
279
  msgid "Top Right"
280
  msgstr ""
281
 
282
- #: admin/views/metabox-options.php:15
283
  msgid "Bottom Left"
284
  msgstr ""
285
 
286
- #: admin/views/metabox-options.php:16
287
  msgid "Bottom Right"
288
  msgstr ""
289
 
290
- #: admin/views/metabox-options.php:23
291
  msgid "Trigger action"
292
  msgstr ""
293
 
294
- #: admin/views/metabox-options.php:27
295
  msgid "seconds after page load"
296
  msgstr ""
297
 
298
- #: admin/views/metabox-options.php:28
299
  msgid "of page height"
300
  msgstr ""
301
 
302
- #: admin/views/metabox-options.php:38
303
  msgid "Auto-hide?"
304
  msgstr ""
305
 
306
- #: admin/views/metabox-options.php:40 admin/views/metabox-options.php:69
 
307
  msgid "Yes"
308
  msgstr ""
309
 
310
- #: admin/views/metabox-options.php:41 admin/views/metabox-options.php:70
 
311
  msgid "No"
312
  msgstr ""
313
 
314
- #: admin/views/metabox-options.php:42
315
  #, php-format
316
  msgid ""
317
  "Hide box again when visitors scroll back up? Only works when Trigger action "
318
  "is set to % of page height"
319
  msgstr ""
320
 
321
- #: admin/views/metabox-options.php:47
322
  msgid "Animation"
323
  msgstr ""
324
 
325
- #: admin/views/metabox-options.php:50
326
  msgid "Fade In"
327
  msgstr ""
328
 
329
- #: admin/views/metabox-options.php:51
330
  msgid "Slide In"
331
  msgstr ""
332
 
333
- #: admin/views/metabox-options.php:54
334
  msgid "Slide will only apply when popup is on the corners"
335
  msgstr ""
336
 
337
- #: admin/views/metabox-options.php:59
338
  msgid "Cookie expiration days"
339
  msgstr ""
340
 
341
- #: admin/views/metabox-options.php:62
342
  msgid "After closing the box, how many days should it stay hidden?"
343
  msgstr ""
344
 
345
- #: admin/views/metabox-options.php:67
346
  msgid "Enable test mode?"
347
  msgstr ""
348
 
349
- #: admin/views/metabox-options.php:71
350
  msgid ""
351
  "If test mode is enabled, the box will show up regardless of whether a cookie "
352
  "has been set. (To admins only)"
353
  msgstr ""
354
 
355
- #: admin/views/metabox-options.php:77
356
  msgid "Appearance"
357
  msgstr ""
358
 
359
- #: admin/views/metabox-options.php:81
360
  msgid "Background opacity"
361
  msgstr ""
362
 
363
- #: admin/views/metabox-options.php:84
364
  msgid "Leave at 0 for no background. Max value is 1"
365
  msgstr ""
366
 
367
- #: admin/views/metabox-options.php:90
368
  msgid "Background color"
369
  msgstr ""
370
 
371
- #: admin/views/metabox-options.php:94
372
  msgid "Text color"
373
  msgstr ""
374
 
375
- #: admin/views/metabox-options.php:98
376
  msgid "Box width"
377
  msgstr ""
378
 
379
- #: admin/views/metabox-options.php:104
380
  msgid "Border color"
381
  msgstr ""
382
 
383
- #: admin/views/metabox-options.php:108
384
  msgid "Border width"
385
  msgstr ""
386
 
387
- #: admin/views/metabox-premium.php:16
388
  msgid ""
389
  "Take the best WordPress Popups plugin to the next level with Popups Premium "
390
  "extension."
391
  msgstr ""
392
 
393
- #: admin/views/metabox-premium.php:17
394
  msgid "Popups Premium Features:"
395
  msgstr ""
396
 
397
- #: admin/views/metabox-premium.php:19
398
  msgid ""
399
  "Track impressions and Conversions of social likes/follow and forms "
400
  "submissions like Contact Form 7, Gravity forms, etc"
401
  msgstr ""
402
 
403
- #: admin/views/metabox-premium.php:20
404
  msgid "Track impressions and Conversions also in Google Analytics"
405
  msgstr ""
406
 
407
- #: admin/views/metabox-premium.php:21 admin/views/metabox-premium.php:23
 
408
  msgid "Exit Intent technology"
409
  msgstr ""
410
 
411
- #: admin/views/metabox-premium.php:22
412
  msgid "8 New animations effects"
413
  msgstr ""
414
 
415
- #: admin/views/metabox-premium.php:24
416
  msgid "New trigger methods"
417
  msgstr ""
418
 
419
- #: admin/views/metabox-premium.php:25
420
  msgid "Timer for auto closing"
421
  msgstr ""
422
 
423
- #: admin/views/metabox-premium.php:26
424
  msgid "Ability to disable close button"
425
  msgstr ""
426
 
427
- #: admin/views/metabox-premium.php:27
428
  msgid ""
429
  "Ability to disable Advanced close methods like esc or clicking outside of "
430
  "the popup"
431
  msgstr ""
432
 
433
- #: admin/views/metabox-premium.php:28
434
  msgid "Premium support"
435
  msgstr ""
436
 
437
- #: admin/views/metabox-premium.php:32
438
  msgid "Buy Now!"
439
  msgstr ""
440
 
441
- #: admin/views/metabox-rules.php:19
442
  msgid "Rules"
443
  msgstr ""
444
 
445
- #: admin/views/metabox-rules.php:20
446
  msgid "Create a set of rules to determine where the popup will show"
447
  msgstr ""
448
 
449
- #: admin/views/metabox-rules.php:31
450
  msgid "Show this popup if"
451
  msgstr ""
452
 
453
- #: admin/views/metabox-rules.php:45
454
  msgid "User"
455
  msgstr ""
456
 
457
- #: admin/views/metabox-rules.php:46
458
  msgid "User role"
459
  msgstr ""
460
 
461
- #: admin/views/metabox-rules.php:47
462
  msgid "User is logged"
463
  msgstr ""
464
 
465
- #: admin/views/metabox-rules.php:48
466
  msgid "User never left a comment"
467
  msgstr ""
468
 
469
- #: admin/views/metabox-rules.php:49
470
  msgid "User came via a search engine"
471
  msgstr ""
472
 
473
- #: admin/views/metabox-rules.php:50
474
  msgid "User did not arrive via another page on your site"
475
  msgstr ""
476
 
477
- #: admin/views/metabox-rules.php:52 admin/views/metabox-rules.php:53
 
478
  msgid "Post"
479
  msgstr ""
480
 
481
- #: admin/views/metabox-rules.php:54
 
 
 
 
482
  msgid "Post Type"
483
  msgstr ""
484
 
485
- #: admin/views/metabox-rules.php:55
486
  msgid "Post Category"
487
  msgstr ""
488
 
489
- #: admin/views/metabox-rules.php:56
490
  msgid "Post Format"
491
  msgstr ""
492
 
493
- #: admin/views/metabox-rules.php:57
494
  msgid "Post Status"
495
  msgstr ""
496
 
497
- #: admin/views/metabox-rules.php:58
498
  msgid "Post Taxonomy"
499
  msgstr ""
500
 
501
- #: admin/views/metabox-rules.php:60 admin/views/metabox-rules.php:61
 
502
  msgid "Page"
503
  msgstr ""
504
 
505
- #: admin/views/metabox-rules.php:62
506
  msgid "Page Type"
507
  msgstr ""
508
 
509
- #: admin/views/metabox-rules.php:63
510
  msgid "Page Parent"
511
  msgstr ""
512
 
513
- #: admin/views/metabox-rules.php:64
514
  msgid "Page Template"
515
  msgstr ""
516
 
517
- #: admin/views/metabox-rules.php:66
518
  msgid "Other"
519
  msgstr ""
520
 
521
- #: admin/views/metabox-rules.php:67
 
 
 
 
522
  msgid "Mobile Phone"
523
  msgstr ""
524
 
525
- #: admin/views/metabox-rules.php:68
526
  msgid "Tablet"
527
  msgstr ""
528
 
529
- #: admin/views/metabox-rules.php:92
530
  msgid "is equal to"
531
  msgstr ""
532
 
533
- #: admin/views/metabox-rules.php:93
534
  msgid "is not equal to"
535
  msgstr ""
536
 
537
- #: admin/views/metabox-rules.php:124
538
  msgid "and"
539
  msgstr ""
540
 
541
- #: admin/views/metabox-rules.php:139
542
  msgid "Add rule group"
543
  msgstr ""
544
 
545
- #: admin/views/metabox-support.php:6
546
  #, php-format
547
  msgid "You are using Popups plugin v%s"
548
  msgstr ""
549
 
550
- #: admin/views/metabox-support.php:7
551
  #, php-format
552
  msgid ""
553
  "If you need support please go to the WordPress.org <a href=\"%s\">support "
554
  "forums</a>"
555
  msgstr ""
556
 
557
- #: admin/views/settings-page.php:14
558
  msgid "Ajax mode?"
559
  msgstr ""
560
 
561
- #: admin/views/settings-page.php:17
562
  msgid ""
563
  "Load popups using ajax. Compatible with cache plugins, but might not work "
564
  "with all plugins"
565
  msgstr ""
566
 
567
- #: admin/views/settings-page.php:23
568
  msgid "Enable Debug mode?"
569
  msgstr ""
570
 
571
- #: admin/views/settings-page.php:26
572
  msgid "Will use uncompressed js"
573
  msgstr ""
574
 
575
- #: admin/views/settings-page.php:31
576
  msgid "Enable safe mode?"
577
  msgstr ""
578
 
579
- #: admin/views/settings-page.php:34
580
  msgid "Will move all popups to top of the screen."
581
  msgstr ""
582
 
583
- #: admin/views/settings-page.php:39
584
  msgid "Remove shortcodes style"
585
  msgstr ""
586
 
587
- #: admin/views/settings-page.php:42
588
  msgid ""
589
  "By default the plugin will apply some style to shortcodes. Check here if you "
590
  "want to manually style them"
591
  msgstr ""
592
 
593
- #: admin/views/settings-page.php:47
594
  msgid "Unload Facebook javascript"
595
  msgstr ""
596
 
597
- #: admin/views/settings-page.php:50
598
  msgid "If you use your own Facebook script, check this"
599
  msgstr ""
600
 
601
- #: admin/views/settings-page.php:55
602
  msgid "Unload Google javascript"
603
  msgstr ""
604
 
605
- #: admin/views/settings-page.php:58
606
  msgid "If you use your own Google script, check this"
607
  msgstr ""
608
 
609
- #: admin/views/settings-page.php:63
610
  msgid "Unload Twitter javascript"
611
  msgstr ""
612
 
613
- #: admin/views/settings-page.php:66
614
  msgid "If you use your own Twitter script, check this"
615
  msgstr ""
616
 
617
- #: admin/views/settings-page.php:71
618
  msgid "Save settings"
619
  msgstr ""
620
 
@@ -631,53 +641,61 @@ msgid "Posts Page"
631
  msgstr ""
632
 
633
  #: includes/class-spu-helper.php:136
634
- msgid "Top Level Page (parent of 0)"
635
  msgstr ""
636
 
637
  #: includes/class-spu-helper.php:137
638
- msgid "Parent Page (has children)"
639
  msgstr ""
640
 
641
  #: includes/class-spu-helper.php:138
 
 
 
 
 
 
 
 
642
  msgid "Child Page (has parent)"
643
  msgstr ""
644
 
645
- #: includes/class-spu-helper.php:146
646
  msgid "Default Template"
647
  msgstr ""
648
 
649
- #: includes/class-spu-helper.php:219
650
  msgid "Publish"
651
  msgstr ""
652
 
653
- #: includes/class-spu-helper.php:220
654
  msgid "Pending Review"
655
  msgstr ""
656
 
657
- #: includes/class-spu-helper.php:221
658
  msgid "Draft"
659
  msgstr ""
660
 
661
- #: includes/class-spu-helper.php:222
662
  msgid "Future"
663
  msgstr ""
664
 
665
- #: includes/class-spu-helper.php:223
666
  msgid "Private"
667
  msgstr ""
668
 
669
- #: includes/class-spu-helper.php:224
670
  msgid "Revision"
671
  msgstr ""
672
 
673
- #: includes/class-spu-helper.php:225
674
  msgid "Trash"
675
  msgstr ""
676
 
677
- #: includes/class-spu-helper.php:238
678
  msgid "Super Admin"
679
  msgstr ""
680
 
681
- #: includes/class-spu-helper.php:258
682
  msgid "True"
683
  msgstr ""
4
  msgstr ""
5
  "Project-Id-Version: Popups\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
7
+ "POT-Creation-Date: 2015-03-20 09:51-0300\n"
8
+ "PO-Revision-Date: 2015-03-20 09:51-0300\n"
9
  "Last-Translator: Damian Logghe <info@timersys.com>\n"
10
  "Language-Team: Timersys <info@timersys.com>\n"
11
  "Language: en_EN\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 1.7.4\n"
16
  "X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;"
17
  "esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n"
18
  "X-Poedit-Basepath: ../\n"
19
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
+ #: admin/class-social-popup-admin.php:155
 
 
 
 
 
23
  msgctxt "post type singular name"
24
  msgid "Popups"
25
  msgstr ""
26
 
27
+ #: admin/class-social-popup-admin.php:156
28
  msgctxt "admin menu"
29
  msgid "Popups"
30
  msgstr ""
31
 
32
+ #: admin/class-social-popup-admin.php:157
33
  msgctxt "add new on admin bar"
34
  msgid "Popups"
35
  msgstr ""
36
 
37
+ #: admin/class-social-popup-admin.php:158
38
  msgctxt "Popups"
39
  msgid "Add New"
40
  msgstr ""
41
 
42
+ #: admin/class-social-popup-admin.php:159
43
  msgid "Add New Popups"
44
  msgstr ""
45
 
46
+ #: admin/class-social-popup-admin.php:160
47
  msgid "New Popups"
48
  msgstr ""
49
 
50
+ #: admin/class-social-popup-admin.php:161
51
  msgid "Edit Popups"
52
  msgstr ""
53
 
54
+ #: admin/class-social-popup-admin.php:162
55
  msgid "View Popups"
56
  msgstr ""
57
 
58
+ #: admin/class-social-popup-admin.php:163
59
  msgid "All Popups"
60
  msgstr ""
61
 
62
+ #: admin/class-social-popup-admin.php:164
63
  msgid "Search Popups"
64
  msgstr ""
65
 
66
+ #: admin/class-social-popup-admin.php:165
67
  msgid "Parent Popups:"
68
  msgstr ""
69
 
70
+ #: admin/class-social-popup-admin.php:166
71
  msgid "No Popups found."
72
  msgstr ""
73
 
74
+ #: admin/class-social-popup-admin.php:167
75
  msgid "No Popups found in Trash."
76
  msgstr ""
77
 
78
+ #: admin/class-social-popup-admin.php:251
79
  msgid "Popups Premium"
80
  msgstr ""
81
 
82
+ #: admin/class-social-popup-admin.php:262
83
  msgid "PopUp Shortcodes"
84
  msgstr ""
85
 
86
+ #: admin/class-social-popup-admin.php:271
87
  msgid "PopUp Display Rules"
88
  msgstr ""
89
 
90
+ #: admin/class-social-popup-admin.php:280
91
  msgid "Display Options"
92
  msgstr ""
93
 
94
+ #: admin/class-social-popup-admin.php:289
95
  msgid "Need support?"
96
  msgstr ""
97
 
98
+ #: admin/class-social-popup-admin.php:297
99
  msgid "Donate & support"
100
  msgstr ""
101
 
102
+ #: admin/class-social-popup-admin.php:305
103
  msgid "About the developer"
104
  msgstr ""
105
 
106
+ #: admin/class-social-popup-admin.php:548
107
+ #: admin/views/metaboxes/metabox-rules.php:33
108
+ #: admin/views/metaboxes/metabox-rules.php:139
109
  msgid "or"
110
  msgstr ""
111
 
112
+ #: admin/class-social-popup-admin.php:566
113
  msgid "Add a Popup"
114
  msgstr ""
115
 
121
  msgid "credits"
122
  msgstr ""
123
 
124
+ #: admin/views/metaboxes/metabox-donate.php:6
125
  msgid "If you like this plugin, consider supporting it by donating."
126
  msgstr ""
127
 
128
+ #: admin/views/metaboxes/metabox-donate.php:8
129
  msgid "Donate with PayPal"
130
  msgstr ""
131
 
132
+ #: admin/views/metaboxes/metabox-donate.php:10
133
  msgid "Some other ways to support this plugin"
134
  msgstr ""
135
 
136
+ #: admin/views/metaboxes/metabox-donate.php:12
137
  msgid "Leave a &#9733;&#9733;&#9733;&#9733;&#9733; review on WordPress.org"
138
  msgstr ""
139
 
140
+ #: admin/views/metaboxes/metabox-donate.php:13
141
  msgid "Write about Popups on your blog"
142
  msgstr ""
143
 
144
+ #: admin/views/metaboxes/metabox-donate.php:14
145
  msgid "Tweet about Popups"
146
  msgstr ""
147
 
148
+ #: admin/views/metaboxes/metabox-donate.php:15
149
  msgid "Vote \"works\" on the WordPress.org plugin page"
150
  msgstr ""
151
 
152
+ #: admin/views/metaboxes/metabox-help.php:6
153
  msgid ""
154
  "You have three social shortcodes to use that will print a Facebook like, a "
155
  "Google+ Follow and a Twitter follow. Check the available options and "
156
  "<strong>configure them with your social accounts</strong>:"
157
  msgstr ""
158
 
159
+ #: admin/views/metaboxes/metabox-help.php:12
160
  msgid "View Facebook Options"
161
  msgstr ""
162
 
163
+ #: admin/views/metaboxes/metabox-help.php:14
164
  msgid "Your facebook page url"
165
  msgstr ""
166
 
167
+ #: admin/views/metaboxes/metabox-help.php:15
168
  msgid "standard, box_count, button <b>Default value:</b> button_count"
169
  msgstr ""
170
 
171
+ #: admin/views/metaboxes/metabox-help.php:16
172
+ #: admin/views/metaboxes/metabox-help.php:17
173
  msgid "true <b>Default value:</b> false"
174
  msgstr ""
175
 
176
+ #: admin/views/metaboxes/metabox-help.php:18
177
  msgid "recommend <b>Default value:</b> like"
178
  msgstr ""
179
 
180
+ #: admin/views/metaboxes/metabox-help.php:25
181
  msgid "View Google+ Options"
182
  msgstr ""
183
 
184
+ #: admin/views/metaboxes/metabox-help.php:27
185
  msgid "Your Google+ url"
186
  msgstr ""
187
 
188
+ #: admin/views/metaboxes/metabox-help.php:28
189
  msgid "small, standard, tall <b>Default value:</b> medium"
190
  msgstr ""
191
 
192
+ #: admin/views/metaboxes/metabox-help.php:29
193
  msgid "inline, none <b>Default value:</b> bubble"
194
  msgstr ""
195
 
196
+ #: admin/views/metaboxes/metabox-help.php:35
197
  msgid "View Twitter Options"
198
  msgstr ""
199
 
200
+ #: admin/views/metaboxes/metabox-help.php:37
201
  msgid "Your Twitter user <b>Default chifli</b>iiii"
202
  msgstr ""
203
 
204
+ #: admin/views/metaboxes/metabox-help.php:38
205
  msgid "false <b>Default value:</b> true"
206
  msgstr ""
207
 
208
+ #: admin/views/metaboxes/metabox-help.php:39
209
  msgid "large <b>Default value:</b> \"\""
210
  msgstr ""
211
 
212
+ #: admin/views/metaboxes/metabox-help.php:42
213
  msgid "Other available Shortcodes:"
214
  msgstr ""
215
 
216
+ #: admin/views/metaboxes/metabox-help.php:47
217
  msgid "View Close shortcode Options"
218
  msgstr ""
219
 
220
+ #: admin/views/metaboxes/metabox-help.php:49
221
  msgid "Pass a custom class to style your button"
222
  msgstr ""
223
 
224
+ #: admin/views/metaboxes/metabox-help.php:50
225
  msgid "Button label - <b>Default value:</b> Close"
226
  msgstr ""
227
 
228
+ #: admin/views/metaboxes/metabox-help.php:51
229
  msgid "left, right, center, none - <b>Default value:</b> center"
230
  msgstr ""
231
 
232
+ #: admin/views/metaboxes/metabox-links.php:6
233
  msgid "My name is"
234
  msgstr ""
235
 
236
+ #: admin/views/metaboxes/metabox-links.php:6
237
  msgid "I develop WordPress plugins and themes."
238
  msgstr ""
239
 
240
+ #: admin/views/metaboxes/metabox-links.php:7
241
  #, php-format
242
  msgid ""
243
  "Take a look at my <a href=\"%s\">site</a> to see my other plugins or hire "
244
  "me. Subscribe to get updates!"
245
  msgstr ""
246
 
247
+ #: admin/views/metaboxes/metabox-links.php:8
248
  msgid "Other plugins I built:"
249
  msgstr ""
250
 
251
+ #: admin/views/metaboxes/metabox-links.php:10
252
  msgid "Install multiple plugins and create collections"
253
  msgstr ""
254
 
255
+ #: admin/views/metaboxes/metabox-links.php:11
256
  msgid "Like Facebook like box but for Twitter"
257
  msgstr ""
258
 
259
+ #: admin/views/metaboxes/metabox-links.php:12
260
  msgid "Invite your network friends and import contacts"
261
  msgstr ""
262
 
263
+ #: admin/views/metaboxes/metabox-options.php:9
264
  msgid "Box Position"
265
  msgstr ""
266
 
267
+ #: admin/views/metaboxes/metabox-options.php:12
268
  msgid "Centered"
269
  msgstr ""
270
 
271
+ #: admin/views/metaboxes/metabox-options.php:13
272
  msgid "Top Left"
273
  msgstr ""
274
 
275
+ #: admin/views/metaboxes/metabox-options.php:14
276
  msgid "Top Right"
277
  msgstr ""
278
 
279
+ #: admin/views/metaboxes/metabox-options.php:15
280
  msgid "Bottom Left"
281
  msgstr ""
282
 
283
+ #: admin/views/metaboxes/metabox-options.php:16
284
  msgid "Bottom Right"
285
  msgstr ""
286
 
287
+ #: admin/views/metaboxes/metabox-options.php:23
288
  msgid "Trigger action"
289
  msgstr ""
290
 
291
+ #: admin/views/metaboxes/metabox-options.php:27
292
  msgid "seconds after page load"
293
  msgstr ""
294
 
295
+ #: admin/views/metaboxes/metabox-options.php:28
296
  msgid "of page height"
297
  msgstr ""
298
 
299
+ #: admin/views/metaboxes/metabox-options.php:38
300
  msgid "Auto-hide?"
301
  msgstr ""
302
 
303
+ #: admin/views/metaboxes/metabox-options.php:40
304
+ #: admin/views/metaboxes/metabox-options.php:69
305
  msgid "Yes"
306
  msgstr ""
307
 
308
+ #: admin/views/metaboxes/metabox-options.php:41
309
+ #: admin/views/metaboxes/metabox-options.php:70
310
  msgid "No"
311
  msgstr ""
312
 
313
+ #: admin/views/metaboxes/metabox-options.php:42
314
  #, php-format
315
  msgid ""
316
  "Hide box again when visitors scroll back up? Only works when Trigger action "
317
  "is set to % of page height"
318
  msgstr ""
319
 
320
+ #: admin/views/metaboxes/metabox-options.php:47
321
  msgid "Animation"
322
  msgstr ""
323
 
324
+ #: admin/views/metaboxes/metabox-options.php:50
325
  msgid "Fade In"
326
  msgstr ""
327
 
328
+ #: admin/views/metaboxes/metabox-options.php:51
329
  msgid "Slide In"
330
  msgstr ""
331
 
332
+ #: admin/views/metaboxes/metabox-options.php:54
333
  msgid "Slide will only apply when popup is on the corners"
334
  msgstr ""
335
 
336
+ #: admin/views/metaboxes/metabox-options.php:59
337
  msgid "Cookie expiration days"
338
  msgstr ""
339
 
340
+ #: admin/views/metaboxes/metabox-options.php:62
341
  msgid "After closing the box, how many days should it stay hidden?"
342
  msgstr ""
343
 
344
+ #: admin/views/metaboxes/metabox-options.php:67
345
  msgid "Enable test mode?"
346
  msgstr ""
347
 
348
+ #: admin/views/metaboxes/metabox-options.php:71
349
  msgid ""
350
  "If test mode is enabled, the box will show up regardless of whether a cookie "
351
  "has been set. (To admins only)"
352
  msgstr ""
353
 
354
+ #: admin/views/metaboxes/metabox-options.php:77
355
  msgid "Appearance"
356
  msgstr ""
357
 
358
+ #: admin/views/metaboxes/metabox-options.php:81
359
  msgid "Background opacity"
360
  msgstr ""
361
 
362
+ #: admin/views/metaboxes/metabox-options.php:84
363
  msgid "Leave at 0 for no background. Max value is 1"
364
  msgstr ""
365
 
366
+ #: admin/views/metaboxes/metabox-options.php:90
367
  msgid "Background color"
368
  msgstr ""
369
 
370
+ #: admin/views/metaboxes/metabox-options.php:94
371
  msgid "Text color"
372
  msgstr ""
373
 
374
+ #: admin/views/metaboxes/metabox-options.php:98
375
  msgid "Box width"
376
  msgstr ""
377
 
378
+ #: admin/views/metaboxes/metabox-options.php:104
379
  msgid "Border color"
380
  msgstr ""
381
 
382
+ #: admin/views/metaboxes/metabox-options.php:108
383
  msgid "Border width"
384
  msgstr ""
385
 
386
+ #: admin/views/metaboxes/metabox-premium.php:16
387
  msgid ""
388
  "Take the best WordPress Popups plugin to the next level with Popups Premium "
389
  "extension."
390
  msgstr ""
391
 
392
+ #: admin/views/metaboxes/metabox-premium.php:17
393
  msgid "Popups Premium Features:"
394
  msgstr ""
395
 
396
+ #: admin/views/metaboxes/metabox-premium.php:19
397
  msgid ""
398
  "Track impressions and Conversions of social likes/follow and forms "
399
  "submissions like Contact Form 7, Gravity forms, etc"
400
  msgstr ""
401
 
402
+ #: admin/views/metaboxes/metabox-premium.php:20
403
  msgid "Track impressions and Conversions also in Google Analytics"
404
  msgstr ""
405
 
406
+ #: admin/views/metaboxes/metabox-premium.php:21
407
+ #: admin/views/metaboxes/metabox-premium.php:23
408
  msgid "Exit Intent technology"
409
  msgstr ""
410
 
411
+ #: admin/views/metaboxes/metabox-premium.php:22
412
  msgid "8 New animations effects"
413
  msgstr ""
414
 
415
+ #: admin/views/metaboxes/metabox-premium.php:24
416
  msgid "New trigger methods"
417
  msgstr ""
418
 
419
+ #: admin/views/metaboxes/metabox-premium.php:25
420
  msgid "Timer for auto closing"
421
  msgstr ""
422
 
423
+ #: admin/views/metaboxes/metabox-premium.php:26
424
  msgid "Ability to disable close button"
425
  msgstr ""
426
 
427
+ #: admin/views/metaboxes/metabox-premium.php:27
428
  msgid ""
429
  "Ability to disable Advanced close methods like esc or clicking outside of "
430
  "the popup"
431
  msgstr ""
432
 
433
+ #: admin/views/metaboxes/metabox-premium.php:28
434
  msgid "Premium support"
435
  msgstr ""
436
 
437
+ #: admin/views/metaboxes/metabox-premium.php:32
438
  msgid "Buy Now!"
439
  msgstr ""
440
 
441
+ #: admin/views/metaboxes/metabox-rules.php:19
442
  msgid "Rules"
443
  msgstr ""
444
 
445
+ #: admin/views/metaboxes/metabox-rules.php:20
446
  msgid "Create a set of rules to determine where the popup will show"
447
  msgstr ""
448
 
449
+ #: admin/views/metaboxes/metabox-rules.php:31
450
  msgid "Show this popup if"
451
  msgstr ""
452
 
453
+ #: admin/views/metaboxes/metabox-rules.php:45
454
  msgid "User"
455
  msgstr ""
456
 
457
+ #: admin/views/metaboxes/metabox-rules.php:46
458
  msgid "User role"
459
  msgstr ""
460
 
461
+ #: admin/views/metaboxes/metabox-rules.php:47
462
  msgid "User is logged"
463
  msgstr ""
464
 
465
+ #: admin/views/metaboxes/metabox-rules.php:48
466
  msgid "User never left a comment"
467
  msgstr ""
468
 
469
+ #: admin/views/metaboxes/metabox-rules.php:49
470
  msgid "User came via a search engine"
471
  msgstr ""
472
 
473
+ #: admin/views/metaboxes/metabox-rules.php:50
474
  msgid "User did not arrive via another page on your site"
475
  msgstr ""
476
 
477
+ #: admin/views/metaboxes/metabox-rules.php:52
478
+ #: admin/views/metaboxes/metabox-rules.php:53
479
  msgid "Post"
480
  msgstr ""
481
 
482
+ #: admin/views/metaboxes/metabox-rules.php:54
483
+ msgid "Post ID"
484
+ msgstr ""
485
+
486
+ #: admin/views/metaboxes/metabox-rules.php:55
487
  msgid "Post Type"
488
  msgstr ""
489
 
490
+ #: admin/views/metaboxes/metabox-rules.php:56
491
  msgid "Post Category"
492
  msgstr ""
493
 
494
+ #: admin/views/metaboxes/metabox-rules.php:57
495
  msgid "Post Format"
496
  msgstr ""
497
 
498
+ #: admin/views/metaboxes/metabox-rules.php:58
499
  msgid "Post Status"
500
  msgstr ""
501
 
502
+ #: admin/views/metaboxes/metabox-rules.php:59
503
  msgid "Post Taxonomy"
504
  msgstr ""
505
 
506
+ #: admin/views/metaboxes/metabox-rules.php:61
507
+ #: admin/views/metaboxes/metabox-rules.php:62
508
  msgid "Page"
509
  msgstr ""
510
 
511
+ #: admin/views/metaboxes/metabox-rules.php:63
512
  msgid "Page Type"
513
  msgstr ""
514
 
515
+ #: admin/views/metaboxes/metabox-rules.php:64
516
  msgid "Page Parent"
517
  msgstr ""
518
 
519
+ #: admin/views/metaboxes/metabox-rules.php:65
520
  msgid "Page Template"
521
  msgstr ""
522
 
523
+ #: admin/views/metaboxes/metabox-rules.php:67
524
  msgid "Other"
525
  msgstr ""
526
 
527
+ #: admin/views/metaboxes/metabox-rules.php:68
528
+ msgid "Referrer"
529
+ msgstr ""
530
+
531
+ #: admin/views/metaboxes/metabox-rules.php:69
532
  msgid "Mobile Phone"
533
  msgstr ""
534
 
535
+ #: admin/views/metaboxes/metabox-rules.php:70
536
  msgid "Tablet"
537
  msgstr ""
538
 
539
+ #: admin/views/metaboxes/metabox-rules.php:94
540
  msgid "is equal to"
541
  msgstr ""
542
 
543
+ #: admin/views/metaboxes/metabox-rules.php:95
544
  msgid "is not equal to"
545
  msgstr ""
546
 
547
+ #: admin/views/metaboxes/metabox-rules.php:126
548
  msgid "and"
549
  msgstr ""
550
 
551
+ #: admin/views/metaboxes/metabox-rules.php:141
552
  msgid "Add rule group"
553
  msgstr ""
554
 
555
+ #: admin/views/metaboxes/metabox-support.php:6
556
  #, php-format
557
  msgid "You are using Popups plugin v%s"
558
  msgstr ""
559
 
560
+ #: admin/views/metaboxes/metabox-support.php:7
561
  #, php-format
562
  msgid ""
563
  "If you need support please go to the WordPress.org <a href=\"%s\">support "
564
  "forums</a>"
565
  msgstr ""
566
 
567
+ #: admin/views/settings-page.php:18
568
  msgid "Ajax mode?"
569
  msgstr ""
570
 
571
+ #: admin/views/settings-page.php:21
572
  msgid ""
573
  "Load popups using ajax. Compatible with cache plugins, but might not work "
574
  "with all plugins"
575
  msgstr ""
576
 
577
+ #: admin/views/settings-page.php:27
578
  msgid "Enable Debug mode?"
579
  msgstr ""
580
 
581
+ #: admin/views/settings-page.php:30
582
  msgid "Will use uncompressed js"
583
  msgstr ""
584
 
585
+ #: admin/views/settings-page.php:35
586
  msgid "Enable safe mode?"
587
  msgstr ""
588
 
589
+ #: admin/views/settings-page.php:38
590
  msgid "Will move all popups to top of the screen."
591
  msgstr ""
592
 
593
+ #: admin/views/settings-page.php:43
594
  msgid "Remove shortcodes style"
595
  msgstr ""
596
 
597
+ #: admin/views/settings-page.php:46
598
  msgid ""
599
  "By default the plugin will apply some style to shortcodes. Check here if you "
600
  "want to manually style them"
601
  msgstr ""
602
 
603
+ #: admin/views/settings-page.php:51
604
  msgid "Unload Facebook javascript"
605
  msgstr ""
606
 
607
+ #: admin/views/settings-page.php:54
608
  msgid "If you use your own Facebook script, check this"
609
  msgstr ""
610
 
611
+ #: admin/views/settings-page.php:59
612
  msgid "Unload Google javascript"
613
  msgstr ""
614
 
615
+ #: admin/views/settings-page.php:62
616
  msgid "If you use your own Google script, check this"
617
  msgstr ""
618
 
619
+ #: admin/views/settings-page.php:67
620
  msgid "Unload Twitter javascript"
621
  msgstr ""
622
 
623
+ #: admin/views/settings-page.php:70
624
  msgid "If you use your own Twitter script, check this"
625
  msgstr ""
626
 
627
+ #: admin/views/settings-page.php:75
628
  msgid "Save settings"
629
  msgstr ""
630
 
641
  msgstr ""
642
 
643
  #: includes/class-spu-helper.php:136
644
+ msgid "Category Page"
645
  msgstr ""
646
 
647
  #: includes/class-spu-helper.php:137
648
+ msgid "Archives Page"
649
  msgstr ""
650
 
651
  #: includes/class-spu-helper.php:138
652
+ msgid "Top Level Page (parent of 0)"
653
+ msgstr ""
654
+
655
+ #: includes/class-spu-helper.php:139
656
+ msgid "Parent Page (has children)"
657
+ msgstr ""
658
+
659
+ #: includes/class-spu-helper.php:140
660
  msgid "Child Page (has parent)"
661
  msgstr ""
662
 
663
+ #: includes/class-spu-helper.php:148
664
  msgid "Default Template"
665
  msgstr ""
666
 
667
+ #: includes/class-spu-helper.php:221
668
  msgid "Publish"
669
  msgstr ""
670
 
671
+ #: includes/class-spu-helper.php:222
672
  msgid "Pending Review"
673
  msgstr ""
674
 
675
+ #: includes/class-spu-helper.php:223
676
  msgid "Draft"
677
  msgstr ""
678
 
679
+ #: includes/class-spu-helper.php:224
680
  msgid "Future"
681
  msgstr ""
682
 
683
+ #: includes/class-spu-helper.php:225
684
  msgid "Private"
685
  msgstr ""
686
 
687
+ #: includes/class-spu-helper.php:226
688
  msgid "Revision"
689
  msgstr ""
690
 
691
+ #: includes/class-spu-helper.php:227
692
  msgid "Trash"
693
  msgstr ""
694
 
695
+ #: includes/class-spu-helper.php:240
696
  msgid "Super Admin"
697
  msgstr ""
698
 
699
+ #: includes/class-spu-helper.php:260
700
  msgid "True"
701
  msgstr ""
languages/spu-es_ES.mo ADDED
Binary file
languages/spu-es_ES.po ADDED
@@ -0,0 +1,726 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2013 TODO
2
+ # This file is distributed under the same license as the TODO package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Popups\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
7
+ "POT-Creation-Date: 2015-03-20 09:51-0300\n"
8
+ "PO-Revision-Date: 2015-04-02 14:01+0100\n"
9
+ "Last-Translator: Damian Logghe <info@timersys.com>\n"
10
+ "Language-Team: Timersys <info@timersys.com>\n"
11
+ "Language: en_EN\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 1.7.4\n"
16
+ "X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;"
17
+ "esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n"
18
+ "X-Poedit-Basepath: ../\n"
19
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+
22
+ #: admin/class-social-popup-admin.php:155
23
+ msgctxt "post type singular name"
24
+ msgid "Popups"
25
+ msgstr "Popups [postear nombre singular del tipo]"
26
+
27
+ #: admin/class-social-popup-admin.php:156
28
+ msgctxt "admin menu"
29
+ msgid "Popups"
30
+ msgstr "Popups [menú del admin]"
31
+
32
+ #: admin/class-social-popup-admin.php:157
33
+ msgctxt "add new on admin bar"
34
+ msgid "Popups"
35
+ msgstr "Popups [adicionar nuevo en la barra de admin]"
36
+
37
+ #: admin/class-social-popup-admin.php:158
38
+ msgctxt "Popups"
39
+ msgid "Add New"
40
+ msgstr "Adicionar nuevo [Popups]"
41
+
42
+ #: admin/class-social-popup-admin.php:159
43
+ msgid "Add New Popups"
44
+ msgstr "Adicionar Nuevo Popups"
45
+
46
+ #: admin/class-social-popup-admin.php:160
47
+ msgid "New Popups"
48
+ msgstr "Nuevo Popups"
49
+
50
+ #: admin/class-social-popup-admin.php:161
51
+ msgid "Edit Popups"
52
+ msgstr "Editar Popups"
53
+
54
+ #: admin/class-social-popup-admin.php:162
55
+ msgid "View Popups"
56
+ msgstr "Ver Popups"
57
+
58
+ #: admin/class-social-popup-admin.php:163
59
+ msgid "All Popups"
60
+ msgstr "Todos los Popups"
61
+
62
+ #: admin/class-social-popup-admin.php:164
63
+ msgid "Search Popups"
64
+ msgstr "Buscar Popups"
65
+
66
+ #: admin/class-social-popup-admin.php:165
67
+ msgid "Parent Popups:"
68
+ msgstr "Popups Padre:"
69
+
70
+ #: admin/class-social-popup-admin.php:166
71
+ msgid "No Popups found."
72
+ msgstr "No se encontraron Popups."
73
+
74
+ #: admin/class-social-popup-admin.php:167
75
+ msgid "No Popups found in Trash."
76
+ msgstr "No se encontraron Popups en la Papelera."
77
+
78
+ #: admin/class-social-popup-admin.php:251
79
+ msgid "Popups Premium"
80
+ msgstr "Popups Premium"
81
+
82
+ #: admin/class-social-popup-admin.php:262
83
+ msgid "PopUp Shortcodes"
84
+ msgstr "Códigos Cortos del PopUp"
85
+
86
+ #: admin/class-social-popup-admin.php:271
87
+ msgid "PopUp Display Rules"
88
+ msgstr "Reglas de Visualización del PopUp"
89
+
90
+ #: admin/class-social-popup-admin.php:280
91
+ msgid "Display Options"
92
+ msgstr "Opciones de Visualización"
93
+
94
+ #: admin/class-social-popup-admin.php:289
95
+ msgid "Need support?"
96
+ msgstr "¿Necesita soporte?"
97
+
98
+ #: admin/class-social-popup-admin.php:297
99
+ msgid "Donate & support"
100
+ msgstr "Donar y soporte"
101
+
102
+ #: admin/class-social-popup-admin.php:305
103
+ msgid "About the developer"
104
+ msgstr "Acerca del desarrollador"
105
+
106
+ #: admin/class-social-popup-admin.php:548
107
+ #: admin/views/metaboxes/metabox-rules.php:33
108
+ #: admin/views/metaboxes/metabox-rules.php:139
109
+ msgid "or"
110
+ msgstr "o"
111
+
112
+ #: admin/class-social-popup-admin.php:566
113
+ msgid "Add a Popup"
114
+ msgstr "Adicionar un Popup"
115
+
116
+ #: admin/includes/class-spu-upgrade.php:104
117
+ msgid "What's new"
118
+ msgstr "Qué hay de nuevo"
119
+
120
+ #: admin/includes/class-spu-upgrade.php:115
121
+ msgid "credits"
122
+ msgstr "créditos"
123
+
124
+ #: admin/views/metaboxes/metabox-donate.php:6
125
+ msgid "If you like this plugin, consider supporting it by donating."
126
+ msgstr "Si le gusta este plugin, considere soportarlo donando."
127
+
128
+ #: admin/views/metaboxes/metabox-donate.php:8
129
+ msgid "Donate with PayPal"
130
+ msgstr "Donar con PayPal"
131
+
132
+ #: admin/views/metaboxes/metabox-donate.php:10
133
+ msgid "Some other ways to support this plugin"
134
+ msgstr "Otras formas de soportar este plugin"
135
+
136
+ #: admin/views/metaboxes/metabox-donate.php:12
137
+ msgid "Leave a &#9733;&#9733;&#9733;&#9733;&#9733; review on WordPress.org"
138
+ msgstr ""
139
+ "Deje un &#9733;&#9733;&#9733;&#9733;&#9733; comentario en WordPress.org"
140
+
141
+ #: admin/views/metaboxes/metabox-donate.php:13
142
+ msgid "Write about Popups on your blog"
143
+ msgstr "Escriba acerca de Popups en su blog"
144
+
145
+ #: admin/views/metaboxes/metabox-donate.php:14
146
+ msgid "Tweet about Popups"
147
+ msgstr "Haga tweet acerca de Popups"
148
+
149
+ #: admin/views/metaboxes/metabox-donate.php:15
150
+ msgid "Vote \"works\" on the WordPress.org plugin page"
151
+ msgstr "Vote \"funciona\" en la página del plugin de WordPress.org"
152
+
153
+ #: admin/views/metaboxes/metabox-help.php:6
154
+ msgid ""
155
+ "You have three social shortcodes to use that will print a Facebook like, a "
156
+ "Google+ Follow and a Twitter follow. Check the available options and "
157
+ "<strong>configure them with your social accounts</strong>:"
158
+ msgstr ""
159
+ "Tiene tres códigos cortos sociales para usar que mostrarán un me gusta de "
160
+ "Facebook, un seguir de Google+ y un seguir de Twitter. Chequee las opciones "
161
+ "de disponibilidad y <strong>configúrelas con sus cuentas sociales</strong>:"
162
+
163
+ #: admin/views/metaboxes/metabox-help.php:12
164
+ msgid "View Facebook Options"
165
+ msgstr "Ver Opciones de Facebook"
166
+
167
+ #: admin/views/metaboxes/metabox-help.php:14
168
+ msgid "Your facebook page url"
169
+ msgstr "La url de su página de Facebook"
170
+
171
+ #: admin/views/metaboxes/metabox-help.php:15
172
+ msgid "standard, box_count, button <b>Default value:</b> button_count"
173
+ msgstr "standard, box_count, button <b> Valor por defecto:</b> button_count"
174
+
175
+ #: admin/views/metaboxes/metabox-help.php:16
176
+ #: admin/views/metaboxes/metabox-help.php:17
177
+ msgid "true <b>Default value:</b> false"
178
+ msgstr "true <b>Valor por defecto:</b> false"
179
+
180
+ #: admin/views/metaboxes/metabox-help.php:18
181
+ msgid "recommend <b>Default value:</b> like"
182
+ msgstr "recommend <b>Valor por defecto:</b> like"
183
+
184
+ #: admin/views/metaboxes/metabox-help.php:25
185
+ msgid "View Google+ Options"
186
+ msgstr "Ver Opciones de Google+"
187
+
188
+ #: admin/views/metaboxes/metabox-help.php:27
189
+ msgid "Your Google+ url"
190
+ msgstr "Su url de Google+"
191
+
192
+ #: admin/views/metaboxes/metabox-help.php:28
193
+ msgid "small, standard, tall <b>Default value:</b> medium"
194
+ msgstr "small, standard, tall <b>Valor por defecto:</b> medium"
195
+
196
+ #: admin/views/metaboxes/metabox-help.php:29
197
+ msgid "inline, none <b>Default value:</b> bubble"
198
+ msgstr "inline, none <b>Valor por defecto:</b> bubble"
199
+
200
+ #: admin/views/metaboxes/metabox-help.php:35
201
+ msgid "View Twitter Options"
202
+ msgstr "Ver Opciones de Twitter"
203
+
204
+ #: admin/views/metaboxes/metabox-help.php:37
205
+ msgid "Your Twitter user <b>Default chifli</b>iiii"
206
+ msgstr "Su <b>chifli</b>iiii Por Defecto de su usuario de Twitter "
207
+
208
+ #: admin/views/metaboxes/metabox-help.php:38
209
+ msgid "false <b>Default value:</b> true"
210
+ msgstr "false <b>Valor por defecto:</b> true"
211
+
212
+ #: admin/views/metaboxes/metabox-help.php:39
213
+ msgid "large <b>Default value:</b> \"\""
214
+ msgstr "large <b>Valor por defecto:</b> \"\""
215
+
216
+ #: admin/views/metaboxes/metabox-help.php:42
217
+ msgid "Other available Shortcodes:"
218
+ msgstr "Otros Códigos Cortos disponibles:"
219
+
220
+ #: admin/views/metaboxes/metabox-help.php:47
221
+ msgid "View Close shortcode Options"
222
+ msgstr "Ver Opciones Cerradas de códigos cortos "
223
+
224
+ #: admin/views/metaboxes/metabox-help.php:49
225
+ msgid "Pass a custom class to style your button"
226
+ msgstr "Pasar una clase personalizada para darle estilo a su botón"
227
+
228
+ #: admin/views/metaboxes/metabox-help.php:50
229
+ msgid "Button label - <b>Default value:</b> Close"
230
+ msgstr "Button label - <b>Valor por defecto:</b> Close"
231
+
232
+ #: admin/views/metaboxes/metabox-help.php:51
233
+ msgid "left, right, center, none - <b>Default value:</b> center"
234
+ msgstr "left, right, center, none - <b>Valor por defecto:</b> center"
235
+
236
+ #: admin/views/metaboxes/metabox-links.php:6
237
+ msgid "My name is"
238
+ msgstr "Mi nombre es"
239
+
240
+ #: admin/views/metaboxes/metabox-links.php:6
241
+ msgid "I develop WordPress plugins and themes."
242
+ msgstr "Yo desarrollo plugins y temas de WordPress."
243
+
244
+ #: admin/views/metaboxes/metabox-links.php:7
245
+ #, php-format
246
+ msgid ""
247
+ "Take a look at my <a href=\"%s\">site</a> to see my other plugins or hire "
248
+ "me. Subscribe to get updates!"
249
+ msgstr ""
250
+ "Eche una ojeada a mi <a href=\"%s\">sitio</a> para ver mis otros plugins o "
251
+ "contratarme. ¡Suscríbase para obtener actualizaciones!"
252
+
253
+ #: admin/views/metaboxes/metabox-links.php:8
254
+ msgid "Other plugins I built:"
255
+ msgstr "Otros plugins que hago:"
256
+
257
+ #: admin/views/metaboxes/metabox-links.php:10
258
+ msgid "Install multiple plugins and create collections"
259
+ msgstr "Instalar múltiples plugins y crear colecciones"
260
+
261
+ #: admin/views/metaboxes/metabox-links.php:11
262
+ msgid "Like Facebook like box but for Twitter"
263
+ msgstr "Caja de me gusta de Facebook pero para Twitter"
264
+
265
+ #: admin/views/metaboxes/metabox-links.php:12
266
+ msgid "Invite your network friends and import contacts"
267
+ msgstr "Invitar a sus amigos de la red e importar contactos"
268
+
269
+ #: admin/views/metaboxes/metabox-options.php:9
270
+ msgid "Box Position"
271
+ msgstr "Posición de la Caja"
272
+
273
+ #: admin/views/metaboxes/metabox-options.php:12
274
+ msgid "Centered"
275
+ msgstr "Centrada"
276
+
277
+ #: admin/views/metaboxes/metabox-options.php:13
278
+ msgid "Top Left"
279
+ msgstr "Arriba a la Izquierda"
280
+
281
+ #: admin/views/metaboxes/metabox-options.php:14
282
+ msgid "Top Right"
283
+ msgstr "Arriba a la Derecha"
284
+
285
+ #: admin/views/metaboxes/metabox-options.php:15
286
+ msgid "Bottom Left"
287
+ msgstr "Debajo a la Izquierda"
288
+
289
+ #: admin/views/metaboxes/metabox-options.php:16
290
+ msgid "Bottom Right"
291
+ msgstr "Debajo a la Derecha"
292
+
293
+ #: admin/views/metaboxes/metabox-options.php:23
294
+ msgid "Trigger action"
295
+ msgstr "Acción que se desencadena"
296
+
297
+ #: admin/views/metaboxes/metabox-options.php:27
298
+ msgid "seconds after page load"
299
+ msgstr "segundos luego de la carga de la página"
300
+
301
+ #: admin/views/metaboxes/metabox-options.php:28
302
+ msgid "of page height"
303
+ msgstr "del largo de la página"
304
+
305
+ #: admin/views/metaboxes/metabox-options.php:38
306
+ msgid "Auto-hide?"
307
+ msgstr "¿Auto ocultar?"
308
+
309
+ #: admin/views/metaboxes/metabox-options.php:40
310
+ #: admin/views/metaboxes/metabox-options.php:69
311
+ msgid "Yes"
312
+ msgstr "Si"
313
+
314
+ #: admin/views/metaboxes/metabox-options.php:41
315
+ #: admin/views/metaboxes/metabox-options.php:70
316
+ msgid "No"
317
+ msgstr "No"
318
+
319
+ #: admin/views/metaboxes/metabox-options.php:42
320
+ #, php-format
321
+ msgid ""
322
+ "Hide box again when visitors scroll back up? Only works when Trigger action "
323
+ "is set to % of page height"
324
+ msgstr ""
325
+ "¿Ocultar la caja nuevamente cuando los visitantes se desplazan hacia arriba? "
326
+ "Solamente funciona cuando la acción Desencadenante se establece a % del "
327
+ "largo de la página"
328
+
329
+ #: admin/views/metaboxes/metabox-options.php:47
330
+ msgid "Animation"
331
+ msgstr "Animación"
332
+
333
+ #: admin/views/metaboxes/metabox-options.php:50
334
+ msgid "Fade In"
335
+ msgstr "Entrar apareciendo"
336
+
337
+ #: admin/views/metaboxes/metabox-options.php:51
338
+ msgid "Slide In"
339
+ msgstr "Entrar deslizándose"
340
+
341
+ #: admin/views/metaboxes/metabox-options.php:54
342
+ msgid "Slide will only apply when popup is on the corners"
343
+ msgstr ""
344
+ "El deslizado solamente se aplicará cuando el popup esté en las esquinas."
345
+
346
+ #: admin/views/metaboxes/metabox-options.php:59
347
+ msgid "Cookie expiration days"
348
+ msgstr "Días de expiración de la cookie"
349
+
350
+ #: admin/views/metaboxes/metabox-options.php:62
351
+ msgid "After closing the box, how many days should it stay hidden?"
352
+ msgstr "Luego de cerrar la caja, ¿cuántos días debería estar oculta?"
353
+
354
+ #: admin/views/metaboxes/metabox-options.php:67
355
+ msgid "Enable test mode?"
356
+ msgstr " ¿Habilitar modo de prueba?"
357
+
358
+ #: admin/views/metaboxes/metabox-options.php:71
359
+ msgid ""
360
+ "If test mode is enabled, the box will show up regardless of whether a cookie "
361
+ "has been set. (To admins only)"
362
+ msgstr ""
363
+ "el modo de prueba está habilitado, la caja se va a mostrar no importa si la "
364
+ "cookie ha sido enviada. (Para administradores solamente)"
365
+
366
+ #: admin/views/metaboxes/metabox-options.php:77
367
+ msgid "Appearance"
368
+ msgstr "Apariencia"
369
+
370
+ #: admin/views/metaboxes/metabox-options.php:81
371
+ msgid "Background opacity"
372
+ msgstr "Opacidad de fondo"
373
+
374
+ #: admin/views/metaboxes/metabox-options.php:84
375
+ msgid "Leave at 0 for no background. Max value is 1"
376
+ msgstr "dejarlo en 0 para no tener fondo. El valor máx es 1"
377
+
378
+ #: admin/views/metaboxes/metabox-options.php:90
379
+ msgid "Background color"
380
+ msgstr "Color de fondo"
381
+
382
+ #: admin/views/metaboxes/metabox-options.php:94
383
+ msgid "Text color"
384
+ msgstr "Color de texto"
385
+
386
+ #: admin/views/metaboxes/metabox-options.php:98
387
+ msgid "Box width"
388
+ msgstr "Ancho de la caja"
389
+
390
+ #: admin/views/metaboxes/metabox-options.php:104
391
+ msgid "Border color"
392
+ msgstr "Color de borde"
393
+
394
+ #: admin/views/metaboxes/metabox-options.php:108
395
+ msgid "Border width"
396
+ msgstr "Color de borde"
397
+
398
+ #: admin/views/metaboxes/metabox-premium.php:16
399
+ msgid ""
400
+ "Take the best WordPress Popups plugin to the next level with Popups Premium "
401
+ "extension."
402
+ msgstr ""
403
+ "Obtenga el mejor plugin de Popups de WordPress al siguiente nivel con la "
404
+ "extensión Popups Premium."
405
+
406
+ #: admin/views/metaboxes/metabox-premium.php:17
407
+ msgid "Popups Premium Features:"
408
+ msgstr "Características de Popups Premium:"
409
+
410
+ #: admin/views/metaboxes/metabox-premium.php:19
411
+ msgid ""
412
+ "Track impressions and Conversions of social likes/follow and forms "
413
+ "submissions like Contact Form 7, Gravity forms, etc"
414
+ msgstr ""
415
+ "Track impressions and Conversions de likes/follow sociales y envíos de "
416
+ "formas como Contact Form 7, Gravity forms, etc"
417
+
418
+ #: admin/views/metaboxes/metabox-premium.php:20
419
+ msgid "Track impressions and Conversions also in Google Analytics"
420
+ msgstr "Track impressions and Conversions también en Google Analytics"
421
+
422
+ #: admin/views/metaboxes/metabox-premium.php:21
423
+ #: admin/views/metaboxes/metabox-premium.php:23
424
+ msgid "Exit Intent technology"
425
+ msgstr "Salir de la tecnología de Propósito"
426
+
427
+ #: admin/views/metaboxes/metabox-premium.php:22
428
+ msgid "8 New animations effects"
429
+ msgstr "8 efectos de nuevas animaciones"
430
+
431
+ #: admin/views/metaboxes/metabox-premium.php:24
432
+ msgid "New trigger methods"
433
+ msgstr " Nuevos métodos de desencadenamiento"
434
+
435
+ #: admin/views/metaboxes/metabox-premium.php:25
436
+ msgid "Timer for auto closing"
437
+ msgstr "Temporizador para auto cerrado"
438
+
439
+ #: admin/views/metaboxes/metabox-premium.php:26
440
+ msgid "Ability to disable close button"
441
+ msgstr "Habilidad para deshabilitar el botón de cerrado"
442
+
443
+ #: admin/views/metaboxes/metabox-premium.php:27
444
+ msgid ""
445
+ "Ability to disable Advanced close methods like esc or clicking outside of "
446
+ "the popup"
447
+ msgstr ""
448
+ "Habilidad para deshabilitar métodos de cerrado Avanzados como esc o "
449
+ "haciendo clic fuera del popup"
450
+
451
+ #: admin/views/metaboxes/metabox-premium.php:28
452
+ msgid "Premium support"
453
+ msgstr "Soporte Premium"
454
+
455
+ #: admin/views/metaboxes/metabox-premium.php:32
456
+ msgid "Buy Now!"
457
+ msgstr "¡Comprar Ahora!"
458
+
459
+ #: admin/views/metaboxes/metabox-rules.php:19
460
+ msgid "Rules"
461
+ msgstr "Reglas"
462
+
463
+ #: admin/views/metaboxes/metabox-rules.php:20
464
+ msgid "Create a set of rules to determine where the popup will show"
465
+ msgstr ""
466
+ "Crear un grupo de reglas para determinar dónde el popup se va a mostrar"
467
+
468
+ #: admin/views/metaboxes/metabox-rules.php:31
469
+ msgid "Show this popup if"
470
+ msgstr "Mostrar este popup si"
471
+
472
+ #: admin/views/metaboxes/metabox-rules.php:45
473
+ msgid "User"
474
+ msgstr "Usuario"
475
+
476
+ #: admin/views/metaboxes/metabox-rules.php:46
477
+ msgid "User role"
478
+ msgstr "Rol de Usuario"
479
+
480
+ #: admin/views/metaboxes/metabox-rules.php:47
481
+ msgid "User is logged"
482
+ msgstr "El usuario está autenticado"
483
+
484
+ #: admin/views/metaboxes/metabox-rules.php:48
485
+ msgid "User never left a comment"
486
+ msgstr "El usuario nunca dejó un comentario"
487
+
488
+ #: admin/views/metaboxes/metabox-rules.php:49
489
+ msgid "User came via a search engine"
490
+ msgstr "El usuario vino via un motor de búsqueda"
491
+
492
+ #: admin/views/metaboxes/metabox-rules.php:50
493
+ msgid "User did not arrive via another page on your site"
494
+ msgstr "El usuario no llegó via ninguna otra página de su sitio"
495
+
496
+ #: admin/views/metaboxes/metabox-rules.php:52
497
+ #: admin/views/metaboxes/metabox-rules.php:53
498
+ msgid "Post"
499
+ msgstr "Post"
500
+
501
+ #: admin/views/metaboxes/metabox-rules.php:54
502
+ msgid "Post ID"
503
+ msgstr "ID del Post"
504
+
505
+ #: admin/views/metaboxes/metabox-rules.php:55
506
+ msgid "Post Type"
507
+ msgstr "Tipo del Post"
508
+
509
+ #: admin/views/metaboxes/metabox-rules.php:56
510
+ msgid "Post Category"
511
+ msgstr "Categoría del Post"
512
+
513
+ #: admin/views/metaboxes/metabox-rules.php:57
514
+ msgid "Post Format"
515
+ msgstr "Formato del Post"
516
+
517
+ #: admin/views/metaboxes/metabox-rules.php:58
518
+ msgid "Post Status"
519
+ msgstr "Estado del Post"
520
+
521
+ #: admin/views/metaboxes/metabox-rules.php:59
522
+ msgid "Post Taxonomy"
523
+ msgstr "Taxonomía del Post"
524
+
525
+ #: admin/views/metaboxes/metabox-rules.php:61
526
+ #: admin/views/metaboxes/metabox-rules.php:62
527
+ msgid "Page"
528
+ msgstr "Página"
529
+
530
+ #: admin/views/metaboxes/metabox-rules.php:63
531
+ msgid "Page Type"
532
+ msgstr "Tipo de Página"
533
+
534
+ #: admin/views/metaboxes/metabox-rules.php:64
535
+ msgid "Page Parent"
536
+ msgstr "Padre de la Página"
537
+
538
+ #: admin/views/metaboxes/metabox-rules.php:65
539
+ msgid "Page Template"
540
+ msgstr "Plantilla de la Página"
541
+
542
+ #: admin/views/metaboxes/metabox-rules.php:67
543
+ msgid "Other"
544
+ msgstr "Otro"
545
+
546
+ #: admin/views/metaboxes/metabox-rules.php:68
547
+ msgid "Referrer"
548
+ msgstr "Remitente"
549
+
550
+ #: admin/views/metaboxes/metabox-rules.php:69
551
+ msgid "Mobile Phone"
552
+ msgstr "Teléfono Móvil"
553
+
554
+ #: admin/views/metaboxes/metabox-rules.php:70
555
+ msgid "Tablet"
556
+ msgstr "Tablet"
557
+
558
+ #: admin/views/metaboxes/metabox-rules.php:94
559
+ msgid "is equal to"
560
+ msgstr "es igual a"
561
+
562
+ #: admin/views/metaboxes/metabox-rules.php:95
563
+ msgid "is not equal to"
564
+ msgstr "no es igual a "
565
+
566
+ #: admin/views/metaboxes/metabox-rules.php:126
567
+ msgid "and"
568
+ msgstr "y"
569
+
570
+ #: admin/views/metaboxes/metabox-rules.php:141
571
+ msgid "Add rule group"
572
+ msgstr "Adicionar grupo de regla"
573
+
574
+ #: admin/views/metaboxes/metabox-support.php:6
575
+ #, php-format
576
+ msgid "You are using Popups plugin v%s"
577
+ msgstr "Usted está usando el plugin Popups v%s"
578
+
579
+ #: admin/views/metaboxes/metabox-support.php:7
580
+ #, php-format
581
+ msgid ""
582
+ "If you need support please go to the WordPress.org <a href=\"%s\">support "
583
+ "forums</a>"
584
+ msgstr ""
585
+ "Si usted necesita soporte por favor vaya a <a href=\"%s\">los foros de "
586
+ "soporte</a> de WordPress.org"
587
+
588
+ #: admin/views/settings-page.php:18
589
+ msgid "Ajax mode?"
590
+ msgstr "¿Modo Ajax?"
591
+
592
+ #: admin/views/settings-page.php:21
593
+ msgid ""
594
+ "Load popups using ajax. Compatible with cache plugins, but might not work "
595
+ "with all plugins"
596
+ msgstr ""
597
+ "Cargar popups usando ajax. Compatible con plugins de caché, pero puede no "
598
+ "funcionar con todos los plugins"
599
+
600
+ #: admin/views/settings-page.php:27
601
+ msgid "Enable Debug mode?"
602
+ msgstr "¿Habilitar modo Debug?"
603
+
604
+ #: admin/views/settings-page.php:30
605
+ msgid "Will use uncompressed js"
606
+ msgstr "Va a usar js descomprimido"
607
+
608
+ #: admin/views/settings-page.php:35
609
+ msgid "Enable safe mode?"
610
+ msgstr "¿Habilitar modo seguro?"
611
+
612
+ #: admin/views/settings-page.php:38
613
+ msgid "Will move all popups to top of the screen."
614
+ msgstr "Moverá todos los popups hacia arriba de la pantalla."
615
+
616
+ #: admin/views/settings-page.php:43
617
+ msgid "Remove shortcodes style"
618
+ msgstr "Eliminar el estilo de los códigos cortos"
619
+
620
+ #: admin/views/settings-page.php:46
621
+ msgid ""
622
+ "By default the plugin will apply some style to shortcodes. Check here if you "
623
+ "want to manually style them"
624
+ msgstr ""
625
+ "Por defecto el plugin aplicará algún estilo a códigos cortos. Seleccione "
626
+ "aquí si quiere aplicarle el estilo manualmente"
627
+
628
+ #: admin/views/settings-page.php:51
629
+ msgid "Unload Facebook javascript"
630
+ msgstr "No cargar el javascript de Facebook"
631
+
632
+ #: admin/views/settings-page.php:54
633
+ msgid "If you use your own Facebook script, check this"
634
+ msgstr "Si usted usa su propio script de Facebook, seleccione aquí"
635
+
636
+ #: admin/views/settings-page.php:59
637
+ msgid "Unload Google javascript"
638
+ msgstr "No cargar javascript de Google"
639
+
640
+ #: admin/views/settings-page.php:62
641
+ msgid "If you use your own Google script, check this"
642
+ msgstr "Si usted usa su propio script de Google, seleccione aquí"
643
+
644
+ #: admin/views/settings-page.php:67
645
+ msgid "Unload Twitter javascript"
646
+ msgstr "No cargar javascript de Twitter"
647
+
648
+ #: admin/views/settings-page.php:70
649
+ msgid "If you use your own Twitter script, check this"
650
+ msgstr "Si usted usa su propio script de Twitter, seleccione aquí"
651
+
652
+ #: admin/views/settings-page.php:75
653
+ msgid "Save settings"
654
+ msgstr "Salvar ajustes"
655
+
656
+ #: includes/class-spu-helper.php:133
657
+ msgid "All Pages"
658
+ msgstr "Todas las Páginas"
659
+
660
+ #: includes/class-spu-helper.php:134
661
+ msgid "Front Page"
662
+ msgstr "Página Frontal"
663
+
664
+ #: includes/class-spu-helper.php:135
665
+ msgid "Posts Page"
666
+ msgstr "Página de Posts"
667
+
668
+ #: includes/class-spu-helper.php:136
669
+ msgid "Category Page"
670
+ msgstr "Página de Categoría"
671
+
672
+ #: includes/class-spu-helper.php:137
673
+ msgid "Archives Page"
674
+ msgstr "Página de Archivos"
675
+
676
+ #: includes/class-spu-helper.php:138
677
+ msgid "Top Level Page (parent of 0)"
678
+ msgstr "Página de Nivel Superior (padre de 0)"
679
+
680
+ #: includes/class-spu-helper.php:139
681
+ msgid "Parent Page (has children)"
682
+ msgstr "Página Padre (tiene hijos)"
683
+
684
+ #: includes/class-spu-helper.php:140
685
+ msgid "Child Page (has parent)"
686
+ msgstr "Página hija (tiene padre)"
687
+
688
+ #: includes/class-spu-helper.php:148
689
+ msgid "Default Template"
690
+ msgstr "Plantilla Por Defecto"
691
+
692
+ #: includes/class-spu-helper.php:221
693
+ msgid "Publish"
694
+ msgstr "Publicar"
695
+
696
+ #: includes/class-spu-helper.php:222
697
+ msgid "Pending Review"
698
+ msgstr "Revisión Pendiente"
699
+
700
+ #: includes/class-spu-helper.php:223
701
+ msgid "Draft"
702
+ msgstr "Borrador"
703
+
704
+ #: includes/class-spu-helper.php:224
705
+ msgid "Future"
706
+ msgstr "Futuro"
707
+
708
+ #: includes/class-spu-helper.php:225
709
+ msgid "Private"
710
+ msgstr "Privado"
711
+
712
+ #: includes/class-spu-helper.php:226
713
+ msgid "Revision"
714
+ msgstr "Revisión"
715
+
716
+ #: includes/class-spu-helper.php:227
717
+ msgid "Trash"
718
+ msgstr "Papelera"
719
+
720
+ #: includes/class-spu-helper.php:240
721
+ msgid "Super Admin"
722
+ msgstr "Super Admin"
723
+
724
+ #: includes/class-spu-helper.php:260
725
+ msgid "True"
726
+ msgstr "Verdadero"
popups.php CHANGED
@@ -11,7 +11,7 @@
11
  * @socialpopup
12
  * Plugin Name: Popups - WordPress Popup
13
  * Plugin URI: http://www.timersys.com/free-plugins/social-popup/
14
- * Version: 1.2.3.5
15
  * Description: This plugin will display a popup or splash screen when a new user visit your site showing a Google+, twitter and facebook follow links. This will increase you followers ratio in a 40%. Popup will be close depending on your settings. Check readme.txt for full details.
16
  * Author: Damian Logghe
17
  * Author URI: http://wp.timersys.com
@@ -36,6 +36,8 @@ define( 'SPU_PLUGIN_HOOK' , basename( dirname( __FILE__ ) ) . '/' . basename( __
36
 
37
 
38
  require_once( plugin_dir_path( __FILE__ ) . 'public/class-social-popup.php' );
 
 
39
 
40
  /*
41
  * Register hooks that are fired when the plugin is activated or deactivated.
11
  * @socialpopup
12
  * Plugin Name: Popups - WordPress Popup
13
  * Plugin URI: http://www.timersys.com/free-plugins/social-popup/
14
+ * Version: 1.3
15
  * Description: This plugin will display a popup or splash screen when a new user visit your site showing a Google+, twitter and facebook follow links. This will increase you followers ratio in a 40%. Popup will be close depending on your settings. Check readme.txt for full details.
16
  * Author: Damian Logghe
17
  * Author URI: http://wp.timersys.com
36
 
37
 
38
  require_once( plugin_dir_path( __FILE__ ) . 'public/class-social-popup.php' );
39
+ // Include Helper class
40
+ require_once( SPU_PLUGIN_DIR . 'includes/class-spu-helper.php' );
41
 
42
  /*
43
  * Register hooks that are fired when the plugin is activated or deactivated.
public/assets/css/public.css CHANGED
@@ -89,24 +89,31 @@ body {
89
 
90
  .spu-close{
91
  position:absolute;
92
- right:5px;
93
  top:5px;
94
- height:20px;
95
- width:20px;
96
- text-align:center;
97
  padding: 0;
98
  cursor: pointer;
99
  background: transparent;
100
  border: 0;
101
  -webkit-appearance: none;
102
- font-size: 21px;
103
- font-weight: bold;
104
  line-height: 1;
105
  text-shadow: 0 1px 0 #fff;
106
  opacity: .3;
107
  filter: alpha(opacity=30);
108
  }
109
-
 
 
 
 
 
 
 
 
 
 
 
110
  .spu-close:hover, .spu-close:focus {
111
  color: #000;
112
  text-decoration: none;
@@ -129,7 +136,93 @@ body {
129
  .spu_shortcodes:after { content: ""; display: table; }
130
  .spu_shortcodes:after { clear: both; }
131
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  @media only screen and (max-width: 620px) {
134
  .spu-box.taller-than-viewport {
135
  left: 0 !important;
89
 
90
  .spu-close{
91
  position:absolute;
92
+ right:8px;
93
  top:5px;
 
 
 
94
  padding: 0;
95
  cursor: pointer;
96
  background: transparent;
97
  border: 0;
98
  -webkit-appearance: none;
99
+ font-size: 30px;
 
100
  line-height: 1;
101
  text-shadow: 0 1px 0 #fff;
102
  opacity: .3;
103
  filter: alpha(opacity=30);
104
  }
105
+ p.spu-powered {
106
+ position: absolute;
107
+ bottom: -55px;
108
+ width: 100%;
109
+ text-align: center;
110
+ color: #fff;
111
+ left: 0px;
112
+ }
113
+ p.spu-powered a{
114
+ color: #ccc;
115
+ text-decoration: underline;
116
+ }
117
  .spu-close:hover, .spu-close:focus {
118
  color: #000;
119
  text-decoration: none;
136
  .spu_shortcodes:after { content: ""; display: table; }
137
  .spu_shortcodes:after { clear: both; }
138
 
139
+ @font-face {
140
+ font-family: 'spufont';
141
+ src:url('../fonts/spufont.eot?sze5my');
142
+ src:url('../fonts/spufont.eot?#iefixsze5my') format('embedded-opentype'),
143
+ url('../fonts/spufont.woff?sze5my') format('woff'),
144
+ url('../fonts/spufont.ttf?sze5my') format('truetype'),
145
+ url('../fonts/spufont.svg?sze5my#spufont') format('svg');
146
+ font-weight: normal;
147
+ font-style: normal;
148
+ }
149
+
150
+ [class^="spu-icon-"], [class*=" spu-icon-"] {
151
+ font-family: 'spufont';
152
+ speak: none;
153
+ font-style: normal;
154
+ font-weight: normal;
155
+ font-variant: normal;
156
+ text-transform: none;
157
+ line-height: 1;
158
+
159
+ /* Better Font Rendering =========== */
160
+ -webkit-font-smoothing: antialiased;
161
+ -moz-osx-font-smoothing: grayscale;
162
+ }
163
+
164
+ .spu-icon-envelope:before {
165
+ content: "\f003";
166
+ }
167
+
168
+ .spu-icon-check:before {
169
+ content: "\f00c";
170
+ }
171
 
172
+ .spu-icon-close:before {
173
+ content: "\f00d";
174
+ }
175
+
176
+ .spu-icon-eye:before {
177
+ content: "\f06e";
178
+ }
179
+
180
+ .spu-icon-gears:before {
181
+ content: "\f085";
182
+ }
183
+
184
+ .spu-icon-spinner:before {
185
+ content: "\f110";
186
+ }
187
+ .spu-spinner {
188
+ -webkit-animation: spu-rotate 1s infinite linear;
189
+ -moz-animation: spu-rotate 1s infinite linear;
190
+ -o-animation: spu-rotate 1s infinite linear;
191
+ margin: 5px;
192
+ display: none;
193
+ }
194
+ @keyframes spu-rotate {
195
+ 0% {
196
+ transform: rotate(0);
197
+ }
198
+ 100% {
199
+ transform: rotate(360deg);
200
+ }
201
+ }
202
+ @-webkit-keyframes spu-rotate {
203
+ 0% {
204
+ transform: rotate(0);
205
+ }
206
+ 100% {
207
+ transform: rotate(360deg);
208
+ }
209
+ }
210
+ @-moz-keyframes spu-rotate {
211
+ 0% {
212
+ transform: rotate(0);
213
+ }
214
+ 100% {
215
+ transform: rotate(360deg);
216
+ }
217
+ }
218
+ @-o-keyframes spu-rotate {
219
+ 0% {
220
+ transform: rotate(0);
221
+ }
222
+ 100% {
223
+ transform: rotate(360deg);
224
+ }
225
+ }
226
  @media only screen and (max-width: 620px) {
227
  .spu-box.taller-than-viewport {
228
  left: 0 !important;
public/assets/fonts/spufont.eot ADDED
Binary file
public/assets/fonts/spufont.svg ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="spufont" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="960" descent="-64" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" d="" horiz-adv-x="512" />
10
+ <glyph unicode="&#xf003;" d="M950.857 91.428v438.857q-18.286-20.571-39.429-37.714-153.143-117.714-243.429-193.143-29.143-24.571-47.429-38.286t-49.429-27.714-58.571-14h-1.143q-27.429 0-58.571 14t-49.429 27.714-47.429 38.286q-90.286 75.429-243.429 193.143-21.143 17.143-39.429 37.714v-438.857q0-7.429 5.429-12.857t12.857-5.429h841.143q7.429 0 12.857 5.429t5.429 12.857zM950.857 692v14t-0.286 7.429-1.714 7.143-3.143 5.143-5.143 4.286-8 1.429h-841.143q-7.429 0-12.857-5.429t-5.429-12.857q0-96 84-162.286 110.286-86.857 229.143-181.143 3.429-2.857 20-16.857t26.286-21.429 25.429-18 28.857-15.714 24.571-5.143h1.143q11.429 0 24.571 5.143t28.857 15.714 25.429 18 26.286 21.429 20 16.857q118.857 94.286 229.143 181.143 30.857 24.571 57.429 66t26.571 75.143zM1024 713.143v-621.714q0-37.714-26.857-64.571t-64.571-26.857h-841.143q-37.714 0-64.571 26.857t-26.857 64.571v621.714q0 37.714 26.857 64.571t64.571 26.857h841.143q37.714 0 64.571-26.857t26.857-64.571z" />
11
+ <glyph unicode="&#xf00c;" d="M954.857 627.428q0-22.857-16-38.857l-491.429-491.429q-16-16-38.857-16t-38.857 16l-284.571 284.571q-16 16-16 38.857t16 38.857l77.714 77.714q16 16 38.857 16t38.857-16l168-168.571 374.857 375.429q16 16 38.857 16t38.857-16l77.714-77.714q16-16 16-38.857z" />
12
+ <glyph unicode="&#xf00d;" d="M741.714 195.428q0-22.857-16-38.857l-77.714-77.714q-16-16-38.857-16t-38.857 16l-168 168-168-168q-16-16-38.857-16t-38.857 16l-77.714 77.714q-16 16-16 38.857t16 38.857l168 168-168 168q-16 16-16 38.857t16 38.857l77.714 77.714q16 16 38.857 16t38.857-16l168-168 168 168q16 16 38.857 16t38.857-16l77.714-77.714q16-16 16-38.857t-16-38.857l-168-168 168-168q16-16 16-38.857z" horiz-adv-x="805" />
13
+ <glyph unicode="&#xf06e;" d="M950.857 402.286q-86.857 134.857-217.714 201.714 34.857-59.429 34.857-128.571 0-105.714-75.143-180.857t-180.857-75.143-180.857 75.143-75.143 180.857q0 69.143 34.857 128.571-130.857-66.857-217.714-201.714 76-117.143 190.571-186.571t248.286-69.429 248.286 69.429 190.571 186.571zM539.429 621.714q0 11.429-8 19.429t-19.429 8q-71.429 0-122.571-51.143t-51.143-122.571q0-11.429 8-19.429t19.429-8 19.429 8 8 19.429q0 49.143 34.857 84t84 34.857q11.429 0 19.429 8t8 19.429zM1024 402.286q0-19.429-11.429-39.429-80-131.429-215.143-210.571t-285.429-79.143-285.429 79.429-215.143 210.286q-11.429 20-11.429 39.429t11.429 39.429q80 130.857 215.143 210.286t285.429 79.429 285.429-79.429 215.143-210.286q11.429-20 11.429-39.429z" />
14
+ <glyph unicode="&#xf085;" d="M512 438.857q0 60.571-42.857 103.429t-103.429 42.857-103.429-42.857-42.857-103.429 42.857-103.429 103.429-42.857 103.429 42.857 42.857 103.429zM950.857 146.286q0 29.714-21.714 51.429t-51.429 21.714-51.429-21.714-21.714-51.429q0-30.286 21.429-51.714t51.714-21.429 51.714 21.429 21.429 51.714zM950.857 731.428q0 29.714-21.714 51.429t-51.429 21.714-51.429-21.714-21.714-51.429q0-30.286 21.429-51.714t51.714-21.429 51.714 21.429 21.429 51.714zM731.429 490.857v-105.714q0-5.714-4-11.143t-9.143-6l-88.571-13.714q-6.286-20-18.286-43.429 19.429-27.429 51.429-65.714 4-5.714 4-11.429 0-6.857-4-10.857-13.143-17.143-47.143-51.143t-44.857-34q-6.286 0-12 4l-65.714 51.429q-21.143-10.857-44-17.714-6.286-61.714-13.143-88.571-4-13.714-17.143-13.714h-106.286q-6.286 0-11.429 4.286t-5.714 10l-13.143 87.429q-19.429 5.714-42.857 17.714l-67.429-50.857q-4-4-11.429-4-6.286 0-12 4.571-82.286 76-82.286 91.429 0 5.143 4 10.857 5.714 8 23.429 30.286t26.857 34.857q-13.143 25.143-20 46.857l-86.857 13.714q-5.714 0.571-9.714 5.429t-4 11.143v105.714q0 5.714 4 11.143t9.143 6l88.571 13.714q6.286 20 18.286 43.429-19.429 27.429-51.429 65.714-4 6.286-4 11.429 0 6.857 4 11.429 12.571 17.143 46.857 50.857t45.143 33.714q6.286 0 12-4l65.714-51.429q19.429 10.286 44 18.286 6.286 61.714 13.143 88 4 13.714 17.143 13.714h106.286q6.286 0 11.429-4.286t5.714-10l13.143-87.429q19.429-5.714 42.857-17.714l67.429 50.857q4.571 4 11.429 4 6.286 0 12-4.571 82.286-76 82.286-91.429 0-5.143-4-10.857-6.857-9.143-24-30.857t-25.714-34.286q13.143-27.429 19.429-46.857l86.857-13.143q5.714-1.143 9.714-6t4-11.143zM1097.143 186.286v-80q0-9.143-85.143-17.714-6.857-15.429-17.143-29.714 29.143-64.571 29.143-78.857 0-2.286-2.286-4-69.714-40.571-70.857-40.571-4.571 0-26.286 26.857t-29.714 38.857q-11.429-1.143-17.143-1.143t-17.143 1.143q-8-12-29.714-38.857t-26.286-26.857q-1.143 0-70.857 40.571-2.286 1.714-2.286 4 0 14.286 29.143 78.857-10.286 14.286-17.143 29.714-85.143 8.571-85.143 17.714v80q0 9.143 85.143 17.714 7.429 16.571 17.143 29.714-29.143 64.571-29.143 78.857 0 2.286 2.286 4 2.286 1.143 20 11.429t33.714 19.429 17.143 9.143q4.571 0 26.286-26.571t29.714-38.571q11.429 1.143 17.143 1.143t17.143-1.143q29.143 40.571 52.571 64l3.429 1.143q2.286 0 70.857-40 2.286-1.714 2.286-4 0-14.286-29.143-78.857 9.714-13.143 17.143-29.714 85.143-8.571 85.143-17.714zM1097.143 771.428v-80q0-9.143-85.143-17.714-6.857-15.429-17.143-29.714 29.143-64.571 29.143-78.857 0-2.286-2.286-4-69.714-40.571-70.857-40.571-4.571 0-26.286 26.857t-29.714 38.857q-11.429-1.143-17.143-1.143t-17.143 1.143q-8-12-29.714-38.857t-26.286-26.857q-1.143 0-70.857 40.571-2.286 1.714-2.286 4 0 14.286 29.143 78.857-10.286 14.286-17.143 29.714-85.143 8.571-85.143 17.714v80q0 9.143 85.143 17.714 7.429 16.571 17.143 29.714-29.143 64.571-29.143 78.857 0 2.286 2.286 4 2.286 1.143 20 11.429t33.714 19.429 17.143 9.143q4.571 0 26.286-26.571t29.714-38.571q11.429 1.143 17.143 1.143t17.143-1.143q29.143 40.571 52.571 64l3.429 1.143q2.286 0 70.857-40 2.286-1.714 2.286-4 0-14.286-29.143-78.857 9.714-13.143 17.143-29.714 85.143-8.571 85.143-17.714z" horiz-adv-x="1097" />
15
+ <glyph unicode="&#xf110;" d="M300.571 154.286q0-30.286-21.429-51.714t-51.714-21.429q-29.714 0-51.429 21.714t-21.714 51.429q0 30.286 21.429 51.714t51.714 21.429 51.714-21.429 21.429-51.714zM585.143 36.571q0-30.286-21.429-51.714t-51.714-21.429-51.714 21.429-21.429 51.714 21.429 51.714 51.714 21.429 51.714-21.429 21.429-51.714zM182.857 438.857q0-30.286-21.429-51.714t-51.714-21.429-51.714 21.429-21.429 51.714 21.429 51.714 51.714 21.429 51.714-21.429 21.429-51.714zM869.714 154.286q0-29.714-21.714-51.429t-51.429-21.714q-30.286 0-51.714 21.429t-21.429 51.714 21.429 51.714 51.714 21.429 51.714-21.429 21.429-51.714zM318.857 723.428q0-37.714-26.857-64.571t-64.571-26.857-64.571 26.857-26.857 64.571 26.857 64.571 64.571 26.857 64.571-26.857 26.857-64.571zM987.429 438.857q0-30.286-21.429-51.714t-51.714-21.429-51.714 21.429-21.429 51.714 21.429 51.714 51.714 21.429 51.714-21.429 21.429-51.714zM621.714 841.143q0-45.714-32-77.714t-77.714-32-77.714 32-32 77.714 32 77.714 77.714 32 77.714-32 32-77.714zM924.571 723.428q0-53.143-37.714-90.571t-90.286-37.429q-53.143 0-90.571 37.429t-37.429 90.571q0 52.571 37.429 90.286t90.571 37.714q52.571 0 90.286-37.714t37.714-90.286z" />
16
+ </font></defs></svg>
public/assets/fonts/spufont.ttf ADDED
Binary file
public/assets/fonts/spufont.woff ADDED
Binary file
public/assets/js/min/public-min.js CHANGED
@@ -1 +1 @@
1
- !function($){"use strict";function t(t,i,e,o,n){var r={url:spuvar.ajax_url,data:t,cache:!1,type:"POST",dataType:"json",timeout:3e4},n=n||!1,e=e||!1,o=o||!1;i&&(r.url=i),e&&(r.success=e),o&&(r.error=o),n&&(r.dataType=n),$.ajax(r)}function i(t,i,e){if(e){var o=new Date;o.setTime(o.getTime()+24*e*60*60*1e3);var n="; expires="+o.toGMTString()}else var n="";document.cookie=t+"="+i+n+"; path=/"}function e(t){for(var i=t+"=",e=document.cookie.split(";"),o=0;o<e.length;o++){for(var n=e[o];" "==n.charAt(0);)n=n.substring(1,n.length);if(0==n.indexOf(i))return n.substring(i.length,n.length)}return null}function o(){FB.Event.subscribe("edge.create",function(t,i){var e=$(i).parents(".spu-box").data("box-id");e&&SPU.hide(e)}),l=!0,clearInterval(g)}function n(t){var i=$(t.target).parents(".spu-box").data("box-id");i&&SPU.hide(i)}function r(t){if("on"==t.state){var i=jQuery(".spu-gogl").data("box-id");i&&SPU.hide(i)}}function a(t){if("confirm"==t.type){var i=jQuery(".spu-gogl").data("box-id");i&&SPU.hide(i)}}function s(){if(spuvar_social.facebook)try{FB.XFBML.parse()}catch(t){}spuvar_social.google&&gapi.plusone.go(),spuvar_social.twitter&&twttr.widgets.load()}function u(){$(".spu-box form").each(function(){var t=$(this).attr("action");$(this).attr("action",t.replace("?spu_action=spu_load",""))}),$.fn.wpcf7InitForm&&$(".spu-box div.wpcf7 > form").wpcf7InitForm()}var d=function(){function o(t){var i=d[t],e=$(window).width(),o=$(window).height(),n=i.outerHeight(),r=i.outerWidth(),a=i.data("width"),s=0,u=o/2-n/2,c="fixed",f=$(document).scrollTop();i.hasClass("spu-centered")&&(e>a&&(s=e/2-r/2),i.css({left:s,position:c,top:u})),n+50>o&&(c="absolute",u=f,i.css({position:c,top:u,bottom:"auto"}))}function n(t){var i=$(t).find(".spu-facebook");if(i.length){var e=i.find(".fb-like > span").width();if(0==e){var o=i.find(".fb-like").data("layout");i.append("box_count"==o?'<style type="text/css"> #'+$(t).attr("id")+" .fb-like iframe, #"+$(t).attr("id")+" .fb_iframe_widget span, #"+$(t).attr("id")+" .fb_iframe_widget{ height: 63px !important;width: 80px !important;}</style>":'<style type="text/css"> #'+$(t).attr("id")+" .fb-like iframe, #"+$(t).attr("id")+" .fb_iframe_widget span, #"+$(t).attr("id")+" .fb_iframe_widget{ height: 20px !important;width: 80px !important;}</style>")}}}function r(t,e){var n=d[t],r=$("#spu-bg-"+t),a=n.data("bgopa");if(n.is(":animated"))return!1;if(e===!0&&n.is(":visible")||e===!1&&n.is(":hidden"))return!1;if(e===!1){var s=parseInt(n.data("cookie"));s>0&&i("spu_box_"+t,!0,s),n.trigger("spu.box_close",[t])}else n.trigger("spu.box_open",[t]),$(window).resize(function(){o(t)}),o(t);var u=n.data("spuanimation");return"fade"===u?n.fadeToggle("slow"):n.slideToggle("slow"),e===!0&&a>0?r.fadeIn():r.fadeOut(),e}var a=$(window).height(),u=spuvar.is_admin,d=[];return s(),$(".spu-content").children().first().css({"margin-top":0,"padding-top":0}).end().last().css({"margin-bottom":0,"padding-bottom":0}),$(".spu-box").each(function(){spuvar.safe_mode&&$(this).prependTo("body");var i=$(this),o=i.data("trigger"),s=0,c=1===parseInt(i.data("test-mode")),f=i.data("box-id"),p=1===parseInt(i.data("auto-hide")),l=parseInt(i.data("seconds-close")),g=parseInt(i.data("trigger-number"),10),h="percentage"==o?parseInt(i.data("trigger-number"),10)/100:.8,m=h*$(document).height();n(i),$(".spu-google").width($(".spu-google").width()-20),$(".spu-twitter").width($(".spu-twitter ").width()-50);var w=0,v=0,b=i.outerWidth(),_=i.find(".spu-content").width(),y=i.data("total");i.find(".spu-shortcode").wrapAll('<div class="spu_shortcodes"/>'),y&&!spuvar.disable_style&&$(window).width()>b&&(i.find(".spu-shortcode").each(function(){w+=$(this).width()}),v=_-w-y),v>0&&(i.find(".spu-shortcode").each(function(){$(this).css("margin-left",v/2)}),2==y?i.find(".spu-shortcode").last().css("margin-left",0):3==y&&i.find(".spu-shortcode").first().css("margin-left",0)),$(document).keyup(function(t){27==t.keyCode&&r(f,!1)});var x=navigator.userAgent,T=x.match(/iPad/i)||x.match(/iPhone/i)?"touchstart":"click";$("body").on(T,function(t){void 0!==t.originalEvent&&r(f,!1)}),$("body").on(T,".spu-box",function(t){t.stopPropagation()}),i.hide().css("left",""),d[f]=i;var k=function(){s&&clearTimeout(s),s=window.setTimeout(function(){var t=$(window).scrollTop(),i=t+a>=m;i?(p||$(window).unbind("scroll",k),r(f,!0)):r(f,!1)},100)},I=function(){s&&clearTimeout(s),s=window.setTimeout(function(){r(f,!0)},1e3*g)},P=e("spu_box_"+f);if((void 0==P||""==P||u&&c)&&("seconds"==o?I():($(window).bind("scroll",k),k()),window.location.hash&&window.location.hash.length>0)){var j=window.location.hash,S;j.substring(1)===i.attr("id")&&setTimeout(function(){r(f,!0)},100)}i.find(".spu-close-popup").click(function(){r(f,!1),"percentage"==o&&$(window).unbind("scroll",k)}),$('a[href="#'+i.attr("id")+'"]').click(function(){return r(f,!0),!1}),i.find(".gform_wrapper form").addClass("gravity-form"),i.on("submit",'form:not(".wpcf7-form, .gravity-form, .infusion-form")',function(e){e.preventDefault();var o=!0,n=$(this),a=n.serialize(),s=n.attr("action"),u=function(t,i,e){console.log("Spu Form error: "+i+" - "+e)},d=function(t){var i=$(t).filter("#spu-"+f).html();$("#spu-"+f).html(i),$("#spu-"+f).find(".mc4wp-form-error").length||setTimeout(function(){r(f,!1)},1e3*spuvar.seconds_confirmation_close)};return t(a,s,d,u,"html"),i.trigger("spu.form_submitted",[f]),o}),$("body").on("mailsent.wpcf7",function(){i.trigger("spu.form_submitted",[f]),r(f,!1)}),$(document).on("gform_confirmation_loaded",function(){i.trigger("spu.form_submitted",[f]),r(f,!1)}),i.on("submit",".infusion-form",function(t){t.preventDefault(),i.trigger("spu.form_submitted",[f]),r(f,!1),this.submit()})}),{show:function(t){return r(t,!0)},hide:function(t){return r(t,!1)},request:function(i,e,o,n){return t(i,e,o,n)}}};if(spuvar.ajax_mode){var c={pid:spuvar.pid,referrer:document.referrer,is_category:spuvar.is_category,is_archive:spuvar.is_archive},f=function(t){$("body").append(t),window.SPU=d(),u()},p=function(t,i,e){console.log("Problem loading popups - error: "+i+" - "+e)};t(c,spuvar.ajax_mode_url,f,p,"html")}else jQuery(window).load(function(){window.SPU=d()});var l=!1,g=setInterval(function(){"undefined"==typeof FB||l||o()},1e3);"undefined"!=typeof twttr&&twttr.ready(function(t){t.events.bind("tweet",n),t.events.bind("follow",n)})}(jQuery);
1
+ !function($){"use strict";function t(t,i,o,e,n){var r={url:spuvar.ajax_url,data:t,cache:!1,type:"POST",dataType:"json",timeout:3e4},n=n||!1,o=o||!1,e=e||!1;i&&(r.url=i),o&&(r.success=o),e&&(r.error=e),n&&(r.dataType=n),$.ajax(r)}function i(t,i,o){if(o){var e=new Date;e.setTime(e.getTime()+24*o*60*60*1e3);var n="; expires="+e.toGMTString()}else var n="";document.cookie=t+"="+i+n+"; path=/"}function o(t){for(var i=t+"=",o=document.cookie.split(";"),e=0;e<o.length;e++){for(var n=o[e];" "==n.charAt(0);)n=n.substring(1,n.length);if(0==n.indexOf(i))return n.substring(i.length,n.length)}return null}function e(){try{FB.Event.subscribe("edge.create",function(t,i){var o=$(i).parents(".spu-box").data("box-id");o&&SPU.hide(o)})}catch(t){}l=!0,clearInterval(h)}function n(t){var i=$(t.target).parents(".spu-box").data("box-id");i&&SPU.hide(i)}function r(t){if("on"==t.state){var i=jQuery(".spu-gogl").data("box-id");i&&SPU.hide(i)}}function a(t){if("confirm"==t.type){var i=jQuery(".spu-gogl").data("box-id");i&&SPU.hide(i)}}function s(){if(spuvar_social.facebook)try{FB.XFBML.parse()}catch(t){}if(spuvar_social.google)try{gapi.plusone.go()}catch(t){}if(spuvar_social.twitter)try{twttr.widgets.load()}catch(t){}}function u(){$(".spu-box form").each(function(){var t=$(this).attr("action");t&&$(this).attr("action",t.replace("?spu_action=spu_load",""))}),$.fn.wpcf7InitForm&&$(".spu-box div.wpcf7 > form").wpcf7InitForm()}var d=function(){function e(t){var i=d[t],o=$(window).width(),e=$(window).height(),n=i.outerHeight(),r=i.outerWidth(),a=i.data("width"),s=0,u=e/2-n/2,c="fixed",f=$(document).scrollTop();i.hasClass("spu-centered")&&(o>a&&(s=o/2-r/2),i.css({left:s,position:c,top:u})),n+50>e&&(c="absolute",u=f,i.css({position:c,top:u,bottom:"auto"}))}function n(t){var i=$(t).find(".spu-facebook");if(i.length){var o=i.find(".fb-like > span").width();if(0==o){var e=i.find(".fb-like").data("layout");i.append("box_count"==e?'<style type="text/css"> #'+$(t).attr("id")+" .fb-like iframe, #"+$(t).attr("id")+" .fb_iframe_widget span, #"+$(t).attr("id")+" .fb_iframe_widget{ height: 63px !important;width: 80px !important;}</style>":'<style type="text/css"> #'+$(t).attr("id")+" .fb-like iframe, #"+$(t).attr("id")+" .fb_iframe_widget span, #"+$(t).attr("id")+" .fb_iframe_widget{ height: 20px !important;width: 80px !important;}</style>")}}}function r(t,o,n){var r=d[t],a=$("#spu-bg-"+t),s=r.data("bgopa");if(r.is(":animated"))return!1;if(o===!0&&r.is(":visible")||o===!1&&r.is(":hidden"))return!1;if(o===!1){var u=parseInt(r.data("cookie"));u>0&&i("spu_box_"+t,!0,u),r.trigger("spu.box_close",[t])}else r.trigger("spu.box_open",[t]),$(window).resize(function(){e(t)}),e(t);var c=r.data("spuanimation"),f=r.data("close-on-conversion");return"fade"===c?o===!0?r.fadeIn("slow"):o===!1&&f&&r.fadeOut("slow"):o===!0?r.slideDown("slow"):o===!1&&f&&r.slideUp("slow"),o===!0&&s>0?a.fadeIn():o===!1&&f&&a.fadeOut(),o}var a=$(window).height(),u=spuvar.is_admin,d=[];return s(),$(".spu-content").children().first().css({"margin-top":0,"padding-top":0}).end().last().css({"margin-bottom":0,"padding-bottom":0}),$(".spu-box").each(function(){spuvar.safe_mode&&$(this).prependTo("body");var i=$(this),e=i.data("trigger"),s=0,c=1===parseInt(i.data("test-mode")),f=i.data("box-id"),p=1===parseInt(i.data("auto-hide")),l=parseInt(i.data("seconds-close")),h=parseInt(i.data("trigger-number"),10),m="percentage"==e?parseInt(i.data("trigger-number"),10)/100:.8,g=m*$(document).height();n(i),$(".spu-google").width($(".spu-google").width()-20),$(".spu-twitter").width($(".spu-twitter ").width()-50);var w=0,b=0,v=i.outerWidth(),_=i.find(".spu-content").width(),y=i.data("total");i.find(".spu-shortcode").wrapAll('<div class="spu_shortcodes"/>'),y&&!spuvar.disable_style&&$(window).width()>v&&(i.find(".spu-shortcode").each(function(){w+=$(this).width()}),b=_-w-y),b>0&&(i.find(".spu-shortcode").each(function(){$(this).css("margin-left",b/2)}),2==y?i.find(".spu-shortcode").last().css("margin-left",0):3==y&&i.find(".spu-shortcode").first().css("margin-left",0)),$(document).keyup(function(t){27==t.keyCode&&r(f,!1,!1)});var x=navigator.userAgent,T=x.match(/iPad/i)||x.match(/iPhone/i)?"touchstart":"click";$("body").on(T,function(t){void 0!==t.originalEvent&&r(f,!1,!1)}),$("body").on(T,".spu-box",function(t){t.stopPropagation()}),i.hide().css("left",""),d[f]=i;var k=function(){s&&clearTimeout(s),s=window.setTimeout(function(){var t=$(window).scrollTop(),i=t+a>=g;i?(p||$(window).unbind("scroll",k),r(f,!0,!1)):r(f,!1,!1)},100)},I=function(){s&&clearTimeout(s),s=window.setTimeout(function(){r(f,!0,!1)},1e3*h)},j=o("spu_box_"+f);if((void 0==j||""==j||u&&c)&&("seconds"==e?I():($(window).bind("scroll",k),k()),window.location.hash&&window.location.hash.length>0)){var P=window.location.hash,S;P.substring(1)===i.attr("id")&&setTimeout(function(){r(f,!0,!1)},100)}i.find(".spu-close-popup").click(function(){r(f,!1,!1),"percentage"==e&&$(window).unbind("scroll",k)}),$('a[href="#'+i.attr("id")+'"]').click(function(){return r(f,!0,!1),!1}),i.find(".gform_wrapper form").addClass("gravity-form"),i.on("submit","form.spu-disable-ajax",function(){i.trigger("spu.form_submitted",[f]),r(f,!1,!0)}),i.on("submit",'form:not(".wpcf7-form, .gravity-form, .infusion-form, .spu-disable-ajax")',function(o){o.preventDefault();var e=!0,n=$(this),a=n.serialize(),s=n.attr("action"),u=function(t,i,o){console.log("Spu Form error: "+i+" - "+o)},d=function(t){var i=$(t).filter("#spu-"+f).html();$("#spu-"+f).html(i),$("#spu-"+f).find(".mc4wp-form-error").length||setTimeout(function(){r(f,!1,!0)},1e3*spuvar.seconds_confirmation_close)};return t(a,s,d,u,"html"),i.trigger("spu.form_submitted",[f]),e}),$("body").on("mailsent.wpcf7",function(){i.trigger("spu.form_submitted",[f]),r(f,!1,!0)}),$(document).on("gform_confirmation_loaded",function(){i.trigger("spu.form_submitted",[f]),r(f,!1,!0)}),i.on("submit",".infusion-form",function(t){t.preventDefault(),i.trigger("spu.form_submitted",[f]),r(f,!1,!0),this.submit()})}),{show:function(t){return r(t,!0,!1)},hide:function(t){return r(t,!1,!1)},request:function(i,o,e,n){return t(i,o,e,n)}}};if(spuvar.ajax_mode){var c={pid:spuvar.pid,referrer:document.referrer,is_category:spuvar.is_category,is_archive:spuvar.is_archive},f=function(t){$("body").append(t),window.SPU=d(),u()},p=function(t,i,o){console.log("Problem loading popups - error: "+i+" - "+o)};t(c,spuvar.ajax_mode_url,f,p,"html")}else jQuery(window).load(function(){window.SPU=d()});var l=!1,h=setInterval(function(){"undefined"==typeof FB||l||e()},1e3);if("undefined"!=typeof twttr)try{twttr.ready(function(t){t.events.bind("tweet",n),t.events.bind("follow",n)})}catch(m){}}(jQuery);
public/assets/js/public.js CHANGED
@@ -88,7 +88,7 @@ var SPU_master = function() {
88
  //close with esc
89
  $(document).keyup(function(e) {
90
  if (e.keyCode == 27) {
91
- toggleBox( id, false );
92
  }
93
  });
94
  //close on ipads // iphones
@@ -99,7 +99,7 @@ var SPU_master = function() {
99
  // test that event is user triggered and not programatically
100
  if( ev.originalEvent !== undefined ) {
101
 
102
- toggleBox( id, false );
103
 
104
  }
105
  });
@@ -133,9 +133,9 @@ var SPU_master = function() {
133
  $(window).unbind('scroll', triggerHeightCheck);
134
  }
135
 
136
- toggleBox( id, true );
137
  } else {
138
- toggleBox( id, false );
139
  }
140
 
141
  }, 100);
@@ -149,7 +149,7 @@ var SPU_master = function() {
149
 
150
  timer = window.setTimeout(function() {
151
 
152
- toggleBox( id, true );
153
 
154
  }, triggerSeconds * 1000);
155
  }
@@ -175,7 +175,7 @@ var SPU_master = function() {
175
 
176
  if( hash.substring(1) === $box.attr( 'id' ) ) {
177
  setTimeout(function() {
178
- toggleBox( id, true );
179
  }, 100);
180
  }
181
  }
@@ -184,7 +184,7 @@ var SPU_master = function() {
184
  $box.find(".spu-close-popup").click(function() {
185
 
186
  // hide box
187
- toggleBox( id, false );
188
 
189
  if(triggerMethod == 'percentage') {
190
  // unbind
@@ -196,15 +196,22 @@ var SPU_master = function() {
196
  // add link listener for this box
197
  $('a[href="#' + $box.attr('id') +'"]').click(function() {
198
 
199
- toggleBox(id, true);
200
  return false;
201
  });
202
 
203
  // add class to the gravity form if they exist within the box
204
  $box.find('.gform_wrapper form').addClass('gravity-form');
205
 
 
 
 
 
 
 
 
206
  // Add generic form tracking
207
- $box.on('submit','form:not(".wpcf7-form, .gravity-form, .infusion-form")', function(e){
208
  e.preventDefault();
209
 
210
 
@@ -226,7 +233,7 @@ var SPU_master = function() {
226
  // give 2 seconds for response
227
  setTimeout( function(){
228
 
229
- toggleBox(id, false );
230
 
231
  }, spuvar.seconds_confirmation_close * 1000);
232
 
@@ -243,20 +250,20 @@ var SPU_master = function() {
243
  // CF7 support
244
  $('body').on('mailsent.wpcf7', function(){
245
  $box.trigger('spu.form_submitted', [id]);
246
- toggleBox(id, false );
247
  });
248
 
249
  // Gravity forms support (only AJAX mode)
250
  $(document).on('gform_confirmation_loaded', function(){
251
  $box.trigger('spu.form_submitted', [id]);
252
- toggleBox(id, false );
253
  });
254
 
255
  // Infusion Software - not ajax
256
  $box.on('submit','.infusion-form', function(e){
257
  e.preventDefault();
258
  $box.trigger('spu.form_submitted', [id]);
259
- toggleBox(id, false );
260
  this.submit();
261
  });
262
 
@@ -325,9 +332,15 @@ var SPU_master = function() {
325
  }
326
  }
327
  }
328
-
329
- //function that show/hide box
330
- function toggleBox( id, show ) {
 
 
 
 
 
 
331
  var $box = $boxes[id];
332
  var $bg = $('#spu-bg-'+id);
333
  var $bgopa = $box.data('bgopa');
@@ -359,35 +372,44 @@ var SPU_master = function() {
359
 
360
  });
361
  fixSize( id );
362
-
363
-
364
 
365
  }
366
 
367
  // show box
368
- var animation = $box.data('spuanimation');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
369
 
370
- if( animation === 'fade' ) {
371
- $box.fadeToggle( 'slow' );
372
- } else {
373
- $box.slideToggle( 'slow' );
374
- }
375
-
376
- //background
377
- if( show === true && $bgopa > 0 ){
378
- $bg.fadeIn();
379
- } else {
380
- $bg.fadeOut();
381
- }
382
  return show;
383
  }
384
 
385
  return {
386
  show: function( box_id ) {
387
- return toggleBox( box_id, true );
388
  },
389
  hide: function( box_id ) {
390
- return toggleBox( box_id, false );
391
  },
392
  request: function( data, url, success_cb, error_cb ) {
393
  return request( data, url, success_cb, error_cb );
@@ -503,20 +525,24 @@ var FbTimer = setInterval(function(){
503
  },1000);
504
 
505
  if ( typeof twttr !== 'undefined') {
506
- twttr.ready(function(twttr) {
507
- twttr.events.bind('tweet', twitterCB);
508
- twttr.events.bind('follow', twitterCB);
509
- });
 
 
510
  }
511
 
512
 
513
  function subscribeFbEvent(){
514
- FB.Event.subscribe('edge.create', function(href, html_element) {
515
- var box_id = $(html_element).parents('.spu-box').data('box-id');
516
- if( box_id) {
517
- SPU.hide(box_id);
518
- }
519
- });
 
 
520
  SPUfb = true;
521
  clearInterval(FbTimer);
522
  }
@@ -558,22 +584,25 @@ function SPU_reload_socials(){
558
  }catch(ex){}
559
  }
560
  if( spuvar_social.google ){
561
-
562
- // reload google
563
- gapi.plusone.go();
564
-
565
  }
566
  if( spuvar_social.twitter ){
567
-
568
- //reload twitter
569
- twttr.widgets.load();
 
570
  }
571
  }
572
  function SPU_reload_forms(){
573
  // Clear actions
574
  $('.spu-box form').each( function(){
575
  var action = $(this).attr('action');
576
- $(this).attr('action' , action.replace('?spu_action=spu_load',''));
 
 
577
  });
578
  if ($.fn.wpcf7InitForm) {
579
  $('.spu-box div.wpcf7 > form').wpcf7InitForm();
88
  //close with esc
89
  $(document).keyup(function(e) {
90
  if (e.keyCode == 27) {
91
+ toggleBox( id, false, false );
92
  }
93
  });
94
  //close on ipads // iphones
99
  // test that event is user triggered and not programatically
100
  if( ev.originalEvent !== undefined ) {
101
 
102
+ toggleBox( id, false, false );
103
 
104
  }
105
  });
133
  $(window).unbind('scroll', triggerHeightCheck);
134
  }
135
 
136
+ toggleBox( id, true, false );
137
  } else {
138
+ toggleBox( id, false, false );
139
  }
140
 
141
  }, 100);
149
 
150
  timer = window.setTimeout(function() {
151
 
152
+ toggleBox( id, true, false );
153
 
154
  }, triggerSeconds * 1000);
155
  }
175
 
176
  if( hash.substring(1) === $box.attr( 'id' ) ) {
177
  setTimeout(function() {
178
+ toggleBox( id, true, false );
179
  }, 100);
180
  }
181
  }
184
  $box.find(".spu-close-popup").click(function() {
185
 
186
  // hide box
187
+ toggleBox( id, false, false );
188
 
189
  if(triggerMethod == 'percentage') {
190
  // unbind
196
  // add link listener for this box
197
  $('a[href="#' + $box.attr('id') +'"]').click(function() {
198
 
199
+ toggleBox(id, true, false);
200
  return false;
201
  });
202
 
203
  // add class to the gravity form if they exist within the box
204
  $box.find('.gform_wrapper form').addClass('gravity-form');
205
 
206
+ // Disable ajax on form by adding .spu-disable-ajax class to it
207
+ $box.on('submit','form.spu-disable-ajax', function(){
208
+
209
+ $box.trigger('spu.form_submitted', [id]);
210
+ toggleBox(id, false, true );
211
+ });
212
+
213
  // Add generic form tracking
214
+ $box.on('submit','form:not(".wpcf7-form, .gravity-form, .infusion-form, .spu-disable-ajax")', function(e){
215
  e.preventDefault();
216
 
217
 
233
  // give 2 seconds for response
234
  setTimeout( function(){
235
 
236
+ toggleBox(id, false, true );
237
 
238
  }, spuvar.seconds_confirmation_close * 1000);
239
 
250
  // CF7 support
251
  $('body').on('mailsent.wpcf7', function(){
252
  $box.trigger('spu.form_submitted', [id]);
253
+ toggleBox(id, false, true );
254
  });
255
 
256
  // Gravity forms support (only AJAX mode)
257
  $(document).on('gform_confirmation_loaded', function(){
258
  $box.trigger('spu.form_submitted', [id]);
259
+ toggleBox(id, false, true );
260
  });
261
 
262
  // Infusion Software - not ajax
263
  $box.on('submit','.infusion-form', function(e){
264
  e.preventDefault();
265
  $box.trigger('spu.form_submitted', [id]);
266
+ toggleBox(id, false, true );
267
  this.submit();
268
  });
269
 
332
  }
333
  }
334
  }
335
+
336
+ /**
337
+ * Main function to show or hide the popup
338
+ * @param id int box id
339
+ * @param show boolean it's hiding or showing?
340
+ * @param conversion boolean - Its a conversion or we are just closing
341
+ * @returns {*}
342
+ */
343
+ function toggleBox( id, show, conversion ) {
344
  var $box = $boxes[id];
345
  var $bg = $('#spu-bg-'+id);
346
  var $bgopa = $box.data('bgopa');
372
 
373
  });
374
  fixSize( id );
 
 
375
 
376
  }
377
 
378
  // show box
379
+ var animation = $box.data('spuanimation'),
380
+ conversion_close = $box.data('close-on-conversion');
381
+
382
+
383
+ if (animation === 'fade') {
384
+ if (show === true) {
385
+ $box.fadeIn('slow');
386
+ } else if (show === false && conversion_close ) {
387
+ $box.fadeOut('slow');
388
+ }
389
+ } else {
390
+ if (show === true ) {
391
+ $box.slideDown('slow');
392
+ } else if (show === false && conversion_close ) {
393
+ $box.slideUp('slow');
394
+ }
395
+ }
396
+
397
+ //background
398
+ if (show === true && $bgopa > 0) {
399
+ $bg.fadeIn();
400
+ } else if (show === false && conversion_close ) {
401
+ $bg.fadeOut();
402
+ }
403
 
 
 
 
 
 
 
 
 
 
 
 
 
404
  return show;
405
  }
406
 
407
  return {
408
  show: function( box_id ) {
409
+ return toggleBox( box_id, true, false );
410
  },
411
  hide: function( box_id ) {
412
+ return toggleBox( box_id, false, false );
413
  },
414
  request: function( data, url, success_cb, error_cb ) {
415
  return request( data, url, success_cb, error_cb );
525
  },1000);
526
 
527
  if ( typeof twttr !== 'undefined') {
528
+ try{
529
+ twttr.ready(function(twttr) {
530
+ twttr.events.bind('tweet', twitterCB);
531
+ twttr.events.bind('follow', twitterCB);
532
+ });
533
+ }catch(ex){}
534
  }
535
 
536
 
537
  function subscribeFbEvent(){
538
+ try {
539
+ FB.Event.subscribe('edge.create', function (href, html_element) {
540
+ var box_id = $(html_element).parents('.spu-box').data('box-id');
541
+ if (box_id) {
542
+ SPU.hide(box_id);
543
+ }
544
+ });
545
+ }catch(ex){}
546
  SPUfb = true;
547
  clearInterval(FbTimer);
548
  }
584
  }catch(ex){}
585
  }
586
  if( spuvar_social.google ){
587
+ try {
588
+ // reload google
589
+ gapi.plusone.go();
590
+ }catch(ex){}
591
  }
592
  if( spuvar_social.twitter ){
593
+ try {
594
+ //reload twitter
595
+ twttr.widgets.load();
596
+ }catch(ex){}
597
  }
598
  }
599
  function SPU_reload_forms(){
600
  // Clear actions
601
  $('.spu-box form').each( function(){
602
  var action = $(this).attr('action');
603
+ if( action ){
604
+ $(this).attr('action' , action.replace('?spu_action=spu_load',''));
605
+ }
606
  });
607
  if ($.fn.wpcf7InitForm) {
608
  $('.spu-box div.wpcf7 > form').wpcf7InitForm();
public/class-social-popup.php CHANGED
@@ -23,7 +23,7 @@ class SocialPopup {
23
  *
24
  * @var string
25
  */
26
- const VERSION = '1.2.3.5';
27
 
28
  /**
29
  * Popups to use acrros files
23
  *
24
  * @var string
25
  */
26
+ const VERSION = '1.3';
27
 
28
  /**
29
  * Popups to use acrros files
public/views/popup.php CHANGED
@@ -22,6 +22,7 @@ $opts = $helper->get_box_options( $box->ID );
22
  $css = $opts['css'];
23
  $content = $box->post_content;
24
  $data_attrs = '';
 
25
  $width = !empty( $css['width'] ) ? $css['width'] : '';
26
 
27
  // run filters on content
@@ -32,6 +33,14 @@ if ( function_exists('qtrans_useCurrentLanguageIfNotFoundShowAvailable') ) {
32
  $content = qtrans_useCurrentLanguageIfNotFoundShowAvailable( $content );
33
  }
34
 
 
 
 
 
 
 
 
 
35
 
36
  do_action( 'spu/popup/before_popup', $box, $opts, $css);
37
 
@@ -41,22 +50,28 @@ do_action( 'spu/popup/before_popup', $box, $opts, $css);
41
  background: <?php echo ( !empty( $css['background_color'] ) ) ? esc_attr($css['background_color']) : 'white'; ?>;
42
  <?php if ( !empty( $css['color'] ) ) { ?>color: <?php echo esc_attr($css['color']); ?>;<?php } ?>
43
  <?php if ( !empty( $css['border_color'] ) && !empty( $css['border_width'] ) ) { ?>border: <?php echo esc_attr($css['border_width']) . 'px' ?> solid <?php echo esc_attr($css['border_color']); ?>;<?php } ?>
44
- width: <?php echo ( !empty( $width ) ) ? esc_attr( $width ) : 'auto'; ?>;
 
45
  }
46
  #spu-bg-<?php echo $box->ID; ?> {
47
  opacity: <?php echo ( !empty( $css['bgopacity'] ) ) ? esc_attr($css['bgopacity']) : 0; ?>;
48
  }
49
  </style>
50
  <div class="spu-bg" id="spu-bg-<?php echo $box->ID; ?>"></div>
51
- <div class="spu-box spu-<?php echo esc_attr( $opts['css']['position'] ); ?> spu-total-<?php echo get_post_meta($box->ID, 'spu_social',true);?> <?php echo get_post_meta($box->ID, 'spu_google',true) ? 'spu-gogl' : '';?>" id="spu-<?php echo $box->ID; ?>"
52
  data-box-id="<?php echo $box->ID ; ?>" data-trigger="<?php echo esc_attr( $opts['trigger'] ); ?>"
53
  data-trigger-number="<?php echo esc_attr( absint( $opts['trigger_number'] ) ); ?>"
54
  data-spuanimation="<?php echo esc_attr($opts['animation']); ?>" data-cookie="<?php echo esc_attr( absint ( $opts['cookie'] ) ); ?>" data-test-mode="<?php echo esc_attr($opts['test_mode']); ?>"
55
- data-auto-hide="<?php echo esc_attr($opts['auto_hide']); ?>" data-bgopa="<?php echo esc_attr($css['bgopacity']);?>" data-total="<?php echo get_post_meta($box->ID, 'spu_social',true);?>"
56
  style="left:-99999px !important;" data-width="<?php echo esc_attr(str_replace('px', '', $width)); ?>" <?php echo apply_filters( 'spu/popup/data_attrs', $data_attrs, $opts);?>>
57
  <div class="spu-content"><?php echo $content; ?></div>
58
- <span class="spu-close spu-close-popup">&times;</span>
59
  <span class="spu-timer"></span>
 
 
 
 
 
60
  </div>
61
  <!-- / Popups Box -->
62
  <?php
22
  $css = $opts['css'];
23
  $content = $box->post_content;
24
  $data_attrs = '';
25
+ $box_class = '';
26
  $width = !empty( $css['width'] ) ? $css['width'] : '';
27
 
28
  // run filters on content
33
  $content = qtrans_useCurrentLanguageIfNotFoundShowAvailable( $content );
34
  }
35
 
36
+ // Optin popup ?
37
+ if( !empty( $opts['optin'] ) ) {
38
+ $box_class .= ' spu-optin';
39
+ if( !empty( $opts['optin_theme'] ) )
40
+ $box_class .= ' spu-theme-'.$opts['optin_theme'];
41
+ if( isset( $opts['optin_display_name'] ) && $opts['optin_display_name'] == '1' )
42
+ $box_class .= ' with-spu-name';
43
+ }
44
 
45
  do_action( 'spu/popup/before_popup', $box, $opts, $css);
46
 
50
  background: <?php echo ( !empty( $css['background_color'] ) ) ? esc_attr($css['background_color']) : 'white'; ?>;
51
  <?php if ( !empty( $css['color'] ) ) { ?>color: <?php echo esc_attr($css['color']); ?>;<?php } ?>
52
  <?php if ( !empty( $css['border_color'] ) && !empty( $css['border_width'] ) ) { ?>border: <?php echo esc_attr($css['border_width']) . 'px' ?> solid <?php echo esc_attr($css['border_color']); ?>;<?php } ?>
53
+ width: <?php echo ( empty( $opts['optin'] ) ) ? esc_attr( $width ) : 'auto'; ?>;
54
+
55
  }
56
  #spu-bg-<?php echo $box->ID; ?> {
57
  opacity: <?php echo ( !empty( $css['bgopacity'] ) ) ? esc_attr($css['bgopacity']) : 0; ?>;
58
  }
59
  </style>
60
  <div class="spu-bg" id="spu-bg-<?php echo $box->ID; ?>"></div>
61
+ <div class="spu-box <?php echo $box_class;?> spu-<?php echo esc_attr( $opts['css']['position'] ); ?> spu-total-<?php echo get_post_meta($box->ID, 'spu_social',true);?> <?php echo get_post_meta($box->ID, 'spu_google',true) ? 'spu-gogl' : '';?>" id="spu-<?php echo $box->ID; ?>"
62
  data-box-id="<?php echo $box->ID ; ?>" data-trigger="<?php echo esc_attr( $opts['trigger'] ); ?>"
63
  data-trigger-number="<?php echo esc_attr( absint( $opts['trigger_number'] ) ); ?>"
64
  data-spuanimation="<?php echo esc_attr($opts['animation']); ?>" data-cookie="<?php echo esc_attr( absint ( $opts['cookie'] ) ); ?>" data-test-mode="<?php echo esc_attr($opts['test_mode']); ?>"
65
+ data-auto-hide="<?php echo esc_attr($opts['auto_hide']); ?>" data-close-on-conversion="<?php echo $opts['conversion_close'] == 1 ?'1':''; ?>" data-bgopa="<?php echo esc_attr($css['bgopacity']);?>" data-total="<?php echo get_post_meta($box->ID, 'spu_social',true);?>"
66
  style="left:-99999px !important;" data-width="<?php echo esc_attr(str_replace('px', '', $width)); ?>" <?php echo apply_filters( 'spu/popup/data_attrs', $data_attrs, $opts);?>>
67
  <div class="spu-content"><?php echo $content; ?></div>
68
+ <span class="spu-close spu-close-popup"><i class="spu-icon spu-icon-close"></i></span>
69
  <span class="spu-timer"></span>
70
+ <?php if( $opts['powered_link'] == '1' ) {
71
+ $aff_link = !empty($this->spu_settings['aff_link']) ? $this->spu_settings['aff_link'] : 'http://wp.timersys.com/popups/';
72
+ ?>
73
+ <p class="spu-powered">Powered by <a href="<?php echo $aff_link;?>" target="_blank">WordPress Popup</a></p>
74
+ <?php } ?>
75
  </div>
76
  <!-- / Popups Box -->
77
  <?php