Version Description
- Performance improvements
- Fixed issue with dynamic JavaScript loading
- Added PO_PLUGIN_DIR in config for changing plugin directory name
Download this release
Release Info
Developer | WPMUDEV |
Plugin | Hustle – Pop-Ups, Slide-ins and Email Opt-ins |
Version | 4.4.5.4 |
Comparing to | |
See all releases |
Code changes from version 4.4.5.1 to 4.4.5.4
- popover-load-js.php +0 -167
- popover.php +24 -28
- popoverincludes/classes/popoveradmin.php +1929 -1604
- popoverincludes/classes/popoverajax.php +80 -0
- popoverincludes/classes/popoverpublic.php +140 -137
- popoverincludes/css/default/popover.php +2 -1
- popoverincludes/css/fixed/popover.php +1 -1
- popoverincludes/css/fullbackground/popover.php +1 -1
- popoverincludes/css/fullbackgroundfixed/popover.php +1 -1
- popoverincludes/external/wpmudev-dash-notification.php +0 -67
- popoverincludes/includes/config.php +6 -0
- popoverincludes/includes/functions.php +9 -9
- popoverincludes/js/popover-load-custom.js +125 -0
- popoverincludes/js/popover-load.js +127 -0
- popoverincludes/languages/popover-en_US.mo +0 -0
- popoverincludes/languages/popover.po +469 -411
- readme.txt +60 -3
popover-load-js.php
DELETED
@@ -1,167 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/*
|
3 |
-
* Popover selective loading file - had to move from JS to PHP because we needed some extra processing that couldn't be handled in a JS file :(
|
4 |
-
*/
|
5 |
-
// Header settings code based on code from load-scripts.php
|
6 |
-
error_reporting(0);
|
7 |
-
|
8 |
-
$compress = ( isset($_GET['c']) && $_GET['c'] );
|
9 |
-
$force_gzip = ( $compress && 'gzip' == $_GET['c'] );
|
10 |
-
$expires_offset = 31536000;
|
11 |
-
$out = '';
|
12 |
-
|
13 |
-
header('Content-Type: application/x-javascript; charset=UTF-8');
|
14 |
-
header('Expires: ' . gmdate( "D, d M Y H:i:s", time() + $expires_offset ) . ' GMT');
|
15 |
-
header("Cache-Control: public, max-age=$expires_offset");
|
16 |
-
|
17 |
-
if ( $compress && ! ini_get('zlib.output_compression') && 'ob_gzhandler' != ini_get('output_handler') && isset($_SERVER['HTTP_ACCEPT_ENCODING']) ) {
|
18 |
-
header('Vary: Accept-Encoding'); // Handle proxies
|
19 |
-
if ( false !== stripos($_SERVER['HTTP_ACCEPT_ENCODING'], 'deflate') && function_exists('gzdeflate') && ! $force_gzip ) {
|
20 |
-
header('Content-Encoding: deflate');
|
21 |
-
$out = gzdeflate( $out, 3 );
|
22 |
-
} elseif ( false !== stripos($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') && function_exists('gzencode') ) {
|
23 |
-
header('Content-Encoding: gzip');
|
24 |
-
$out = gzencode( $out, 3 );
|
25 |
-
}
|
26 |
-
}
|
27 |
-
|
28 |
-
define( 'POPOVERJSLOCATION', dirname($_SERVER["SCRIPT_FILENAME"]) );
|
29 |
-
define( 'ABSPATH', dirname(dirname(dirname(POPOVERJSLOCATION))) . '/' );
|
30 |
-
define( 'WPINC', 'wp-includes' );
|
31 |
-
|
32 |
-
// Load WordPress so that we can get some bits and pieces.
|
33 |
-
require_once( ABSPATH . 'wp-load.php');
|
34 |
-
|
35 |
-
?>
|
36 |
-
//
|
37 |
-
// Javascript file to selectively load the WPMUDEV Pop Up
|
38 |
-
//
|
39 |
-
// Written by Barry (Incsub)
|
40 |
-
//
|
41 |
-
//
|
42 |
-
//
|
43 |
-
|
44 |
-
// Where the admin-ajax.php file is relative to the domain - have to hardcode for now due to this being a JS file
|
45 |
-
var po_adminajax = '<?php echo admin_url( 'admin-ajax.php' ); ?>';
|
46 |
-
|
47 |
-
// Enable us to get some cookie information - from http://stackoverflow.com/questions/5639346/shortest-function-for-reading-a-cookie-in-javascript
|
48 |
-
function po_get_cookie(name) {
|
49 |
-
|
50 |
-
var nameEQ = name + "=";
|
51 |
-
var ca = document.cookie.split(';');
|
52 |
-
for(var i=0;i < ca.length;i++) {
|
53 |
-
var c = ca[i];
|
54 |
-
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
55 |
-
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
56 |
-
}
|
57 |
-
return null;
|
58 |
-
}
|
59 |
-
|
60 |
-
function po_createCookie(name,value,days) {
|
61 |
-
if (days) {
|
62 |
-
var date = new Date();
|
63 |
-
date.setTime(date.getTime()+(days*24*60*60*1000));
|
64 |
-
var expires = "; expires="+date.toGMTString();
|
65 |
-
}
|
66 |
-
else var expires = "";
|
67 |
-
document.cookie = name+"="+value+expires+"; path=/";
|
68 |
-
}
|
69 |
-
|
70 |
-
function po_removeMessageBoxForever() {
|
71 |
-
jQuery('#darkbackground').remove();
|
72 |
-
jQuery(this).parents(popovername).remove();
|
73 |
-
po_createCookie('popover_never_view', 'hidealways', 365);
|
74 |
-
return false;
|
75 |
-
}
|
76 |
-
|
77 |
-
function po_removeMessageBox() {
|
78 |
-
jQuery('#darkbackground').remove();
|
79 |
-
jQuery(this).parents(popovername).remove();
|
80 |
-
return false;
|
81 |
-
}
|
82 |
-
|
83 |
-
function po_loadMessageBox( ) {
|
84 |
-
|
85 |
-
// move the data back to the data variable, from mydata so we can use it without changing a chunk of code :)
|
86 |
-
data = mydata;
|
87 |
-
|
88 |
-
if( data['html'] != '' ) {
|
89 |
-
// Set the name for other functions to use
|
90 |
-
popovername = '#' + data['name'];
|
91 |
-
|
92 |
-
jQuery( '<style type="text/css">' + data['style'] + '</style>' ).appendTo('head');
|
93 |
-
jQuery( data['html'] ).appendTo('body');
|
94 |
-
|
95 |
-
if( data['usejs'] == 'yes' ) {
|
96 |
-
|
97 |
-
jQuery('#' + data['name']).width(jQuery('#message').width());
|
98 |
-
jQuery('#' + data['name']).height(jQuery('#message').height());
|
99 |
-
|
100 |
-
jQuery('#' + data['name']).css('top', (jQuery(window).height() / 2) - (jQuery('#message').height() / 2) );
|
101 |
-
jQuery('#' + data['name']).css('left', (jQuery(window).width() / 2) - (jQuery('#message').width() / 2) );
|
102 |
-
}
|
103 |
-
|
104 |
-
jQuery('#' + data['name']).css('visibility', 'visible');
|
105 |
-
jQuery('#darkbackground').css('visibility', 'visible');
|
106 |
-
|
107 |
-
jQuery('#clearforever').click(po_removeMessageBoxForever);
|
108 |
-
jQuery('#closebox').click(po_removeMessageBox);
|
109 |
-
|
110 |
-
jQuery('#message').hover( function() {jQuery('.claimbutton').removeClass('hide');}, function() {jQuery('.claimbutton').addClass('hide');});
|
111 |
-
}
|
112 |
-
|
113 |
-
}
|
114 |
-
|
115 |
-
function po_onsuccess( data ) {
|
116 |
-
// set the data to be a global variable so we can grab it after the timeout
|
117 |
-
mydata = data;
|
118 |
-
|
119 |
-
if(data['name'] != 'nopoover') {
|
120 |
-
window.setTimeout( po_loadMessageBox, data['delay'] );
|
121 |
-
}
|
122 |
-
|
123 |
-
}
|
124 |
-
|
125 |
-
function po_load_popover() {
|
126 |
-
|
127 |
-
var theajax = po_adminajax;
|
128 |
-
var thefrom = window.location;
|
129 |
-
var thereferrer = document.referrer;
|
130 |
-
|
131 |
-
// Check if we are forcing a popover - if not then set it to a default value of 0
|
132 |
-
if (typeof force_popover === 'undefined') {
|
133 |
-
force_popover = 0;
|
134 |
-
}
|
135 |
-
|
136 |
-
jQuery.ajax( {
|
137 |
-
url : theajax,
|
138 |
-
dataType : 'jsonp',
|
139 |
-
jsonpCallback : 'po_onsuccess',
|
140 |
-
data : { action : 'popover_selective_ajax',
|
141 |
-
thefrom : thefrom.toString(),
|
142 |
-
thereferrer : thereferrer.toString(),
|
143 |
-
active_popover : force_popover.toString()
|
144 |
-
},
|
145 |
-
success : function(data) {
|
146 |
-
|
147 |
-
}
|
148 |
-
}
|
149 |
-
);
|
150 |
-
|
151 |
-
return false;
|
152 |
-
}
|
153 |
-
|
154 |
-
|
155 |
-
// The main function
|
156 |
-
function po_selectiveLoad() {
|
157 |
-
|
158 |
-
po_load_popover();
|
159 |
-
|
160 |
-
}
|
161 |
-
|
162 |
-
// Call when the page is fully loaded
|
163 |
-
jQuery(window).load(po_selectiveLoad);
|
164 |
-
|
165 |
-
<?php
|
166 |
-
exit;
|
167 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
popover.php
CHANGED
@@ -1,53 +1,49 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: WordPress Pop Up Plugin
|
4 |
-
Plugin URI: http://premium.wpmudev.org
|
5 |
-
Description: Allows you to display a fancy
|
6 |
-
Author: Barry (Incsub)
|
7 |
-
Version: 4.4.5.
|
8 |
Author URI: http://premium.wpmudev.org
|
9 |
WDP ID: 123
|
10 |
|
11 |
-
Copyright Incsub (http://incsub.com)
|
12 |
|
13 |
-
This program is free software; you can redistribute it and/or modify
|
14 |
-
it under the terms of the GNU General Public License as published by
|
15 |
-
the Free Software Foundation
|
16 |
-
(at your option) any later version.
|
17 |
|
18 |
-
This program is distributed in the hope that it will be useful,
|
19 |
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
20 |
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
21 |
-
GNU General Public License for more details.
|
22 |
|
23 |
-
You should have received a copy of the GNU General Public License
|
24 |
-
along with this program; if not, write to the Free Software
|
25 |
-
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
26 |
|
27 |
-
|
|
|
28 |
|
29 |
-
require_once('popoverincludes/includes/config.php');
|
30 |
-
require_once('popoverincludes/includes/functions.php');
|
31 |
// Set up my location
|
32 |
set_popover_url(__FILE__);
|
33 |
set_popover_dir(__FILE__);
|
34 |
|
35 |
if(is_admin()) {
|
36 |
-
|
37 |
-
|
38 |
-
require_once('popoverincludes/
|
39 |
-
require_once('popoverincludes/classes/
|
40 |
-
require_once('popoverincludes/classes/popoveradmin.php');
|
41 |
-
require_once('popoverincludes/classes/popoverajax.php');
|
42 |
|
43 |
$popover = new popoveradmin();
|
44 |
$popoverajax = new popoverajax();
|
45 |
} else {
|
46 |
// Adding ajax so we don't have to duplicate checking functionality in the public class
|
47 |
// NOTE: it's not being used for ajax here
|
48 |
-
require_once('popoverincludes/classes/popoverajax.php');
|
49 |
-
|
50 |
-
require_once('popoverincludes/classes/popoverpublic.php');
|
51 |
|
52 |
$popover = new popoverpublic();
|
53 |
$popoverajax = new popoverajax();
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: WordPress Pop Up Plugin
|
4 |
+
Plugin URI: http://premium.wpmudev.org/project/the-pop-over-plugin/
|
5 |
+
Description: Allows you to display a fancy popup (powered as a popover!) to visitors sitewide or per blog, a *very* effective way of advertising a mailing list, special offer or running a plain old ad.
|
6 |
+
Author: Barry (Incsub), Marko Miljus (Incsub)
|
7 |
+
Version: 4.4.5.4
|
8 |
Author URI: http://premium.wpmudev.org
|
9 |
WDP ID: 123
|
10 |
|
11 |
+
Copyright 2007-2013 Incsub (http://incsub.com)
|
12 |
|
13 |
+
This program is free software; you can redistribute it and/or modify
|
14 |
+
it under the terms of the GNU General Public License (Version 2 - GPLv2) as published by
|
15 |
+
the Free Software Foundation.
|
|
|
16 |
|
17 |
+
This program is distributed in the hope that it will be useful,
|
18 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
20 |
+
GNU General Public License for more details.
|
21 |
|
22 |
+
You should have received a copy of the GNU General Public License
|
23 |
+
along with this program; if not, write to the Free Software
|
24 |
+
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
25 |
+
*/
|
26 |
|
27 |
+
require_once( dirname(__FILE__) . '/popoverincludes/includes/config.php');
|
28 |
+
require_once( dirname(__FILE__) . '/popoverincludes/includes/functions.php');
|
29 |
|
|
|
|
|
30 |
// Set up my location
|
31 |
set_popover_url(__FILE__);
|
32 |
set_popover_dir(__FILE__);
|
33 |
|
34 |
if(is_admin()) {
|
35 |
+
require_once( dirname(__FILE__) . '/popoverincludes/includes/class_wd_help_tooltips.php');
|
36 |
+
require_once( dirname(__FILE__) . '/popoverincludes/classes/popover.help.php');
|
37 |
+
require_once( dirname(__FILE__) . '/popoverincludes/classes/popoveradmin.php');
|
38 |
+
require_once( dirname(__FILE__) . '/popoverincludes/classes/popoverajax.php');
|
|
|
|
|
39 |
|
40 |
$popover = new popoveradmin();
|
41 |
$popoverajax = new popoverajax();
|
42 |
} else {
|
43 |
// Adding ajax so we don't have to duplicate checking functionality in the public class
|
44 |
// NOTE: it's not being used for ajax here
|
45 |
+
require_once( dirname(__FILE__) . '/popoverincludes/classes/popoverajax.php');
|
46 |
+
require_once( dirname(__FILE__) . '/popoverincludes/classes/popoverpublic.php');
|
|
|
47 |
|
48 |
$popover = new popoverpublic();
|
49 |
$popoverajax = new popoverajax();
|
popoverincludes/classes/popoveradmin.php
CHANGED
@@ -1,58 +1,64 @@
|
|
1 |
<?php
|
|
|
2 |
|
3 |
-
|
4 |
|
5 |
-
|
|
|
|
|
|
|
|
|
6 |
|
7 |
-
|
8 |
|
9 |
-
|
10 |
|
11 |
-
|
12 |
-
var $popover;
|
13 |
-
var $popover_ip_cache;
|
14 |
|
15 |
-
|
|
|
|
|
16 |
|
17 |
-
|
|
|
18 |
|
19 |
-
|
20 |
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
24 |
|
25 |
-
|
26 |
-
|
27 |
|
28 |
-
|
29 |
|
30 |
-
|
31 |
-
|
32 |
-
add_action('load-pop-overs_page_popoveraddons', array(&$this, 'add_admin_header_popover_addons'));
|
33 |
-
add_action('load-pop-overs_page_popoversettings', array(&$this, 'add_admin_header_popover_settings'));
|
34 |
|
35 |
-
|
36 |
-
|
|
|
37 |
|
38 |
-
|
|
|
|
|
39 |
|
40 |
-
|
41 |
-
$this->install();
|
42 |
|
43 |
-
|
44 |
-
}
|
45 |
|
46 |
-
|
|
|
|
|
47 |
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
|
52 |
-
|
53 |
-
|
54 |
-
if($this->db->get_var( "SHOW TABLES LIKE '" . $this->popover . "' ") != $this->popover) {
|
55 |
-
$sql = "CREATE TABLE `" . $this->popover . "` (
|
56 |
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
57 |
`popover_title` varchar(250) DEFAULT NULL,
|
58 |
`popover_content` text,
|
@@ -60,1705 +66,2024 @@ if(!class_exists('popoveradmin')) {
|
|
60 |
`popover_order` bigint(20) DEFAULT '0',
|
61 |
`popover_active` int(11) DEFAULT '0',
|
62 |
PRIMARY KEY (`id`)
|
63 |
-
)";
|
64 |
-
|
65 |
-
$this->db->query($sql);
|
66 |
|
67 |
-
|
|
|
68 |
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
`IP` varchar(12) NOT NULL DEFAULT '',
|
73 |
`country` varchar(2) DEFAULT NULL,
|
74 |
`cached` bigint(20) DEFAULT NULL,
|
75 |
PRIMARY KEY (`IP`),
|
76 |
KEY `cached` (`cached`)
|
77 |
-
)";
|
78 |
-
|
79 |
-
$this->db->query($sql);
|
80 |
-
|
81 |
-
}
|
82 |
-
|
83 |
-
}
|
84 |
-
|
85 |
-
function load_textdomain() {
|
86 |
-
|
87 |
-
$locale = apply_filters( 'popover_locale', get_locale() );
|
88 |
-
$mofile = popover_dir( "popoverincludes/languages/popover-$locale.mo" );
|
89 |
-
|
90 |
-
if ( file_exists( $mofile ) )
|
91 |
-
load_textdomain( 'popover', $mofile );
|
92 |
-
|
93 |
-
}
|
94 |
-
|
95 |
-
function add_menu_pages() {
|
96 |
-
|
97 |
-
global $submenu;
|
98 |
-
|
99 |
-
if(is_multisite() && (defined('PO_GLOBAL') && PO_GLOBAL == true)) {
|
100 |
-
if(function_exists('is_network_admin') && is_network_admin()) {
|
101 |
-
add_menu_page(__('Pop Ups','popover'), __('Pop Ups','popover'), 'manage_options', 'popover', array(&$this,'handle_popover_admin'), popover_url('popoverincludes/images/window.png'));
|
102 |
-
}
|
103 |
-
} else {
|
104 |
-
if(!function_exists('is_network_admin') || !is_network_admin()) {
|
105 |
-
add_menu_page(__('Pop Ups','popover'), __('Pop Ups','popover'), 'manage_options', 'popover', array(&$this,'handle_popover_admin'), popover_url('popoverincludes/images/window.png'));
|
106 |
-
}
|
107 |
-
}
|
108 |
-
|
109 |
-
$addnew = add_submenu_page('popover', __('Create New Pop Up','popover'), __('Create New','popover'), 'manage_options', "popover&action=add", array(&$this,'handle_addnewpopover_panel'));
|
110 |
-
add_submenu_page('popover', __('Manage Add-ons Plugins','popover'), __('Add-ons','popover'), 'manage_options', "popoveraddons", array(&$this,'handle_addons_panel'));
|
111 |
-
|
112 |
-
add_submenu_page('popover', __('Settings','popover'), __('Settings','popover'), 'manage_options', "popoversettings", array(&$this,'handle_settings_page'));
|
113 |
-
|
114 |
-
}
|
115 |
-
|
116 |
-
function sanitise_array($arrayin) {
|
117 |
-
|
118 |
-
foreach( (array) $arrayin as $key => $value) {
|
119 |
-
$arrayin[$key] = htmlentities(stripslashes($value) ,ENT_QUOTES, 'UTF-8');
|
120 |
-
}
|
121 |
-
|
122 |
-
return $arrayin;
|
123 |
-
}
|
124 |
-
|
125 |
-
function ajax_update_popover_order() {
|
126 |
-
|
127 |
-
if(check_ajax_referer( 'popover_order', '_ajax_nonce', false )) {
|
128 |
-
$newnonce = wp_create_nonce('popover_order');
|
129 |
-
|
130 |
-
$data = $_POST['data'];
|
131 |
-
parse_str($data);
|
132 |
-
foreach($dragbody as $key => $value) {
|
133 |
-
$this->reorder_popovers( $value, $key );
|
134 |
-
}
|
135 |
-
die($newnonce);
|
136 |
-
} else {
|
137 |
-
die('fail');
|
138 |
-
}
|
139 |
-
|
140 |
-
}
|
141 |
-
|
142 |
-
function update_admin_header_popover() {
|
143 |
-
|
144 |
-
global $action, $page, $allowedposttags;
|
145 |
-
|
146 |
-
wp_reset_vars( array('action', 'page') );
|
147 |
-
|
148 |
-
if($action == 'updated') {
|
149 |
-
check_admin_referer('update-popover');
|
150 |
-
|
151 |
-
$usemsg = 1;
|
152 |
-
|
153 |
-
if(function_exists('get_site_option') && defined('PO_GLOBAL') && PO_GLOBAL == true) {
|
154 |
-
$updateoption = 'update_site_option';
|
155 |
-
$getoption = 'get_site_option';
|
156 |
-
} else {
|
157 |
-
$updateoption = 'update_option';
|
158 |
-
$getoption = 'get_option';
|
159 |
-
}
|
160 |
-
|
161 |
-
if(isset($_POST['popovercontent'])) {
|
162 |
-
if ( !current_user_can('unfiltered_html') ) {
|
163 |
-
if(wp_kses($_POST['popovercontent'], $allowedposttags) != $_POST['popovercontent']) {
|
164 |
-
$usemsg = 2;
|
165 |
-
}
|
166 |
-
$updateoption('popover_content', wp_kses($_POST['popovercontent'], $allowedposttags));
|
167 |
-
} else {
|
168 |
-
$updateoption('popover_content', $_POST['popovercontent']);
|
169 |
-
}
|
170 |
-
|
171 |
-
}
|
172 |
-
|
173 |
-
if(isset($_POST['popoverwidth']) || isset($_POST['popoverheight'])) {
|
174 |
-
|
175 |
-
$width = $_POST['popoverwidth'];
|
176 |
-
$height = $_POST['popoverheight'];
|
177 |
-
|
178 |
-
if($width == '') $width = '500px';
|
179 |
-
if($height == '') $height = '200px';
|
180 |
-
|
181 |
-
$updateoption('popover_size', array("width" => $width, "height" => $height));
|
182 |
-
}
|
183 |
-
|
184 |
-
if(isset($_POST['popoverleft']) || isset($_POST['popovertop'])) {
|
185 |
-
|
186 |
-
$left = $_POST['popoverleft'];
|
187 |
-
$top = $_POST['popovertop'];
|
188 |
|
189 |
-
|
190 |
-
|
|
|
191 |
|
192 |
-
|
193 |
-
}
|
194 |
|
195 |
-
|
|
|
196 |
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
$mbottom = $_POST['popovermarginbottom'];
|
201 |
|
202 |
-
|
203 |
-
if($mtop == '') $mtop = '0px';
|
204 |
-
if($mright == '') $mright = '0px';
|
205 |
-
if($mbottom == '') $mbottom = '0px';
|
206 |
|
207 |
-
|
208 |
|
209 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
|
211 |
-
|
|
|
212 |
|
213 |
-
|
214 |
-
|
215 |
|
216 |
-
|
217 |
-
if($fore == '') $fore = '000000';
|
218 |
|
219 |
-
|
220 |
-
|
|
|
221 |
|
222 |
-
|
|
|
223 |
|
224 |
-
|
225 |
|
226 |
-
|
227 |
-
|
228 |
-
}
|
229 |
|
230 |
-
|
231 |
-
|
232 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
233 |
|
234 |
-
|
235 |
|
236 |
-
|
237 |
-
$updateoption('popover_usejs', 'yes' );
|
238 |
-
} else {
|
239 |
-
$updateoption('popover_usejs', 'no' );
|
240 |
-
}
|
241 |
|
242 |
-
|
243 |
|
244 |
-
|
|
|
245 |
|
246 |
-
|
247 |
|
248 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
|
250 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
251 |
|
252 |
-
|
253 |
-
$this->add_admin_header_popover();
|
254 |
-
} else {
|
255 |
-
wp_enqueue_script('popoverdragadminjs', popover_url('popoverincludes/js/jquery.tablednd_0_5.js'), array('jquery'), $this->build);
|
256 |
-
wp_enqueue_script('popoveradminjs', popover_url('popoverincludes/js/popovermenu.js'), array('jquery', 'popoverdragadminjs' ), $this->build);
|
257 |
|
258 |
-
|
259 |
-
|
260 |
-
'dragerror' => __('An error occured updating the Pop Up order.','popover'),
|
261 |
-
'deletepopover' => __('Are you sure you want to delete this Pop Up?','popover')
|
262 |
-
));
|
263 |
|
264 |
-
|
|
|
|
|
|
|
265 |
|
266 |
-
|
267 |
-
|
268 |
-
$this->handle_popover_transfer();
|
269 |
-
}
|
270 |
|
271 |
-
|
272 |
-
if($this->has_existing_popover()) {
|
273 |
-
add_action('all_admin_notices', array(&$this, 'show_popover_transfer_offer'));
|
274 |
-
}
|
275 |
|
276 |
-
|
277 |
-
|
278 |
|
279 |
-
|
|
|
|
|
|
|
280 |
|
281 |
-
|
|
|
282 |
|
283 |
-
|
284 |
|
285 |
-
|
|
|
|
|
|
|
286 |
|
287 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
288 |
|
289 |
-
|
|
|
290 |
|
291 |
-
|
292 |
|
293 |
-
|
294 |
-
|
295 |
-
} else {
|
296 |
-
$getoption = 'get_option';
|
297 |
-
}
|
298 |
|
299 |
-
|
|
|
|
|
|
|
300 |
|
301 |
-
|
302 |
-
|
303 |
-
return true;
|
304 |
-
} else {
|
305 |
-
return false;
|
306 |
-
}
|
307 |
-
}
|
308 |
|
309 |
-
|
310 |
|
311 |
-
|
312 |
|
313 |
-
|
|
|
|
|
314 |
|
315 |
-
|
|
|
|
|
|
|
316 |
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
$getoption = 'get_option';
|
323 |
-
}
|
324 |
|
325 |
-
|
|
|
|
|
326 |
|
327 |
-
|
328 |
-
$popover = array();
|
329 |
|
330 |
-
|
331 |
-
$popover['popover_content'] = $getoption('popover_content');
|
332 |
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
$popover['popover_settings']['popover_check'] = $getoption('popover_check');
|
339 |
|
340 |
-
|
341 |
-
|
|
|
|
|
|
|
342 |
|
343 |
-
|
344 |
|
345 |
-
|
|
|
|
|
|
|
346 |
|
347 |
-
|
|
|
|
|
|
|
348 |
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
|
353 |
-
|
354 |
-
$updateoption('popover_notranfers', 'yes');
|
355 |
-
wp_safe_redirect( remove_query_arg( 'transfer', remove_query_arg( '_wpnonce' ) ) );
|
356 |
-
break;
|
357 |
-
}
|
358 |
|
359 |
-
|
360 |
|
361 |
-
|
362 |
-
// Add in help pages
|
363 |
-
$screen = get_current_screen();
|
364 |
-
$help = new Popover_Help( $screen );
|
365 |
-
$help->attach();
|
366 |
|
367 |
-
|
|
|
368 |
|
369 |
-
|
370 |
|
371 |
-
|
|
|
|
|
|
|
|
|
372 |
|
373 |
-
|
374 |
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
|
|
|
|
380 |
|
381 |
-
|
382 |
-
}
|
383 |
|
384 |
-
|
|
|
385 |
|
386 |
-
|
387 |
|
388 |
-
|
389 |
-
|
|
|
|
|
|
|
|
|
|
|
390 |
|
391 |
-
|
392 |
|
393 |
-
|
|
|
394 |
|
395 |
-
|
|
|
396 |
|
397 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
398 |
|
399 |
-
|
|
|
400 |
|
401 |
-
|
402 |
|
403 |
-
|
404 |
|
405 |
-
|
406 |
-
return $this->db->get_row( $this->db->prepare("SELECT * FROM {$this->popover} WHERE id = %d", $id) );
|
407 |
-
}
|
408 |
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
|
413 |
-
|
414 |
-
|
415 |
-
|
|
|
|
|
|
|
416 |
|
417 |
-
|
|
|
|
|
|
|
|
|
|
|
418 |
|
419 |
-
|
420 |
|
421 |
-
|
422 |
|
423 |
-
|
424 |
|
425 |
-
|
|
|
|
|
|
|
|
|
426 |
|
427 |
-
|
|
|
428 |
|
429 |
-
|
430 |
|
431 |
-
|
432 |
|
433 |
-
|
|
|
434 |
|
435 |
-
|
436 |
|
437 |
-
|
|
|
438 |
|
439 |
-
|
440 |
-
$popover['popover_content'] = wp_kses($_POST['popover_content'], $allowedposttags);
|
441 |
-
} else {
|
442 |
-
$popover['popover_content'] = $_POST['popover_content'];
|
443 |
-
}
|
444 |
|
445 |
-
|
446 |
-
$popover['popover_settings']['popover_size'] = array( 'width' => $_POST['popoverwidth'], 'height' => $_POST['popoverheight'] );
|
447 |
-
$popover['popover_settings']['popover_location'] = array( 'left' => $_POST['popoverleft'], 'top' => $_POST['popovertop'] );
|
448 |
-
$popover['popover_settings']['popover_colour'] = array( 'back' => $_POST['popoverbackground'], 'fore' => $_POST['popoverforeground'] );
|
449 |
-
$popover['popover_settings']['popover_margin'] = array( 'left' => $_POST['popovermarginleft'], 'top' => $_POST['popovermargintop'], 'right' => $_POST['popovermarginright'], 'bottom' => $_POST['popovermarginbottom'] );
|
450 |
-
$popover['popover_settings']['popover_check'] = $_POST['popovercheck'];
|
451 |
|
452 |
-
|
453 |
-
|
454 |
-
} else {
|
455 |
-
$popover['popover_settings']['popover_ereg'] = '';
|
456 |
-
}
|
457 |
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
$popover['popover_settings']['popover_count'] = 3;
|
462 |
-
}
|
463 |
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
$popover['popover_settings']['popover_usejs'] = 'no';
|
468 |
-
}
|
469 |
|
470 |
-
|
|
|
|
|
471 |
|
472 |
-
|
473 |
-
$popover['popover_settings']['popoverhideforeverlink'] = 'yes';
|
474 |
-
} else {
|
475 |
-
$popover['popover_settings']['popoverhideforeverlink'] = 'no';
|
476 |
-
}
|
477 |
|
478 |
-
|
479 |
-
$popover['popover_settings']['popoverdelay'] = $_POST['popoverdelay'];
|
480 |
-
}
|
481 |
|
482 |
-
|
483 |
-
|
484 |
-
}
|
485 |
|
486 |
-
|
487 |
-
$popover['popover_settings']['notonurl'] = explode("\n", $_POST['popovernotonurl']);
|
488 |
-
}
|
489 |
|
490 |
-
|
491 |
-
|
492 |
-
}
|
493 |
|
494 |
-
|
495 |
-
$popover['popover_settings']['notincountry'] = $_POST['popovernotincountry'];
|
496 |
-
}
|
497 |
|
498 |
-
|
499 |
|
500 |
-
|
501 |
-
$popover['popover_active'] = 1;
|
502 |
-
}
|
503 |
|
504 |
-
|
505 |
|
506 |
-
|
|
|
|
|
|
|
|
|
507 |
|
508 |
-
|
|
|
|
|
|
|
|
|
|
|
509 |
|
510 |
-
|
|
|
|
|
|
|
|
|
511 |
|
512 |
-
|
|
|
|
|
|
|
|
|
513 |
|
514 |
-
|
|
|
|
|
|
|
|
|
515 |
|
516 |
-
|
517 |
-
$popover['popover_content'] = wp_kses($_POST['popover_content'], $allowedposttags);
|
518 |
-
} else {
|
519 |
-
$popover['popover_content'] = $_POST['popover_content'];
|
520 |
-
}
|
521 |
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
$popover['popover_settings']['popover_check'] = $_POST['popovercheck'];
|
528 |
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
$popover['popover_settings']['popover_ereg'] = '';
|
533 |
-
}
|
534 |
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
$popover['popover_settings']['popover_count'] = 3;
|
539 |
-
}
|
540 |
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
$popover['popover_settings']['popover_usejs'] = 'no';
|
545 |
-
}
|
546 |
|
547 |
-
|
|
|
|
|
548 |
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
$popover['popover_settings']['popoverhideforeverlink'] = 'no';
|
553 |
-
}
|
554 |
|
555 |
-
|
556 |
-
$popover['popover_settings']['popoverdelay'] = $_POST['popoverdelay'];
|
557 |
-
}
|
558 |
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
|
563 |
-
|
564 |
-
|
565 |
-
}
|
566 |
|
567 |
-
|
568 |
-
$popover['popover_settings']['incountry'] = $_POST['popoverincountry'];
|
569 |
-
}
|
570 |
|
571 |
-
|
572 |
-
$popover['popover_settings']['notincountry'] = $_POST['popovernotincountry'];
|
573 |
-
}
|
574 |
|
575 |
-
|
576 |
|
577 |
-
|
578 |
|
579 |
-
|
|
|
|
|
|
|
|
|
580 |
|
581 |
-
|
582 |
-
|
|
|
|
|
|
|
|
|
583 |
|
584 |
-
|
|
|
|
|
|
|
|
|
585 |
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
|
713 |
-
|
714 |
-
|
715 |
-
|
716 |
-
|
717 |
-
|
718 |
-
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
|
728 |
-
|
729 |
-
|
730 |
-
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
-
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
|
748 |
-
|
749 |
-
|
750 |
-
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
-
|
755 |
-
|
756 |
-
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
-
|
774 |
-
|
775 |
-
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
-
|
782 |
-
|
783 |
-
|
784 |
-
|
785 |
-
|
786 |
-
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
-
|
793 |
-
|
794 |
-
|
795 |
-
|
796 |
-
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
802 |
-
|
803 |
-
|
804 |
-
|
805 |
-
|
806 |
-
|
807 |
-
|
808 |
-
|
809 |
-
|
810 |
-
|
811 |
-
|
812 |
-
|
813 |
-
|
814 |
-
|
815 |
-
|
816 |
-
|
817 |
-
|
818 |
-
|
819 |
-
|
820 |
-
|
821 |
-
|
822 |
-
|
823 |
-
|
824 |
-
|
825 |
-
|
826 |
-
|
827 |
-
|
828 |
-
|
829 |
-
|
830 |
-
|
831 |
-
|
832 |
-
|
833 |
-
|
834 |
-
|
835 |
-
|
836 |
-
|
837 |
-
|
838 |
-
|
839 |
-
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
-
|
845 |
-
|
846 |
-
|
847 |
-
|
848 |
-
|
849 |
-
|
850 |
-
|
851 |
-
|
852 |
-
|
853 |
-
|
854 |
-
|
855 |
-
|
856 |
-
|
857 |
-
|
858 |
-
|
859 |
-
|
860 |
-
|
861 |
-
|
862 |
-
|
863 |
-
|
864 |
-
|
865 |
-
|
866 |
-
|
867 |
-
|
868 |
-
|
869 |
-
|
870 |
-
|
871 |
-
|
872 |
-
|
873 |
-
|
874 |
-
|
875 |
-
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
|
881 |
-
|
882 |
-
|
883 |
-
|
884 |
-
|
885 |
-
|
886 |
-
|
887 |
-
|
888 |
-
|
889 |
-
|
890 |
-
|
891 |
-
|
892 |
-
|
893 |
-
|
894 |
-
|
895 |
-
|
896 |
-
|
897 |
-
|
898 |
-
|
899 |
-
|
900 |
-
|
901 |
-
|
902 |
-
|
903 |
-
|
904 |
-
|
905 |
-
|
906 |
-
|
907 |
-
|
908 |
-
|
909 |
-
|
910 |
-
|
911 |
-
|
912 |
-
|
913 |
-
|
914 |
-
|
915 |
-
|
916 |
-
|
917 |
-
|
918 |
-
|
919 |
-
|
920 |
-
|
921 |
-
|
922 |
-
|
923 |
-
|
924 |
-
|
925 |
-
|
926 |
-
|
927 |
-
|
928 |
-
|
929 |
-
|
930 |
-
|
931 |
-
|
932 |
-
|
933 |
-
|
934 |
-
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
-
|
939 |
-
|
940 |
-
|
941 |
-
|
942 |
-
|
943 |
-
|
944 |
-
|
945 |
-
|
946 |
-
|
947 |
-
|
948 |
-
|
949 |
-
|
950 |
-
|
951 |
-
|
952 |
-
|
953 |
-
|
954 |
-
|
955 |
-
|
956 |
-
|
957 |
-
|
958 |
-
|
959 |
-
|
960 |
-
|
961 |
-
|
962 |
-
|
963 |
-
|
964 |
-
|
965 |
-
|
966 |
-
|
967 |
-
|
968 |
-
|
969 |
-
|
970 |
-
|
971 |
-
|
972 |
-
|
973 |
-
|
974 |
-
|
975 |
-
|
976 |
-
|
977 |
-
|
978 |
-
|
979 |
-
|
980 |
-
|
981 |
-
|
982 |
-
|
983 |
-
|
984 |
-
|
985 |
-
|
986 |
-
|
987 |
-
|
988 |
-
|
989 |
-
|
990 |
-
|
991 |
-
|
992 |
-
|
993 |
-
|
994 |
-
|
995 |
-
|
996 |
-
|
997 |
-
|
998 |
-
|
999 |
-
|
1000 |
-
|
1001 |
-
|
1002 |
-
|
1003 |
-
|
1004 |
-
|
1005 |
-
|
1006 |
-
|
1007 |
-
|
1008 |
-
|
1009 |
-
|
1010 |
-
|
1011 |
-
|
1012 |
-
|
1013 |
-
|
1014 |
-
|
1015 |
-
|
1016 |
-
|
1017 |
-
|
1018 |
-
|
1019 |
-
|
1020 |
-
|
1021 |
-
|
1022 |
-
|
1023 |
-
|
1024 |
-
|
1025 |
-
|
1026 |
-
|
1027 |
-
|
1028 |
-
|
1029 |
-
|
1030 |
-
|
1031 |
-
|
1032 |
-
|
1033 |
-
|
1034 |
-
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
1038 |
-
|
1039 |
-
|
1040 |
-
|
1041 |
-
|
1042 |
-
|
1043 |
-
|
1044 |
-
|
1045 |
-
|
1046 |
-
|
1047 |
-
|
1048 |
-
|
1049 |
-
|
1050 |
-
|
1051 |
-
|
1052 |
-
|
1053 |
-
|
1054 |
-
|
1055 |
-
|
1056 |
-
|
1057 |
-
|
1058 |
-
|
1059 |
-
|
1060 |
-
|
1061 |
-
|
1062 |
-
|
1063 |
-
|
1064 |
-
|
1065 |
-
|
1066 |
-
|
1067 |
-
|
1068 |
-
|
1069 |
-
|
1070 |
-
|
1071 |
-
|
1072 |
-
|
1073 |
-
|
1074 |
-
|
1075 |
-
|
1076 |
-
|
1077 |
-
|
1078 |
-
|
1079 |
-
|
1080 |
-
|
1081 |
-
|
1082 |
-
|
1083 |
-
|
1084 |
-
|
1085 |
-
|
1086 |
-
|
1087 |
-
|
1088 |
-
|
1089 |
-
|
1090 |
-
|
1091 |
-
|
1092 |
-
|
1093 |
-
|
1094 |
-
|
1095 |
-
|
1096 |
-
|
1097 |
-
|
1098 |
-
|
1099 |
-
|
1100 |
-
|
1101 |
-
|
1102 |
-
|
1103 |
-
|
1104 |
-
|
1105 |
-
|
1106 |
-
|
1107 |
-
|
1108 |
-
|
1109 |
-
|
1110 |
-
|
1111 |
-
|
1112 |
-
|
1113 |
-
|
1114 |
-
|
1115 |
-
|
1116 |
-
|
1117 |
-
|
1118 |
-
|
1119 |
-
|
1120 |
-
|
1121 |
-
|
1122 |
-
|
1123 |
-
|
1124 |
-
|
1125 |
-
|
1126 |
-
|
1127 |
-
|
1128 |
-
|
1129 |
-
|
1130 |
-
|
1131 |
-
|
1132 |
-
|
1133 |
-
|
1134 |
-
|
1135 |
-
|
1136 |
-
|
1137 |
-
|
1138 |
-
|
1139 |
-
|
1140 |
-
|
1141 |
-
|
1142 |
-
|
1143 |
-
|
1144 |
-
|
1145 |
-
|
1146 |
-
|
1147 |
-
|
1148 |
-
|
1149 |
-
|
1150 |
-
|
1151 |
-
|
1152 |
-
|
1153 |
-
|
1154 |
-
|
1155 |
-
|
1156 |
-
|
1157 |
-
|
1158 |
-
|
1159 |
-
|
1160 |
-
|
1161 |
-
|
1162 |
-
|
1163 |
-
|
1164 |
-
|
1165 |
-
|
1166 |
-
|
1167 |
-
|
1168 |
-
|
1169 |
-
|
1170 |
-
|
1171 |
-
|
1172 |
-
|
1173 |
-
|
1174 |
-
|
1175 |
-
|
1176 |
-
|
1177 |
-
|
1178 |
-
|
1179 |
-
|
1180 |
-
|
1181 |
-
|
1182 |
-
|
1183 |
-
|
1184 |
-
|
1185 |
-
|
1186 |
-
|
1187 |
-
|
1188 |
-
|
1189 |
-
|
1190 |
-
|
1191 |
-
|
1192 |
-
|
1193 |
-
|
1194 |
-
|
1195 |
-
|
1196 |
-
|
1197 |
-
|
1198 |
-
|
1199 |
-
|
1200 |
-
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
-
|
1205 |
-
|
1206 |
-
|
1207 |
-
|
1208 |
-
|
1209 |
-
|
1210 |
-
|
1211 |
-
|
1212 |
-
|
1213 |
-
|
1214 |
-
|
1215 |
-
|
1216 |
-
|
1217 |
-
|
1218 |
-
|
1219 |
-
|
1220 |
-
|
1221 |
-
|
1222 |
-
|
1223 |
-
|
1224 |
-
|
1225 |
-
|
1226 |
-
|
1227 |
-
|
1228 |
-
|
1229 |
-
|
1230 |
-
|
1231 |
-
|
1232 |
-
|
1233 |
-
|
1234 |
-
|
1235 |
-
|
1236 |
-
|
1237 |
-
|
1238 |
-
|
1239 |
-
|
1240 |
-
|
1241 |
-
|
1242 |
-
|
1243 |
-
|
1244 |
-
|
1245 |
-
|
1246 |
-
|
1247 |
-
|
1248 |
-
|
1249 |
-
|
1250 |
-
|
1251 |
-
|
1252 |
-
|
1253 |
-
|
1254 |
-
|
1255 |
-
|
1256 |
-
|
1257 |
-
|
1258 |
-
|
1259 |
-
|
1260 |
-
|
1261 |
-
|
1262 |
-
|
1263 |
-
|
1264 |
-
|
1265 |
-
|
1266 |
-
|
1267 |
-
|
1268 |
-
|
1269 |
-
|
1270 |
-
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
1275 |
-
|
1276 |
-
|
1277 |
-
|
1278 |
-
|
1279 |
-
|
1280 |
-
|
1281 |
-
|
1282 |
-
|
1283 |
-
|
1284 |
-
|
1285 |
-
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
-
|
1299 |
-
|
1300 |
-
|
1301 |
-
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
1305 |
-
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
|
1313 |
-
|
1314 |
-
|
1315 |
-
|
1316 |
-
|
1317 |
-
|
1318 |
-
|
1319 |
-
|
1320 |
-
|
1321 |
-
|
1322 |
-
|
1323 |
-
|
1324 |
-
|
1325 |
-
|
1326 |
-
|
1327 |
-
|
1328 |
-
|
1329 |
-
|
1330 |
-
|
1331 |
-
|
1332 |
-
|
1333 |
-
|
1334 |
-
|
1335 |
-
|
1336 |
-
|
1337 |
-
|
1338 |
-
|
1339 |
-
|
1340 |
-
|
1341 |
-
|
1342 |
-
|
1343 |
-
|
1344 |
-
|
1345 |
-
|
1346 |
-
|
1347 |
-
|
1348 |
-
|
1349 |
-
|
1350 |
-
|
1351 |
-
|
1352 |
-
|
1353 |
-
|
1354 |
-
|
1355 |
-
|
1356 |
-
|
1357 |
-
|
1358 |
-
|
1359 |
-
|
1360 |
-
|
1361 |
-
|
1362 |
-
|
1363 |
-
|
1364 |
-
|
1365 |
-
|
1366 |
-
|
1367 |
-
|
1368 |
-
|
1369 |
-
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
1374 |
-
|
1375 |
-
|
1376 |
-
|
1377 |
-
|
1378 |
-
|
1379 |
-
|
1380 |
-
|
1381 |
-
|
1382 |
-
|
1383 |
-
|
1384 |
-
|
1385 |
-
|
1386 |
-
|
1387 |
-
|
1388 |
-
|
1389 |
-
|
1390 |
-
|
1391 |
-
|
1392 |
-
|
1393 |
-
|
1394 |
-
|
1395 |
-
|
1396 |
-
|
1397 |
-
|
1398 |
-
|
1399 |
-
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
|
1404 |
-
|
1405 |
-
|
1406 |
-
|
1407 |
-
|
1408 |
-
|
1409 |
-
|
1410 |
-
|
1411 |
-
|
1412 |
-
|
1413 |
-
|
1414 |
-
|
1415 |
-
|
1416 |
-
|
1417 |
-
|
1418 |
-
|
1419 |
-
|
1420 |
-
|
1421 |
-
|
1422 |
-
|
1423 |
-
|
1424 |
-
|
1425 |
-
|
1426 |
-
|
1427 |
-
|
1428 |
-
|
1429 |
-
|
1430 |
-
|
1431 |
-
|
1432 |
-
|
1433 |
-
|
1434 |
-
|
1435 |
-
|
1436 |
-
|
1437 |
-
|
1438 |
-
|
1439 |
-
|
1440 |
-
|
1441 |
-
|
1442 |
-
|
1443 |
-
|
1444 |
-
|
1445 |
-
|
1446 |
-
|
1447 |
-
|
1448 |
-
|
1449 |
-
|
1450 |
-
|
1451 |
-
|
1452 |
-
|
1453 |
-
|
1454 |
-
|
1455 |
-
|
1456 |
-
|
1457 |
-
|
1458 |
-
|
1459 |
-
|
1460 |
-
|
1461 |
-
|
1462 |
-
|
1463 |
-
|
1464 |
-
|
1465 |
-
|
1466 |
-
|
1467 |
-
|
1468 |
-
|
1469 |
-
|
1470 |
-
|
1471 |
-
|
1472 |
-
|
1473 |
-
|
1474 |
-
|
1475 |
-
|
1476 |
-
|
1477 |
-
|
1478 |
-
|
1479 |
-
|
1480 |
-
|
1481 |
-
|
1482 |
-
|
1483 |
-
|
1484 |
-
|
1485 |
-
|
1486 |
-
|
1487 |
-
|
1488 |
-
|
1489 |
-
|
1490 |
-
|
1491 |
-
|
1492 |
-
|
1493 |
-
|
1494 |
-
|
1495 |
-
|
1496 |
-
|
1497 |
-
|
1498 |
-
|
1499 |
-
|
1500 |
-
|
1501 |
-
|
1502 |
-
|
1503 |
-
|
1504 |
-
|
1505 |
-
|
1506 |
-
|
1507 |
-
|
1508 |
-
|
1509 |
-
|
1510 |
-
|
1511 |
-
|
1512 |
-
|
1513 |
-
|
1514 |
-
|
1515 |
-
|
1516 |
-
|
1517 |
-
|
1518 |
-
|
1519 |
-
|
1520 |
-
|
1521 |
-
|
1522 |
-
|
1523 |
-
|
1524 |
-
|
1525 |
-
|
1526 |
-
|
1527 |
-
|
1528 |
-
|
1529 |
-
|
1530 |
-
|
1531 |
-
|
1532 |
-
|
1533 |
-
|
1534 |
-
|
1535 |
-
|
1536 |
-
|
1537 |
-
|
1538 |
-
|
1539 |
-
|
1540 |
-
|
1541 |
-
|
1542 |
-
|
1543 |
-
|
1544 |
-
|
1545 |
-
|
1546 |
-
|
1547 |
-
|
1548 |
-
|
1549 |
-
|
1550 |
-
|
1551 |
-
|
1552 |
-
|
1553 |
-
|
1554 |
-
|
1555 |
-
|
1556 |
-
|
1557 |
-
|
1558 |
-
|
1559 |
-
|
1560 |
-
|
1561 |
-
|
1562 |
-
|
1563 |
-
|
1564 |
-
|
1565 |
-
|
1566 |
-
|
1567 |
-
|
1568 |
-
|
1569 |
-
|
1570 |
-
|
1571 |
-
|
1572 |
-
|
1573 |
-
|
1574 |
-
|
1575 |
-
|
1576 |
-
|
1577 |
-
|
1578 |
-
|
1579 |
-
|
1580 |
-
|
1581 |
-
|
1582 |
-
|
1583 |
-
|
1584 |
-
|
1585 |
-
|
1586 |
-
|
1587 |
-
|
1588 |
-
|
1589 |
-
|
1590 |
-
|
1591 |
-
|
1592 |
-
|
1593 |
-
|
1594 |
-
|
1595 |
-
|
1596 |
-
|
1597 |
-
|
1598 |
-
|
1599 |
-
|
1600 |
-
|
1601 |
-
|
1602 |
-
|
1603 |
-
|
1604 |
-
|
1605 |
-
|
1606 |
-
|
1607 |
-
|
1608 |
-
|
1609 |
-
|
1610 |
-
|
1611 |
-
|
1612 |
-
|
1613 |
-
|
1614 |
-
|
1615 |
-
|
1616 |
-
|
1617 |
-
|
1618 |
-
|
1619 |
-
|
1620 |
-
|
1621 |
-
|
1622 |
-
|
1623 |
-
|
1624 |
-
|
1625 |
-
|
1626 |
-
|
1627 |
-
|
1628 |
-
|
1629 |
-
|
1630 |
-
|
1631 |
-
|
1632 |
-
|
1633 |
-
|
1634 |
-
|
1635 |
-
|
1636 |
-
|
1637 |
-
|
1638 |
-
|
1639 |
-
|
1640 |
-
|
1641 |
-
|
1642 |
-
|
1643 |
-
|
1644 |
-
|
1645 |
-
|
1646 |
-
|
1647 |
-
|
1648 |
-
|
1649 |
-
|
1650 |
-
|
1651 |
-
|
1652 |
-
|
1653 |
-
|
1654 |
-
|
1655 |
-
|
1656 |
-
|
1657 |
-
|
1658 |
-
|
1659 |
-
|
1660 |
-
|
1661 |
-
|
1662 |
-
|
1663 |
-
|
1664 |
-
|
1665 |
-
|
1666 |
-
|
1667 |
-
|
1668 |
-
|
1669 |
-
|
1670 |
-
|
1671 |
-
|
1672 |
-
|
1673 |
-
|
1674 |
-
|
1675 |
-
|
1676 |
-
|
1677 |
-
|
1678 |
-
|
1679 |
-
|
1680 |
-
|
1681 |
-
|
1682 |
-
|
1683 |
-
|
1684 |
-
|
1685 |
-
|
1686 |
-
|
1687 |
-
|
1688 |
-
|
1689 |
-
|
1690 |
-
|
1691 |
-
|
1692 |
-
|
1693 |
-
|
1694 |
-
|
1695 |
-
|
1696 |
-
|
1697 |
-
|
1698 |
-
|
1699 |
-
|
1700 |
-
|
1701 |
-
|
1702 |
-
|
1703 |
-
|
1704 |
-
|
1705 |
-
|
1706 |
-
|
1707 |
-
|
1708 |
-
|
1709 |
-
|
1710 |
-
|
1711 |
-
|
1712 |
-
|
1713 |
-
|
1714 |
-
|
1715 |
-
|
1716 |
-
|
1717 |
-
|
1718 |
-
|
1719 |
-
|
1720 |
-
|
1721 |
-
|
1722 |
-
|
1723 |
-
|
1724 |
-
|
1725 |
-
|
1726 |
-
|
1727 |
-
|
1728 |
-
|
1729 |
-
|
1730 |
-
|
1731 |
-
|
1732 |
-
|
1733 |
-
|
1734 |
-
|
1735 |
-
|
1736 |
-
|
1737 |
-
|
1738 |
-
|
1739 |
-
|
1740 |
-
|
1741 |
-
|
1742 |
-
|
1743 |
-
|
1744 |
-
|
1745 |
-
|
1746 |
-
|
1747 |
-
|
1748 |
-
|
1749 |
-
|
1750 |
-
|
1751 |
-
|
1752 |
-
|
1753 |
-
|
1754 |
-
|
1755 |
-
|
1756 |
-
|
1757 |
-
|
1758 |
-
|
1759 |
-
|
1760 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1761 |
|
1762 |
}
|
1763 |
-
|
1764 |
?>
|
1 |
<?php
|
2 |
+
if (!class_exists('popoveradmin')) {
|
3 |
|
4 |
+
class popoveradmin {
|
5 |
|
6 |
+
var $build = 5;
|
7 |
+
var $db;
|
8 |
+
var $tables = array('popover', 'popover_ip_cache');
|
9 |
+
var $popover;
|
10 |
+
var $popover_ip_cache;
|
11 |
|
12 |
+
function __construct() {
|
13 |
|
14 |
+
global $wpdb;
|
15 |
|
16 |
+
$this->db = & $wpdb;
|
|
|
|
|
17 |
|
18 |
+
foreach ($this->tables as $table) {
|
19 |
+
$this->$table = popover_db_prefix($this->db, $table);
|
20 |
+
}
|
21 |
|
22 |
+
add_action('admin_menu', array(&$this, 'add_menu_pages'));
|
23 |
+
add_action('network_admin_menu', array(&$this, 'add_menu_pages'));
|
24 |
|
25 |
+
add_action('plugins_loaded', array(&$this, 'load_textdomain'));
|
26 |
|
27 |
+
// Add header files
|
28 |
+
add_action('load-toplevel_page_popover', array(&$this, 'add_admin_header_popover_menu'));
|
29 |
+
add_action('load-pop-overs_page_popoveraddons', array(&$this, 'add_admin_header_popover_addons'));
|
30 |
+
add_action('load-pop-overs_page_popoversettings', array(&$this, 'add_admin_header_popover_settings'));
|
31 |
|
32 |
+
// Ajax calls
|
33 |
+
add_action('wp_ajax_popover_update_order', array(&$this, 'ajax_update_popover_order'));
|
34 |
|
35 |
+
$installed = get_option('popover_installed', false);
|
36 |
|
37 |
+
if ($installed === false || $installed != $this->build) {
|
38 |
+
$this->install();
|
|
|
|
|
39 |
|
40 |
+
update_option('popover_installed', $this->build);
|
41 |
+
}
|
42 |
+
}
|
43 |
|
44 |
+
function popoveradmin() {
|
45 |
+
$this->__construct();
|
46 |
+
}
|
47 |
|
48 |
+
function install() {
|
|
|
49 |
|
50 |
+
$charset_collate = '';
|
|
|
51 |
|
52 |
+
if (!empty($this->db->charset)) {
|
53 |
+
$charset_collate = "DEFAULT CHARACTER SET " . $this->db->charset;
|
54 |
+
}
|
55 |
|
56 |
+
if (!empty($this->db->collate)) {
|
57 |
+
$charset_collate .= " COLLATE " . $this->db->collate;
|
58 |
+
}
|
59 |
|
60 |
+
if ($this->db->get_var("SHOW TABLES LIKE '" . $this->popover . "' ") != $this->popover) {
|
61 |
+
$sql = "CREATE TABLE `" . $this->popover . "` (
|
|
|
|
|
62 |
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
63 |
`popover_title` varchar(250) DEFAULT NULL,
|
64 |
`popover_content` text,
|
66 |
`popover_order` bigint(20) DEFAULT '0',
|
67 |
`popover_active` int(11) DEFAULT '0',
|
68 |
PRIMARY KEY (`id`)
|
69 |
+
) $charset_collate;";
|
|
|
|
|
70 |
|
71 |
+
$this->db->query($sql);
|
72 |
+
}
|
73 |
|
74 |
+
// Add in IP cache table
|
75 |
+
if ($this->db->get_var("SHOW TABLES LIKE '" . $this->popover_ip_cache . "' ") != $this->popover_ip_cache) {
|
76 |
+
$sql = "CREATE TABLE `" . $this->popover_ip_cache . "` (
|
77 |
`IP` varchar(12) NOT NULL DEFAULT '',
|
78 |
`country` varchar(2) DEFAULT NULL,
|
79 |
`cached` bigint(20) DEFAULT NULL,
|
80 |
PRIMARY KEY (`IP`),
|
81 |
KEY `cached` (`cached`)
|
82 |
+
) $charset_collate;";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
|
84 |
+
$this->db->query($sql);
|
85 |
+
}
|
86 |
+
}
|
87 |
|
88 |
+
function load_textdomain() {
|
|
|
89 |
|
90 |
+
$locale = apply_filters('popover_locale', get_locale());
|
91 |
+
$mofile = popover_dir("popoverincludes/languages/popover-$locale.mo");
|
92 |
|
93 |
+
if (file_exists($mofile))
|
94 |
+
load_textdomain('popover', $mofile);
|
95 |
+
}
|
|
|
96 |
|
97 |
+
function add_menu_pages() {
|
|
|
|
|
|
|
98 |
|
99 |
+
global $submenu;
|
100 |
|
101 |
+
if (is_multisite() && (defined('PO_GLOBAL') && PO_GLOBAL == true)) {
|
102 |
+
if (function_exists('is_network_admin') && is_network_admin()) {
|
103 |
+
add_menu_page(__('Pop Overs', 'popover'), __('Pop Overs', 'popover'), 'manage_options', 'popover', array(&$this, 'handle_popover_admin'), popover_url('popoverincludes/images/window.png'));
|
104 |
+
}
|
105 |
+
} else {
|
106 |
+
if (!function_exists('is_network_admin') || !is_network_admin()) {
|
107 |
+
add_menu_page(__('Pop Overs', 'popover'), __('Pop Overs', 'popover'), 'manage_options', 'popover', array(&$this, 'handle_popover_admin'), popover_url('popoverincludes/images/window.png'));
|
108 |
+
}
|
109 |
+
}
|
110 |
|
111 |
+
$addnew = add_submenu_page('popover', __('Create New Pop Over', 'popover'), __('Create New', 'popover'), 'manage_options', "popover&action=add", array(&$this, 'handle_addnewpopover_panel'));
|
112 |
+
add_submenu_page('popover', __('Manage Add-ons Plugins', 'popover'), __('Add-ons', 'popover'), 'manage_options', "popoveraddons", array(&$this, 'handle_addons_panel'));
|
113 |
|
114 |
+
add_submenu_page('popover', __('Settings', 'popover'), __('Settings', 'popover'), 'manage_options', "popoversettings", array(&$this, 'handle_settings_page'));
|
115 |
+
}
|
116 |
|
117 |
+
function sanitise_array($arrayin) {
|
|
|
118 |
|
119 |
+
foreach ((array) $arrayin as $key => $value) {
|
120 |
+
$arrayin[$key] = htmlentities(stripslashes($value), ENT_QUOTES, 'UTF-8');
|
121 |
+
}
|
122 |
|
123 |
+
return $arrayin;
|
124 |
+
}
|
125 |
|
126 |
+
function ajax_update_popover_order() {
|
127 |
|
128 |
+
if (check_ajax_referer('popover_order', '_ajax_nonce', false)) {
|
129 |
+
$newnonce = wp_create_nonce('popover_order');
|
|
|
130 |
|
131 |
+
$data = $_POST['data'];
|
132 |
+
parse_str($data);
|
133 |
+
foreach ($dragbody as $key => $value) {
|
134 |
+
$this->reorder_popovers($value, $key);
|
135 |
+
}
|
136 |
+
die($newnonce);
|
137 |
+
} else {
|
138 |
+
die('fail');
|
139 |
+
}
|
140 |
+
}
|
141 |
|
142 |
+
function update_admin_header_popover() {
|
143 |
|
144 |
+
global $action, $page, $allowedposttags;
|
|
|
|
|
|
|
|
|
145 |
|
146 |
+
wp_reset_vars(array('action', 'page'));
|
147 |
|
148 |
+
if ($action == 'updated') {
|
149 |
+
check_admin_referer('update-popover');
|
150 |
|
151 |
+
$usemsg = 1;
|
152 |
|
153 |
+
if (function_exists('get_site_option') && defined('PO_GLOBAL') && PO_GLOBAL == true) {
|
154 |
+
$updateoption = 'update_site_option';
|
155 |
+
$getoption = 'get_site_option';
|
156 |
+
} else {
|
157 |
+
$updateoption = 'update_option';
|
158 |
+
$getoption = 'get_option';
|
159 |
+
}
|
160 |
|
161 |
+
if (isset($_POST['popovercontent'])) {
|
162 |
+
if (!current_user_can('unfiltered_html')) {
|
163 |
+
if (wp_kses($_POST['popovercontent'], $allowedposttags) != $_POST['popovercontent']) {
|
164 |
+
$usemsg = 2;
|
165 |
+
}
|
166 |
+
$updateoption('popover_content', wp_kses($_POST['popovercontent'], $allowedposttags));
|
167 |
+
} else {
|
168 |
+
$updateoption('popover_content', $_POST['popovercontent']);
|
169 |
+
}
|
170 |
+
}
|
171 |
|
172 |
+
if (isset($_POST['popoverwidth']) || isset($_POST['popoverheight'])) {
|
|
|
|
|
|
|
|
|
173 |
|
174 |
+
$width = $_POST['popoverwidth'];
|
175 |
+
$height = $_POST['popoverheight'];
|
|
|
|
|
|
|
176 |
|
177 |
+
if ($width == '')
|
178 |
+
$width = '500px';
|
179 |
+
if ($height == '')
|
180 |
+
$height = '200px';
|
181 |
|
182 |
+
$updateoption('popover_size', array("width" => $width, "height" => $height));
|
183 |
+
}
|
|
|
|
|
184 |
|
185 |
+
if (isset($_POST['popoverleft']) || isset($_POST['popovertop'])) {
|
|
|
|
|
|
|
186 |
|
187 |
+
$left = $_POST['popoverleft'];
|
188 |
+
$top = $_POST['popovertop'];
|
189 |
|
190 |
+
if ($left == '')
|
191 |
+
$left = '100px';
|
192 |
+
if ($top == '')
|
193 |
+
$top = '100px';
|
194 |
|
195 |
+
$updateoption('popover_location', array("left" => $left, "top" => $top));
|
196 |
+
}
|
197 |
|
198 |
+
if (isset($_POST['popovermargintop']) || isset($_POST['popovermarginleft']) || isset($_POST['popovermarginright']) || isset($_POST['popovermarginbottom'])) {
|
199 |
|
200 |
+
$mleft = $_POST['popovermarginleft'];
|
201 |
+
$mtop = $_POST['popovermargintop'];
|
202 |
+
$mright = $_POST['popovermarginright'];
|
203 |
+
$mbottom = $_POST['popovermarginbottom'];
|
204 |
|
205 |
+
if ($mleft == '')
|
206 |
+
$mleft = '0px';
|
207 |
+
if ($mtop == '')
|
208 |
+
$mtop = '0px';
|
209 |
+
if ($mright == '')
|
210 |
+
$mright = '0px';
|
211 |
+
if ($mbottom == '')
|
212 |
+
$mbottom = '0px';
|
213 |
|
214 |
+
$updateoption('popover_margin', array('left' => $mleft, 'top' => $mtop, 'right' => $mright, 'bottom' => $mbottom));
|
215 |
+
}
|
216 |
|
217 |
+
if (isset($_POST['popoverbackground']) || isset($_POST['popoverforeground'])) {
|
218 |
|
219 |
+
$back = $_POST['popoverbackground'];
|
220 |
+
$fore = $_POST['popoverforeground'];
|
|
|
|
|
|
|
221 |
|
222 |
+
if ($back == '')
|
223 |
+
$back = 'FFFFFF';
|
224 |
+
if ($fore == '')
|
225 |
+
$fore = '000000';
|
226 |
|
227 |
+
$updateoption('popover_colour', array("back" => $back, "fore" => $fore));
|
228 |
+
}
|
|
|
|
|
|
|
|
|
|
|
229 |
|
230 |
+
if (isset($_POST['popovercheck'])) {
|
231 |
|
232 |
+
$updateoption('popover_check', $_POST['popovercheck']);
|
233 |
|
234 |
+
if (isset($_POST['popoverereg'])) {
|
235 |
+
$updateoption('popover_ereg', $_POST['popoverereg']);
|
236 |
+
}
|
237 |
|
238 |
+
if (isset($_POST['popovercount'])) {
|
239 |
+
$updateoption('popover_count', intval($_POST['popovercount']));
|
240 |
+
}
|
241 |
+
}
|
242 |
|
243 |
+
if (isset($_POST['popoverusejs'])) {
|
244 |
+
$updateoption('popover_usejs', 'yes');
|
245 |
+
} else {
|
246 |
+
$updateoption('popover_usejs', 'no');
|
247 |
+
}
|
|
|
|
|
248 |
|
249 |
+
wp_safe_redirect(add_query_arg(array('msg' => $usemsg), wp_get_referer()));
|
250 |
+
}
|
251 |
+
}
|
252 |
|
253 |
+
function add_admin_header_popover_menu() {
|
|
|
254 |
|
255 |
+
$this->add_admin_header_core();
|
|
|
256 |
|
257 |
+
if (isset($_GET['action']) && in_array($_GET['action'], array('edit', 'add'))) {
|
258 |
+
$this->add_admin_header_popover();
|
259 |
+
} else {
|
260 |
+
wp_enqueue_script('popoverdragadminjs', popover_url('popoverincludes/js/jquery.tablednd_0_5.js'), array('jquery'), $this->build);
|
261 |
+
wp_enqueue_script('popoveradminjs', popover_url('popoverincludes/js/popovermenu.js'), array('jquery', 'popoverdragadminjs'), $this->build);
|
|
|
262 |
|
263 |
+
wp_localize_script('popoveradminjs', 'popover', array('ajaxurl' => admin_url('admin-ajax.php'),
|
264 |
+
'ordernonce' => wp_create_nonce('popover_order'),
|
265 |
+
'dragerror' => __('An error occured updating the Pop Over order.', 'popover'),
|
266 |
+
'deletepopover' => __('Are you sure you want to delete this Pop Over?', 'popover')
|
267 |
+
));
|
268 |
|
269 |
+
wp_enqueue_style('popoveradmincss', popover_url('popoverincludes/css/popovermenu.css'), array(), $this->build);
|
270 |
|
271 |
+
// Check for transfer
|
272 |
+
if (isset($_GET['transfer'])) {
|
273 |
+
$this->handle_popover_transfer();
|
274 |
+
}
|
275 |
|
276 |
+
// Check for existing popovers
|
277 |
+
if ($this->has_existing_popover()) {
|
278 |
+
add_action('all_admin_notices', array(&$this, 'show_popover_transfer_offer'));
|
279 |
+
}
|
280 |
|
281 |
+
$this->update_popover_admin();
|
282 |
+
}
|
283 |
+
}
|
284 |
|
285 |
+
function add_admin_header_popover_settings() {
|
|
|
|
|
|
|
|
|
286 |
|
287 |
+
global $action, $page;
|
288 |
|
289 |
+
wp_reset_vars(array('action', 'page'));
|
|
|
|
|
|
|
|
|
290 |
|
291 |
+
$this->update_settings_page();
|
292 |
+
}
|
293 |
|
294 |
+
function has_existing_popover() {
|
295 |
|
296 |
+
if (function_exists('get_site_option') && defined('PO_GLOBAL') && PO_GLOBAL == true) {
|
297 |
+
$getoption = 'get_site_option';
|
298 |
+
} else {
|
299 |
+
$getoption = 'get_option';
|
300 |
+
}
|
301 |
|
302 |
+
$popsexist = $this->db->get_var("SELECT COUNT(*) FROM {$this->popover}");
|
303 |
|
304 |
+
if ($popsexist == 0 && $getoption('popover_content', 'no') != 'no' && $getoption('popover_notranfers', 'no') == 'no') {
|
305 |
+
// No pops - and one set in the options
|
306 |
+
return true;
|
307 |
+
} else {
|
308 |
+
return false;
|
309 |
+
}
|
310 |
+
}
|
311 |
|
312 |
+
function show_popover_transfer_offer() {
|
|
|
313 |
|
314 |
+
echo '<div class="updated fade below-h2"><p>' . sprintf(__("Welcome to Popover, would you like to transfer your existing Popover to the new format? <a href='%s'>Yes please transfer it</a> / <a href='%s'>No thanks, I'll create a new one myself.</a>", 'popover'), wp_nonce_url('admin.php?page=popover&transfer=yes', 'transferpopover'), wp_nonce_url('admin.php?page=popover&transfer=no', 'notransferpopover')) . '</p></div>';
|
315 |
+
}
|
316 |
|
317 |
+
function handle_popover_transfer() {
|
318 |
|
319 |
+
if (function_exists('get_site_option') && defined('PO_GLOBAL') && PO_GLOBAL == true) {
|
320 |
+
$updateoption = 'update_site_option';
|
321 |
+
$getoption = 'get_site_option';
|
322 |
+
} else {
|
323 |
+
$updateoption = 'update_option';
|
324 |
+
$getoption = 'get_option';
|
325 |
+
}
|
326 |
|
327 |
+
switch ($_GET['transfer']) {
|
328 |
|
329 |
+
case 'yes': check_admin_referer('transferpopover');
|
330 |
+
$popover = array();
|
331 |
|
332 |
+
$popover['popover_title'] = __('Transferred Popover', 'popover');
|
333 |
+
$popover['popover_content'] = $getoption('popover_content');
|
334 |
|
335 |
+
$popover['popover_settings'] = array();
|
336 |
+
$popover['popover_settings']['popover_size'] = $getoption('popover_size');
|
337 |
+
$popover['popover_settings']['popover_location'] = $getoption('popover_location');
|
338 |
+
;
|
339 |
+
$popover['popover_settings']['popover_colour'] = $getoption('popover_colour');
|
340 |
+
$popover['popover_settings']['popover_margin'] = $getoption('popover_margin');
|
341 |
+
$popover['popover_settings']['popover_check'] = $getoption('popover_check');
|
342 |
|
343 |
+
$popover['popover_settings']['popover_count'] = $getoption('popover_count');
|
344 |
+
$popover['popover_settings']['popover_usejs'] = $getoption('popover_usejs');
|
345 |
|
346 |
+
$popover['popover_settings']['popover_style'] = 'Default';
|
347 |
|
348 |
+
$popover['popover_settings'] = serialize($popover['popover_settings']);
|
349 |
|
350 |
+
$popover['popover_active'] = 1;
|
|
|
|
|
351 |
|
352 |
+
$this->db->insert($this->popover, $popover);
|
353 |
+
wp_safe_redirect(remove_query_arg('transfer', remove_query_arg('_wpnonce')));
|
354 |
+
break;
|
355 |
|
356 |
+
case 'no': check_admin_referer('notransferpopover');
|
357 |
+
$updateoption('popover_notranfers', 'yes');
|
358 |
+
wp_safe_redirect(remove_query_arg('transfer', remove_query_arg('_wpnonce')));
|
359 |
+
break;
|
360 |
+
}
|
361 |
+
}
|
362 |
|
363 |
+
function add_admin_header_core() {
|
364 |
+
// Add in help pages
|
365 |
+
$screen = get_current_screen();
|
366 |
+
$help = new Popover_Help($screen);
|
367 |
+
$help->attach();
|
368 |
+
}
|
369 |
|
370 |
+
function add_admin_header_popover() {
|
371 |
|
372 |
+
global $wp_version;
|
373 |
|
374 |
+
wp_enqueue_script('popoveradminjs', popover_url('popoverincludes/js/popoveradmin.js'), array('jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-droppable'), $this->build);
|
375 |
|
376 |
+
if (version_compare(preg_replace('/-.*$/', '', $wp_version), "3.3", '<')) {
|
377 |
+
wp_enqueue_style('popoveradmincss', popover_url('popoverincludes/css/popoveradmin.css'), array('widgets'), $this->build);
|
378 |
+
} else {
|
379 |
+
wp_enqueue_style('popoveradmincss', popover_url('popoverincludes/css/popoveradmin.css'), array(), $this->build);
|
380 |
+
}
|
381 |
|
382 |
+
$this->update_admin_header_popover();
|
383 |
+
}
|
384 |
|
385 |
+
function add_admin_header_popover_addons() {
|
386 |
|
387 |
+
$this->add_admin_header_core();
|
388 |
|
389 |
+
$this->handle_addons_panel_updates();
|
390 |
+
}
|
391 |
|
392 |
+
function reorder_popovers($popover_id, $order) {
|
393 |
|
394 |
+
$this->db->update($this->popover, array('popover_order' => $order), array('id' => $popover_id));
|
395 |
+
}
|
396 |
|
397 |
+
function get_popovers() {
|
|
|
|
|
|
|
|
|
398 |
|
399 |
+
$sql = "SELECT * FROM {$this->popover} ORDER BY popover_order ASC";
|
|
|
|
|
|
|
|
|
|
|
400 |
|
401 |
+
return $this->db->get_results($sql);
|
402 |
+
}
|
|
|
|
|
|
|
403 |
|
404 |
+
function get_popover($id) {
|
405 |
+
return $this->db->get_row($this->db->prepare("SELECT * FROM {$this->popover} WHERE id = %d", $id));
|
406 |
+
}
|
|
|
|
|
407 |
|
408 |
+
function activate_popover($id) {
|
409 |
+
return $this->db->update($this->popover, array('popover_active' => 1), array('id' => $id));
|
410 |
+
}
|
|
|
|
|
411 |
|
412 |
+
function deactivate_popover($id) {
|
413 |
+
return $this->db->update($this->popover, array('popover_active' => 0), array('id' => $id));
|
414 |
+
}
|
415 |
|
416 |
+
function toggle_popover($id) {
|
|
|
|
|
|
|
|
|
417 |
|
418 |
+
$sql = $this->db->prepare("UPDATE {$this->popover} SET popover_active = NOT popover_active WHERE id = %d", $id);
|
|
|
|
|
419 |
|
420 |
+
return $this->db->query($sql);
|
421 |
+
}
|
|
|
422 |
|
423 |
+
function delete_popover($id) {
|
|
|
|
|
424 |
|
425 |
+
return $this->db->query($this->db->prepare("DELETE FROM {$this->popover} WHERE id = %d", $id));
|
426 |
+
}
|
|
|
427 |
|
428 |
+
function add_popover($data) {
|
|
|
|
|
429 |
|
430 |
+
global $action, $page, $allowedposttags;
|
431 |
|
432 |
+
$popover = array();
|
|
|
|
|
433 |
|
434 |
+
$popover['popover_title'] = $_POST['popover_title'];
|
435 |
|
436 |
+
if (!current_user_can('unfiltered_html')) {
|
437 |
+
$popover['popover_content'] = wp_kses($_POST['popover_content'], $allowedposttags);
|
438 |
+
} else {
|
439 |
+
$popover['popover_content'] = $_POST['popover_content'];
|
440 |
+
}
|
441 |
|
442 |
+
$popover['popover_settings'] = array();
|
443 |
+
$popover['popover_settings']['popover_size'] = array('width' => $_POST['popoverwidth'], 'height' => $_POST['popoverheight']);
|
444 |
+
$popover['popover_settings']['popover_location'] = array('left' => $_POST['popoverleft'], 'top' => $_POST['popovertop']);
|
445 |
+
$popover['popover_settings']['popover_colour'] = array('back' => $_POST['popoverbackground'], 'fore' => $_POST['popoverforeground']);
|
446 |
+
$popover['popover_settings']['popover_margin'] = array('left' => $_POST['popovermarginleft'], 'top' => $_POST['popovermargintop'], 'right' => $_POST['popovermarginright'], 'bottom' => $_POST['popovermarginbottom']);
|
447 |
+
$popover['popover_settings']['popover_check'] = $_POST['popovercheck'];
|
448 |
|
449 |
+
if (isset($_POST['popoverereg'])) {
|
450 |
+
$popover['popover_settings']['popover_ereg'] = $_POST['popoverereg'];
|
451 |
+
} else {
|
452 |
+
$popover['popover_settings']['popover_ereg'] = '';
|
453 |
+
}
|
454 |
|
455 |
+
if (isset($_POST['popovercount'])) {
|
456 |
+
$popover['popover_settings']['popover_count'] = $_POST['popovercount'];
|
457 |
+
} else {
|
458 |
+
$popover['popover_settings']['popover_count'] = 3;
|
459 |
+
}
|
460 |
|
461 |
+
if (isset($_POST['popoverusejs']) && $_POST['popoverusejs'] == 'yes') {
|
462 |
+
$popover['popover_settings']['popover_usejs'] = 'yes';
|
463 |
+
} else {
|
464 |
+
$popover['popover_settings']['popover_usejs'] = 'no';
|
465 |
+
}
|
466 |
|
467 |
+
$popover['popover_settings']['popover_style'] = $_POST['popoverstyle'];
|
|
|
|
|
|
|
|
|
468 |
|
469 |
+
if (isset($_POST['popoverhideforeverlink']) && $_POST['popoverhideforeverlink'] == 'yes') {
|
470 |
+
$popover['popover_settings']['popoverhideforeverlink'] = 'yes';
|
471 |
+
} else {
|
472 |
+
$popover['popover_settings']['popoverhideforeverlink'] = 'no';
|
473 |
+
}
|
|
|
474 |
|
475 |
+
if (isset($_POST['popoverdelay'])) {
|
476 |
+
$popover['popover_settings']['popoverdelay'] = $_POST['popoverdelay'];
|
477 |
+
}
|
|
|
|
|
478 |
|
479 |
+
if (isset($_POST['popoveronurl'])) {
|
480 |
+
$popover['popover_settings']['onurl'] = explode("\n", $_POST['popoveronurl']);
|
481 |
+
}
|
|
|
|
|
482 |
|
483 |
+
if (isset($_POST['popovernotonurl'])) {
|
484 |
+
$popover['popover_settings']['notonurl'] = explode("\n", $_POST['popovernotonurl']);
|
485 |
+
}
|
|
|
|
|
486 |
|
487 |
+
if (isset($_POST['popoverincountry'])) {
|
488 |
+
$popover['popover_settings']['incountry'] = $_POST['popoverincountry'];
|
489 |
+
}
|
490 |
|
491 |
+
if (isset($_POST['popovernotincountry'])) {
|
492 |
+
$popover['popover_settings']['notincountry'] = $_POST['popovernotincountry'];
|
493 |
+
}
|
|
|
|
|
494 |
|
495 |
+
$popover['popover_settings'] = serialize($popover['popover_settings']);
|
|
|
|
|
496 |
|
497 |
+
if (isset($_POST['addandactivate'])) {
|
498 |
+
$popover['popover_active'] = 1;
|
499 |
+
}
|
500 |
|
501 |
+
return $this->db->insert($this->popover, $popover);
|
502 |
+
}
|
|
|
503 |
|
504 |
+
function update_popover($id, $data) {
|
|
|
|
|
505 |
|
506 |
+
global $action, $page, $allowedposttags;
|
|
|
|
|
507 |
|
508 |
+
$popover = array();
|
509 |
|
510 |
+
$popover['popover_title'] = $_POST['popover_title'];
|
511 |
|
512 |
+
if (!current_user_can('unfiltered_html')) {
|
513 |
+
$popover['popover_content'] = wp_kses($_POST['popover_content'], $allowedposttags);
|
514 |
+
} else {
|
515 |
+
$popover['popover_content'] = $_POST['popover_content'];
|
516 |
+
}
|
517 |
|
518 |
+
$popover['popover_settings'] = array();
|
519 |
+
$popover['popover_settings']['popover_size'] = array('width' => $_POST['popoverwidth'], 'height' => $_POST['popoverheight']);
|
520 |
+
$popover['popover_settings']['popover_location'] = array('left' => $_POST['popoverleft'], 'top' => $_POST['popovertop']);
|
521 |
+
$popover['popover_settings']['popover_colour'] = array('back' => $_POST['popoverbackground'], 'fore' => $_POST['popoverforeground']);
|
522 |
+
$popover['popover_settings']['popover_margin'] = array('left' => $_POST['popovermarginleft'], 'top' => $_POST['popovermargintop'], 'right' => $_POST['popovermarginright'], 'bottom' => $_POST['popovermarginbottom']);
|
523 |
+
$popover['popover_settings']['popover_check'] = $_POST['popovercheck'];
|
524 |
|
525 |
+
if (isset($_POST['popoverereg'])) {
|
526 |
+
$popover['popover_settings']['popover_ereg'] = $_POST['popoverereg'];
|
527 |
+
} else {
|
528 |
+
$popover['popover_settings']['popover_ereg'] = '';
|
529 |
+
}
|
530 |
|
531 |
+
if (isset($_POST['popovercount'])) {
|
532 |
+
$popover['popover_settings']['popover_count'] = $_POST['popovercount'];
|
533 |
+
} else {
|
534 |
+
$popover['popover_settings']['popover_count'] = 3;
|
535 |
+
}
|
536 |
+
|
537 |
+
if ($_POST['popoverusejs'] == 'yes') {
|
538 |
+
$popover['popover_settings']['popover_usejs'] = 'yes';
|
539 |
+
} else {
|
540 |
+
$popover['popover_settings']['popover_usejs'] = 'no';
|
541 |
+
}
|
542 |
+
|
543 |
+
$popover['popover_settings']['popover_style'] = $_POST['popoverstyle'];
|
544 |
+
|
545 |
+
if (isset($_POST['popoverhideforeverlink']) && $_POST['popoverhideforeverlink'] == 'yes') {
|
546 |
+
$popover['popover_settings']['popoverhideforeverlink'] = 'yes';
|
547 |
+
} else {
|
548 |
+
$popover['popover_settings']['popoverhideforeverlink'] = 'no';
|
549 |
+
}
|
550 |
+
|
551 |
+
if (isset($_POST['popoverdelay'])) {
|
552 |
+
$popover['popover_settings']['popoverdelay'] = $_POST['popoverdelay'];
|
553 |
+
}
|
554 |
+
|
555 |
+
if (isset($_POST['popoveronurl'])) {
|
556 |
+
$popover['popover_settings']['onurl'] = explode("\n", $_POST['popoveronurl']);
|
557 |
+
}
|
558 |
+
|
559 |
+
if (isset($_POST['popovernotonurl'])) {
|
560 |
+
$popover['popover_settings']['notonurl'] = explode("\n", $_POST['popovernotonurl']);
|
561 |
+
}
|
562 |
+
|
563 |
+
if (isset($_POST['popoverincountry'])) {
|
564 |
+
$popover['popover_settings']['incountry'] = $_POST['popoverincountry'];
|
565 |
+
}
|
566 |
+
|
567 |
+
if (isset($_POST['popovernotincountry'])) {
|
568 |
+
$popover['popover_settings']['notincountry'] = $_POST['popovernotincountry'];
|
569 |
+
}
|
570 |
+
|
571 |
+
$popover['popover_settings'] = serialize($popover['popover_settings']);
|
572 |
+
|
573 |
+
return $this->db->update($this->popover, $popover, array('id' => $id));
|
574 |
+
}
|
575 |
+
|
576 |
+
function update_popover_admin() {
|
577 |
+
global $action, $page;
|
578 |
+
|
579 |
+
wp_reset_vars(array('action', 'page'));
|
580 |
+
|
581 |
+
if (isset($_REQUEST['action']) || isset($_REQUEST['action2'])) {
|
582 |
+
|
583 |
+
if (!empty($_REQUEST['action2'])) {
|
584 |
+
$_REQUEST['action'] = $_REQUEST['action2'];
|
585 |
+
}
|
586 |
+
|
587 |
+
switch ($_REQUEST['action']) {
|
588 |
+
|
589 |
+
|
590 |
+
case 'activate': $id = (int) $_GET['popover'];
|
591 |
+
if (!empty($id)) {
|
592 |
+
check_admin_referer('toggle-popover-' . $id);
|
593 |
+
|
594 |
+
if ($this->activate_popover($id)) {
|
595 |
+
wp_safe_redirect(add_query_arg('msg', 3, wp_get_referer()));
|
596 |
+
} else {
|
597 |
+
wp_safe_redirect(add_query_arg('msg', 4, wp_get_referer()));
|
598 |
+
}
|
599 |
+
}
|
600 |
+
break;
|
601 |
+
|
602 |
+
|
603 |
+
case 'deactivate': $id = (int) $_GET['popover'];
|
604 |
+
if (!empty($id)) {
|
605 |
+
check_admin_referer('toggle-popover-' . $id);
|
606 |
+
|
607 |
+
if ($this->deactivate_popover($id)) {
|
608 |
+
wp_safe_redirect(add_query_arg('msg', 5, wp_get_referer()));
|
609 |
+
} else {
|
610 |
+
wp_safe_redirect(add_query_arg('msg', 6, wp_get_referer()));
|
611 |
+
}
|
612 |
+
}
|
613 |
+
break;
|
614 |
+
|
615 |
+
case 'toggle': $ids = $_REQUEST['popovercheck'];
|
616 |
+
|
617 |
+
if (!empty($ids)) {
|
618 |
+
check_admin_referer('bulk-popovers');
|
619 |
+
foreach ((array) $ids as $id) {
|
620 |
+
$this->toggle_popover($id);
|
621 |
+
}
|
622 |
+
wp_safe_redirect(add_query_arg('msg', 7, wp_get_referer()));
|
623 |
+
}
|
624 |
+
break;
|
625 |
+
|
626 |
+
case 'delete': $id = (int) $_GET['popover'];
|
627 |
+
|
628 |
+
if (!empty($id)) {
|
629 |
+
check_admin_referer('delete-popover-' . $id);
|
630 |
+
|
631 |
+
if ($this->delete_popover($id)) {
|
632 |
+
wp_safe_redirect(add_query_arg('msg', 8, wp_get_referer()));
|
633 |
+
} else {
|
634 |
+
wp_safe_redirect(add_query_arg('msg', 9, wp_get_referer()));
|
635 |
+
}
|
636 |
+
}
|
637 |
+
break;
|
638 |
+
|
639 |
+
case 'added': $id = (int) $_POST['id'];
|
640 |
+
if (empty($id)) {
|
641 |
+
check_admin_referer('update-popover');
|
642 |
+
if ($this->add_popover($_POST)) {
|
643 |
+
wp_safe_redirect(add_query_arg('msg', 10, 'admin.php?page=popover'));
|
644 |
+
} else {
|
645 |
+
wp_safe_redirect(add_query_arg('msg', 11, 'admin.php?page=popover'));
|
646 |
+
}
|
647 |
+
}
|
648 |
+
break;
|
649 |
+
|
650 |
+
case 'updated': $id = (int) $_POST['id'];
|
651 |
+
if (!empty($id)) {
|
652 |
+
check_admin_referer('update-popover');
|
653 |
+
if ($this->update_popover($id, $_POST)) {
|
654 |
+
wp_safe_redirect(add_query_arg('msg', 1, 'admin.php?page=popover'));
|
655 |
+
} else {
|
656 |
+
wp_safe_redirect(add_query_arg('msg', 2, 'admin.php?page=popover'));
|
657 |
+
}
|
658 |
+
}
|
659 |
+
break;
|
660 |
+
}
|
661 |
+
}
|
662 |
+
}
|
663 |
+
|
664 |
+
function handle_popover_admin() {
|
665 |
+
global $action, $page;
|
666 |
+
|
667 |
+
if ($action == 'edit') {
|
668 |
+
if (isset($_GET['popover'])) {
|
669 |
+
$id = (int) $_GET['popover'];
|
670 |
+
$this->handle_popover_edit_panel($id);
|
671 |
+
return; // So we don't see the rest of this page
|
672 |
+
}
|
673 |
+
}
|
674 |
+
|
675 |
+
if ($action == 'add') {
|
676 |
+
$this->handle_popover_edit_panel(false);
|
677 |
+
return; // So we don't see the rest of this page
|
678 |
+
}
|
679 |
+
|
680 |
+
$messages = array();
|
681 |
+
$messages[1] = __('Pop Over updated.', 'popover');
|
682 |
+
$messages[2] = __('Pop Over not updated.', 'popover');
|
683 |
+
|
684 |
+
$messages[3] = __('Pop Over activated.', 'popover');
|
685 |
+
$messages[4] = __('Pop Over not activated.', 'popover');
|
686 |
+
|
687 |
+
$messages[5] = __('Pop Over deactivated.', 'popover');
|
688 |
+
$messages[6] = __('Pop Over not deactivated.', 'popover');
|
689 |
+
|
690 |
+
$messages[7] = __('Pop Over activation toggled.', 'popover');
|
691 |
+
|
692 |
+
$messages[8] = __('Pop Over deleted.', 'popover');
|
693 |
+
$messages[9] = __('Pop Over not deleted.', 'popover');
|
694 |
+
|
695 |
+
$messages[10] = __('Pop Over added.', 'popover');
|
696 |
+
$messages[11] = __('Pop Over not added.', 'popover');
|
697 |
+
?>
|
698 |
+
<div class='wrap'>
|
699 |
+
<div class="icon32" id="icon-themes"><br></div>
|
700 |
+
<h2><?php _e('Edit Pop Overs', 'popover'); ?><a class="add-new-h2" href="admin.php?page=<?php echo $page; ?>&action=add"><?php _e('Add New', 'membership'); ?></a></h2>
|
701 |
+
|
702 |
+
<?php
|
703 |
+
if (isset($_GET['msg'])) {
|
704 |
+
echo '<div id="message" class="updated fade"><p>' . $messages[(int) $_GET['msg']] . '</p></div>';
|
705 |
+
$_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']);
|
706 |
+
}
|
707 |
+
?>
|
708 |
+
|
709 |
+
<form method="get" action="?page=<?php echo esc_attr($page); ?>" id="posts-filter">
|
710 |
+
|
711 |
+
<input type='hidden' name='page' value='<?php echo esc_attr($page); ?>' />
|
712 |
+
|
713 |
+
<div class="tablenav">
|
714 |
+
|
715 |
+
<div class="alignleft actions">
|
716 |
+
<select name="action">
|
717 |
+
<option selected="selected" value=""><?php _e('Bulk Actions', 'popover'); ?></option>
|
718 |
+
<option value="toggle"><?php _e('Toggle activation', 'popover'); ?></option>
|
719 |
+
</select>
|
720 |
+
<input type="submit" class="button-secondary action" id="doaction" name="doaction" value="<?php _e('Apply', 'popover'); ?>">
|
721 |
+
|
722 |
+
</div>
|
723 |
+
|
724 |
+
<div class="alignright actions"></div>
|
725 |
+
|
726 |
+
<br class="clear">
|
727 |
+
</div>
|
728 |
+
|
729 |
+
<div class="clear"></div>
|
730 |
+
|
731 |
+
<?php
|
732 |
+
wp_original_referer_field(true, 'previous');
|
733 |
+
wp_nonce_field('bulk-popovers');
|
734 |
+
|
735 |
+
$columns = array("name" => __('Pop Over Name', 'popover'),
|
736 |
+
"rules" => __('Conditions', 'popover'),
|
737 |
+
"active" => __('Active', 'popover')
|
738 |
+
);
|
739 |
+
|
740 |
+
$columns = apply_filters('popover_columns', $columns);
|
741 |
+
|
742 |
+
$popovers = $this->get_popovers();
|
743 |
+
?>
|
744 |
+
|
745 |
+
<table cellspacing="0" class="widefat fixed" id="dragtable">
|
746 |
+
<thead>
|
747 |
+
<tr>
|
748 |
+
|
749 |
+
<th style="width: 20px;" class="manage-column column-drag" id="cb" scope="col"></th>
|
750 |
+
<th style="" class="manage-column column-cb check-column" id="cb" scope="col"><input type="checkbox"></th>
|
751 |
+
|
752 |
+
<?php
|
753 |
+
foreach ($columns as $key => $col) {
|
754 |
+
?>
|
755 |
+
<th style="" class="manage-column column-<?php echo $key; ?>" id="<?php echo $key; ?>" scope="col"><?php echo $col; ?></th>
|
756 |
+
<?php
|
757 |
+
}
|
758 |
+
?>
|
759 |
+
</tr>
|
760 |
+
</thead>
|
761 |
+
|
762 |
+
<tfoot>
|
763 |
+
<tr>
|
764 |
+
|
765 |
+
<th style="" class="manage-column column-drag" scope="col"></th>
|
766 |
+
<th style="" class="manage-column column-cb check-column" scope="col"><input type="checkbox"></th>
|
767 |
+
|
768 |
+
<?php
|
769 |
+
reset($columns);
|
770 |
+
foreach ($columns as $key => $col) {
|
771 |
+
?>
|
772 |
+
<th style="" class="manage-column column-<?php echo $key; ?>" id="<?php echo $key; ?>" scope="col"><?php echo $col; ?></th>
|
773 |
+
<?php
|
774 |
+
}
|
775 |
+
?>
|
776 |
+
</tr>
|
777 |
+
</tfoot>
|
778 |
+
|
779 |
+
<tbody id='dragbody'>
|
780 |
+
<?php
|
781 |
+
if ($popovers) {
|
782 |
+
$popovercount = 0;
|
783 |
+
foreach ($popovers as $key => $popover) {
|
784 |
+
?>
|
785 |
+
<tr valign="middle" class="alternate draghandle" id="<?php echo $popover->id; ?>">
|
786 |
+
|
787 |
+
<td class="check-drag" scope="row">
|
788 |
+
|
789 |
+
</td>
|
790 |
+
<td class="check-column" scope="row"><input type="checkbox" value="<?php echo $popover->id; ?>" name="popovercheck[]"></td>
|
791 |
+
|
792 |
+
<td class="column-name">
|
793 |
+
<strong><a href='<?php echo "?page=" . $page . "&action=edit&popover=" . $popover->id . ""; ?>'><?php echo esc_html($popover->popover_title); ?></a></strong>
|
794 |
+
<?php
|
795 |
+
$actions = array();
|
796 |
+
|
797 |
+
$actions['edit'] = "<span class='edit'><a href='?page=" . $page . "&action=edit&popover=" . $popover->id . "'>" . __('Edit', 'popover') . "</a></span>";
|
798 |
+
|
799 |
+
if ($popover->popover_active) {
|
800 |
+
$actions['toggle'] = "<span class='edit activate'><a href='" . wp_nonce_url("?page=" . $page . "&action=deactivate&popover=" . $popover->id . "", 'toggle-popover-' . $popover->id) . "'>" . __('Deactivate', 'popover') . "</a></span>";
|
801 |
+
} else {
|
802 |
+
$actions['toggle'] = "<span class='edit deactivate'><a href='" . wp_nonce_url("?page=" . $page . "&action=activate&popover=" . $popover->id . "", 'toggle-popover-' . $popover->id) . "'>" . __('Activate', 'popover') . "</a></span>";
|
803 |
+
}
|
804 |
+
|
805 |
+
$actions['delete'] = "<span class='delete'><a href='" . wp_nonce_url("?page=" . $page . "&action=delete&popover=" . $popover->id . "", 'delete-popover-' . $popover->id) . "'>" . __('Delete', 'popover') . "</a></span>";
|
806 |
+
?>
|
807 |
+
<br><div class="row-actions"><?php echo implode(" | ", $actions); ?></div>
|
808 |
+
</td>
|
809 |
+
|
810 |
+
<td class="column-name">
|
811 |
+
<?php
|
812 |
+
$p = maybe_unserialize($popover->popover_settings);
|
813 |
+
$rules = $p['popover_check'];
|
814 |
+
foreach ((array) $rules as $key => $value) {
|
815 |
+
if ($key == 'order') {
|
816 |
+
continue;
|
817 |
+
}
|
818 |
+
switch ($key) {
|
819 |
+
|
820 |
+
case 'supporter': _e('Site is not a Pro-site', 'popover');
|
821 |
+
break;
|
822 |
+
|
823 |
+
case 'isloggedin': _e('Visitor is logged in', 'popover');
|
824 |
+
break;
|
825 |
+
|
826 |
+
case 'loggedin': _e('Visitor is not logged in', 'popover');
|
827 |
+
break;
|
828 |
+
|
829 |
+
case 'commented': _e('Visitor has never commented', 'popover');
|
830 |
+
break;
|
831 |
+
|
832 |
+
case 'searchengine': _e('Visit via a search engine', 'popover');
|
833 |
+
break;
|
834 |
+
|
835 |
+
case 'internal': _e('Visit not via an Internal link', 'popover');
|
836 |
+
break;
|
837 |
+
|
838 |
+
case 'referrer': _e('Visit via specific referer', 'popover');
|
839 |
+
break;
|
840 |
+
|
841 |
+
case 'count': _e('Popover shown less than x times', 'popover');
|
842 |
+
break;
|
843 |
+
|
844 |
+
case 'onurl': _e('On specific URL', 'popover');
|
845 |
+
break;
|
846 |
+
|
847 |
+
case 'notonurl': _e('Not on specific URL', 'popover');
|
848 |
+
break;
|
849 |
+
|
850 |
+
case 'incountry': _e('In a specific country', 'popover');
|
851 |
+
break;
|
852 |
+
|
853 |
+
case 'notincountry': _e('Not in a specific country', 'popover');
|
854 |
+
break;
|
855 |
+
|
856 |
+
default: echo apply_filters('popover_nice_rule_name', $key);
|
857 |
+
break;
|
858 |
+
}
|
859 |
+
echo "<br/>";
|
860 |
+
}
|
861 |
+
?>
|
862 |
+
</td>
|
863 |
+
<td class="column-active">
|
864 |
+
<?php
|
865 |
+
if ($popover->popover_active) {
|
866 |
+
echo "<strong>" . __('Active', 'popover') . "</strong>";
|
867 |
+
} else {
|
868 |
+
echo __('Inactive', 'popover');
|
869 |
+
}
|
870 |
+
?>
|
871 |
+
</td>
|
872 |
+
</tr>
|
873 |
+
<?php
|
874 |
+
}
|
875 |
+
} else {
|
876 |
+
$columncount = count($columns) + 2;
|
877 |
+
?>
|
878 |
+
<tr valign="middle" class="alternate" >
|
879 |
+
<td colspan="<?php echo $columncount; ?>" scope="row"><?php _e('No Pop Overs were found.', 'popover'); ?></td>
|
880 |
+
</tr>
|
881 |
+
<?php
|
882 |
+
}
|
883 |
+
?>
|
884 |
+
|
885 |
+
</tbody>
|
886 |
+
</table>
|
887 |
+
|
888 |
+
|
889 |
+
<div class="tablenav">
|
890 |
+
|
891 |
+
<div class="alignleft actions">
|
892 |
+
<select name="action2">
|
893 |
+
<option selected="selected" value=""><?php _e('Bulk Actions', 'popover'); ?></option>
|
894 |
+
<option value="toggle"><?php _e('Toggle activation', 'popover'); ?></option>
|
895 |
+
</select>
|
896 |
+
<input type="submit" class="button-secondary action" id="doaction2" name="doaction2" value="<?php _e('Apply', 'popover'); ?>">
|
897 |
+
</div>
|
898 |
+
<div class="alignright actions"></div>
|
899 |
+
<br class="clear">
|
900 |
+
</div>
|
901 |
+
|
902 |
+
</form>
|
903 |
+
|
904 |
+
</div> <!-- wrap -->
|
905 |
+
<?php
|
906 |
+
}
|
907 |
+
|
908 |
+
function handle_popover_edit_panel($id = false) {
|
909 |
+
|
910 |
+
global $page;
|
911 |
+
|
912 |
+
if (function_exists('get_site_option') && defined('PO_GLOBAL') && PO_GLOBAL == true) {
|
913 |
+
$updateoption = 'update_site_option';
|
914 |
+
$getoption = 'get_site_option';
|
915 |
+
} else {
|
916 |
+
$updateoption = 'update_option';
|
917 |
+
$getoption = 'get_option';
|
918 |
+
}
|
919 |
+
|
920 |
+
|
921 |
+
if ($id !== false) {
|
922 |
+
$popover = $this->get_popover($id);
|
923 |
+
|
924 |
+
$popover->popover_settings = unserialize($popover->popover_settings);
|
925 |
+
} else {
|
926 |
+
$popover = new stdClass;
|
927 |
+
$popover->popover_title = __('New Pop Over', 'popover');
|
928 |
+
$popover->popover_content = "";
|
929 |
+
}
|
930 |
+
|
931 |
+
$popover_title = stripslashes($popover->popover_title);
|
932 |
+
|
933 |
+
$popover_content = stripslashes($popover->popover_content);
|
934 |
+
|
935 |
+
if (empty($popover->popover_settings)) {
|
936 |
+
$popover->popover_settings = array('popover_size' => array('width' => '500px', 'height' => '200px'),
|
937 |
+
'popover_location' => array('left' => '100px', 'top' => '100px'),
|
938 |
+
'popover_colour' => array('back' => 'FFFFFF', 'fore' => '000000'),
|
939 |
+
'popover_margin' => array('left' => '0px', 'top' => '0px', 'right' => '0px', 'bottom' => '0px'),
|
940 |
+
'popover_check' => array(),
|
941 |
+
'popover_ereg' => '',
|
942 |
+
'popover_count' => 3,
|
943 |
+
'popover_usejs' => 'no'
|
944 |
+
);
|
945 |
+
}
|
946 |
+
|
947 |
+
$popover_size = $popover->popover_settings['popover_size'];
|
948 |
+
$popover_location = $popover->popover_settings['popover_location'];
|
949 |
+
$popover_colour = $popover->popover_settings['popover_colour'];
|
950 |
+
$popover_margin = $popover->popover_settings['popover_margin'];
|
951 |
+
|
952 |
+
$popover_size = $this->sanitise_array($popover_size);
|
953 |
+
$popover_location = $this->sanitise_array($popover_location);
|
954 |
+
$popover_colour = $this->sanitise_array($popover_colour);
|
955 |
+
$popover_margin = $this->sanitise_array($popover_margin);
|
956 |
+
|
957 |
+
$popover_check = $popover->popover_settings['popover_check'];
|
958 |
+
$popover_ereg = $popover->popover_settings['popover_ereg'];
|
959 |
+
$popover_count = $popover->popover_settings['popover_count'];
|
960 |
+
|
961 |
+
$popover_usejs = $popover->popover_settings['popover_usejs'];
|
962 |
+
|
963 |
+
$popoverstyle = (isset($popover->popover_settings['popover_style'])) ? $popover->popover_settings['popover_style'] : '';
|
964 |
+
|
965 |
+
$popover_hideforever = (isset($popover->popover_settings['popoverhideforeverlink'])) ? $popover->popover_settings['popoverhideforeverlink'] : '';
|
966 |
+
|
967 |
+
$popover_delay = (isset($popover->popover_settings['popoverdelay'])) ? $popover->popover_settings['popoverdelay'] : '';
|
968 |
+
|
969 |
+
$popover_onurl = (isset($popover->popover_settings['onurl'])) ? $popover->popover_settings['onurl'] : '';
|
970 |
+
$popover_notonurl = (isset($popover->popover_settings['notonurl'])) ? $popover->popover_settings['notonurl'] : '';
|
971 |
+
|
972 |
+
$popover_incountry = (isset($popover->popover_settings['incountry'])) ? $popover->popover_settings['incountry'] : '';
|
973 |
+
$popover_notincountry = (isset($popover->popover_settings['notincountry'])) ? $popover->popover_settings['notincountry'] : '';
|
974 |
+
|
975 |
+
$popover_onurl = $this->sanitise_array($popover_onurl);
|
976 |
+
$popover_notonurl = $this->sanitise_array($popover_notonurl);
|
977 |
+
?>
|
978 |
+
<div class='wrap nosubsub'>
|
979 |
+
<div class="icon32" id="icon-themes"><br></div>
|
980 |
+
<?php if ($id !== false) { ?>
|
981 |
+
<h2><?php echo __('Edit Pop Over', 'popover'); ?></h2>
|
982 |
+
<?php } else { ?>
|
983 |
+
<h2><?php echo __('Add Pop Over', 'popover'); ?></h2>
|
984 |
+
<?php } ?>
|
985 |
+
<div class='popover-liquid-left'>
|
986 |
+
|
987 |
+
<div id='popover-left'>
|
988 |
+
<form action='?page=<?php echo $page; ?>' name='popoveredit' method='post'>
|
989 |
+
|
990 |
+
<input type='hidden' name='id' id='id' value='<?php echo $id; ?>' />
|
991 |
+
<input type='hidden' name='beingdragged' id='beingdragged' value='' />
|
992 |
+
<input type='hidden' name='popovercheck[order]' id='in-positive-rules' value='<?php echo esc_attr($popover_check['order']); ?>' />
|
993 |
+
|
994 |
+
<div id='edit-popover' class='popover-holder-wrap'>
|
995 |
+
<div class='sidebar-name no-movecursor'>
|
996 |
+
<h3><?php echo __('Pop Over Settings', 'popover'); ?></h3>
|
997 |
+
</div>
|
998 |
+
<div class='popover-holder'>
|
999 |
+
|
1000 |
+
<div class='popover-details'>
|
1001 |
+
|
1002 |
+
<label for='popover_title'><?php _e('Popover title', 'popover'); ?></label><br/>
|
1003 |
+
<input name='popover_title' id='popover_title' style='width: 97%; border: 1px solid; border-color: #DFDFDF;' value='<?php echo stripslashes($popover_title); ?>' /><br/><br/>
|
1004 |
+
|
1005 |
+
<label for='popovercontent'><?php _e('Popover content', 'popover'); ?></label><br/>
|
1006 |
+
<?php
|
1007 |
+
$args = array("textarea_name" => "popover_content", "textarea_rows" => 5);
|
1008 |
+
wp_editor(stripslashes($popover_content), "popover_content", $args);
|
1009 |
+
/*
|
1010 |
+
?>
|
1011 |
+
<textarea name='popover_content' id='popover_content' style='width: 98%' rows='5' cols='10'><?php echo stripslashes($popover_content); ?></textarea>
|
1012 |
+
<?php
|
1013 |
+
*/
|
1014 |
+
?>
|
1015 |
+
</div>
|
1016 |
+
|
1017 |
+
<h3><?php _e('Active conditions', 'popover'); ?></h3>
|
1018 |
+
<p class='description'><?php _e('These are the rules that will determine if a popover should show when a visitor arrives at your website ALL rules must be true for the popover to show.', 'popover'); ?></p>
|
1019 |
+
<div id='positive-rules-holder'>
|
1020 |
+
<?php
|
1021 |
+
if (!empty($popover_check['order'])) {
|
1022 |
+
$order = explode(',', $popover_check['order']);
|
1023 |
+
} else {
|
1024 |
+
$order = array();
|
1025 |
+
}
|
1026 |
+
|
1027 |
+
foreach ($order as $key) {
|
1028 |
+
|
1029 |
+
switch ($key) {
|
1030 |
+
|
1031 |
+
case 'supporter': if (function_exists('is_pro_site'))
|
1032 |
+
$this->admin_main('supporter', 'Site is not a Pro-site', 'Shows the popover if the site is not a Pro-site.', true);
|
1033 |
+
break;
|
1034 |
+
|
1035 |
+
case 'isloggedin': $this->admin_main('isloggedin', 'Visitor is logged in', 'Shows the popover if the user is logged in to your site.', true);
|
1036 |
+
break;
|
1037 |
+
case 'loggedin': $this->admin_main('loggedin', 'Visitor is not logged in', 'Shows the popover if the user is <strong>not</strong> logged in to your site.', true);
|
1038 |
+
break;
|
1039 |
+
case 'commented': $this->admin_main('commented', 'Visitor has never commented', 'Shows the popover if the user has never left a comment.', true);
|
1040 |
+
break;
|
1041 |
+
case 'searchengine': $this->admin_main('searchengine', 'Visit via a search engine', 'Shows the popover if the user arrived via a search engine.', true);
|
1042 |
+
break;
|
1043 |
+
case 'internal': $this->admin_main('internal', 'Visit not via an Internal link', 'Shows the popover if the user did not arrive on this page via another page on your site.', true);
|
1044 |
+
break;
|
1045 |
+
case 'referrer': $this->admin_referer('referrer', 'Visit via specific referer', 'Shows the popover if the user arrived via the following referrer:', $popover_ereg);
|
1046 |
+
break;
|
1047 |
+
case 'count': $this->admin_viewcount('count', 'Popover shown less than', 'Shows the popover if the user has only seen it less than the following number of times:', $popover_count);
|
1048 |
+
break;
|
1049 |
+
case 'onurl': $this->admin_urllist('onurl', 'On specific URL', 'Shows the popover if the user is on a certain URL (enter one URL per line)', $popover_onurl);
|
1050 |
+
break;
|
1051 |
+
case 'notonurl': $this->admin_urllist('notonurl', 'Not on specific URL', 'Shows the popover if the user is not on a certain URL (enter one URL per line)', $popover_notonurl);
|
1052 |
+
break;
|
1053 |
+
case 'incountry': $this->admin_countrylist('incountry', 'In a specific Country', 'Shows the popover if the user is in a certain country.', $popover_incountry);
|
1054 |
+
break;
|
1055 |
+
case 'notincountry': $this->admin_countrylist('notincountry', 'Not in a specific Country', 'Shows the popover if the user is not in a certain country.', $popover_notincountry);
|
1056 |
+
break;
|
1057 |
+
|
1058 |
+
default: do_action('popover_active_rule_' . $key);
|
1059 |
+
do_action('popover_active_rule', $key);
|
1060 |
+
break;
|
1061 |
+
}
|
1062 |
+
}
|
1063 |
+
?>
|
1064 |
+
</div>
|
1065 |
+
<div id='positive-rules' class='droppable-rules popovers-sortable'>
|
1066 |
+
<?php _e('Drop here', 'membership'); ?>
|
1067 |
+
</div>
|
1068 |
+
|
1069 |
+
<h3><?php _e('Appearance settings', 'popover'); ?></h3>
|
1070 |
+
<table class='form-table' style=''>
|
1071 |
+
<tr>
|
1072 |
+
<th valign='top' scope='row' style='width: 25%;'><strong><?php _e('Pop Over Size', 'popover'); ?></strong></th>
|
1073 |
+
<td valign='top'>
|
1074 |
+
<?php _e('Width:', 'popover'); ?>
|
1075 |
+
<input type='text' name='popoverwidth' id='popoverwidth' style='width: 5em;' value='<?php echo $popover_size['width']; ?>' />
|
1076 |
+
<?php _e('Height:', 'popover'); ?>
|
1077 |
+
<input type='text' name='popoverheight' id='popoverheight' style='width: 5em;' value='<?php echo $popover_size['height']; ?>' />
|
1078 |
+
</td>
|
1079 |
+
</tr>
|
1080 |
+
|
1081 |
+
<tr>
|
1082 |
+
<th valign='top' scope='row' style='width: 25%;'><strong><?php _e('Pop Over Position', 'popover'); ?></strong></th>
|
1083 |
+
<td valign='top'>
|
1084 |
+
<?php _e('Left:', 'popover'); ?>
|
1085 |
+
<input type='text' name='popoverleft' id='popoverleft' style='width: 5em;' value='<?php echo $popover_location['left']; ?>' />
|
1086 |
+
<?php _e('Top:', 'popover'); ?>
|
1087 |
+
<input type='text' name='popovertop' id='popovertop' style='width: 5em;' value='<?php echo $popover_location['top']; ?>' />
|
1088 |
+
</td>
|
1089 |
+
</tr>
|
1090 |
+
|
1091 |
+
<tr>
|
1092 |
+
<th valign='top' scope='row' style='width: 25%;'><strong><?php _e('Pop Over Margins', 'popover'); ?></strong></th>
|
1093 |
+
<td valign='top'>
|
1094 |
+
<?php _e('Left:', 'popover'); ?>
|
1095 |
+
<input type='text' name='popovermarginleft' style='width: 5em;' value='<?php echo $popover_margin['left']; ?>' />
|
1096 |
+
<?php _e('Right:', 'popover'); ?>
|
1097 |
+
<input type='text' name='popovermarginright' style='width: 5em;' value='<?php echo $popover_margin['right']; ?>' /><br/>
|
1098 |
+
<?php _e('Top:', 'popover'); ?>
|
1099 |
+
<input type='text' name='popovermargintop' style='width: 5em;' value='<?php echo $popover_margin['top']; ?>' />
|
1100 |
+
<?php _e('Bottom:', 'popover'); ?>
|
1101 |
+
<input type='text' name='popovermarginbottom' style='width: 5em;' value='<?php echo $popover_margin['bottom']; ?>' />
|
1102 |
+
</td>
|
1103 |
+
</tr>
|
1104 |
+
|
1105 |
+
<tr>
|
1106 |
+
<th valign='top' scope='row' style='width: 25%;'> </th>
|
1107 |
+
<td valign='top'>
|
1108 |
+
<?php _e('or use Javascript to resize and center the popover', 'popover'); ?> <input type='checkbox' name='popoverusejs' id='popoverusejs' value='yes' <?php if ($popover_usejs == 'yes') echo "checked='checked'"; ?> />
|
1109 |
+
</td>
|
1110 |
+
</tr>
|
1111 |
+
|
1112 |
+
</table>
|
1113 |
+
<table class='form-table'>
|
1114 |
+
|
1115 |
+
<tr>
|
1116 |
+
<th valign='top' scope='row' style='width: 25%;'><strong><?php _e('Background Color', 'popover'); ?></strong></th>
|
1117 |
+
<td valign='top'>
|
1118 |
+
<?php _e('Hex:', 'popover'); ?> #
|
1119 |
+
<input type='text' name='popoverbackground' id='popoverbackground' style='width: 10em;' value='<?php echo $popover_colour['back']; ?>' />
|
1120 |
+
</td>
|
1121 |
+
</tr>
|
1122 |
+
|
1123 |
+
<tr>
|
1124 |
+
<th valign='top' scope='row' style='width: 25%;'><strong><?php _e('Font Color', 'popover'); ?></strong></th>
|
1125 |
+
<td valign='top'>
|
1126 |
+
<?php _e('Hex:', 'popover'); ?> #
|
1127 |
+
<input type='text' name='popoverforeground' id='popoverforeground' style='width: 10em;' value='<?php echo $popover_colour['fore']; ?>' />
|
1128 |
+
</td>
|
1129 |
+
</tr>
|
1130 |
+
|
1131 |
+
</table>
|
1132 |
+
|
1133 |
+
<?php
|
1134 |
+
$availablestyles = apply_filters('popover_available_styles_directory', array());
|
1135 |
+
|
1136 |
+
if (count($availablestyles) > 1) {
|
1137 |
+
?>
|
1138 |
+
<h3><?php _e('Pop Over Style', 'popover'); ?></h3>
|
1139 |
+
<table class='form-table'>
|
1140 |
+
|
1141 |
+
<tr>
|
1142 |
+
<th valign='top' scope='row' style='width: 25%;'><strong><?php _e('Use Style', 'popover'); ?></strong></th>
|
1143 |
+
<td valign='top'>
|
1144 |
+
<select name='popoverstyle'>
|
1145 |
+
<?php
|
1146 |
+
foreach ((array) $availablestyles as $key => $location) {
|
1147 |
+
?>
|
1148 |
+
<option value='<?php echo $key; ?>' <?php selected($key, $popoverstyle); ?>><?php echo $key; ?></option>
|
1149 |
+
<?php
|
1150 |
+
}
|
1151 |
+
?>
|
1152 |
+
</select>
|
1153 |
+
|
1154 |
+
</td>
|
1155 |
+
</tr>
|
1156 |
+
|
1157 |
+
</table>
|
1158 |
+
<?php
|
1159 |
+
} else {
|
1160 |
+
foreach ((array) $availablestyles as $key => $location) {
|
1161 |
+
// There's only one - but it's easy to get the key this way :)
|
1162 |
+
?>
|
1163 |
+
<input type='hidden' name='popoverstyle' value='<?php echo $key; ?>' />
|
1164 |
+
<?php
|
1165 |
+
}
|
1166 |
+
}
|
1167 |
+
?>
|
1168 |
+
|
1169 |
+
<h3><?php _e('Remove Hide Forever Link', 'popover'); ?></h3>
|
1170 |
+
<table class='form-table' style=''>
|
1171 |
+
<tr>
|
1172 |
+
<th valign='top' scope='row' style='width: 25%;'><strong><?php _e('Remove the "Never see this message again" link', 'popover'); ?></strong></th>
|
1173 |
+
<td valign='top'>
|
1174 |
+
<input type='checkbox' name='popoverhideforeverlink' id='popoverhideforeverlink' value='yes' <?php if ($popover_hideforever == 'yes') {
|
1175 |
+
echo "checked='checked'";
|
1176 |
+
} ?> />
|
1177 |
+
</td>
|
1178 |
+
</tr>
|
1179 |
+
</table>
|
1180 |
+
|
1181 |
+
<h3><?php _e('Pop over appearance delays', 'popover'); ?></h3>
|
1182 |
+
<table class='form-table' style=''>
|
1183 |
+
<tr>
|
1184 |
+
<th valign='top' scope='row' style='width: 25%;'><strong><?php _e('Show Pop Over', 'popover'); ?></strong></th>
|
1185 |
+
<td valign='top'>
|
1186 |
+
<select name='popoverdelay'>
|
1187 |
+
<option value='immediate' <?php selected('immediate', $popover_delay); ?>><?php _e('immediately', 'popover'); ?></option>
|
1188 |
+
<?php
|
1189 |
+
for ($n = 1; $n <= 120; $n++) {
|
1190 |
+
?>
|
1191 |
+
<option value='<?php echo $n; ?>' <?php selected($n, $popover_delay); ?>><?php echo __('after', 'popover') . ' ' . $n . ' ' . __('seconds', 'popover'); ?></option>
|
1192 |
+
<?php
|
1193 |
+
}
|
1194 |
+
?>
|
1195 |
+
</select>
|
1196 |
+
</td>
|
1197 |
+
</tr>
|
1198 |
+
</table>
|
1199 |
+
|
1200 |
+
<div class='buttons'>
|
1201 |
+
<?php
|
1202 |
+
wp_original_referer_field(true, 'previous');
|
1203 |
+
wp_nonce_field('update-popover');
|
1204 |
+
?>
|
1205 |
+
<?php if ($id !== false) { ?>
|
1206 |
+
<input type='submit' value='<?php _e('Update', 'popover'); ?>' class='button-primary' />
|
1207 |
+
<input type='hidden' name='action' value='updated' />
|
1208 |
+
<?php } else { ?>
|
1209 |
+
<input type='submit' value='<?php _e('Add', 'popover'); ?>' class='button' name='add' /> <input type='submit' value='<?php _e('Add and Activate', 'popover'); ?>' class='button-primary' name='addandactivate' />
|
1210 |
+
<input type='hidden' name='action' value='added' />
|
1211 |
+
<?php } ?>
|
1212 |
+
|
1213 |
+
</div>
|
1214 |
+
|
1215 |
+
</div>
|
1216 |
+
</div>
|
1217 |
+
</form>
|
1218 |
+
</div>
|
1219 |
+
|
1220 |
+
|
1221 |
+
<div id='hiden-actions'>
|
1222 |
+
<?php
|
1223 |
+
if (!isset($popover_check['supporter']) && function_exists('is_pro_site')) {
|
1224 |
+
$this->admin_main('supporter', 'Site is not a Pro-site', 'Shows the popover if the site is not a Pro-site.', true);
|
1225 |
+
}
|
1226 |
+
|
1227 |
+
if (!isset($popover_check['isloggedin'])) {
|
1228 |
+
$this->admin_main('isloggedin', 'Visitor is logged in', 'Shows the popover if the user is logged in to your site.', true);
|
1229 |
+
}
|
1230 |
+
|
1231 |
+
if (!isset($popover_check['loggedin'])) {
|
1232 |
+
$this->admin_main('loggedin', 'Visitor is not logged in', 'Shows the popover if the user is <strong>not</strong> logged in to your site.', true);
|
1233 |
+
}
|
1234 |
+
|
1235 |
+
if (!isset($popover_check['commented'])) {
|
1236 |
+
$this->admin_main('commented', 'Visitor has never commented', 'Shows the popover if the user has never left a comment.', true);
|
1237 |
+
}
|
1238 |
+
|
1239 |
+
if (!isset($popover_check['searchengine'])) {
|
1240 |
+
$this->admin_main('searchengine', 'Visit via a search engine', 'Shows the popover if the user arrived via a search engine.', true);
|
1241 |
+
}
|
1242 |
+
|
1243 |
+
if (!isset($popover_check['internal'])) {
|
1244 |
+
$this->admin_main('internal', 'Visit not via an Internal link', 'Shows the popover if the user did not arrive on this page via another page on your site.', true);
|
1245 |
+
}
|
1246 |
+
|
1247 |
+
if (!isset($popover_check['referrer'])) {
|
1248 |
+
$this->admin_referer('referrer', 'Visit via specific referer', 'Shows the popover if the user arrived via the following referrer:', $popover_ereg);
|
1249 |
+
}
|
1250 |
+
|
1251 |
+
if (!isset($popover_check['onurl'])) {
|
1252 |
+
$this->admin_urllist('onurl', 'On specific URL', 'Shows the popover if the user is on a certain URL (enter one URL per line)', $popover_onurl);
|
1253 |
+
}
|
1254 |
+
|
1255 |
+
if (!isset($popover_check['notonurl'])) {
|
1256 |
+
$this->admin_urllist('notonurl', 'Not on specific URL', 'Shows the popover if the user is not on a certain URL (enter one URL per line)', $popover_notonurl);
|
1257 |
+
}
|
1258 |
+
|
1259 |
+
if (!isset($popover_check['incountry'])) {
|
1260 |
+
$this->admin_countrylist('incountry', 'In a specific Country', 'Shows the popover if the user is in a certain country.', $popover_incountry);
|
1261 |
+
}
|
1262 |
+
|
1263 |
+
if (!isset($popover_check['notincountry'])) {
|
1264 |
+
$this->admin_countrylist('notincountry', 'Not in a specific Country', 'Shows the popover if the user is not in a certain country.', $popover_notincountry);
|
1265 |
+
}
|
1266 |
+
|
1267 |
+
//$popover_count
|
1268 |
+
if (!isset($popover_check['count'])) {
|
1269 |
+
$this->admin_viewcount('count', 'Popover shown less than', 'Shows the popover if the user has only seen it less than the following number of times:', $popover_count);
|
1270 |
+
}
|
1271 |
+
|
1272 |
+
do_action('popover_additional_rules_main');
|
1273 |
+
?>
|
1274 |
+
</div> <!-- hidden-actions -->
|
1275 |
+
|
1276 |
+
</div> <!-- popover-liquid-left -->
|
1277 |
+
|
1278 |
+
<div class='popover-liquid-right'>
|
1279 |
+
<div class="popover-holder-wrap">
|
1280 |
+
|
1281 |
+
<div class="sidebar-name no-movecursor">
|
1282 |
+
<h3><?php _e('Conditions', 'popover'); ?></h3>
|
1283 |
+
</div>
|
1284 |
+
<div class="section-holder" id="sidebar-rules" style="min-height: 98px;">
|
1285 |
+
<ul class='popovers popovers-draggable'>
|
1286 |
+
<?php
|
1287 |
+
if (isset($popover_check['supporter']) && function_exists('is_pro_site')) {
|
1288 |
+
$this->admin_sidebar('supporter', 'Site is not a Pro-site', 'Shows the popover if the site is not a Pro-site.', true);
|
1289 |
+
} elseif (function_exists('is_pro_site')) {
|
1290 |
+
$this->admin_sidebar('supporter', 'Site is not a Pro-site', 'Shows the popover if the site is not a Pro-site.', false);
|
1291 |
+
}
|
1292 |
+
|
1293 |
+
if (isset($popover_check['isloggedin'])) {
|
1294 |
+
$this->admin_sidebar('isloggedin', 'Visitor is logged in', 'Shows the popover if the user is logged in to your site.', true);
|
1295 |
+
} else {
|
1296 |
+
$this->admin_sidebar('isloggedin', 'Visitor is logged in', 'Shows the popover if the user is logged in to your site.', false);
|
1297 |
+
}
|
1298 |
+
|
1299 |
+
if (isset($popover_check['loggedin'])) {
|
1300 |
+
$this->admin_sidebar('loggedin', 'Visitor is not logged in', 'Shows the popover if the user is <strong>not</strong> logged in to your site.', true);
|
1301 |
+
} else {
|
1302 |
+
$this->admin_sidebar('loggedin', 'Visitor is not logged in', 'Shows the popover if the user is <strong>not</strong> logged in to your site.', false);
|
1303 |
+
}
|
1304 |
+
|
1305 |
+
if (isset($popover_check['commented'])) {
|
1306 |
+
$this->admin_sidebar('commented', 'Visitor has never commented', 'Shows the popover if the user has never left a comment.', true);
|
1307 |
+
} else {
|
1308 |
+
$this->admin_sidebar('commented', 'Visitor has never commented', 'Shows the popover if the user has never left a comment.', false);
|
1309 |
+
}
|
1310 |
+
|
1311 |
+
if (isset($popover_check['searchengine'])) {
|
1312 |
+
$this->admin_sidebar('searchengine', 'Visit via a search engine', 'Shows the popover if the user arrived via a search engine.', true);
|
1313 |
+
} else {
|
1314 |
+
$this->admin_sidebar('searchengine', 'Visit via a search engine', 'Shows the popover if the user arrived via a search engine.', false);
|
1315 |
+
}
|
1316 |
+
|
1317 |
+
if (isset($popover_check['internal'])) {
|
1318 |
+
$this->admin_sidebar('internal', 'Visit not via an Internal link', 'Shows the popover if the user did not arrive on this page via another page on your site.', true);
|
1319 |
+
} else {
|
1320 |
+
$this->admin_sidebar('internal', 'Visit not via an Internal link', 'Shows the popover if the user did not arrive on this page via another page on your site.', false);
|
1321 |
+
}
|
1322 |
+
|
1323 |
+
if (isset($popover_check['referrer'])) {
|
1324 |
+
$this->admin_sidebar('referrer', 'Visit via specific referer', 'Shows the popover if the user arrived via a specific referrer.', true);
|
1325 |
+
} else {
|
1326 |
+
$this->admin_sidebar('referrer', 'Visit via specific referer', 'Shows the popover if the user arrived via a specific referrer.', false);
|
1327 |
+
}
|
1328 |
+
|
1329 |
+
if (isset($popover_check['count'])) {
|
1330 |
+
$this->admin_sidebar('count', 'Popover shown less than', 'Shows the popover if the user has only seen it less than a specific number of times.', true);
|
1331 |
+
} else {
|
1332 |
+
$this->admin_sidebar('count', 'Popover shown less than', 'Shows the popover if the user has only seen it less than a specific number of times.', false);
|
1333 |
+
}
|
1334 |
+
|
1335 |
+
if (isset($popover_check['onurl'])) {
|
1336 |
+
$this->admin_sidebar('onurl', 'On specific URL', 'Shows the popover if the user is on a certain URL.', true);
|
1337 |
+
} else {
|
1338 |
+
$this->admin_sidebar('onurl', 'On specific URL', 'Shows the popover if the user is on a certain URL.', false);
|
1339 |
+
}
|
1340 |
+
|
1341 |
+
if (isset($popover_check['notonurl'])) {
|
1342 |
+
$this->admin_sidebar('notonurl', 'Not on specific URL', 'Shows the popover if the user is not on a certain URL.', true);
|
1343 |
+
} else {
|
1344 |
+
$this->admin_sidebar('notonurl', 'Not on specific URL', 'Shows the popover if the user is not on a certain URL.', false);
|
1345 |
+
}
|
1346 |
+
|
1347 |
+
do_action('popover_additional_rules_sidebar');
|
1348 |
+
?>
|
1349 |
+
</ul>
|
1350 |
+
</div>
|
1351 |
+
|
1352 |
+
</div> <!-- popover-holder-wrap -->
|
1353 |
+
|
1354 |
+
</div> <!-- popover-liquid-left -->
|
1355 |
+
|
1356 |
+
</div> <!-- wrap -->
|
1357 |
+
|
1358 |
+
<?php
|
1359 |
+
}
|
1360 |
+
|
1361 |
+
function admin_sidebar($id, $title, $message, $data = false) {
|
1362 |
+
?>
|
1363 |
+
<li class='popover-draggable' id='<?php echo $id; ?>' <?php if ($data === true) echo "style='display:none;'"; ?>>
|
1364 |
+
|
1365 |
+
<div class='action action-draggable'>
|
1366 |
+
<div class='action-top closed'>
|
1367 |
+
<a href="#available-actions" class="action-button hide-if-no-js"></a>
|
1368 |
+
<?php _e($title, 'popover'); ?>
|
1369 |
+
</div>
|
1370 |
+
<div class='action-body closed'>
|
1371 |
+
<?php if (!empty($message)) { ?>
|
1372 |
+
<p>
|
1373 |
+
<?php _e($message, 'popover'); ?>
|
1374 |
+
</p>
|
1375 |
+
<?php } ?>
|
1376 |
+
<p>
|
1377 |
+
<a href='#addtopopover' class='action-to-popover' title='<?php _e('Add this rule to the popover.', 'popover'); ?>'><?php _e('Add this rule to the popover.', 'popover'); ?></a>
|
1378 |
+
</p>
|
1379 |
+
</div>
|
1380 |
+
</div>
|
1381 |
+
|
1382 |
+
</li>
|
1383 |
+
<?php
|
1384 |
+
}
|
1385 |
+
|
1386 |
+
function admin_main($id, $title, $message, $data = false) {
|
1387 |
+
if (!$data)
|
1388 |
+
$data = array();
|
1389 |
+
?>
|
1390 |
+
<div class='popover-operation' id='main-<?php echo $id; ?>'>
|
1391 |
+
<h2 class='sidebar-name'><?php _e($title, 'popover'); ?><span><a href='#remove' class='removelink' id='remove-<?php echo $id; ?>' title='<?php _e("Remove $title tag from this rules area.", 'popover'); ?>'><?php _e('Remove', 'popover'); ?></a></span></h2>
|
1392 |
+
<div class='inner-operation'>
|
1393 |
+
<p><?php _e($message, 'popover'); ?></p>
|
1394 |
+
<input type='hidden' name='popovercheck[<?php echo $id; ?>]' value='yes' />
|
1395 |
+
</div>
|
1396 |
+
</div>
|
1397 |
+
<?php
|
1398 |
+
}
|
1399 |
+
|
1400 |
+
function admin_referer($id, $title, $message, $data = false) {
|
1401 |
+
if (!$data)
|
1402 |
+
$data = ''
|
1403 |
+
?>
|
1404 |
+
<div class='popover-operation' id='main-<?php echo $id; ?>'>
|
1405 |
+
<h2 class='sidebar-name'><?php _e($title, 'popover'); ?><span><a href='#remove' class='removelink' id='remove-<?php echo $id; ?>' title='<?php _e("Remove $title tag from this rules area.", 'popover'); ?>'><?php _e('Remove', 'popover'); ?></a></span></h2>
|
1406 |
+
<div class='inner-operation'>
|
1407 |
+
<p><?php _e($message, 'popover'); ?></p>
|
1408 |
+
<input type='text' name='popoverereg' id='popoverereg' style='width: 10em;' value='<?php echo esc_html($data); ?>' />
|
1409 |
+
<input type='hidden' name='popovercheck[<?php echo $id; ?>]' value='yes' />
|
1410 |
+
</div>
|
1411 |
+
</div>
|
1412 |
+
<?php
|
1413 |
+
}
|
1414 |
+
|
1415 |
+
function admin_viewcount($id, $title, $message, $data = false) {
|
1416 |
+
if (!$data)
|
1417 |
+
$data = '';
|
1418 |
+
?>
|
1419 |
+
<div class='popover-operation' id='main-<?php echo $id; ?>'>
|
1420 |
+
<h2 class='sidebar-name'><?php _e($title, 'popover'); ?><span><a href='#remove' class='removelink' id='remove-<?php echo $id; ?>' title='<?php _e("Remove $title tag from this rules area.", 'popover'); ?>'><?php _e('Remove', 'popover'); ?></a></span></h2>
|
1421 |
+
<div class='inner-operation'>
|
1422 |
+
<p><?php _e($message, 'popover'); ?></p>
|
1423 |
+
<input type='text' name='popovercount' id='popovercount' style='width: 5em;' value='<?php echo esc_html($data); ?>' />
|
1424 |
+
<?php _e('times', 'popover'); ?>
|
1425 |
+
<input type='hidden' name='popovercheck[<?php echo $id; ?>]' value='yes' />
|
1426 |
+
</div>
|
1427 |
+
</div>
|
1428 |
+
<?php
|
1429 |
+
}
|
1430 |
+
|
1431 |
+
function admin_urllist($id, $title, $message, $data = false) {
|
1432 |
+
if (!$data)
|
1433 |
+
$data = array();
|
1434 |
+
|
1435 |
+
$data = implode("\n", $data);
|
1436 |
+
?>
|
1437 |
+
<div class='popover-operation' id='main-<?php echo $id; ?>'>
|
1438 |
+
<h2 class='sidebar-name'><?php _e($title, 'popover'); ?><span><a href='#remove' class='removelink' id='remove-<?php echo $id; ?>' title='<?php _e("Remove $title tag from this rules area.", 'popover'); ?>'><?php _e('Remove', 'popover'); ?></a></span></h2>
|
1439 |
+
<div class='inner-operation'>
|
1440 |
+
<p><?php _e($message, 'popover'); ?></p>
|
1441 |
+
<textarea name='popover<?php echo $id; ?>' id='popover<?php echo $id; ?>' style=''><?php echo esc_html($data); ?></textarea>
|
1442 |
+
<input type='hidden' name='popovercheck[<?php echo $id; ?>]' value='yes' />
|
1443 |
+
</div>
|
1444 |
+
</div>
|
1445 |
+
<?php
|
1446 |
+
}
|
1447 |
+
|
1448 |
+
function admin_countrylist($id, $title, $message, $data = false) {
|
1449 |
+
if (!$data)
|
1450 |
+
$data = '';
|
1451 |
+
?>
|
1452 |
+
<div class='popover-operation' id='main-<?php echo $id; ?>'>
|
1453 |
+
<h2 class='sidebar-name'><?php _e($title, 'popover'); ?><span><a href='#remove' class='removelink' id='remove-<?php echo $id; ?>' title='<?php _e("Remove $title tag from this rules area.", 'popover'); ?>'><?php _e('Remove', 'popover'); ?></a></span></h2>
|
1454 |
+
<div class='inner-operation'>
|
1455 |
+
<p><?php _e($message, 'popover'); ?></p>
|
1456 |
+
<?php $countries = P_CountryList(); ?>
|
1457 |
+
<select name='popover<?php echo $id; ?>' id='popover<?php echo $id; ?>' style=''>
|
1458 |
+
<option value='' <?php selected('', $data); ?>><?php _e('Select a country from the list below', 'popover') ?></option>
|
1459 |
+
<?php
|
1460 |
+
foreach ((array) $countries as $code => $country) {
|
1461 |
+
?>
|
1462 |
+
<option value='<?php echo $code; ?>' <?php selected($code, $data); ?>><?php echo $country; ?></option>
|
1463 |
+
<?php
|
1464 |
+
}
|
1465 |
+
?>
|
1466 |
+
</select>
|
1467 |
+
<input type='hidden' name='popovercheck[<?php echo $id; ?>]' value='yes' />
|
1468 |
+
</div>
|
1469 |
+
</div>
|
1470 |
+
<?php
|
1471 |
+
}
|
1472 |
+
|
1473 |
+
function handle_admin_panelold() {
|
1474 |
+
|
1475 |
+
global $allowedposttags;
|
1476 |
+
|
1477 |
+
if (is_multisite() && defined('PO_GLOBAL')) {
|
1478 |
+
$updateoption = 'update_site_option';
|
1479 |
+
$getoption = 'get_site_option';
|
1480 |
+
} else {
|
1481 |
+
$updateoption = 'update_option';
|
1482 |
+
$getoption = 'get_option';
|
1483 |
+
}
|
1484 |
+
|
1485 |
+
if (isset($_POST['action']) && addslashes($_POST['action']) == 'updatepopover') {
|
1486 |
+
|
1487 |
+
//print_r($_POST);
|
1488 |
+
|
1489 |
+
if (isset($_POST['popovercontent'])) {
|
1490 |
+
if (defined('PO_USEKSES')) {
|
1491 |
+
$updateoption('popover_content', wp_kses($_POST['popovercontent'], $allowedposttags));
|
1492 |
+
} else {
|
1493 |
+
$updateoption('popover_content', $_POST['popovercontent']);
|
1494 |
+
}
|
1495 |
+
}
|
1496 |
+
|
1497 |
+
if (isset($_POST['popoverwidth']) || isset($_POST['popoverheight'])) {
|
1498 |
+
|
1499 |
+
$width = $_POST['popoverwidth'];
|
1500 |
+
$height = $_POST['popoverheight'];
|
1501 |
+
|
1502 |
+
if ($width == '')
|
1503 |
+
$width = '500px';
|
1504 |
+
if ($height == '')
|
1505 |
+
$height = '200px';
|
1506 |
+
|
1507 |
+
$updateoption('popover_size', array("width" => $width, "height" => $height));
|
1508 |
+
}
|
1509 |
+
|
1510 |
+
if (isset($_POST['popoverleft']) || isset($_POST['popovertop'])) {
|
1511 |
+
|
1512 |
+
$left = $_POST['popoverleft'];
|
1513 |
+
$top = $_POST['popovertop'];
|
1514 |
+
|
1515 |
+
if ($left == '')
|
1516 |
+
$left = '100px';
|
1517 |
+
if ($top == '')
|
1518 |
+
$top = '100px';
|
1519 |
+
|
1520 |
+
$updateoption('popover_location', array("left" => $left, "top" => $top));
|
1521 |
+
}
|
1522 |
+
|
1523 |
+
if (isset($_POST['popovermargintop']) || isset($_POST['popovermarginleft']) || isset($_POST['popovermarginright']) || isset($_POST['popovermarginbottom'])) {
|
1524 |
+
|
1525 |
+
$mleft = $_POST['popovermarginleft'];
|
1526 |
+
$mtop = $_POST['popovermargintop'];
|
1527 |
+
$mright = $_POST['popovermarginright'];
|
1528 |
+
$mbottom = $_POST['popovermarginbottom'];
|
1529 |
+
|
1530 |
+
if ($mleft == '')
|
1531 |
+
$mleft = '0px';
|
1532 |
+
if ($mtop == '')
|
1533 |
+
$mtop = '0px';
|
1534 |
+
if ($mright == '')
|
1535 |
+
$mright = '0px';
|
1536 |
+
if ($mbottom == '')
|
1537 |
+
$mbottom = '0px';
|
1538 |
+
|
1539 |
+
$updateoption('popover_margin', array('left' => $mleft, 'top' => $mtop, 'right' => $mright, 'bottom' => $mbottom));
|
1540 |
+
}
|
1541 |
+
|
1542 |
+
if (isset($_POST['popoverbackground']) || isset($_POST['popoverforeground'])) {
|
1543 |
+
|
1544 |
+
$back = $_POST['popoverbackground'];
|
1545 |
+
$fore = $_POST['popoverforeground'];
|
1546 |
+
|
1547 |
+
if ($back == '')
|
1548 |
+
$back = 'FFFFFF';
|
1549 |
+
if ($fore == '')
|
1550 |
+
$fore = '000000';
|
1551 |
+
|
1552 |
+
$updateoption('popover_colour', array("back" => $back, "fore" => $fore));
|
1553 |
+
}
|
1554 |
+
|
1555 |
+
if (isset($_POST['popovercheck'])) {
|
1556 |
+
|
1557 |
+
$updateoption('popover_check', $_POST['popovercheck']);
|
1558 |
+
|
1559 |
+
if (isset($_POST['popoverereg'])) {
|
1560 |
+
$updateoption('popover_ereg', $_POST['popoverereg']);
|
1561 |
+
}
|
1562 |
+
|
1563 |
+
if (isset($_POST['popovercount'])) {
|
1564 |
+
$updateoption('popover_count', intval($_POST['popovercount']));
|
1565 |
+
}
|
1566 |
+
}
|
1567 |
+
|
1568 |
+
if (isset($_POST['popoverusejs'])) {
|
1569 |
+
$updateoption('popover_usejs', 'yes');
|
1570 |
+
} else {
|
1571 |
+
$updateoption('popover_usejs', 'no');
|
1572 |
+
}
|
1573 |
+
|
1574 |
+
echo '<div id="message" class="updated fade"><p>' . __('Your settings have been saved.', 'popover') . '</p></div>';
|
1575 |
+
}
|
1576 |
+
|
1577 |
+
$popover_content = stripslashes($getoption('popover_content', ''));
|
1578 |
+
$popover_size = $getoption('popover_size', array('width' => '500px', 'height' => '200px'));
|
1579 |
+
$popover_location = $getoption('popover_location', array('left' => '100px', 'top' => '100px'));
|
1580 |
+
$popover_colour = $getoption('popover_colour', array('back' => 'FFFFFF', 'fore' => '000000'));
|
1581 |
+
$popover_margin = $getoption('popover_margin', array('left' => '0px', 'top' => '0px', 'right' => '0px', 'bottom' => '0px'));
|
1582 |
+
|
1583 |
+
$popover_size = $this->sanitise_array($popover_size);
|
1584 |
+
$popover_location = $this->sanitise_array($popover_location);
|
1585 |
+
$popover_colour = $this->sanitise_array($popover_colour);
|
1586 |
+
$popover_margin = $this->sanitise_array($popover_margin);
|
1587 |
+
|
1588 |
+
$popover_check = $getoption('popover_check', array());
|
1589 |
+
$popover_ereg = $getoption('popover_ereg', '');
|
1590 |
+
$popover_count = $getoption('popover_count', '3');
|
1591 |
+
|
1592 |
+
$popover_usejs = $getoption('popover_usejs', 'no');
|
1593 |
+
?>
|
1594 |
+
|
1595 |
+
<div class='wrap'>
|
1596 |
+
|
1597 |
+
<form action='' method='post'>
|
1598 |
+
<input type='hidden' name='action' value='updatepopover' />
|
1599 |
+
<?php wp_nonce_field('updatepopover'); ?>
|
1600 |
+
|
1601 |
+
<h2><?php _e('Pop Over content settings', 'popover'); ?></h2>
|
1602 |
+
<p><?php _e('Use the settings below to modify the content of your pop over and the rules that will determine when, or if, it will be displayed.', 'popover'); ?></p>
|
1603 |
+
|
1604 |
+
<h3><?php _e('Pop Over content', 'popover'); ?></h3>
|
1605 |
+
<p><?php _e('Enter the content for your pop over in the text area below. HTML is allowed.', 'popover'); ?></p>
|
1606 |
+
<textarea name='popovercontent' id='popovercontent' style='width: 90%' rows='10' cols='10'><?php echo stripslashes($popover_content); ?></textarea>
|
1607 |
+
|
1608 |
+
<p class="submit">
|
1609 |
+
<input class="button" type="submit" name="go" value="<?php _e('Update content', 'popover'); ?>" />
|
1610 |
+
</p>
|
1611 |
+
|
1612 |
+
<h3><?php _e('Pop Over display settings', 'popover'); ?></h3>
|
1613 |
+
<p><?php _e('Use the options below to determine the look, and display settings for the Pop Over.', 'popover'); ?></p>
|
1614 |
+
|
1615 |
+
<table class='form-table'>
|
1616 |
+
|
1617 |
+
<tr>
|
1618 |
+
<td valign='top' width='49%'>
|
1619 |
+
<h3><?php _e('Appearance Settings', 'popover'); ?></h3>
|
1620 |
+
|
1621 |
+
<table class='form-table' style='border: 1px solid #ccc; padding-top: 10px; padding-bottom: 10px; margin-bottom: 10px;'>
|
1622 |
+
<tr>
|
1623 |
+
<th valign='top' scope='row' style='width: 25%;'><?php _e('Pop Over Size', 'popover'); ?></th>
|
1624 |
+
<td valign='top'>
|
1625 |
+
<?php _e('Width:', 'popover'); ?>
|
1626 |
+
<input type='text' name='popoverwidth' id='popoverwidth' style='width: 5em;' value='<?php echo $popover_size['width']; ?>' />
|
1627 |
+
<?php _e('Height:', 'popover'); ?>
|
1628 |
+
<input type='text' name='popoverheight' id='popoverheight' style='width: 5em;' value='<?php echo $popover_size['height']; ?>' />
|
1629 |
+
</td>
|
1630 |
+
</tr>
|
1631 |
+
|
1632 |
+
<tr>
|
1633 |
+
<th valign='top' scope='row' style='width: 25%;'><?php _e('Pop Over Position', 'popover'); ?></th>
|
1634 |
+
<td valign='top'>
|
1635 |
+
<?php _e('Left:', 'popover'); ?>
|
1636 |
+
<input type='text' name='popoverleft' id='popoverleft' style='width: 5em;' value='<?php echo $popover_location['left']; ?>' />
|
1637 |
+
<?php _e('Top:', 'popover'); ?>
|
1638 |
+
<input type='text' name='popovertop' id='popovertop' style='width: 5em;' value='<?php echo $popover_location['top']; ?>' />
|
1639 |
+
</td>
|
1640 |
+
</tr>
|
1641 |
+
|
1642 |
+
<tr>
|
1643 |
+
<th valign='top' scope='row' style='width: 25%;'><?php _e('Pop Over Margins', 'popover'); ?></th>
|
1644 |
+
<td valign='top'>
|
1645 |
+
<?php _e('Left:', 'popover'); ?>
|
1646 |
+
<input type='text' name='popovermarginleft' style='width: 5em;' value='<?php echo $popover_margin['left']; ?>' />
|
1647 |
+
<?php _e('Right:', 'popover'); ?>
|
1648 |
+
<input type='text' name='popovermarginright' style='width: 5em;' value='<?php echo $popover_margin['right']; ?>' /><br/>
|
1649 |
+
<?php _e('Top:', 'popover'); ?>
|
1650 |
+
<input type='text' name='popovermargintop' style='width: 5em;' value='<?php echo $popover_margin['top']; ?>' />
|
1651 |
+
<?php _e('Bottom:', 'popover'); ?>
|
1652 |
+
<input type='text' name='popovermarginbottom' style='width: 5em;' value='<?php echo $popover_margin['bottom']; ?>' />
|
1653 |
+
</td>
|
1654 |
+
</tr>
|
1655 |
+
|
1656 |
+
<tr>
|
1657 |
+
<th valign='top' scope='row' style='width: 25%;'> </th>
|
1658 |
+
<td valign='top'>
|
1659 |
+
<?php _e('or just override the above with JS', 'popover'); ?> <input type='checkbox' name='popoverusejs' id='popoverusejs' value='yes' <?php if ($popover_usejs == 'yes') echo "checked='checked'"; ?> />
|
1660 |
+
</td>
|
1661 |
+
</tr>
|
1662 |
+
|
1663 |
+
</table>
|
1664 |
+
<table class='form-table'>
|
1665 |
+
|
1666 |
+
|
1667 |
+
|
1668 |
+
<tr>
|
1669 |
+
<th valign='top' scope='row' style='width: 25%;'><?php _e('Background Colour', 'popover'); ?></th>
|
1670 |
+
<td valign='top'>
|
1671 |
+
<?php _e('Hex:', 'popover'); ?> #
|
1672 |
+
<input type='text' name='popoverbackground' id='popoverbackground' style='width: 10em;' value='<?php echo $popover_colour['back']; ?>' />
|
1673 |
+
</td>
|
1674 |
+
</tr>
|
1675 |
+
|
1676 |
+
<tr>
|
1677 |
+
<th valign='top' scope='row' style='width: 25%;'><?php _e('Font Colour', 'popover'); ?></th>
|
1678 |
+
<td valign='top'>
|
1679 |
+
<?php _e('Hex:', 'popover'); ?> #
|
1680 |
+
<input type='text' name='popoverforeground' id='popoverforeground' style='width: 10em;' value='<?php echo $popover_colour['fore']; ?>' />
|
1681 |
+
</td>
|
1682 |
+
</tr>
|
1683 |
+
|
1684 |
+
</table>
|
1685 |
+
|
1686 |
+
</td>
|
1687 |
+
|
1688 |
+
<td valign='top' width='49%'>
|
1689 |
+
<h3><?php _e('Display Rules', 'popover'); ?></h3>
|
1690 |
+
|
1691 |
+
<p><?php _e('Show the Pop Over if <strong>one</strong> of the following checked rules is true.', 'popover'); ?></p>
|
1692 |
+
<input type='hidden' name='popovercheck[none]' value='none' />
|
1693 |
+
<table class='form-table'>
|
1694 |
+
<?php
|
1695 |
+
if (function_exists('is_supporter')) {
|
1696 |
+
?>
|
1697 |
+
<tr>
|
1698 |
+
<td valign='middle' style='width: 5%;'>
|
1699 |
+
<input type='checkbox' name='popovercheck[notsupporter]' <?php if (isset($popover_check['notsupporter'])) echo "checked='checked'"; ?> />
|
1700 |
+
</td>
|
1701 |
+
<th valign='bottom' scope='row'><?php _e('Visitor is not a supporter.', 'popover'); ?></th>
|
1702 |
+
</tr>
|
1703 |
+
<?php
|
1704 |
+
}
|
1705 |
+
?>
|
1706 |
+
<tr>
|
1707 |
+
<td valign='middle' style='width: 5%;'>
|
1708 |
+
<input type='checkbox' name='popovercheck[isloggedin]' <?php if (isset($popover_check['isloggedin'])) echo "checked='checked'"; ?> />
|
1709 |
+
</td>
|
1710 |
+
<th valign='bottom' scope='row'><?php _e('Visitor is logged in.', 'popover'); ?></th>
|
1711 |
+
</tr>
|
1712 |
+
<tr>
|
1713 |
+
<td valign='middle' style='width: 5%;'>
|
1714 |
+
<input type='checkbox' name='popovercheck[loggedin]' <?php if (isset($popover_check['loggedin'])) echo "checked='checked'"; ?> />
|
1715 |
+
</td>
|
1716 |
+
<th valign='bottom' scope='row'><?php _e('Visitor is not logged in.', 'popover'); ?></th>
|
1717 |
+
</tr>
|
1718 |
+
<tr>
|
1719 |
+
<td valign='middle' style='width: 5%;'>
|
1720 |
+
<input type='checkbox' name='popovercheck[commented]' <?php if (isset($popover_check['commented'])) echo "checked='checked'"; ?> />
|
1721 |
+
</td>
|
1722 |
+
<th valign='bottom' scope='row'><?php _e('Visitor has never commented here before.', 'popover'); ?></th>
|
1723 |
+
</tr>
|
1724 |
+
<tr>
|
1725 |
+
<td valign='middle' style='width: 5%;'>
|
1726 |
+
<input type='checkbox' name='popovercheck[searchengine]' <?php if (isset($popover_check['searchengine'])) echo "checked='checked'"; ?> />
|
1727 |
+
</td>
|
1728 |
+
<th valign='bottom' scope='row'><?php _e('Visitor came from a search engine.', 'popover'); ?></th>
|
1729 |
+
</tr>
|
1730 |
+
<tr>
|
1731 |
+
<td valign='middle' style='width: 5%;'>
|
1732 |
+
<input type='checkbox' name='popovercheck[internal]' <?php if (isset($popover_check['internal'])) echo "checked='checked'"; ?> />
|
1733 |
+
</td>
|
1734 |
+
<th valign='bottom' scope='row'><?php _e('Visitor did not come from an internal page.', 'popover'); ?></th>
|
1735 |
+
</tr>
|
1736 |
+
<tr>
|
1737 |
+
<td valign='middle' style='width: 5%;'>
|
1738 |
+
<input type='checkbox' name='popovercheck[referrer]' <?php if (isset($popover_check['referrer'])) echo "checked='checked'"; ?> />
|
1739 |
+
</td>
|
1740 |
+
<th valign='bottom' scope='row'><?php _e('Visitor referrer matches', 'popover'); ?>
|
1741 |
+
<input type='text' name='popoverereg' id='popoverereg' style='width: 10em;' value='<?php echo htmlentities($popover_ereg, ENT_QUOTES, 'UTF-8'); ?>' />
|
1742 |
+
</th>
|
1743 |
+
</tr>
|
1744 |
+
|
1745 |
+
</table>
|
1746 |
+
|
1747 |
+
<p><?php _e('And the visitor has seen the pop over less than', 'popover'); ?>
|
1748 |
+
<input type='text' name='popovercount' id='popovercount' style='width: 2em;' value='<?php echo htmlentities($popover_count, ENT_QUOTES, 'UTF-8'); ?>' />
|
1749 |
+
<?php _e('times', 'popover'); ?></p>
|
1750 |
+
|
1751 |
+
</td>
|
1752 |
+
</tr>
|
1753 |
+
|
1754 |
+
</table>
|
1755 |
+
|
1756 |
+
<p class="submit">
|
1757 |
+
<input class="button" type="submit" name="goagain" value="<?php _e('Update settings', 'popover'); ?>" />
|
1758 |
+
</p>
|
1759 |
+
|
1760 |
+
</form>
|
1761 |
+
|
1762 |
+
</div>
|
1763 |
+
|
1764 |
+
<?php
|
1765 |
+
}
|
1766 |
+
|
1767 |
+
function handle_addons_panel_updates() {
|
1768 |
+
global $action, $page;
|
1769 |
+
|
1770 |
+
wp_reset_vars(array('action', 'page'));
|
1771 |
+
|
1772 |
+
if (isset($_GET['doaction']) || isset($_GET['doaction2'])) {
|
1773 |
+
if (addslashes($_GET['action']) == 'toggle' || addslashes($_GET['action2']) == 'toggle') {
|
1774 |
+
$action = 'bulk-toggle';
|
1775 |
+
}
|
1776 |
+
}
|
1777 |
+
|
1778 |
+
$active = get_option('popover_activated_addons', array());
|
1779 |
+
|
1780 |
+
switch (addslashes($action)) {
|
1781 |
+
|
1782 |
+
case 'deactivate': $key = addslashes($_GET['addon']);
|
1783 |
+
if (!empty($key)) {
|
1784 |
+
check_admin_referer('toggle-addon-' . $key);
|
1785 |
+
|
1786 |
+
$found = array_search($key, $active);
|
1787 |
+
if ($found !== false) {
|
1788 |
+
unset($active[$found]);
|
1789 |
+
update_option('popover_activated_addons', array_unique($active));
|
1790 |
+
wp_safe_redirect(add_query_arg('msg', 5, wp_get_referer()));
|
1791 |
+
} else {
|
1792 |
+
wp_safe_redirect(add_query_arg('msg', 6, wp_get_referer()));
|
1793 |
+
}
|
1794 |
+
}
|
1795 |
+
break;
|
1796 |
+
|
1797 |
+
case 'activate': $key = addslashes($_GET['addon']);
|
1798 |
+
if (!empty($key)) {
|
1799 |
+
check_admin_referer('toggle-addon-' . $key);
|
1800 |
+
|
1801 |
+
if (!in_array($key, $active)) {
|
1802 |
+
$active[] = $key;
|
1803 |
+
update_option('popover_activated_addons', array_unique($active));
|
1804 |
+
wp_safe_redirect(add_query_arg('msg', 3, wp_get_referer()));
|
1805 |
+
} else {
|
1806 |
+
wp_safe_redirect(add_query_arg('msg', 4, wp_get_referer()));
|
1807 |
+
}
|
1808 |
+
}
|
1809 |
+
break;
|
1810 |
+
|
1811 |
+
case 'bulk-toggle':
|
1812 |
+
check_admin_referer('bulk-addons');
|
1813 |
+
foreach ($_GET['addoncheck'] AS $key) {
|
1814 |
+
$found = array_search($key, $active);
|
1815 |
+
if ($found !== false) {
|
1816 |
+
unset($active[$found]);
|
1817 |
+
} else {
|
1818 |
+
$active[] = $key;
|
1819 |
+
}
|
1820 |
+
}
|
1821 |
+
update_option('popover_activated_addons', array_unique($active));
|
1822 |
+
wp_safe_redirect(add_query_arg('msg', 7, wp_get_referer()));
|
1823 |
+
break;
|
1824 |
+
}
|
1825 |
+
}
|
1826 |
+
|
1827 |
+
function handle_addons_panel() {
|
1828 |
+
global $action, $page;
|
1829 |
+
|
1830 |
+
wp_reset_vars(array('action', 'page'));
|
1831 |
+
|
1832 |
+
$messages = array();
|
1833 |
+
$messages[1] = __('Add-on updated.', 'popover');
|
1834 |
+
$messages[2] = __('Add-on not updated.', 'popover');
|
1835 |
+
|
1836 |
+
$messages[3] = __('Add-on activated.', 'popover');
|
1837 |
+
$messages[4] = __('Add-on not activated.', 'popover');
|
1838 |
+
|
1839 |
+
$messages[5] = __('Add-on deactivated.', 'popover');
|
1840 |
+
$messages[6] = __('Add-on not deactivated.', 'popover');
|
1841 |
+
|
1842 |
+
$messages[7] = __('Add-on activation toggled.', 'popover');
|
1843 |
+
?>
|
1844 |
+
<div class='wrap'>
|
1845 |
+
<div class="icon32" id="icon-plugins"><br></div>
|
1846 |
+
<h2><?php _e('Edit Add-ons', 'popover'); ?></h2>
|
1847 |
+
|
1848 |
+
<?php
|
1849 |
+
if (isset($_GET['msg'])) {
|
1850 |
+
echo '<div id="message" class="updated fade"><p>' . $messages[(int) $_GET['msg']] . '</p></div>';
|
1851 |
+
$_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']);
|
1852 |
+
}
|
1853 |
+
?>
|
1854 |
+
|
1855 |
+
<form method="get" action="?page=<?php echo esc_attr($page); ?>" id="posts-filter">
|
1856 |
+
|
1857 |
+
<input type='hidden' name='page' value='<?php echo esc_attr($page); ?>' />
|
1858 |
+
|
1859 |
+
<div class="tablenav">
|
1860 |
+
|
1861 |
+
<div class="alignleft actions">
|
1862 |
+
<select name="action">
|
1863 |
+
<option selected="selected" value=""><?php _e('Bulk Actions', 'popover'); ?></option>
|
1864 |
+
<option value="toggle"><?php _e('Toggle activation', 'popover'); ?></option>
|
1865 |
+
</select>
|
1866 |
+
<input type="submit" class="button-secondary action" id="doaction" name="doaction" value="<?php _e('Apply', 'popover'); ?>">
|
1867 |
+
|
1868 |
+
</div>
|
1869 |
+
|
1870 |
+
<div class="alignright actions"></div>
|
1871 |
+
|
1872 |
+
<br class="clear">
|
1873 |
+
</div>
|
1874 |
+
|
1875 |
+
<div class="clear"></div>
|
1876 |
+
|
1877 |
+
<?php
|
1878 |
+
wp_original_referer_field(true, 'previous');
|
1879 |
+
wp_nonce_field('bulk-addons');
|
1880 |
+
|
1881 |
+
$columns = array("name" => __('Add-on Name', 'popover'),
|
1882 |
+
"file" => __('Add-on File', 'popover'),
|
1883 |
+
"active" => __('Active', 'popover')
|
1884 |
+
);
|
1885 |
+
|
1886 |
+
$columns = apply_filters('popover_addoncolumns', $columns);
|
1887 |
+
|
1888 |
+
$addons = get_popover_addons();
|
1889 |
+
|
1890 |
+
$active = get_option('popover_activated_addons', array());
|
1891 |
+
?>
|
1892 |
+
|
1893 |
+
<table cellspacing="0" class="widefat fixed">
|
1894 |
+
<thead>
|
1895 |
+
<tr>
|
1896 |
+
<th style="" class="manage-column column-cb check-column" id="cb" scope="col"><input type="checkbox"></th>
|
1897 |
+
<?php
|
1898 |
+
foreach ($columns as $key => $col) {
|
1899 |
+
?>
|
1900 |
+
<th style="" class="manage-column column-<?php echo $key; ?>" id="<?php echo $key; ?>" scope="col"><?php echo $col; ?></th>
|
1901 |
+
<?php
|
1902 |
+
}
|
1903 |
+
?>
|
1904 |
+
</tr>
|
1905 |
+
</thead>
|
1906 |
+
|
1907 |
+
<tfoot>
|
1908 |
+
<tr>
|
1909 |
+
<th style="" class="manage-column column-cb check-column" scope="col"><input type="checkbox"></th>
|
1910 |
+
<?php
|
1911 |
+
reset($columns);
|
1912 |
+
foreach ($columns as $key => $col) {
|
1913 |
+
?>
|
1914 |
+
<th style="" class="manage-column column-<?php echo $key; ?>" id="<?php echo $key; ?>" scope="col"><?php echo $col; ?></th>
|
1915 |
+
<?php
|
1916 |
+
}
|
1917 |
+
?>
|
1918 |
+
</tr>
|
1919 |
+
</tfoot>
|
1920 |
+
|
1921 |
+
<tbody>
|
1922 |
+
<?php
|
1923 |
+
if ($addons) {
|
1924 |
+
foreach ($addons as $key => $addon) {
|
1925 |
+
$default_headers = array(
|
1926 |
+
'Name' => 'Addon Name',
|
1927 |
+
'Author' => 'Author',
|
1928 |
+
'Description' => 'Description',
|
1929 |
+
'AuthorURI' => 'Author URI'
|
1930 |
+
);
|
1931 |
+
|
1932 |
+
$addon_data = get_file_data(popover_dir('popoverincludes/addons/' . $addon), $default_headers, 'plugin');
|
1933 |
+
|
1934 |
+
if (empty($addon_data['Name'])) {
|
1935 |
+
continue;
|
1936 |
+
}
|
1937 |
+
?>
|
1938 |
+
<tr valign="middle" class="alternate" id="addon-<?php echo $addon; ?>">
|
1939 |
+
<th class="check-column" scope="row"><input type="checkbox" value="<?php echo esc_attr($addon); ?>" name="addoncheck[]"></th>
|
1940 |
+
<td class="column-name">
|
1941 |
+
<strong><?php echo esc_html($addon_data['Name']) . "</strong>" . __(' by ', 'popover') . "<a href='" . esc_attr($addon_data['AuthorURI']) . "'>" . esc_html($addon_data['Author']) . "</a>"; ?>
|
1942 |
+
<?php if (!empty($addon_data['Description'])) {
|
1943 |
+
?><br/><?php
|
1944 |
+
echo esc_html($addon_data['Description']);
|
1945 |
+
}
|
1946 |
+
|
1947 |
+
$actions = array();
|
1948 |
+
|
1949 |
+
if (in_array($addon, $active)) {
|
1950 |
+
$actions['toggle'] = "<span class='edit activate'><a href='" . wp_nonce_url("?page=" . $page . "&action=deactivate&addon=" . $addon . "", 'toggle-addon-' . $addon) . "'>" . __('Deactivate', 'popover') . "</a></span>";
|
1951 |
+
} else {
|
1952 |
+
$actions['toggle'] = "<span class='edit deactivate'><a href='" . wp_nonce_url("?page=" . $page . "&action=activate&addon=" . $addon . "", 'toggle-addon-' . $addon) . "'>" . __('Activate', 'popover') . "</a></span>";
|
1953 |
+
}
|
1954 |
+
?>
|
1955 |
+
<br><div class="row-actions"><?php echo implode(" | ", $actions); ?></div>
|
1956 |
+
</td>
|
1957 |
+
|
1958 |
+
<td class="column-name">
|
1959 |
+
<?php echo esc_html($addon); ?>
|
1960 |
+
</td>
|
1961 |
+
<td class="column-active">
|
1962 |
+
<?php
|
1963 |
+
if (in_array($addon, $active)) {
|
1964 |
+
echo "<strong>" . __('Active', 'popover') . "</strong>";
|
1965 |
+
} else {
|
1966 |
+
echo __('Inactive', 'popover');
|
1967 |
+
}
|
1968 |
+
?>
|
1969 |
+
</td>
|
1970 |
+
</tr>
|
1971 |
+
<?php
|
1972 |
+
}
|
1973 |
+
} else {
|
1974 |
+
$columncount = count($columns) + 1;
|
1975 |
+
?>
|
1976 |
+
<tr valign="middle" class="alternate" >
|
1977 |
+
<td colspan="<?php echo $columncount; ?>" scope="row"><?php _e('No Add-ons where found for this install.', 'popover'); ?></td>
|
1978 |
+
</tr>
|
1979 |
+
<?php
|
1980 |
+
}
|
1981 |
+
?>
|
1982 |
+
|
1983 |
+
</tbody>
|
1984 |
+
</table>
|
1985 |
+
|
1986 |
+
|
1987 |
+
<div class="tablenav">
|
1988 |
+
|
1989 |
+
<div class="alignleft actions">
|
1990 |
+
<select name="action2">
|
1991 |
+
<option selected="selected" value=""><?php _e('Bulk Actions', 'popover'); ?></option>
|
1992 |
+
<option value="toggle"><?php _e('Toggle activation', 'popover'); ?></option>
|
1993 |
+
</select>
|
1994 |
+
<input type="submit" class="button-secondary action" id="doaction2" name="doaction2" value="<?php _e('Apply', 'popover'); ?>">
|
1995 |
+
</div>
|
1996 |
+
<div class="alignright actions"></div>
|
1997 |
+
<br class="clear">
|
1998 |
+
</div>
|
1999 |
+
|
2000 |
+
</form>
|
2001 |
+
|
2002 |
+
</div> <!-- wrap -->
|
2003 |
+
<?php
|
2004 |
+
}
|
2005 |
+
|
2006 |
+
function handle_settings_page() {
|
2007 |
+
|
2008 |
+
global $action, $page;
|
2009 |
+
|
2010 |
+
$messages = array();
|
2011 |
+
$messages[1] = __('Your settings have been updated.', 'popover');
|
2012 |
+
?>
|
2013 |
+
<div class='wrap nosubsub'>
|
2014 |
+
|
2015 |
+
<div class="icon32" id="icon-options-general"><br></div>
|
2016 |
+
<h2><?php _e('Pop Over Settings', 'popover'); ?></h2>
|
2017 |
+
|
2018 |
+
<?php
|
2019 |
+
if (isset($_GET['msg'])) {
|
2020 |
+
echo '<div id="message" class="updated fade"><p>' . $messages[(int) $_GET['msg']] . '</p></div>';
|
2021 |
+
$_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']);
|
2022 |
+
}
|
2023 |
+
?>
|
2024 |
+
<div id="poststuff" class="metabox-holder m-settings">
|
2025 |
+
<form action='?page=<?php echo $page; ?>' method='post'>
|
2026 |
+
|
2027 |
+
<input type='hidden' name='page' value='<?php echo $page; ?>' />
|
2028 |
+
<input type='hidden' name='action' value='updatesettings' />
|
2029 |
+
|
2030 |
+
<?php
|
2031 |
+
wp_nonce_field('update-popover-settings');
|
2032 |
+
?>
|
2033 |
+
|
2034 |
+
<div class="postbox">
|
2035 |
+
<h3 class="hndle" style='cursor:auto;'><span><?php _e('Pop Over loading method', 'popover'); ?></span></h3>
|
2036 |
+
<div class="inside">
|
2037 |
+
<p><?php _e('Select the loading method you want to use for your Pop Overs.', 'popover'); ?></p>
|
2038 |
+
<ul>
|
2039 |
+
<li><em><?php _e('- Page Footer : The pop over is included as part of the page html.', 'popover'); ?></em></li>
|
2040 |
+
<li><em><?php _e('- External Load : The pop over is loaded separately from the page, this is the best option if you are running a caching system.', 'popover'); ?></em></li>
|
2041 |
+
<li><em><?php _e('- Custom Load : The pop over is loaded separately from the page via a custom front end ajax call.', 'popover'); ?></em></li>
|
2042 |
+
</ul>
|
2043 |
+
|
2044 |
+
<table class="form-table">
|
2045 |
+
<tbody>
|
2046 |
+
<tr valign="top">
|
2047 |
+
<th scope="row"><?php _e('Pop Over loaded using', 'popover'); ?></th>
|
2048 |
+
<td>
|
2049 |
+
<?php
|
2050 |
+
$settings = get_popover_option('popover-settings', array('loadingmethod' => 'frontloading'));
|
2051 |
+
?>
|
2052 |
+
<select name='loadingmethod' id='loadingmethod'>
|
2053 |
+
<option value="footer" <?php if ($settings['loadingmethod'] == 'footer') echo "selected='selected'"; ?>><?php _e('Page Footer', 'popover'); ?></option>
|
2054 |
+
<option value="external" <?php if ($settings['loadingmethod'] == 'external') echo "selected='selected'"; ?>><?php _e('External Load', 'popover'); ?></option>
|
2055 |
+
<option value="frontloading" <?php if ($settings['loadingmethod'] == 'frontloading') echo "selected='selected'"; ?>><?php _e('Custom Load', 'popover'); ?></option>
|
2056 |
+
</select>
|
2057 |
+
</td>
|
2058 |
+
</tr>
|
2059 |
+
</tbody>
|
2060 |
+
</table>
|
2061 |
+
</div>
|
2062 |
+
</div>
|
2063 |
+
|
2064 |
+
<p class="submit">
|
2065 |
+
<input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes', 'popover') ?>" />
|
2066 |
+
</p>
|
2067 |
+
|
2068 |
+
</form>
|
2069 |
+
</div>
|
2070 |
+
</div> <!-- wrap -->
|
2071 |
+
<?php
|
2072 |
+
}
|
2073 |
+
|
2074 |
+
function update_settings_page() {
|
2075 |
+
|
2076 |
+
if (isset($_POST['action']) && $_POST['action'] == 'updatesettings') {
|
2077 |
+
|
2078 |
+
check_admin_referer('update-popover-settings');
|
2079 |
+
|
2080 |
+
update_popover_option('popover-settings', $_POST);
|
2081 |
+
|
2082 |
+
wp_safe_redirect(add_query_arg('msg', 1, wp_get_referer()));
|
2083 |
+
}
|
2084 |
+
}
|
2085 |
+
|
2086 |
+
}
|
2087 |
|
2088 |
}
|
|
|
2089 |
?>
|
popoverincludes/classes/popoverajax.php
CHANGED
@@ -51,6 +51,10 @@ if(!class_exists('popoverajax')) {
|
|
51 |
add_action( 'wp_ajax_nopriv_popover_selective_ajax', array(&$this,'ajax_selective_message_display') );
|
52 |
break;
|
53 |
|
|
|
|
|
|
|
|
|
54 |
}
|
55 |
|
56 |
}
|
@@ -198,6 +202,19 @@ if(!class_exists('popoverajax')) {
|
|
198 |
}
|
199 |
break;
|
200 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
default: if(has_filter('popover_process_rule_' . $key)) {
|
202 |
if(!apply_filters( 'popover_process_rule_' . $key, false )) {
|
203 |
$show = false;
|
@@ -449,6 +466,69 @@ if(!class_exists('popoverajax')) {
|
|
449 |
|
450 |
}
|
451 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
452 |
function insertonduplicate($table, $data) {
|
453 |
|
454 |
global $wpdb;
|
51 |
add_action( 'wp_ajax_nopriv_popover_selective_ajax', array(&$this,'ajax_selective_message_display') );
|
52 |
break;
|
53 |
|
54 |
+
case 'frontloading': if( isset( $_GET['popoverajaxaction']) && $_GET['popoverajaxaction'] == 'popover_selective_ajax' ) {
|
55 |
+
$this->ajax_selective_message_display();
|
56 |
+
}
|
57 |
+
break;
|
58 |
}
|
59 |
|
60 |
}
|
202 |
}
|
203 |
break;
|
204 |
|
205 |
+
case 'incountry': $incountry = $this->incountry( $popover_incountry );
|
206 |
+
if(!$incountry || $incountry === 'XX') {
|
207 |
+
$show = false;
|
208 |
+
}
|
209 |
+
break;
|
210 |
+
|
211 |
+
case 'notincountry':
|
212 |
+
$incountry = $this->incountry( $popover_notincountry );
|
213 |
+
if($incountry || $incountry === 'XX') {
|
214 |
+
$show = false;
|
215 |
+
}
|
216 |
+
break;
|
217 |
+
|
218 |
default: if(has_filter('popover_process_rule_' . $key)) {
|
219 |
if(!apply_filters( 'popover_process_rule_' . $key, false )) {
|
220 |
$show = false;
|
466 |
|
467 |
}
|
468 |
|
469 |
+
function incountry( $countrycode ) {
|
470 |
+
// Grab the users IP address
|
471 |
+
$ip = $_SERVER["REMOTE_ADDR"];
|
472 |
+
|
473 |
+
if( has_filter('popover_pre_incountry') ) {
|
474 |
+
// We have an override for the ipcountry in place so ignore the rest
|
475 |
+
return apply_filters('popover_pre_incountry', false, $ip, $countrycode );
|
476 |
+
}
|
477 |
+
|
478 |
+
$country = $this->get_country_from_cache( $ip );
|
479 |
+
|
480 |
+
if(empty($country)) {
|
481 |
+
// No country to get from API
|
482 |
+
$country = $this->get_country_from_api( $ip );
|
483 |
+
|
484 |
+
if($country !== false) {
|
485 |
+
$this->put_country_in_cache( $ip, $country );
|
486 |
+
} else {
|
487 |
+
$country = 'XX';
|
488 |
+
}
|
489 |
+
}
|
490 |
+
|
491 |
+
if($country == $countrycode) {
|
492 |
+
return true;
|
493 |
+
} else {
|
494 |
+
return false;
|
495 |
+
}
|
496 |
+
|
497 |
+
}
|
498 |
+
|
499 |
+
function get_country_from_cache( $ip ) {
|
500 |
+
|
501 |
+
$country = $this->db->get_var( $this->db->prepare( "SELECT country FROM {$this->popover_ip_cache} WHERE IP = %s", $ip ) );
|
502 |
+
|
503 |
+
return $country;
|
504 |
+
|
505 |
+
}
|
506 |
+
|
507 |
+
function put_country_in_cache( $ip, $country ) {
|
508 |
+
|
509 |
+
return $this->insertonduplicate( $this->popover_ip_cache, array( 'IP' => $ip, 'country' => $country, 'cached' => time() ) );
|
510 |
+
|
511 |
+
}
|
512 |
+
|
513 |
+
function get_country_from_api( $ip ) {
|
514 |
+
|
515 |
+
$url = str_replace('%ip%', $ip, PO_REMOTE_IP_URL);
|
516 |
+
|
517 |
+
$response = wp_remote_get( $url );
|
518 |
+
|
519 |
+
if(!is_wp_error($response) && $response['response']['code'] == '200' && $response['body'] != 'XX') {
|
520 |
+
// cache the response for future use
|
521 |
+
$country = trim($response['body']);
|
522 |
+
} else {
|
523 |
+
if(PO_DEFAULT_COUNTRY !== false) {
|
524 |
+
return PO_DEFAULT_COUNTRY;
|
525 |
+
} else {
|
526 |
+
return false;
|
527 |
+
}
|
528 |
+
}
|
529 |
+
|
530 |
+
}
|
531 |
+
|
532 |
function insertonduplicate($table, $data) {
|
533 |
|
534 |
global $wpdb;
|
popoverincludes/classes/popoverpublic.php
CHANGED
@@ -1,57 +1,62 @@
|
|
1 |
<?php
|
|
|
2 |
|
3 |
-
|
4 |
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
-
|
8 |
-
var $build = 5;
|
9 |
-
var $db;
|
10 |
|
11 |
-
|
12 |
-
var $popover;
|
13 |
-
var $popover_ip_cache;
|
14 |
|
15 |
-
|
16 |
|
17 |
-
|
|
|
|
|
18 |
|
19 |
-
|
|
|
20 |
|
21 |
-
|
22 |
|
23 |
-
|
|
|
24 |
|
25 |
-
|
26 |
-
$this->$table = popover_db_prefix($this->db, $table);
|
27 |
-
}
|
28 |
|
29 |
-
|
30 |
-
|
31 |
|
32 |
-
|
|
|
|
|
33 |
|
34 |
-
|
35 |
-
|
|
|
36 |
|
37 |
-
|
38 |
|
39 |
-
|
40 |
-
$this->install();
|
41 |
|
42 |
-
|
43 |
-
|
|
|
44 |
|
45 |
-
|
|
|
|
|
46 |
|
47 |
-
|
48 |
-
|
49 |
-
}
|
50 |
-
|
51 |
-
function install() {
|
52 |
-
|
53 |
-
if($this->db->get_var( "SHOW TABLES LIKE '" . $this->popover . "' ") != $this->popover) {
|
54 |
-
$sql = "CREATE TABLE `" . $this->popover . "` (
|
55 |
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
56 |
`popover_title` varchar(250) DEFAULT NULL,
|
57 |
`popover_content` text,
|
@@ -59,148 +64,146 @@ if(!class_exists('popoverpublic')) {
|
|
59 |
`popover_order` bigint(20) DEFAULT '0',
|
60 |
`popover_active` int(11) DEFAULT '0',
|
61 |
PRIMARY KEY (`id`)
|
62 |
-
)";
|
63 |
|
64 |
-
|
|
|
65 |
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
if($this->db->get_var( "SHOW TABLES LIKE '" . $this->popover_ip_cache . "' ") != $this->popover_ip_cache) {
|
70 |
-
$sql = "CREATE TABLE `" . $this->popover_ip_cache . "` (
|
71 |
`IP` varchar(12) NOT NULL DEFAULT '',
|
72 |
`country` varchar(2) DEFAULT NULL,
|
73 |
`cached` bigint(20) DEFAULT NULL,
|
74 |
PRIMARY KEY (`IP`),
|
75 |
KEY `cached` (`cached`)
|
76 |
-
)";
|
77 |
-
|
78 |
-
$this->db->query($sql);
|
79 |
-
|
80 |
-
}
|
81 |
-
|
82 |
-
}
|
83 |
-
|
84 |
-
function load_textdomain() {
|
85 |
|
86 |
-
|
87 |
-
|
|
|
88 |
|
89 |
-
|
90 |
-
load_textdomain( 'popover', $mofile );
|
91 |
|
92 |
-
|
|
|
93 |
|
94 |
-
|
|
|
|
|
95 |
|
96 |
-
|
97 |
|
98 |
-
|
99 |
|
100 |
-
|
101 |
-
break;
|
102 |
|
103 |
-
|
104 |
-
|
105 |
|
106 |
-
|
|
|
107 |
|
108 |
-
|
|
|
|
|
|
|
109 |
|
110 |
-
|
111 |
-
|
112 |
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
|
|
|
|
|
|
|
|
|
|
121 |
|
122 |
-
|
|
|
123 |
|
124 |
-
|
125 |
-
|
|
|
126 |
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
|
|
135 |
|
136 |
-
|
137 |
|
138 |
-
|
|
|
|
|
|
|
|
|
139 |
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
|
146 |
-
|
147 |
-
|
148 |
-
} else {
|
149 |
-
$url .= $_SERVER["SERVER_NAME"] . $_SERVER["REQUEST_URI"];
|
150 |
-
}
|
151 |
|
152 |
-
|
153 |
-
}
|
154 |
|
155 |
-
|
156 |
|
157 |
-
|
158 |
|
159 |
-
|
|
|
|
|
160 |
|
161 |
-
|
162 |
-
$_REQUEST['thereferrer'] = (isset($_SERVER['HTTP_REFERER'])) ? $_SERVER['HTTP_REFERER'] : '';
|
163 |
-
$_REQUEST['thefrom'] = $this->myURL();
|
164 |
|
165 |
-
|
|
|
166 |
|
167 |
-
|
168 |
-
|
|
|
|
|
|
|
169 |
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
|
176 |
-
|
177 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
178 |
|
179 |
-
|
180 |
|
181 |
-
|
|
|
182 |
|
183 |
-
|
184 |
-
|
185 |
-
function output_header_content() {
|
186 |
-
// Output the styles
|
187 |
-
?>
|
188 |
-
<style type="text/css">
|
189 |
-
<?php
|
190 |
-
echo $this->thepopover['style'];
|
191 |
-
?>
|
192 |
-
</style>
|
193 |
-
<?php
|
194 |
-
}
|
195 |
-
|
196 |
-
function output_footer_content() {
|
197 |
-
|
198 |
-
echo $this->thepopover['html'];
|
199 |
-
|
200 |
-
}
|
201 |
-
|
202 |
-
}
|
203 |
|
204 |
}
|
205 |
-
|
206 |
?>
|
1 |
<?php
|
2 |
+
if (!class_exists('popoverpublic')) {
|
3 |
|
4 |
+
class popoverpublic {
|
5 |
|
6 |
+
var $mylocation = '';
|
7 |
+
var $build = 5;
|
8 |
+
var $db;
|
9 |
+
var $tables = array('popover', 'popover_ip_cache');
|
10 |
+
var $popover;
|
11 |
+
var $popover_ip_cache;
|
12 |
+
var $activepopover = false;
|
13 |
+
var $thepopover;
|
14 |
|
15 |
+
function __construct() {
|
|
|
|
|
16 |
|
17 |
+
global $wpdb;
|
|
|
|
|
18 |
|
19 |
+
$this->db = & $wpdb;
|
20 |
|
21 |
+
foreach ($this->tables as $table) {
|
22 |
+
$this->$table = popover_db_prefix($this->db, $table);
|
23 |
+
}
|
24 |
|
25 |
+
// Adds the JS to the themes header - this replaces all previous methods of loading
|
26 |
+
add_action('init', array(&$this, 'initialise_plugin'));
|
27 |
|
28 |
+
add_action('plugins_loaded', array(&$this, 'load_textdomain'));
|
29 |
|
30 |
+
$directories = explode(DIRECTORY_SEPARATOR, dirname(__FILE__));
|
31 |
+
$this->mylocation = $directories[count($directories) - 1];
|
32 |
|
33 |
+
$installed = get_option('popover_installed', false);
|
|
|
|
|
34 |
|
35 |
+
if ($installed === false || $installed != $this->build) {
|
36 |
+
$this->install();
|
37 |
|
38 |
+
update_option('popover_installed', $this->build);
|
39 |
+
}
|
40 |
+
}
|
41 |
|
42 |
+
function popoverpublic() {
|
43 |
+
$this->__construct();
|
44 |
+
}
|
45 |
|
46 |
+
function install() {
|
47 |
|
48 |
+
$charset_collate = '';
|
|
|
49 |
|
50 |
+
if (!empty($this->db->charset)) {
|
51 |
+
$charset_collate = "DEFAULT CHARACTER SET " . $this->db->charset;
|
52 |
+
}
|
53 |
|
54 |
+
if (!empty($this->db->collate)) {
|
55 |
+
$charset_collate .= " COLLATE " . $this->db->collate;
|
56 |
+
}
|
57 |
|
58 |
+
if ($this->db->get_var("SHOW TABLES LIKE '" . $this->popover . "' ") != $this->popover) {
|
59 |
+
$sql = "CREATE TABLE `" . $this->popover . "` (
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
61 |
`popover_title` varchar(250) DEFAULT NULL,
|
62 |
`popover_content` text,
|
64 |
`popover_order` bigint(20) DEFAULT '0',
|
65 |
`popover_active` int(11) DEFAULT '0',
|
66 |
PRIMARY KEY (`id`)
|
67 |
+
) $charset_collate;";
|
68 |
|
69 |
+
$this->db->query($sql);
|
70 |
+
}
|
71 |
|
72 |
+
// Add in IP cache table
|
73 |
+
if ($this->db->get_var("SHOW TABLES LIKE '" . $this->popover_ip_cache . "' ") != $this->popover_ip_cache) {
|
74 |
+
$sql = "CREATE TABLE `" . $this->popover_ip_cache . "` (
|
|
|
|
|
75 |
`IP` varchar(12) NOT NULL DEFAULT '',
|
76 |
`country` varchar(2) DEFAULT NULL,
|
77 |
`cached` bigint(20) DEFAULT NULL,
|
78 |
PRIMARY KEY (`IP`),
|
79 |
KEY `cached` (`cached`)
|
80 |
+
) $charset_collate;";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
|
82 |
+
$this->db->query($sql);
|
83 |
+
}
|
84 |
+
}
|
85 |
|
86 |
+
function load_textdomain() {
|
|
|
87 |
|
88 |
+
$locale = apply_filters('popover_locale', get_locale());
|
89 |
+
$mofile = popover_dir("popoverincludes/languages/popover-$locale.mo");
|
90 |
|
91 |
+
if (file_exists($mofile))
|
92 |
+
load_textdomain('popover', $mofile);
|
93 |
+
}
|
94 |
|
95 |
+
function initialise_plugin() {
|
96 |
|
97 |
+
$settings = get_popover_option('popover-settings', array('loadingmethod' => 'frontloading'));
|
98 |
|
99 |
+
switch ($settings['loadingmethod']) {
|
|
|
100 |
|
101 |
+
case 'external': $this->add_selective_javascript();
|
102 |
+
break;
|
103 |
|
104 |
+
case 'footer': $this->add_popover_files();
|
105 |
+
break;
|
106 |
|
107 |
+
case 'frontloading': $this->add_frontend_selective_javascript();
|
108 |
+
break;
|
109 |
+
}
|
110 |
+
}
|
111 |
|
112 |
+
function add_selective_javascript() {
|
113 |
+
global $pagenow;
|
114 |
|
115 |
+
if (!in_array($pagenow, array('wp-login.php', 'wp-register.php'))) {
|
116 |
+
// We need javascript so make sure we load it here
|
117 |
+
wp_enqueue_script('jquery');
|
118 |
|
119 |
+
// Now to register our new js file
|
120 |
+
wp_register_script('popover_selective_load', popover_url('popoverincludes/js/popover-load.js'));
|
121 |
+
wp_enqueue_script('popover_selective_load');
|
122 |
+
|
123 |
+
wp_localize_script('popover_selective_load', 'popover_load_custom', array(
|
124 |
+
'admin_ajax_url' => admin_url( 'admin-ajax.php' ),
|
125 |
+
));
|
126 |
+
}
|
127 |
+
}
|
128 |
|
129 |
+
function add_frontend_selective_javascript() {
|
130 |
+
global $pagenow;
|
131 |
|
132 |
+
if (!in_array($pagenow, array('wp-login.php', 'wp-register.php'))) {
|
133 |
+
// We need javascript so make sure we load it here
|
134 |
+
wp_enqueue_script('jquery');
|
135 |
|
136 |
+
// Now to register our new js file
|
137 |
+
wp_register_script('popover_load_custom', popover_url('popoverincludes/js/popover-load-custom.js'));
|
138 |
+
wp_enqueue_script('popover_load_custom');
|
139 |
|
140 |
+
wp_localize_script('popover_load_custom', 'popover_selective_custom', array(
|
141 |
+
'admin_ajax_url' => admin_url( 'admin-ajax.php' ),
|
142 |
+
));
|
143 |
+
}
|
144 |
+
}
|
145 |
|
146 |
+
function myURL() {
|
147 |
|
148 |
+
if (isset($_SERVER["HTTPS"]) && strtolower($_SERVER["HTTPS"]) == "on") {
|
149 |
+
$url .= "https://";
|
150 |
+
} else {
|
151 |
+
$url = 'http://';
|
152 |
+
}
|
153 |
|
154 |
+
if ($_SERVER["SERVER_PORT"] != "80") {
|
155 |
+
$url .= $_SERVER["SERVER_NAME"] . ":" . $_SERVER["SERVER_PORT"] . $_SERVER["REQUEST_URI"];
|
156 |
+
} else {
|
157 |
+
$url .= $_SERVER["SERVER_NAME"] . $_SERVER["REQUEST_URI"];
|
158 |
+
}
|
159 |
|
160 |
+
return trailingslashit($url);
|
161 |
+
}
|
|
|
|
|
|
|
162 |
|
163 |
+
function add_popover_files() {
|
|
|
164 |
|
165 |
+
global $popoverajax;
|
166 |
|
167 |
+
if (method_exists($popoverajax, 'selective_message_display')) {
|
168 |
|
169 |
+
// Set up the rquest information from here - this is passed in using the standard JS interface so we need to fake it
|
170 |
+
$_REQUEST['thereferrer'] = (isset($_SERVER['HTTP_REFERER'])) ? $_SERVER['HTTP_REFERER'] : '';
|
171 |
+
$_REQUEST['thefrom'] = $this->myURL();
|
172 |
|
173 |
+
$this->thepopover = $popoverajax->selective_message_display();
|
|
|
|
|
174 |
|
175 |
+
if (isset($this->thepopover['name']) && $this->thepopover['name'] != 'nopopover') {
|
176 |
+
wp_enqueue_script('jquery');
|
177 |
|
178 |
+
wp_enqueue_script('popoverlegacyjs', popover_url('popoverincludes/js/popoverlegacy.js'), array('jquery'), $this->build);
|
179 |
+
wp_localize_script('popoverlegacyjs', 'popover', array('divname' => $this->thepopover['name'],
|
180 |
+
'usejs' => $this->thepopover['usejs'],
|
181 |
+
'delay' => $this->thepopover['delay']
|
182 |
+
));
|
183 |
|
184 |
+
add_action('wp_head', array(&$this, 'output_header_content'));
|
185 |
+
add_action('wp_footer', array(&$this, 'output_footer_content'));
|
186 |
+
}
|
187 |
+
}
|
188 |
+
}
|
189 |
|
190 |
+
function output_header_content() {
|
191 |
+
// Output the styles
|
192 |
+
?>
|
193 |
+
<style type="text/css">
|
194 |
+
<?php
|
195 |
+
echo $this->thepopover['style'];
|
196 |
+
?>
|
197 |
+
</style>
|
198 |
+
<?php
|
199 |
+
}
|
200 |
|
201 |
+
function output_footer_content() {
|
202 |
|
203 |
+
echo $this->thepopover['html'];
|
204 |
+
}
|
205 |
|
206 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
|
208 |
}
|
|
|
209 |
?>
|
popoverincludes/css/default/popover.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<div id='<?php echo $popover_messagebox; ?>' class='visiblebox' style='<?php echo $style; ?>'>
|
2 |
-
<a href='' id='closebox' title='Close this box'></a>
|
3 |
<div id='message' style='<?php echo $box; ?>'>
|
4 |
<?php echo do_shortcode($popover_content); ?>
|
|
|
5 |
<div class='clear'></div>
|
6 |
<?php if($popover_hideforever != 'yes') {
|
7 |
?>
|
1 |
<div id='<?php echo $popover_messagebox; ?>' class='visiblebox' style='<?php echo $style; ?>'>
|
2 |
+
<a href='' id='closebox' title='<?php _e('Close this box','popover'); ?>'></a>
|
3 |
<div id='message' style='<?php echo $box; ?>'>
|
4 |
<?php echo do_shortcode($popover_content); ?>
|
5 |
+
|
6 |
<div class='clear'></div>
|
7 |
<?php if($popover_hideforever != 'yes') {
|
8 |
?>
|
popoverincludes/css/fixed/popover.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<div id='<?php echo $popover_messagebox; ?>' class='visiblebox' style='position: fixed; <?php echo $style; ?>'>
|
2 |
-
<a href='' id='closebox' title='Close this box'></a>
|
3 |
<div id='message' style='<?php echo $box; ?>'>
|
4 |
<?php echo do_shortcode($popover_content); ?>
|
5 |
<div class='clear'></div>
|
1 |
<div id='<?php echo $popover_messagebox; ?>' class='visiblebox' style='position: fixed; <?php echo $style; ?>'>
|
2 |
+
<a href='' id='closebox' title='<?php _e('Close this box','popover'); ?>'></a>
|
3 |
<div id='message' style='<?php echo $box; ?>'>
|
4 |
<?php echo do_shortcode($popover_content); ?>
|
5 |
<div class='clear'></div>
|
popoverincludes/css/fullbackground/popover.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<div id='darkbackground' style='<?php echo $backgroundstyle; ?>'>
|
2 |
<div id='<?php echo $popover_messagebox; ?>' class='visiblebox' style='<?php echo $style; ?>'>
|
3 |
-
<a href='' id='closebox' title='Close this box'></a>
|
4 |
<div id='message' style='<?php echo $box; ?>'>
|
5 |
<?php echo do_shortcode($popover_content); ?>
|
6 |
<div class='clear'></div>
|
1 |
<div id='darkbackground' style='<?php echo $backgroundstyle; ?>'>
|
2 |
<div id='<?php echo $popover_messagebox; ?>' class='visiblebox' style='<?php echo $style; ?>'>
|
3 |
+
<a href='' id='closebox' title='<?php _e('Close this box','popover'); ?>'></a>
|
4 |
<div id='message' style='<?php echo $box; ?>'>
|
5 |
<?php echo do_shortcode($popover_content); ?>
|
6 |
<div class='clear'></div>
|
popoverincludes/css/fullbackgroundfixed/popover.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<div id='<?php echo $popover_messagebox; ?>' class='visiblebox' style='position: fixed; <?php echo $style; ?>'>
|
2 |
-
<a href='' id='closebox' title='Close this box'></a>
|
3 |
<div id='message' style='<?php echo $box; ?>'>
|
4 |
<?php echo do_shortcode($popover_content); ?>
|
5 |
<div class='clear'></div>
|
1 |
<div id='<?php echo $popover_messagebox; ?>' class='visiblebox' style='position: fixed; <?php echo $style; ?>'>
|
2 |
+
<a href='' id='closebox' title='<?php _e('Close this box','popover'); ?>'></a>
|
3 |
<div id='message' style='<?php echo $box; ?>'>
|
4 |
<?php echo do_shortcode($popover_content); ?>
|
5 |
<div class='clear'></div>
|
popoverincludes/external/wpmudev-dash-notification.php
DELETED
@@ -1,67 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
///////////////////////////////////////////////////////////////////////////
|
3 |
-
/* -------------------- WPMU DEV Dashboard Notice -------------------- */
|
4 |
-
if ( !class_exists('WPMUDEV_Dashboard_Notice') ) {
|
5 |
-
class WPMUDEV_Dashboard_Notice {
|
6 |
-
|
7 |
-
var $version = '2.0';
|
8 |
-
|
9 |
-
function WPMUDEV_Dashboard_Notice() {
|
10 |
-
add_action( 'plugins_loaded', array( &$this, 'init' ) );
|
11 |
-
}
|
12 |
-
|
13 |
-
function init() {
|
14 |
-
if ( !class_exists( 'WPMUDEV_Update_Notifications' ) && current_user_can( 'install_plugins' ) && is_admin() ) {
|
15 |
-
remove_action( 'admin_notices', 'wdp_un_check', 5 );
|
16 |
-
remove_action( 'network_admin_notices', 'wdp_un_check', 5 );
|
17 |
-
if ( file_exists(WP_PLUGIN_DIR . '/wpmudev-updates/update-notifications.php') ) {
|
18 |
-
add_action( 'all_admin_notices', array( &$this, 'activate_notice' ), 5 );
|
19 |
-
} else {
|
20 |
-
add_action( 'all_admin_notices', array( &$this, 'install_notice' ), 5 );
|
21 |
-
add_filter( 'plugins_api', array( &$this, 'filter_plugin_info' ), 10, 3 );
|
22 |
-
}
|
23 |
-
}
|
24 |
-
}
|
25 |
-
|
26 |
-
function filter_plugin_info($res, $action, $args) {
|
27 |
-
global $wp_version;
|
28 |
-
$cur_wp_version = preg_replace('/-.*$/', '', $wp_version);
|
29 |
-
|
30 |
-
if ( $action == 'plugin_information' && strpos($args->slug, 'install_wpmudev_dash') !== false ) {
|
31 |
-
$res = new stdClass;
|
32 |
-
$res->name = 'WPMU DEV Dashboard';
|
33 |
-
$res->slug = 'wpmu-dev-dashboard';
|
34 |
-
$res->version = '';
|
35 |
-
$res->rating = 100;
|
36 |
-
$res->homepage = 'http://premium.wpmudev.org/project/wpmu-dev-dashboard/';
|
37 |
-
$res->download_link = "http://premium.wpmudev.org/wdp-un.php?action=install_wpmudev_dash";
|
38 |
-
$res->tested = $cur_wp_version;
|
39 |
-
|
40 |
-
return $res;
|
41 |
-
}
|
42 |
-
|
43 |
-
return false;
|
44 |
-
}
|
45 |
-
|
46 |
-
function auto_install_url() {
|
47 |
-
$function = is_multisite() ? 'network_admin_url' : 'admin_url';
|
48 |
-
return wp_nonce_url($function("update.php?action=install-plugin&plugin=install_wpmudev_dash"), "install-plugin_install_wpmudev_dash");
|
49 |
-
}
|
50 |
-
|
51 |
-
function activate_url() {
|
52 |
-
$function = is_multisite() ? 'network_admin_url' : 'admin_url';
|
53 |
-
return wp_nonce_url($function('plugins.php?action=activate&plugin=wpmudev-updates%2Fupdate-notifications.php'), 'activate-plugin_wpmudev-updates/update-notifications.php');
|
54 |
-
}
|
55 |
-
|
56 |
-
function install_notice() {
|
57 |
-
echo '<div class="error fade"><p>' . sprintf(__('Easily get updates, support, and one-click WPMU DEV plugin/theme installations right from in your dashboard - <strong><a href="%s" title="Install Now »">install the free WPMU DEV Dashboard plugin</a></strong>. <small><a href="http://premium.wpmudev.org/wpmu-dev/update-notifications-plugin-information/">(find out more)</a></small>', 'wpmudev'), $this->auto_install_url()) . '</p></div>';
|
58 |
-
}
|
59 |
-
|
60 |
-
function activate_notice() {
|
61 |
-
echo '<div class="updated fade"><p>' . sprintf(__('Updates, Support, Premium Plugins, Community - <strong><a href="%s" title="Activate Now »">activate the WPMU DEV Dashboard plugin now</a></strong>.', 'wpmudev'), $this->activate_url()) . '</a></p></div>';
|
62 |
-
}
|
63 |
-
|
64 |
-
}
|
65 |
-
new WPMUDEV_Dashboard_Notice();
|
66 |
-
}
|
67 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
popoverincludes/includes/config.php
CHANGED
@@ -2,4 +2,10 @@
|
|
2 |
// a true setting for PO_GLOBAL means that this plugin operates on a global site-admin basis
|
3 |
// setting this to false means that the plugin operates on a blog by blog basis
|
4 |
if(!defined('PO_GLOBAL')) define('PO_GLOBAL', false);
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
?>
|
2 |
// a true setting for PO_GLOBAL means that this plugin operates on a global site-admin basis
|
3 |
// setting this to false means that the plugin operates on a blog by blog basis
|
4 |
if(!defined('PO_GLOBAL')) define('PO_GLOBAL', false);
|
5 |
+
// The url that we are using to return the country - it should only return the country code for the passed IP address
|
6 |
+
if(!defined('PO_REMOTE_IP_URL')) define('PO_REMOTE_IP_URL', 'http://api.hostip.info/country.php?ip=%ip%');
|
7 |
+
// If there is a problem with the API, then you can set a default country to use for popover showing. Set this to false if you'd rather have the popover not show in such circumstances
|
8 |
+
if(!defined('PO_DEFAULT_COUNTRY')) define('PO_DEFAULT_COUNTRY', 'US');
|
9 |
+
// Set plugin directory
|
10 |
+
if(!defined('PO_PLUGIN_DIR')) define('PO_PLUGIN_DIR', 'wordpress-popup');
|
11 |
?>
|
popoverincludes/includes/functions.php
CHANGED
@@ -6,10 +6,10 @@ function set_popover_url($base) {
|
|
6 |
|
7 |
if(defined('WPMU_PLUGIN_URL') && defined('WPMU_PLUGIN_DIR') && file_exists(WPMU_PLUGIN_DIR . '/' . basename($base))) {
|
8 |
$popover_url = trailingslashit(WPMU_PLUGIN_URL);
|
9 |
-
} elseif(defined('WP_PLUGIN_URL') && defined('WP_PLUGIN_DIR') && file_exists(WP_PLUGIN_DIR . '/
|
10 |
-
$popover_url = trailingslashit(WP_PLUGIN_URL . '/
|
11 |
} else {
|
12 |
-
$popover_url = trailingslashit(WP_PLUGIN_URL . '/
|
13 |
}
|
14 |
|
15 |
}
|
@@ -20,10 +20,10 @@ function set_popover_dir($base) {
|
|
20 |
|
21 |
if(defined('WPMU_PLUGIN_DIR') && file_exists(WPMU_PLUGIN_DIR . '/' . basename($base))) {
|
22 |
$popover_dir = trailingslashit(WPMU_PLUGIN_URL);
|
23 |
-
} elseif(defined('WP_PLUGIN_DIR') && file_exists(WP_PLUGIN_DIR . '/
|
24 |
-
$popover_dir = trailingslashit(WP_PLUGIN_DIR . '/
|
25 |
} else {
|
26 |
-
$popover_dir = trailingslashit(WP_PLUGIN_DIR . '/
|
27 |
}
|
28 |
|
29 |
|
@@ -401,7 +401,7 @@ function P_CountryList() {
|
|
401 |
|
402 |
function get_popover_option($key, $default = false) {
|
403 |
|
404 |
-
if(is_multisite() && function_exists('is_plugin_active_for_network') && is_plugin_active_for_network('
|
405 |
return get_site_option($key, $default);
|
406 |
} else {
|
407 |
return get_option($key, $default);
|
@@ -411,7 +411,7 @@ function get_popover_option($key, $default = false) {
|
|
411 |
|
412 |
function update_popover_option($key, $value) {
|
413 |
|
414 |
-
if(is_multisite() && function_exists('is_plugin_active_for_network') && is_plugin_active_for_network('
|
415 |
return update_site_option($key, $value);
|
416 |
} else {
|
417 |
return update_option($key, $value);
|
@@ -421,7 +421,7 @@ function update_popover_option($key, $value) {
|
|
421 |
|
422 |
function delete_popover_option($key) {
|
423 |
|
424 |
-
if(is_multisite() && function_exists('is_plugin_active_for_network') && is_plugin_active_for_network('
|
425 |
return delete_site_option($key);
|
426 |
} else {
|
427 |
return delete_option($key);
|
6 |
|
7 |
if(defined('WPMU_PLUGIN_URL') && defined('WPMU_PLUGIN_DIR') && file_exists(WPMU_PLUGIN_DIR . '/' . basename($base))) {
|
8 |
$popover_url = trailingslashit(WPMU_PLUGIN_URL);
|
9 |
+
} elseif(defined('WP_PLUGIN_URL') && defined('WP_PLUGIN_DIR') && file_exists(WP_PLUGIN_DIR . '/'.PO_PLUGIN_DIR.'/' . basename($base))) {
|
10 |
+
$popover_url = trailingslashit(WP_PLUGIN_URL . '/'.PO_PLUGIN_DIR);
|
11 |
} else {
|
12 |
+
$popover_url = trailingslashit(WP_PLUGIN_URL . '/'.PO_PLUGIN_DIR);
|
13 |
}
|
14 |
|
15 |
}
|
20 |
|
21 |
if(defined('WPMU_PLUGIN_DIR') && file_exists(WPMU_PLUGIN_DIR . '/' . basename($base))) {
|
22 |
$popover_dir = trailingslashit(WPMU_PLUGIN_URL);
|
23 |
+
} elseif(defined('WP_PLUGIN_DIR') && file_exists(WP_PLUGIN_DIR . '/'.PO_PLUGIN_DIR.'/' . basename($base))) {
|
24 |
+
$popover_dir = trailingslashit(WP_PLUGIN_DIR . '/'.PO_PLUGIN_DIR);
|
25 |
} else {
|
26 |
+
$popover_dir = trailingslashit(WP_PLUGIN_DIR . '/'.PO_PLUGIN_DIR);
|
27 |
}
|
28 |
|
29 |
|
401 |
|
402 |
function get_popover_option($key, $default = false) {
|
403 |
|
404 |
+
if(is_multisite() && function_exists('is_plugin_active_for_network') && is_plugin_active_for_network('popover/popover.php')) {
|
405 |
return get_site_option($key, $default);
|
406 |
} else {
|
407 |
return get_option($key, $default);
|
411 |
|
412 |
function update_popover_option($key, $value) {
|
413 |
|
414 |
+
if(is_multisite() && function_exists('is_plugin_active_for_network') && is_plugin_active_for_network('popover/popover.php')) {
|
415 |
return update_site_option($key, $value);
|
416 |
} else {
|
417 |
return update_option($key, $value);
|
421 |
|
422 |
function delete_popover_option($key) {
|
423 |
|
424 |
+
if(is_multisite() && function_exists('is_plugin_active_for_network') && is_plugin_active_for_network('popover/popover.php')) {
|
425 |
return delete_site_option($key);
|
426 |
} else {
|
427 |
return delete_option($key);
|
popoverincludes/js/popover-load-custom.js
ADDED
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Javascript file to selectively load the WPMUDEV Pop Up
|
3 |
+
*/
|
4 |
+
|
5 |
+
var po_adminajax = popover_selective_custom.admin_ajax_url;
|
6 |
+
|
7 |
+
// Enable us to get some cookie information - from http://stackoverflow.com/questions/5639346/shortest-function-for-reading-a-cookie-in-javascript
|
8 |
+
function po_get_cookie(name) {
|
9 |
+
|
10 |
+
var nameEQ = name + "=";
|
11 |
+
var ca = document.cookie.split(';');
|
12 |
+
for (var i = 0; i < ca.length; i++) {
|
13 |
+
var c = ca[i];
|
14 |
+
while (c.charAt(0) === ' ')
|
15 |
+
c = c.substring(1, c.length);
|
16 |
+
if (c.indexOf(nameEQ) === 0)
|
17 |
+
return c.substring(nameEQ.length, c.length);
|
18 |
+
}
|
19 |
+
return null;
|
20 |
+
}
|
21 |
+
|
22 |
+
function po_createCookie(name, value, days) {
|
23 |
+
if (days) {
|
24 |
+
var date = new Date();
|
25 |
+
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
|
26 |
+
var expires = "; expires=" + date.toGMTString();
|
27 |
+
}
|
28 |
+
else
|
29 |
+
var expires = "";
|
30 |
+
document.cookie = name + "=" + value + expires + "; path=/";
|
31 |
+
}
|
32 |
+
|
33 |
+
function po_removeMessageBoxForever() {
|
34 |
+
jQuery('#darkbackground').remove();
|
35 |
+
jQuery(this).parents(popovername).remove();
|
36 |
+
po_createCookie('popover_never_view', 'hidealways', 365);
|
37 |
+
return false;
|
38 |
+
}
|
39 |
+
|
40 |
+
function po_removeMessageBox() {
|
41 |
+
jQuery('#darkbackground').remove();
|
42 |
+
jQuery(this).parents(popovername).remove();
|
43 |
+
return false;
|
44 |
+
}
|
45 |
+
|
46 |
+
function po_loadMessageBox( ) {
|
47 |
+
|
48 |
+
// move the data back to the data variable, from mydata so we can use it without changing a chunk of code :)
|
49 |
+
data = mydata;
|
50 |
+
|
51 |
+
if (data['html'] !== '') {
|
52 |
+
// Set the name for other functions to use
|
53 |
+
popovername = '#' + data['name'];
|
54 |
+
|
55 |
+
jQuery('<style type="text/css">' + data['style'] + '</style>').appendTo('head');
|
56 |
+
jQuery(data['html']).appendTo('body');
|
57 |
+
|
58 |
+
if (data['usejs'] === 'yes') {
|
59 |
+
|
60 |
+
jQuery('#' + data['name']).width(jQuery('#message').width());
|
61 |
+
jQuery('#' + data['name']).height(jQuery('#message').height());
|
62 |
+
|
63 |
+
jQuery('#' + data['name']).css('top', (jQuery(window).height() / 2) - (jQuery('#message').height() / 2));
|
64 |
+
jQuery('#' + data['name']).css('left', (jQuery(window).width() / 2) - (jQuery('#message').width() / 2));
|
65 |
+
}
|
66 |
+
|
67 |
+
jQuery('#' + data['name']).css('visibility', 'visible');
|
68 |
+
jQuery('#darkbackground').css('visibility', 'visible');
|
69 |
+
|
70 |
+
jQuery('#clearforever').click(po_removeMessageBoxForever);
|
71 |
+
jQuery('#closebox').click(po_removeMessageBox);
|
72 |
+
|
73 |
+
jQuery('#message').hover(function() {
|
74 |
+
jQuery('.claimbutton').removeClass('hide');
|
75 |
+
}, function() {
|
76 |
+
jQuery('.claimbutton').addClass('hide');
|
77 |
+
});
|
78 |
+
}
|
79 |
+
|
80 |
+
}
|
81 |
+
|
82 |
+
function po_onsuccess(data) {
|
83 |
+
// set the data to be a global variable so we can grab it after the timeout
|
84 |
+
mydata = data;
|
85 |
+
|
86 |
+
if (data['name'] !== 'nopoover') {
|
87 |
+
window.setTimeout(po_loadMessageBox, data['delay']);
|
88 |
+
}
|
89 |
+
|
90 |
+
}
|
91 |
+
|
92 |
+
function po_load_popover() {
|
93 |
+
|
94 |
+
var theajax = po_adminajax;
|
95 |
+
var thefrom = window.location;
|
96 |
+
var thereferrer = document.referrer;
|
97 |
+
// Check if we are forcing a popover - if not then set it to a default value of 0
|
98 |
+
if (typeof force_popover === 'undefined') {
|
99 |
+
force_popover = 0;
|
100 |
+
}
|
101 |
+
|
102 |
+
jQuery.ajax({
|
103 |
+
url: thefrom,
|
104 |
+
dataType: 'jsonp',
|
105 |
+
jsonpCallback: 'po_onsuccess',
|
106 |
+
data: {popoverajaxaction: 'popover_selective_ajax',
|
107 |
+
thefrom: thefrom.toString(),
|
108 |
+
thereferrer: thereferrer.toString(),
|
109 |
+
active_popover: force_popover.toString()
|
110 |
+
},
|
111 |
+
success: function(data) {
|
112 |
+
|
113 |
+
}
|
114 |
+
}
|
115 |
+
);
|
116 |
+
return false;
|
117 |
+
}
|
118 |
+
|
119 |
+
// The main function
|
120 |
+
function po_selectiveLoad() {
|
121 |
+
po_load_popover();
|
122 |
+
}
|
123 |
+
|
124 |
+
// Call when the page is fully loaded
|
125 |
+
jQuery(window).load(po_selectiveLoad);
|
popoverincludes/js/popover-load.js
ADDED
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Javascript file to selectively load the WPMUDEV Pop Up
|
3 |
+
*/
|
4 |
+
|
5 |
+
var po_adminajax = popover_load_custom.admin_ajax_url;
|
6 |
+
|
7 |
+
// Enable us to get some cookie information - from http://stackoverflow.com/questions/5639346/shortest-function-for-reading-a-cookie-in-javascript
|
8 |
+
function po_get_cookie(name) {
|
9 |
+
|
10 |
+
var nameEQ = name + "=";
|
11 |
+
var ca = document.cookie.split(';');
|
12 |
+
for (var i = 0; i < ca.length; i++) {
|
13 |
+
var c = ca[i];
|
14 |
+
while (c.charAt(0) == ' ')
|
15 |
+
c = c.substring(1, c.length);
|
16 |
+
if (c.indexOf(nameEQ) == 0)
|
17 |
+
return c.substring(nameEQ.length, c.length);
|
18 |
+
}
|
19 |
+
return null;
|
20 |
+
}
|
21 |
+
|
22 |
+
function po_createCookie(name, value, days) {
|
23 |
+
if (days) {
|
24 |
+
var date = new Date();
|
25 |
+
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
|
26 |
+
var expires = "; expires=" + date.toGMTString();
|
27 |
+
}
|
28 |
+
else
|
29 |
+
var expires = "";
|
30 |
+
document.cookie = name + "=" + value + expires + "; path=/";
|
31 |
+
}
|
32 |
+
|
33 |
+
function po_removeMessageBoxForever() {
|
34 |
+
jQuery('#darkbackground').remove();
|
35 |
+
jQuery(this).parents(popovername).remove();
|
36 |
+
po_createCookie('popover_never_view', 'hidealways', 365);
|
37 |
+
return false;
|
38 |
+
}
|
39 |
+
|
40 |
+
function po_removeMessageBox() {
|
41 |
+
jQuery('#darkbackground').remove();
|
42 |
+
jQuery(this).parents(popovername).remove();
|
43 |
+
return false;
|
44 |
+
}
|
45 |
+
|
46 |
+
function po_loadMessageBox( ) {
|
47 |
+
|
48 |
+
// move the data back to the data variable, from mydata so we can use it without changing a chunk of code :)
|
49 |
+
data = mydata;
|
50 |
+
|
51 |
+
if (data['html'] != '') {
|
52 |
+
// Set the name for other functions to use
|
53 |
+
popovername = '#' + data['name'];
|
54 |
+
|
55 |
+
jQuery('<style type="text/css">' + data['style'] + '</style>').appendTo('head');
|
56 |
+
jQuery(data['html']).appendTo('body');
|
57 |
+
|
58 |
+
if (data['usejs'] == 'yes') {
|
59 |
+
|
60 |
+
jQuery('#' + data['name']).width(jQuery('#message').width());
|
61 |
+
jQuery('#' + data['name']).height(jQuery('#message').height());
|
62 |
+
|
63 |
+
jQuery('#' + data['name']).css('top', (jQuery(window).height() / 2) - (jQuery('#message').height() / 2));
|
64 |
+
jQuery('#' + data['name']).css('left', (jQuery(window).width() / 2) - (jQuery('#message').width() / 2));
|
65 |
+
}
|
66 |
+
|
67 |
+
jQuery('#' + data['name']).css('visibility', 'visible');
|
68 |
+
jQuery('#darkbackground').css('visibility', 'visible');
|
69 |
+
|
70 |
+
jQuery('#clearforever').click(po_removeMessageBoxForever);
|
71 |
+
jQuery('#closebox').click(po_removeMessageBox);
|
72 |
+
|
73 |
+
jQuery('#message').hover(function() {
|
74 |
+
jQuery('.claimbutton').removeClass('hide');
|
75 |
+
}, function() {
|
76 |
+
jQuery('.claimbutton').addClass('hide');
|
77 |
+
});
|
78 |
+
}
|
79 |
+
|
80 |
+
}
|
81 |
+
|
82 |
+
function po_onsuccess(data) {
|
83 |
+
// set the data to be a global variable so we can grab it after the timeout
|
84 |
+
mydata = data;
|
85 |
+
|
86 |
+
if (data['name'] != 'nopoover') {
|
87 |
+
window.setTimeout(po_loadMessageBox, data['delay']);
|
88 |
+
}
|
89 |
+
|
90 |
+
}
|
91 |
+
|
92 |
+
function po_load_popover() {
|
93 |
+
|
94 |
+
var theajax = po_adminajax;
|
95 |
+
var thefrom = window.location;
|
96 |
+
var thereferrer = document.referrer;
|
97 |
+
|
98 |
+
// Check if we are forcing a popover - if not then set it to a default value of 0
|
99 |
+
if (typeof force_popover === 'undefined') {
|
100 |
+
force_popover = 0;
|
101 |
+
}
|
102 |
+
|
103 |
+
jQuery.ajax({
|
104 |
+
url: theajax,
|
105 |
+
dataType: 'jsonp',
|
106 |
+
jsonpCallback: 'po_onsuccess',
|
107 |
+
data: {action: 'popover_selective_ajax',
|
108 |
+
thefrom: thefrom.toString(),
|
109 |
+
thereferrer: thereferrer.toString(),
|
110 |
+
active_popover: force_popover.toString()
|
111 |
+
},
|
112 |
+
success: function(data) {
|
113 |
+
|
114 |
+
}
|
115 |
+
}
|
116 |
+
);
|
117 |
+
|
118 |
+
return false;
|
119 |
+
}
|
120 |
+
|
121 |
+
// The main function
|
122 |
+
function po_selectiveLoad() {
|
123 |
+
po_load_popover();
|
124 |
+
}
|
125 |
+
|
126 |
+
// Call when the page is fully loaded
|
127 |
+
jQuery(window).load(po_selectiveLoad);
|
popoverincludes/languages/popover-en_US.mo
CHANGED
Binary file
|
popoverincludes/languages/popover.po
CHANGED
@@ -2,9 +2,9 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: PopOver\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator:
|
8 |
"Language-Team: Incsub <barry@incsub.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -22,525 +22,577 @@ msgid "Adding / Editing"
|
|
22 |
msgstr ""
|
23 |
|
24 |
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popover.help.php:75
|
25 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
26 |
msgid "Add-ons"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
30 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
31 |
msgid "Pop Overs"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
35 |
msgid "Create New Pop Over"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
39 |
msgid "Create New"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
43 |
msgid "Manage Add-ons Plugins"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
|
|
|
|
|
|
|
|
47 |
msgid "An error occured updating the Pop Over order."
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
51 |
msgid "Are you sure you want to delete this Pop Over?"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
55 |
#, php-format
|
56 |
msgid "Welcome to Popover, would you like to transfer your existing Popover to the new format? <a href='%s'>Yes please transfer it</a> / <a href='%s'>No thanks, I'll create a new one myself.</a>"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
60 |
msgid "Transferred Popover"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
64 |
msgid "Pop Over updated."
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
68 |
msgid "Pop Over not updated."
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
72 |
msgid "Pop Over activated."
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
76 |
msgid "Pop Over not activated."
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
80 |
msgid "Pop Over deactivated."
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
84 |
msgid "Pop Over not deactivated."
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
88 |
msgid "Pop Over activation toggled."
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
92 |
msgid "Pop Over deleted."
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
96 |
msgid "Pop Over not deleted."
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
100 |
msgid "Pop Over added."
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
104 |
msgid "Pop Over not added."
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
108 |
msgid "Edit Pop Overs"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
112 |
msgid "Add New"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
116 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
117 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
118 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
119 |
msgid "Bulk Actions"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
123 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
124 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
125 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
126 |
msgid "Toggle activation"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
130 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
131 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
132 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
133 |
msgid "Apply"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
137 |
msgid "Pop Over Name"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
141 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
142 |
msgid "Conditions"
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
146 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
147 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
148 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
149 |
msgid "Active"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
153 |
msgid "Edit"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
157 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
158 |
msgid "Deactivate"
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
162 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
163 |
msgid "Activate"
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
167 |
msgid "Delete"
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
171 |
msgid "Site is not a Pro-site"
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
175 |
msgid "Visitor is logged in"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
179 |
msgid "Visitor is not logged in"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
183 |
msgid "Visitor has never commented"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
187 |
msgid "Visit via a search engine"
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
191 |
msgid "Visit not via an Internal link"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
195 |
msgid "Visit via specific referer"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
199 |
msgid "Popover shown less than x times"
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
203 |
msgid "On specific URL"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
207 |
msgid "Not on specific URL"
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
211 |
msgid "In a specific country"
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
215 |
msgid "Not in a specific country"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
219 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
220 |
msgid "Inactive"
|
221 |
msgstr ""
|
222 |
|
223 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
224 |
msgid "No Pop Overs were found."
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
228 |
msgid "New Pop Over"
|
229 |
msgstr ""
|
230 |
|
231 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
232 |
msgid "Edit Pop Over"
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
236 |
msgid "Add Pop Over"
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
|
|
240 |
msgid "Pop Over Settings"
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
244 |
msgid "Popover title"
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
248 |
msgid "Popover content"
|
249 |
msgstr ""
|
250 |
|
251 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
252 |
msgid "Active conditions"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
256 |
msgid "These are the rules that will determine if a popover should show when a visitor arrives at your website ALL rules must be true for the popover to show."
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
260 |
msgid "Drop here"
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
264 |
msgid "Appearance settings"
|
265 |
msgstr ""
|
266 |
|
267 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
268 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
269 |
msgid "Pop Over Size"
|
270 |
msgstr ""
|
271 |
|
272 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
273 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
274 |
msgid "Width:"
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
278 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
279 |
msgid "Height:"
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
283 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
284 |
msgid "Pop Over Position"
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
288 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
289 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
290 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
291 |
msgid "Left:"
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
295 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
296 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
297 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
298 |
msgid "Top:"
|
299 |
msgstr ""
|
300 |
|
301 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
302 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
303 |
msgid "Pop Over Margins"
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
307 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
308 |
msgid "Right:"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
312 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
313 |
msgid "Bottom:"
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
317 |
msgid "or use Javascript to resize and center the popover"
|
318 |
msgstr ""
|
319 |
|
320 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
321 |
msgid "Background Color"
|
322 |
msgstr ""
|
323 |
|
324 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
325 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
326 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
327 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
328 |
msgid "Hex:"
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
332 |
msgid "Font Color"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
336 |
msgid "Pop Over Style"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
340 |
msgid "Use Style"
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
344 |
msgid "Remove Hide Forever Link"
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
348 |
msgid "Remove the \"Never see this message again\" link"
|
349 |
msgstr ""
|
350 |
|
351 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
352 |
msgid "Pop over appearance delays"
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
356 |
msgid "Show Pop Over"
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
360 |
msgid "immediately"
|
361 |
msgstr ""
|
362 |
|
363 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
364 |
msgid "after"
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
368 |
msgid "seconds"
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
372 |
msgid "Update"
|
373 |
msgstr ""
|
374 |
|
375 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
376 |
msgid "Add"
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
380 |
msgid "Add and Activate"
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
384 |
msgid "Add this rule to the popover."
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
388 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
389 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
390 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
391 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
392 |
msgid "Remove"
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
396 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
397 |
msgid "times"
|
398 |
msgstr ""
|
399 |
|
400 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
401 |
msgid "Select a country from the list below"
|
402 |
msgstr ""
|
403 |
|
404 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
405 |
msgid "Your settings have been saved."
|
406 |
msgstr ""
|
407 |
|
408 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
409 |
msgid "Pop Over content settings"
|
410 |
msgstr ""
|
411 |
|
412 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
413 |
msgid "Use the settings below to modify the content of your pop over and the rules that will determine when, or if, it will be displayed."
|
414 |
msgstr ""
|
415 |
|
416 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
417 |
msgid "Pop Over content"
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
421 |
msgid "Enter the content for your pop over in the text area below. HTML is allowed."
|
422 |
msgstr ""
|
423 |
|
424 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
425 |
msgid "Update content"
|
426 |
msgstr ""
|
427 |
|
428 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
429 |
msgid "Pop Over display settings"
|
430 |
msgstr ""
|
431 |
|
432 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
433 |
msgid "Use the options below to determine the look, and display settings for the Pop Over."
|
434 |
msgstr ""
|
435 |
|
436 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
437 |
msgid "Appearance Settings"
|
438 |
msgstr ""
|
439 |
|
440 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
441 |
msgid "or just override the above with JS"
|
442 |
msgstr ""
|
443 |
|
444 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
445 |
msgid "Background Colour"
|
446 |
msgstr ""
|
447 |
|
448 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
449 |
msgid "Font Colour"
|
450 |
msgstr ""
|
451 |
|
452 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
453 |
msgid "Display Rules"
|
454 |
msgstr ""
|
455 |
|
456 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
457 |
msgid "Show the Pop Over if <strong>one</strong> of the following checked rules is true."
|
458 |
msgstr ""
|
459 |
|
460 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
461 |
msgid "Visitor is not a supporter."
|
462 |
msgstr ""
|
463 |
|
464 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
465 |
msgid "Visitor is logged in."
|
466 |
msgstr ""
|
467 |
|
468 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
469 |
msgid "Visitor is not logged in."
|
470 |
msgstr ""
|
471 |
|
472 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
473 |
msgid "Visitor has never commented here before."
|
474 |
msgstr ""
|
475 |
|
476 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
477 |
msgid "Visitor came from a search engine."
|
478 |
msgstr ""
|
479 |
|
480 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
481 |
msgid "Visitor did not come from an internal page."
|
482 |
msgstr ""
|
483 |
|
484 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
485 |
msgid "Visitor referrer matches"
|
486 |
msgstr ""
|
487 |
|
488 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
489 |
msgid "And the visitor has seen the pop over less than"
|
490 |
msgstr ""
|
491 |
|
492 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
493 |
msgid "Update settings"
|
494 |
msgstr ""
|
495 |
|
496 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
497 |
msgid "Add-on updated."
|
498 |
msgstr ""
|
499 |
|
500 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
501 |
msgid "Add-on not updated."
|
502 |
msgstr ""
|
503 |
|
504 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
505 |
msgid "Add-on activated."
|
506 |
msgstr ""
|
507 |
|
508 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
509 |
msgid "Add-on not activated."
|
510 |
msgstr ""
|
511 |
|
512 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
513 |
msgid "Add-on deactivated."
|
514 |
msgstr ""
|
515 |
|
516 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
517 |
msgid "Add-on not deactivated."
|
518 |
msgstr ""
|
519 |
|
520 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
521 |
msgid "Add-on activation toggled."
|
522 |
msgstr ""
|
523 |
|
524 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
525 |
msgid "Edit Add-ons"
|
526 |
msgstr ""
|
527 |
|
528 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
529 |
msgid "Add-on Name"
|
530 |
msgstr ""
|
531 |
|
532 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
533 |
msgid "Add-on File"
|
534 |
msgstr ""
|
535 |
|
536 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
537 |
msgid " by "
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:
|
541 |
msgid "No Add-ons where found for this install."
|
542 |
msgstr ""
|
543 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
544 |
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/css/default/popover.php:8
|
545 |
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/css/fixed/popover.php:8
|
546 |
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/css/fullbackground/popover.php:9
|
@@ -548,6 +600,16 @@ msgstr ""
|
|
548 |
msgid "Never see this message again."
|
549 |
msgstr ""
|
550 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
551 |
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/help/popover.help.php:1
|
552 |
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/help/popoveraddons.help.php:1
|
553 |
msgid "Introduction"
|
@@ -625,991 +687,987 @@ msgstr ""
|
|
625 |
msgid "Help"
|
626 |
msgstr ""
|
627 |
|
628 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
629 |
-
msgid "Please install the latest version of <a href=\"http://premium.wpmudev.org/project/update-notifications/\" title=\"Download Now »\">our free Update Notifications plugin</a> which helps you stay up-to-date with the most stable, secure versions of WPMU DEV themes and plugins. <a href=\"http://premium.wpmudev.org/wpmu-dev/update-notifications-plugin-information/\">More information »</a>"
|
630 |
-
msgstr ""
|
631 |
-
|
632 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:160
|
633 |
msgid "Australia"
|
634 |
msgstr ""
|
635 |
|
636 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
637 |
msgid "Afghanistan"
|
638 |
msgstr ""
|
639 |
|
640 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
641 |
msgid "Albania"
|
642 |
msgstr ""
|
643 |
|
644 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
645 |
msgid "Algeria"
|
646 |
msgstr ""
|
647 |
|
648 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
649 |
msgid "American Samoa"
|
650 |
msgstr ""
|
651 |
|
652 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
653 |
msgid "Andorra"
|
654 |
msgstr ""
|
655 |
|
656 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
657 |
msgid "Angola"
|
658 |
msgstr ""
|
659 |
|
660 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
661 |
msgid "Anguilla"
|
662 |
msgstr ""
|
663 |
|
664 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
665 |
msgid "Antarctica"
|
666 |
msgstr ""
|
667 |
|
668 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
669 |
msgid "Antigua & Barbuda"
|
670 |
msgstr ""
|
671 |
|
672 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
673 |
msgid "Argentina"
|
674 |
msgstr ""
|
675 |
|
676 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
677 |
msgid "Armenia"
|
678 |
msgstr ""
|
679 |
|
680 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
681 |
msgid "Aruba"
|
682 |
msgstr ""
|
683 |
|
684 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
685 |
msgid "Austria"
|
686 |
msgstr ""
|
687 |
|
688 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
689 |
msgid "Azerbaijan"
|
690 |
msgstr ""
|
691 |
|
692 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
693 |
msgid "Bahamas"
|
694 |
msgstr ""
|
695 |
|
696 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
697 |
msgid "Bahrain"
|
698 |
msgstr ""
|
699 |
|
700 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
701 |
msgid "Bangladesh"
|
702 |
msgstr ""
|
703 |
|
704 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
705 |
msgid "Barbados"
|
706 |
msgstr ""
|
707 |
|
708 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
709 |
msgid "Belarus"
|
710 |
msgstr ""
|
711 |
|
712 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
713 |
msgid "Belgium"
|
714 |
msgstr ""
|
715 |
|
716 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
717 |
msgid "Belize"
|
718 |
msgstr ""
|
719 |
|
720 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
721 |
msgid "Benin"
|
722 |
msgstr ""
|
723 |
|
724 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
725 |
msgid "Bermuda"
|
726 |
msgstr ""
|
727 |
|
728 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
729 |
msgid "Bhutan"
|
730 |
msgstr ""
|
731 |
|
732 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
733 |
msgid "Bolivia"
|
734 |
msgstr ""
|
735 |
|
736 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
737 |
msgid "Bosnia/Hercegovina"
|
738 |
msgstr ""
|
739 |
|
740 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
741 |
msgid "Botswana"
|
742 |
msgstr ""
|
743 |
|
744 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
745 |
msgid "Bouvet Island"
|
746 |
msgstr ""
|
747 |
|
748 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
749 |
msgid "Brazil"
|
750 |
msgstr ""
|
751 |
|
752 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
753 |
msgid "British Indian Ocean Territory"
|
754 |
msgstr ""
|
755 |
|
756 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
757 |
msgid "Brunei Darussalam"
|
758 |
msgstr ""
|
759 |
|
760 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
761 |
msgid "Bulgaria"
|
762 |
msgstr ""
|
763 |
|
764 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
765 |
msgid "Burkina Faso"
|
766 |
msgstr ""
|
767 |
|
768 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
769 |
msgid "Burundi"
|
770 |
msgstr ""
|
771 |
|
772 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
773 |
msgid "Cambodia"
|
774 |
msgstr ""
|
775 |
|
776 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
777 |
msgid "Cameroon"
|
778 |
msgstr ""
|
779 |
|
780 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
781 |
msgid "Canada"
|
782 |
msgstr ""
|
783 |
|
784 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
785 |
msgid "Cape Verde"
|
786 |
msgstr ""
|
787 |
|
788 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
789 |
msgid "Cayman Is"
|
790 |
msgstr ""
|
791 |
|
792 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
793 |
msgid "Central African Republic"
|
794 |
msgstr ""
|
795 |
|
796 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
797 |
msgid "Chad"
|
798 |
msgstr ""
|
799 |
|
800 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
801 |
msgid "Chile"
|
802 |
msgstr ""
|
803 |
|
804 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
805 |
msgid "China, People's Republic of"
|
806 |
msgstr ""
|
807 |
|
808 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
809 |
msgid "Christmas Island"
|
810 |
msgstr ""
|
811 |
|
812 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
813 |
msgid "Cocos Islands"
|
814 |
msgstr ""
|
815 |
|
816 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
817 |
msgid "Colombia"
|
818 |
msgstr ""
|
819 |
|
820 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
821 |
msgid "Comoros"
|
822 |
msgstr ""
|
823 |
|
824 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
825 |
msgid "Congo"
|
826 |
msgstr ""
|
827 |
|
828 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
829 |
msgid "Congo, Democratic Republic"
|
830 |
msgstr ""
|
831 |
|
832 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
833 |
msgid "Cook Islands"
|
834 |
msgstr ""
|
835 |
|
836 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
837 |
msgid "Costa Rica"
|
838 |
msgstr ""
|
839 |
|
840 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
841 |
msgid "Cote d'Ivoire"
|
842 |
msgstr ""
|
843 |
|
844 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
845 |
msgid "Croatia"
|
846 |
msgstr ""
|
847 |
|
848 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
849 |
msgid "Cuba"
|
850 |
msgstr ""
|
851 |
|
852 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
853 |
msgid "Cyprus"
|
854 |
msgstr ""
|
855 |
|
856 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
857 |
msgid "Czech Republic"
|
858 |
msgstr ""
|
859 |
|
860 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
861 |
msgid "Denmark"
|
862 |
msgstr ""
|
863 |
|
864 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
865 |
msgid "Djibouti"
|
866 |
msgstr ""
|
867 |
|
868 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
869 |
msgid "Dominica"
|
870 |
msgstr ""
|
871 |
|
872 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
873 |
msgid "Dominican Republic"
|
874 |
msgstr ""
|
875 |
|
876 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
877 |
msgid "East Timor"
|
878 |
msgstr ""
|
879 |
|
880 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
881 |
msgid "Ecuador"
|
882 |
msgstr ""
|
883 |
|
884 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
885 |
msgid "Egypt"
|
886 |
msgstr ""
|
887 |
|
888 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
889 |
msgid "El Salvador"
|
890 |
msgstr ""
|
891 |
|
892 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
893 |
msgid "Equatorial Guinea"
|
894 |
msgstr ""
|
895 |
|
896 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
897 |
msgid "Eritrea"
|
898 |
msgstr ""
|
899 |
|
900 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
901 |
msgid "Estonia"
|
902 |
msgstr ""
|
903 |
|
904 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
905 |
msgid "Ethiopia"
|
906 |
msgstr ""
|
907 |
|
908 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
909 |
msgid "Falkland Islands"
|
910 |
msgstr ""
|
911 |
|
912 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
913 |
msgid "Faroe Islands"
|
914 |
msgstr ""
|
915 |
|
916 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
917 |
msgid "Fiji"
|
918 |
msgstr ""
|
919 |
|
920 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
921 |
msgid "Finland"
|
922 |
msgstr ""
|
923 |
|
924 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
925 |
msgid "France"
|
926 |
msgstr ""
|
927 |
|
928 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
929 |
msgid "France, Metropolitan"
|
930 |
msgstr ""
|
931 |
|
932 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
933 |
msgid "French Guiana"
|
934 |
msgstr ""
|
935 |
|
936 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
937 |
msgid "French Polynesia"
|
938 |
msgstr ""
|
939 |
|
940 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
941 |
msgid "French South Territories"
|
942 |
msgstr ""
|
943 |
|
944 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
945 |
msgid "Gabon"
|
946 |
msgstr ""
|
947 |
|
948 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
949 |
msgid "Gambia"
|
950 |
msgstr ""
|
951 |
|
952 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
953 |
msgid "Georgia"
|
954 |
msgstr ""
|
955 |
|
956 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
957 |
msgid "Germany"
|
958 |
msgstr ""
|
959 |
|
960 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
961 |
msgid "Ghana"
|
962 |
msgstr ""
|
963 |
|
964 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
965 |
msgid "Gibraltar"
|
966 |
msgstr ""
|
967 |
|
968 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
969 |
msgid "Greece"
|
970 |
msgstr ""
|
971 |
|
972 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
973 |
msgid "Greenland"
|
974 |
msgstr ""
|
975 |
|
976 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
977 |
msgid "Grenada"
|
978 |
msgstr ""
|
979 |
|
980 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
981 |
msgid "Guadeloupe"
|
982 |
msgstr ""
|
983 |
|
984 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
985 |
msgid "Guam"
|
986 |
msgstr ""
|
987 |
|
988 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
989 |
msgid "Guatemala"
|
990 |
msgstr ""
|
991 |
|
992 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
993 |
msgid "Guinea"
|
994 |
msgstr ""
|
995 |
|
996 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
997 |
msgid "Guinea-Bissau"
|
998 |
msgstr ""
|
999 |
|
1000 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1001 |
msgid "Guyana"
|
1002 |
msgstr ""
|
1003 |
|
1004 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1005 |
msgid "Haiti"
|
1006 |
msgstr ""
|
1007 |
|
1008 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1009 |
msgid "Heard Island And Mcdonald Island"
|
1010 |
msgstr ""
|
1011 |
|
1012 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1013 |
msgid "Honduras"
|
1014 |
msgstr ""
|
1015 |
|
1016 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1017 |
msgid "Hong Kong"
|
1018 |
msgstr ""
|
1019 |
|
1020 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1021 |
msgid "Hungary"
|
1022 |
msgstr ""
|
1023 |
|
1024 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1025 |
msgid "Iceland"
|
1026 |
msgstr ""
|
1027 |
|
1028 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1029 |
msgid "India"
|
1030 |
msgstr ""
|
1031 |
|
1032 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1033 |
msgid "Indonesia"
|
1034 |
msgstr ""
|
1035 |
|
1036 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1037 |
msgid "Iran"
|
1038 |
msgstr ""
|
1039 |
|
1040 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1041 |
msgid "Iraq"
|
1042 |
msgstr ""
|
1043 |
|
1044 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1045 |
msgid "Ireland"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1049 |
msgid "Israel"
|
1050 |
msgstr ""
|
1051 |
|
1052 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1053 |
msgid "Italy"
|
1054 |
msgstr ""
|
1055 |
|
1056 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1057 |
msgid "Jamaica"
|
1058 |
msgstr ""
|
1059 |
|
1060 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1061 |
msgid "Japan"
|
1062 |
msgstr ""
|
1063 |
|
1064 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1065 |
msgid "Johnston Island"
|
1066 |
msgstr ""
|
1067 |
|
1068 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1069 |
msgid "Jordan"
|
1070 |
msgstr ""
|
1071 |
|
1072 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1073 |
msgid "Kazakhstan"
|
1074 |
msgstr ""
|
1075 |
|
1076 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1077 |
msgid "Kenya"
|
1078 |
msgstr ""
|
1079 |
|
1080 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1081 |
msgid "Kiribati"
|
1082 |
msgstr ""
|
1083 |
|
1084 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1085 |
msgid "Korea, Democratic Peoples Republic"
|
1086 |
msgstr ""
|
1087 |
|
1088 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1089 |
msgid "Korea, Republic of"
|
1090 |
msgstr ""
|
1091 |
|
1092 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1093 |
msgid "Kuwait"
|
1094 |
msgstr ""
|
1095 |
|
1096 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1097 |
msgid "Kyrgyzstan"
|
1098 |
msgstr ""
|
1099 |
|
1100 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1101 |
msgid "Lao People's Democratic Republic"
|
1102 |
msgstr ""
|
1103 |
|
1104 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1105 |
msgid "Latvia"
|
1106 |
msgstr ""
|
1107 |
|
1108 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1109 |
msgid "Lebanon"
|
1110 |
msgstr ""
|
1111 |
|
1112 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1113 |
msgid "Lesotho"
|
1114 |
msgstr ""
|
1115 |
|
1116 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1117 |
msgid "Liberia"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1121 |
msgid "Libyan Arab Jamahiriya"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1125 |
msgid "Liechtenstein"
|
1126 |
msgstr ""
|
1127 |
|
1128 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1129 |
msgid "Lithuania"
|
1130 |
msgstr ""
|
1131 |
|
1132 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1133 |
msgid "Luxembourg"
|
1134 |
msgstr ""
|
1135 |
|
1136 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1137 |
msgid "Macau"
|
1138 |
msgstr ""
|
1139 |
|
1140 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1141 |
msgid "Macedonia"
|
1142 |
msgstr ""
|
1143 |
|
1144 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1145 |
msgid "Madagascar"
|
1146 |
msgstr ""
|
1147 |
|
1148 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1149 |
msgid "Malawi"
|
1150 |
msgstr ""
|
1151 |
|
1152 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1153 |
msgid "Malaysia"
|
1154 |
msgstr ""
|
1155 |
|
1156 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1157 |
msgid "Maldives"
|
1158 |
msgstr ""
|
1159 |
|
1160 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1161 |
msgid "Mali"
|
1162 |
msgstr ""
|
1163 |
|
1164 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1165 |
msgid "Malta"
|
1166 |
msgstr ""
|
1167 |
|
1168 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1169 |
msgid "Marshall Islands"
|
1170 |
msgstr ""
|
1171 |
|
1172 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1173 |
msgid "Martinique"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1177 |
msgid "Mauritania"
|
1178 |
msgstr ""
|
1179 |
|
1180 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1181 |
msgid "Mauritius"
|
1182 |
msgstr ""
|
1183 |
|
1184 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1185 |
msgid "Mayotte"
|
1186 |
msgstr ""
|
1187 |
|
1188 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1189 |
msgid "Mexico"
|
1190 |
msgstr ""
|
1191 |
|
1192 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1193 |
msgid "Micronesia"
|
1194 |
msgstr ""
|
1195 |
|
1196 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1197 |
msgid "Moldavia"
|
1198 |
msgstr ""
|
1199 |
|
1200 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1201 |
msgid "Monaco"
|
1202 |
msgstr ""
|
1203 |
|
1204 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1205 |
msgid "Mongolia"
|
1206 |
msgstr ""
|
1207 |
|
1208 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1209 |
msgid "Montserrat"
|
1210 |
msgstr ""
|
1211 |
|
1212 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1213 |
msgid "Morocco"
|
1214 |
msgstr ""
|
1215 |
|
1216 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1217 |
msgid "Mozambique"
|
1218 |
msgstr ""
|
1219 |
|
1220 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1221 |
msgid "Union Of Myanmar"
|
1222 |
msgstr ""
|
1223 |
|
1224 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1225 |
msgid "Namibia"
|
1226 |
msgstr ""
|
1227 |
|
1228 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1229 |
msgid "Nauru Island"
|
1230 |
msgstr ""
|
1231 |
|
1232 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1233 |
msgid "Nepal"
|
1234 |
msgstr ""
|
1235 |
|
1236 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1237 |
msgid "Netherlands"
|
1238 |
msgstr ""
|
1239 |
|
1240 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1241 |
msgid "Netherlands Antilles"
|
1242 |
msgstr ""
|
1243 |
|
1244 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1245 |
msgid "New Caledonia"
|
1246 |
msgstr ""
|
1247 |
|
1248 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1249 |
msgid "New Zealand"
|
1250 |
msgstr ""
|
1251 |
|
1252 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1253 |
msgid "Nicaragua"
|
1254 |
msgstr ""
|
1255 |
|
1256 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1257 |
msgid "Niger"
|
1258 |
msgstr ""
|
1259 |
|
1260 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1261 |
msgid "Nigeria"
|
1262 |
msgstr ""
|
1263 |
|
1264 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1265 |
msgid "Niue"
|
1266 |
msgstr ""
|
1267 |
|
1268 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1269 |
msgid "Norfolk Island"
|
1270 |
msgstr ""
|
1271 |
|
1272 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1273 |
msgid "Mariana Islands, Northern"
|
1274 |
msgstr ""
|
1275 |
|
1276 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1277 |
msgid "Norway"
|
1278 |
msgstr ""
|
1279 |
|
1280 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1281 |
msgid "Oman"
|
1282 |
msgstr ""
|
1283 |
|
1284 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1285 |
msgid "Pakistan"
|
1286 |
msgstr ""
|
1287 |
|
1288 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1289 |
msgid "Palau Islands"
|
1290 |
msgstr ""
|
1291 |
|
1292 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1293 |
msgid "Palestine"
|
1294 |
msgstr ""
|
1295 |
|
1296 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1297 |
msgid "Panama"
|
1298 |
msgstr ""
|
1299 |
|
1300 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1301 |
msgid "Papua New Guinea"
|
1302 |
msgstr ""
|
1303 |
|
1304 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1305 |
msgid "Paraguay"
|
1306 |
msgstr ""
|
1307 |
|
1308 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1309 |
msgid "Peru"
|
1310 |
msgstr ""
|
1311 |
|
1312 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1313 |
msgid "Philippines"
|
1314 |
msgstr ""
|
1315 |
|
1316 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1317 |
msgid "Pitcairn"
|
1318 |
msgstr ""
|
1319 |
|
1320 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1321 |
msgid "Poland"
|
1322 |
msgstr ""
|
1323 |
|
1324 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1325 |
msgid "Portugal"
|
1326 |
msgstr ""
|
1327 |
|
1328 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1329 |
msgid "Puerto Rico"
|
1330 |
msgstr ""
|
1331 |
|
1332 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1333 |
msgid "Qatar"
|
1334 |
msgstr ""
|
1335 |
|
1336 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1337 |
msgid "Reunion Island"
|
1338 |
msgstr ""
|
1339 |
|
1340 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1341 |
msgid "Romania"
|
1342 |
msgstr ""
|
1343 |
|
1344 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1345 |
msgid "Russian Federation"
|
1346 |
msgstr ""
|
1347 |
|
1348 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1349 |
msgid "Rwanda"
|
1350 |
msgstr ""
|
1351 |
|
1352 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1353 |
msgid "Samoa"
|
1354 |
msgstr ""
|
1355 |
|
1356 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1357 |
msgid "St Helena"
|
1358 |
msgstr ""
|
1359 |
|
1360 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1361 |
msgid "St Kitts & Nevis"
|
1362 |
msgstr ""
|
1363 |
|
1364 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1365 |
msgid "St Lucia"
|
1366 |
msgstr ""
|
1367 |
|
1368 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1369 |
msgid "St Pierre & Miquelon"
|
1370 |
msgstr ""
|
1371 |
|
1372 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1373 |
msgid "St Vincent"
|
1374 |
msgstr ""
|
1375 |
|
1376 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1377 |
msgid "San Marino"
|
1378 |
msgstr ""
|
1379 |
|
1380 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1381 |
msgid "Sao Tome & Principe"
|
1382 |
msgstr ""
|
1383 |
|
1384 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1385 |
msgid "Saudi Arabia"
|
1386 |
msgstr ""
|
1387 |
|
1388 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1389 |
msgid "Senegal"
|
1390 |
msgstr ""
|
1391 |
|
1392 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1393 |
msgid "Seychelles"
|
1394 |
msgstr ""
|
1395 |
|
1396 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1397 |
msgid "Sierra Leone"
|
1398 |
msgstr ""
|
1399 |
|
1400 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1401 |
msgid "Singapore"
|
1402 |
msgstr ""
|
1403 |
|
1404 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1405 |
msgid "Slovakia"
|
1406 |
msgstr ""
|
1407 |
|
1408 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1409 |
msgid "Slovenia"
|
1410 |
msgstr ""
|
1411 |
|
1412 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1413 |
msgid "Solomon Islands"
|
1414 |
msgstr ""
|
1415 |
|
1416 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1417 |
msgid "Somalia"
|
1418 |
msgstr ""
|
1419 |
|
1420 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1421 |
msgid "South Africa"
|
1422 |
msgstr ""
|
1423 |
|
1424 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1425 |
msgid "South Georgia and South Sandwich"
|
1426 |
msgstr ""
|
1427 |
|
1428 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1429 |
msgid "Spain"
|
1430 |
msgstr ""
|
1431 |
|
1432 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1433 |
msgid "Sri Lanka"
|
1434 |
msgstr ""
|
1435 |
|
1436 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1437 |
msgid "Stateless Persons"
|
1438 |
msgstr ""
|
1439 |
|
1440 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1441 |
msgid "Sudan"
|
1442 |
msgstr ""
|
1443 |
|
1444 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1445 |
msgid "Suriname"
|
1446 |
msgstr ""
|
1447 |
|
1448 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1449 |
msgid "Svalbard and Jan Mayen"
|
1450 |
msgstr ""
|
1451 |
|
1452 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1453 |
msgid "Swaziland"
|
1454 |
msgstr ""
|
1455 |
|
1456 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1457 |
msgid "Sweden"
|
1458 |
msgstr ""
|
1459 |
|
1460 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1461 |
msgid "Switzerland"
|
1462 |
msgstr ""
|
1463 |
|
1464 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1465 |
msgid "Syrian Arab Republic"
|
1466 |
msgstr ""
|
1467 |
|
1468 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1469 |
msgid "Taiwan, Republic of China"
|
1470 |
msgstr ""
|
1471 |
|
1472 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1473 |
msgid "Tajikistan"
|
1474 |
msgstr ""
|
1475 |
|
1476 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1477 |
msgid "Tanzania"
|
1478 |
msgstr ""
|
1479 |
|
1480 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1481 |
msgid "Thailand"
|
1482 |
msgstr ""
|
1483 |
|
1484 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1485 |
msgid "Timor Leste"
|
1486 |
msgstr ""
|
1487 |
|
1488 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1489 |
msgid "Togo"
|
1490 |
msgstr ""
|
1491 |
|
1492 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1493 |
msgid "Tokelau"
|
1494 |
msgstr ""
|
1495 |
|
1496 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1497 |
msgid "Tonga"
|
1498 |
msgstr ""
|
1499 |
|
1500 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1501 |
msgid "Trinidad & Tobago"
|
1502 |
msgstr ""
|
1503 |
|
1504 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1505 |
msgid "Tunisia"
|
1506 |
msgstr ""
|
1507 |
|
1508 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1509 |
msgid "Turkey"
|
1510 |
msgstr ""
|
1511 |
|
1512 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1513 |
msgid "Turkmenistan"
|
1514 |
msgstr ""
|
1515 |
|
1516 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1517 |
msgid "Turks And Caicos Islands"
|
1518 |
msgstr ""
|
1519 |
|
1520 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1521 |
msgid "Tuvalu"
|
1522 |
msgstr ""
|
1523 |
|
1524 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1525 |
msgid "Uganda"
|
1526 |
msgstr ""
|
1527 |
|
1528 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1529 |
msgid "Ukraine"
|
1530 |
msgstr ""
|
1531 |
|
1532 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1533 |
msgid "United Arab Emirates"
|
1534 |
msgstr ""
|
1535 |
|
1536 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1537 |
msgid "United Kingdom"
|
1538 |
msgstr ""
|
1539 |
|
1540 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1541 |
msgid "US Minor Outlying Islands"
|
1542 |
msgstr ""
|
1543 |
|
1544 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1545 |
msgid "USA"
|
1546 |
msgstr ""
|
1547 |
|
1548 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1549 |
msgid "Upper Volta"
|
1550 |
msgstr ""
|
1551 |
|
1552 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1553 |
msgid "Uruguay"
|
1554 |
msgstr ""
|
1555 |
|
1556 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1557 |
msgid "Uzbekistan"
|
1558 |
msgstr ""
|
1559 |
|
1560 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1561 |
msgid "Vanuatu"
|
1562 |
msgstr ""
|
1563 |
|
1564 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1565 |
msgid "Vatican City State"
|
1566 |
msgstr ""
|
1567 |
|
1568 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1569 |
msgid "Venezuela"
|
1570 |
msgstr ""
|
1571 |
|
1572 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1573 |
msgid "Vietnam"
|
1574 |
msgstr ""
|
1575 |
|
1576 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1577 |
msgid "Virgin Islands (British)"
|
1578 |
msgstr ""
|
1579 |
|
1580 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1581 |
msgid "Virgin Islands (US)"
|
1582 |
msgstr ""
|
1583 |
|
1584 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1585 |
msgid "Wallis And Futuna Islands"
|
1586 |
msgstr ""
|
1587 |
|
1588 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1589 |
msgid "Western Sahara"
|
1590 |
msgstr ""
|
1591 |
|
1592 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1593 |
msgid "Yemen Arab Rep."
|
1594 |
msgstr ""
|
1595 |
|
1596 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1597 |
msgid "Yemen Democratic"
|
1598 |
msgstr ""
|
1599 |
|
1600 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1601 |
msgid "Yugoslavia"
|
1602 |
msgstr ""
|
1603 |
|
1604 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1605 |
msgid "Zaire"
|
1606 |
msgstr ""
|
1607 |
|
1608 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1609 |
msgid "Zambia"
|
1610 |
msgstr ""
|
1611 |
|
1612 |
-
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:
|
1613 |
msgid "Zimbabwe"
|
1614 |
msgstr ""
|
1615 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: PopOver\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2013-08-25 11:29+0100\n"
|
6 |
+
"PO-Revision-Date: 2013-08-25 11:29+0100\n"
|
7 |
+
"Last-Translator: \n"
|
8 |
"Language-Team: Incsub <barry@incsub.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
22 |
msgstr ""
|
23 |
|
24 |
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popover.help.php:75
|
25 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:120
|
26 |
msgid "Add-ons"
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:111
|
30 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:115
|
31 |
msgid "Pop Overs"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:119
|
35 |
msgid "Create New Pop Over"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:119
|
39 |
msgid "Create New"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:120
|
43 |
msgid "Manage Add-ons Plugins"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:122
|
47 |
+
msgid "Settings"
|
48 |
+
msgstr ""
|
49 |
+
|
50 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:270
|
51 |
msgid "An error occured updating the Pop Over order."
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:271
|
55 |
msgid "Are you sure you want to delete this Pop Over?"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:321
|
59 |
#, php-format
|
60 |
msgid "Welcome to Popover, would you like to transfer your existing Popover to the new format? <a href='%s'>Yes please transfer it</a> / <a href='%s'>No thanks, I'll create a new one myself.</a>"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:340
|
64 |
msgid "Transferred Popover"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:702
|
68 |
msgid "Pop Over updated."
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:703
|
72 |
msgid "Pop Over not updated."
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:705
|
76 |
msgid "Pop Over activated."
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:706
|
80 |
msgid "Pop Over not activated."
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:708
|
84 |
msgid "Pop Over deactivated."
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:709
|
88 |
msgid "Pop Over not deactivated."
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:711
|
92 |
msgid "Pop Over activation toggled."
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:713
|
96 |
msgid "Pop Over deleted."
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:714
|
100 |
msgid "Pop Over not deleted."
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:716
|
104 |
msgid "Pop Over added."
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:717
|
108 |
msgid "Pop Over not added."
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:721
|
112 |
msgid "Edit Pop Overs"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:721
|
116 |
msgid "Add New"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:739
|
120 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:915
|
121 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1898
|
122 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:2026
|
123 |
msgid "Bulk Actions"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:740
|
127 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:916
|
128 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1899
|
129 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:2027
|
130 |
msgid "Toggle activation"
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:742
|
134 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:918
|
135 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1901
|
136 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:2029
|
137 |
msgid "Apply"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:756
|
141 |
msgid "Pop Over Name"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:757
|
145 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1308
|
146 |
msgid "Conditions"
|
147 |
msgstr ""
|
148 |
|
149 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:758
|
150 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:888
|
151 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1917
|
152 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1999
|
153 |
msgid "Active"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:819
|
157 |
msgid "Edit"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:822
|
161 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1985
|
162 |
msgid "Deactivate"
|
163 |
msgstr ""
|
164 |
|
165 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:824
|
166 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1987
|
167 |
msgid "Activate"
|
168 |
msgstr ""
|
169 |
|
170 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:827
|
171 |
msgid "Delete"
|
172 |
msgstr ""
|
173 |
|
174 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:842
|
175 |
msgid "Site is not a Pro-site"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:845
|
179 |
msgid "Visitor is logged in"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:848
|
183 |
msgid "Visitor is not logged in"
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:851
|
187 |
msgid "Visitor has never commented"
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:854
|
191 |
msgid "Visit via a search engine"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:857
|
195 |
msgid "Visit not via an Internal link"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:860
|
199 |
msgid "Visit via specific referer"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:863
|
203 |
msgid "Popover shown less than x times"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:866
|
207 |
msgid "On specific URL"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:869
|
211 |
msgid "Not on specific URL"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:872
|
215 |
msgid "In a specific country"
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:875
|
219 |
msgid "Not in a specific country"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:890
|
223 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:2001
|
224 |
msgid "Inactive"
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:901
|
228 |
msgid "No Pop Overs were found."
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:950
|
232 |
msgid "New Pop Over"
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1005
|
236 |
msgid "Edit Pop Over"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1007
|
240 |
msgid "Add Pop Over"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1020
|
244 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:2053
|
245 |
msgid "Pop Over Settings"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1026
|
249 |
msgid "Popover title"
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1029
|
253 |
msgid "Popover content"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1041
|
257 |
msgid "Active conditions"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1042
|
261 |
msgid "These are the rules that will determine if a popover should show when a visitor arrives at your website ALL rules must be true for the popover to show."
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1094
|
265 |
msgid "Drop here"
|
266 |
msgstr ""
|
267 |
|
268 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1097
|
269 |
msgid "Appearance settings"
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1100
|
273 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1655
|
274 |
msgid "Pop Over Size"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1102
|
278 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1657
|
279 |
msgid "Width:"
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1104
|
283 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1659
|
284 |
msgid "Height:"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1110
|
288 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1665
|
289 |
msgid "Pop Over Position"
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1112
|
293 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1122
|
294 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1667
|
295 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1677
|
296 |
msgid "Left:"
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1114
|
300 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1126
|
301 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1669
|
302 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1681
|
303 |
msgid "Top:"
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1120
|
307 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1675
|
308 |
msgid "Pop Over Margins"
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1124
|
312 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1679
|
313 |
msgid "Right:"
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1128
|
317 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1683
|
318 |
msgid "Bottom:"
|
319 |
msgstr ""
|
320 |
|
321 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1136
|
322 |
msgid "or use Javascript to resize and center the popover"
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1144
|
326 |
msgid "Background Color"
|
327 |
msgstr ""
|
328 |
|
329 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1146
|
330 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1154
|
331 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1703
|
332 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1711
|
333 |
msgid "Hex:"
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1152
|
337 |
msgid "Font Color"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1166
|
341 |
msgid "Pop Over Style"
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1170
|
345 |
msgid "Use Style"
|
346 |
msgstr ""
|
347 |
|
348 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1197
|
349 |
msgid "Remove Hide Forever Link"
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1200
|
353 |
msgid "Remove the \"Never see this message again\" link"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1207
|
357 |
msgid "Pop over appearance delays"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1210
|
361 |
msgid "Show Pop Over"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1213
|
365 |
msgid "immediately"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1217
|
369 |
msgid "after"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1217
|
373 |
msgid "seconds"
|
374 |
msgstr ""
|
375 |
|
376 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1231
|
377 |
msgid "Update"
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1234
|
381 |
msgid "Add"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1234
|
385 |
msgid "Add and Activate"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1416
|
389 |
msgid "Add this rule to the popover."
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1429
|
393 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1442
|
394 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1456
|
395 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1474
|
396 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1490
|
397 |
msgid "Remove"
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1460
|
401 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1781
|
402 |
msgid "times"
|
403 |
msgstr ""
|
404 |
|
405 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1495
|
406 |
msgid "Select a country from the list below"
|
407 |
msgstr ""
|
408 |
|
409 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1604
|
410 |
msgid "Your settings have been saved."
|
411 |
msgstr ""
|
412 |
|
413 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1633
|
414 |
msgid "Pop Over content settings"
|
415 |
msgstr ""
|
416 |
|
417 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1634
|
418 |
msgid "Use the settings below to modify the content of your pop over and the rules that will determine when, or if, it will be displayed."
|
419 |
msgstr ""
|
420 |
|
421 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1636
|
422 |
msgid "Pop Over content"
|
423 |
msgstr ""
|
424 |
|
425 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1637
|
426 |
msgid "Enter the content for your pop over in the text area below. HTML is allowed."
|
427 |
msgstr ""
|
428 |
|
429 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1641
|
430 |
msgid "Update content"
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1644
|
434 |
msgid "Pop Over display settings"
|
435 |
msgstr ""
|
436 |
|
437 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1645
|
438 |
msgid "Use the options below to determine the look, and display settings for the Pop Over."
|
439 |
msgstr ""
|
440 |
|
441 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1651
|
442 |
msgid "Appearance Settings"
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1691
|
446 |
msgid "or just override the above with JS"
|
447 |
msgstr ""
|
448 |
|
449 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1701
|
450 |
msgid "Background Colour"
|
451 |
msgstr ""
|
452 |
|
453 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1709
|
454 |
msgid "Font Colour"
|
455 |
msgstr ""
|
456 |
|
457 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1721
|
458 |
msgid "Display Rules"
|
459 |
msgstr ""
|
460 |
|
461 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1723
|
462 |
msgid "Show the Pop Over if <strong>one</strong> of the following checked rules is true."
|
463 |
msgstr ""
|
464 |
|
465 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1733
|
466 |
msgid "Visitor is not a supporter."
|
467 |
msgstr ""
|
468 |
|
469 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1742
|
470 |
msgid "Visitor is logged in."
|
471 |
msgstr ""
|
472 |
|
473 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1748
|
474 |
msgid "Visitor is not logged in."
|
475 |
msgstr ""
|
476 |
|
477 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1754
|
478 |
msgid "Visitor has never commented here before."
|
479 |
msgstr ""
|
480 |
|
481 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1760
|
482 |
msgid "Visitor came from a search engine."
|
483 |
msgstr ""
|
484 |
|
485 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1766
|
486 |
msgid "Visitor did not come from an internal page."
|
487 |
msgstr ""
|
488 |
|
489 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1772
|
490 |
msgid "Visitor referrer matches"
|
491 |
msgstr ""
|
492 |
|
493 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1779
|
494 |
msgid "And the visitor has seen the pop over less than"
|
495 |
msgstr ""
|
496 |
|
497 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1789
|
498 |
msgid "Update settings"
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1866
|
502 |
msgid "Add-on updated."
|
503 |
msgstr ""
|
504 |
|
505 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1867
|
506 |
msgid "Add-on not updated."
|
507 |
msgstr ""
|
508 |
|
509 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1869
|
510 |
msgid "Add-on activated."
|
511 |
msgstr ""
|
512 |
|
513 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1870
|
514 |
msgid "Add-on not activated."
|
515 |
msgstr ""
|
516 |
|
517 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1872
|
518 |
msgid "Add-on deactivated."
|
519 |
msgstr ""
|
520 |
|
521 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1873
|
522 |
msgid "Add-on not deactivated."
|
523 |
msgstr ""
|
524 |
|
525 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1875
|
526 |
msgid "Add-on activation toggled."
|
527 |
msgstr ""
|
528 |
|
529 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1880
|
530 |
msgid "Edit Add-ons"
|
531 |
msgstr ""
|
532 |
|
533 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1915
|
534 |
msgid "Add-on Name"
|
535 |
msgstr ""
|
536 |
|
537 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1916
|
538 |
msgid "Add-on File"
|
539 |
msgstr ""
|
540 |
|
541 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:1977
|
542 |
msgid " by "
|
543 |
msgstr ""
|
544 |
|
545 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:2012
|
546 |
msgid "No Add-ons where found for this install."
|
547 |
msgstr ""
|
548 |
|
549 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:2047
|
550 |
+
msgid "Your settings have been updated."
|
551 |
+
msgstr ""
|
552 |
+
|
553 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:2072
|
554 |
+
msgid "Pop Over loading method"
|
555 |
+
msgstr ""
|
556 |
+
|
557 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:2074
|
558 |
+
msgid "Select the loading method you want to use for your Pop Overs."
|
559 |
+
msgstr ""
|
560 |
+
|
561 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:2076
|
562 |
+
msgid "- Page Footer : The pop over is included as part of the page html."
|
563 |
+
msgstr ""
|
564 |
+
|
565 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:2077
|
566 |
+
msgid "- External Load : The pop over is loaded separately from the page, this is the best option if you are running a caching system."
|
567 |
+
msgstr ""
|
568 |
+
|
569 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:2078
|
570 |
+
msgid "- Custom Load : The pop over is loaded separately from the page via a custom front end ajax call."
|
571 |
+
msgstr ""
|
572 |
+
|
573 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:2084
|
574 |
+
msgid "Pop Over loaded using"
|
575 |
+
msgstr ""
|
576 |
+
|
577 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:2090
|
578 |
+
msgid "Page Footer"
|
579 |
+
msgstr ""
|
580 |
+
|
581 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:2091
|
582 |
+
msgid "External Load"
|
583 |
+
msgstr ""
|
584 |
+
|
585 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/classes/popoveradmin.php:2092
|
586 |
+
msgid "Custom Load"
|
587 |
+
msgstr ""
|
588 |
+
|
589 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/css/default/popover.php:2
|
590 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/css/fixed/popover.php:2
|
591 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/css/fullbackground/popover.php:3
|
592 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/css/fullbackgroundfixed/popover.php:2
|
593 |
+
msgid "Close this box"
|
594 |
+
msgstr ""
|
595 |
+
|
596 |
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/css/default/popover.php:8
|
597 |
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/css/fixed/popover.php:8
|
598 |
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/css/fullbackground/popover.php:9
|
600 |
msgid "Never see this message again."
|
601 |
msgstr ""
|
602 |
|
603 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/external/wpmudev-dash-notification.php:57
|
604 |
+
#, php-format
|
605 |
+
msgid "Easily get updates, support, and one-click WPMU DEV plugin/theme installations right from in your dashboard - <strong><a href=\"%s\" title=\"Install Now »\">install the free WPMU DEV Dashboard plugin</a></strong>. <small><a href=\"http://premium.wpmudev.org/wpmu-dev/update-notifications-plugin-information/\">(find out more)</a></small>"
|
606 |
+
msgstr ""
|
607 |
+
|
608 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/external/wpmudev-dash-notification.php:61
|
609 |
+
#, php-format
|
610 |
+
msgid "Updates, Support, Premium Plugins, Community - <strong><a href=\"%s\" title=\"Activate Now »\">activate the WPMU DEV Dashboard plugin now</a></strong>."
|
611 |
+
msgstr ""
|
612 |
+
|
613 |
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/help/popover.help.php:1
|
614 |
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/help/popoveraddons.help.php:1
|
615 |
msgid "Introduction"
|
687 |
msgid "Help"
|
688 |
msgstr ""
|
689 |
|
690 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:150
|
|
|
|
|
|
|
|
|
691 |
msgid "Australia"
|
692 |
msgstr ""
|
693 |
|
694 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:151
|
695 |
msgid "Afghanistan"
|
696 |
msgstr ""
|
697 |
|
698 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:152
|
699 |
msgid "Albania"
|
700 |
msgstr ""
|
701 |
|
702 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:153
|
703 |
msgid "Algeria"
|
704 |
msgstr ""
|
705 |
|
706 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:154
|
707 |
msgid "American Samoa"
|
708 |
msgstr ""
|
709 |
|
710 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:155
|
711 |
msgid "Andorra"
|
712 |
msgstr ""
|
713 |
|
714 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:156
|
715 |
msgid "Angola"
|
716 |
msgstr ""
|
717 |
|
718 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:157
|
719 |
msgid "Anguilla"
|
720 |
msgstr ""
|
721 |
|
722 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:158
|
723 |
msgid "Antarctica"
|
724 |
msgstr ""
|
725 |
|
726 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:159
|
727 |
msgid "Antigua & Barbuda"
|
728 |
msgstr ""
|
729 |
|
730 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:160
|
731 |
msgid "Argentina"
|
732 |
msgstr ""
|
733 |
|
734 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:161
|
735 |
msgid "Armenia"
|
736 |
msgstr ""
|
737 |
|
738 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:162
|
739 |
msgid "Aruba"
|
740 |
msgstr ""
|
741 |
|
742 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:163
|
743 |
msgid "Austria"
|
744 |
msgstr ""
|
745 |
|
746 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:164
|
747 |
msgid "Azerbaijan"
|
748 |
msgstr ""
|
749 |
|
750 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:165
|
751 |
msgid "Bahamas"
|
752 |
msgstr ""
|
753 |
|
754 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:166
|
755 |
msgid "Bahrain"
|
756 |
msgstr ""
|
757 |
|
758 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:167
|
759 |
msgid "Bangladesh"
|
760 |
msgstr ""
|
761 |
|
762 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:168
|
763 |
msgid "Barbados"
|
764 |
msgstr ""
|
765 |
|
766 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:169
|
767 |
msgid "Belarus"
|
768 |
msgstr ""
|
769 |
|
770 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:170
|
771 |
msgid "Belgium"
|
772 |
msgstr ""
|
773 |
|
774 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:171
|
775 |
msgid "Belize"
|
776 |
msgstr ""
|
777 |
|
778 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:172
|
779 |
msgid "Benin"
|
780 |
msgstr ""
|
781 |
|
782 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:173
|
783 |
msgid "Bermuda"
|
784 |
msgstr ""
|
785 |
|
786 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:174
|
787 |
msgid "Bhutan"
|
788 |
msgstr ""
|
789 |
|
790 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:175
|
791 |
msgid "Bolivia"
|
792 |
msgstr ""
|
793 |
|
794 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:176
|
795 |
msgid "Bosnia/Hercegovina"
|
796 |
msgstr ""
|
797 |
|
798 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:177
|
799 |
msgid "Botswana"
|
800 |
msgstr ""
|
801 |
|
802 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:178
|
803 |
msgid "Bouvet Island"
|
804 |
msgstr ""
|
805 |
|
806 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:179
|
807 |
msgid "Brazil"
|
808 |
msgstr ""
|
809 |
|
810 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:180
|
811 |
msgid "British Indian Ocean Territory"
|
812 |
msgstr ""
|
813 |
|
814 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:181
|
815 |
msgid "Brunei Darussalam"
|
816 |
msgstr ""
|
817 |
|
818 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:182
|
819 |
msgid "Bulgaria"
|
820 |
msgstr ""
|
821 |
|
822 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:183
|
823 |
msgid "Burkina Faso"
|
824 |
msgstr ""
|
825 |
|
826 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:184
|
827 |
msgid "Burundi"
|
828 |
msgstr ""
|
829 |
|
830 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:185
|
831 |
msgid "Cambodia"
|
832 |
msgstr ""
|
833 |
|
834 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:186
|
835 |
msgid "Cameroon"
|
836 |
msgstr ""
|
837 |
|
838 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:187
|
839 |
msgid "Canada"
|
840 |
msgstr ""
|
841 |
|
842 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:188
|
843 |
msgid "Cape Verde"
|
844 |
msgstr ""
|
845 |
|
846 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:189
|
847 |
msgid "Cayman Is"
|
848 |
msgstr ""
|
849 |
|
850 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:190
|
851 |
msgid "Central African Republic"
|
852 |
msgstr ""
|
853 |
|
854 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:191
|
855 |
msgid "Chad"
|
856 |
msgstr ""
|
857 |
|
858 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:192
|
859 |
msgid "Chile"
|
860 |
msgstr ""
|
861 |
|
862 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:193
|
863 |
msgid "China, People's Republic of"
|
864 |
msgstr ""
|
865 |
|
866 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:194
|
867 |
msgid "Christmas Island"
|
868 |
msgstr ""
|
869 |
|
870 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:195
|
871 |
msgid "Cocos Islands"
|
872 |
msgstr ""
|
873 |
|
874 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:196
|
875 |
msgid "Colombia"
|
876 |
msgstr ""
|
877 |
|
878 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:197
|
879 |
msgid "Comoros"
|
880 |
msgstr ""
|
881 |
|
882 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:198
|
883 |
msgid "Congo"
|
884 |
msgstr ""
|
885 |
|
886 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:199
|
887 |
msgid "Congo, Democratic Republic"
|
888 |
msgstr ""
|
889 |
|
890 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:200
|
891 |
msgid "Cook Islands"
|
892 |
msgstr ""
|
893 |
|
894 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:201
|
895 |
msgid "Costa Rica"
|
896 |
msgstr ""
|
897 |
|
898 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:202
|
899 |
msgid "Cote d'Ivoire"
|
900 |
msgstr ""
|
901 |
|
902 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:203
|
903 |
msgid "Croatia"
|
904 |
msgstr ""
|
905 |
|
906 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:204
|
907 |
msgid "Cuba"
|
908 |
msgstr ""
|
909 |
|
910 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:205
|
911 |
msgid "Cyprus"
|
912 |
msgstr ""
|
913 |
|
914 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:206
|
915 |
msgid "Czech Republic"
|
916 |
msgstr ""
|
917 |
|
918 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:207
|
919 |
msgid "Denmark"
|
920 |
msgstr ""
|
921 |
|
922 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:208
|
923 |
msgid "Djibouti"
|
924 |
msgstr ""
|
925 |
|
926 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:209
|
927 |
msgid "Dominica"
|
928 |
msgstr ""
|
929 |
|
930 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:210
|
931 |
msgid "Dominican Republic"
|
932 |
msgstr ""
|
933 |
|
934 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:211
|
935 |
msgid "East Timor"
|
936 |
msgstr ""
|
937 |
|
938 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:212
|
939 |
msgid "Ecuador"
|
940 |
msgstr ""
|
941 |
|
942 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:213
|
943 |
msgid "Egypt"
|
944 |
msgstr ""
|
945 |
|
946 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:214
|
947 |
msgid "El Salvador"
|
948 |
msgstr ""
|
949 |
|
950 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:215
|
951 |
msgid "Equatorial Guinea"
|
952 |
msgstr ""
|
953 |
|
954 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:216
|
955 |
msgid "Eritrea"
|
956 |
msgstr ""
|
957 |
|
958 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:217
|
959 |
msgid "Estonia"
|
960 |
msgstr ""
|
961 |
|
962 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:218
|
963 |
msgid "Ethiopia"
|
964 |
msgstr ""
|
965 |
|
966 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:219
|
967 |
msgid "Falkland Islands"
|
968 |
msgstr ""
|
969 |
|
970 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:220
|
971 |
msgid "Faroe Islands"
|
972 |
msgstr ""
|
973 |
|
974 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:221
|
975 |
msgid "Fiji"
|
976 |
msgstr ""
|
977 |
|
978 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:222
|
979 |
msgid "Finland"
|
980 |
msgstr ""
|
981 |
|
982 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:223
|
983 |
msgid "France"
|
984 |
msgstr ""
|
985 |
|
986 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:224
|
987 |
msgid "France, Metropolitan"
|
988 |
msgstr ""
|
989 |
|
990 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:225
|
991 |
msgid "French Guiana"
|
992 |
msgstr ""
|
993 |
|
994 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:226
|
995 |
msgid "French Polynesia"
|
996 |
msgstr ""
|
997 |
|
998 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:227
|
999 |
msgid "French South Territories"
|
1000 |
msgstr ""
|
1001 |
|
1002 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:228
|
1003 |
msgid "Gabon"
|
1004 |
msgstr ""
|
1005 |
|
1006 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:229
|
1007 |
msgid "Gambia"
|
1008 |
msgstr ""
|
1009 |
|
1010 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:230
|
1011 |
msgid "Georgia"
|
1012 |
msgstr ""
|
1013 |
|
1014 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:231
|
1015 |
msgid "Germany"
|
1016 |
msgstr ""
|
1017 |
|
1018 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:232
|
1019 |
msgid "Ghana"
|
1020 |
msgstr ""
|
1021 |
|
1022 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:233
|
1023 |
msgid "Gibraltar"
|
1024 |
msgstr ""
|
1025 |
|
1026 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:234
|
1027 |
msgid "Greece"
|
1028 |
msgstr ""
|
1029 |
|
1030 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:235
|
1031 |
msgid "Greenland"
|
1032 |
msgstr ""
|
1033 |
|
1034 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:236
|
1035 |
msgid "Grenada"
|
1036 |
msgstr ""
|
1037 |
|
1038 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:237
|
1039 |
msgid "Guadeloupe"
|
1040 |
msgstr ""
|
1041 |
|
1042 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:238
|
1043 |
msgid "Guam"
|
1044 |
msgstr ""
|
1045 |
|
1046 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:239
|
1047 |
msgid "Guatemala"
|
1048 |
msgstr ""
|
1049 |
|
1050 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:240
|
1051 |
msgid "Guinea"
|
1052 |
msgstr ""
|
1053 |
|
1054 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:241
|
1055 |
msgid "Guinea-Bissau"
|
1056 |
msgstr ""
|
1057 |
|
1058 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:242
|
1059 |
msgid "Guyana"
|
1060 |
msgstr ""
|
1061 |
|
1062 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:243
|
1063 |
msgid "Haiti"
|
1064 |
msgstr ""
|
1065 |
|
1066 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:244
|
1067 |
msgid "Heard Island And Mcdonald Island"
|
1068 |
msgstr ""
|
1069 |
|
1070 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:245
|
1071 |
msgid "Honduras"
|
1072 |
msgstr ""
|
1073 |
|
1074 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:246
|
1075 |
msgid "Hong Kong"
|
1076 |
msgstr ""
|
1077 |
|
1078 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:247
|
1079 |
msgid "Hungary"
|
1080 |
msgstr ""
|
1081 |
|
1082 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:248
|
1083 |
msgid "Iceland"
|
1084 |
msgstr ""
|
1085 |
|
1086 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:249
|
1087 |
msgid "India"
|
1088 |
msgstr ""
|
1089 |
|
1090 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:250
|
1091 |
msgid "Indonesia"
|
1092 |
msgstr ""
|
1093 |
|
1094 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:251
|
1095 |
msgid "Iran"
|
1096 |
msgstr ""
|
1097 |
|
1098 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:252
|
1099 |
msgid "Iraq"
|
1100 |
msgstr ""
|
1101 |
|
1102 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:253
|
1103 |
msgid "Ireland"
|
1104 |
msgstr ""
|
1105 |
|
1106 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:254
|
1107 |
msgid "Israel"
|
1108 |
msgstr ""
|
1109 |
|
1110 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:255
|
1111 |
msgid "Italy"
|
1112 |
msgstr ""
|
1113 |
|
1114 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:256
|
1115 |
msgid "Jamaica"
|
1116 |
msgstr ""
|
1117 |
|
1118 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:257
|
1119 |
msgid "Japan"
|
1120 |
msgstr ""
|
1121 |
|
1122 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:258
|
1123 |
msgid "Johnston Island"
|
1124 |
msgstr ""
|
1125 |
|
1126 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:259
|
1127 |
msgid "Jordan"
|
1128 |
msgstr ""
|
1129 |
|
1130 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:260
|
1131 |
msgid "Kazakhstan"
|
1132 |
msgstr ""
|
1133 |
|
1134 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:261
|
1135 |
msgid "Kenya"
|
1136 |
msgstr ""
|
1137 |
|
1138 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:262
|
1139 |
msgid "Kiribati"
|
1140 |
msgstr ""
|
1141 |
|
1142 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:263
|
1143 |
msgid "Korea, Democratic Peoples Republic"
|
1144 |
msgstr ""
|
1145 |
|
1146 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:264
|
1147 |
msgid "Korea, Republic of"
|
1148 |
msgstr ""
|
1149 |
|
1150 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:265
|
1151 |
msgid "Kuwait"
|
1152 |
msgstr ""
|
1153 |
|
1154 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:266
|
1155 |
msgid "Kyrgyzstan"
|
1156 |
msgstr ""
|
1157 |
|
1158 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:267
|
1159 |
msgid "Lao People's Democratic Republic"
|
1160 |
msgstr ""
|
1161 |
|
1162 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:268
|
1163 |
msgid "Latvia"
|
1164 |
msgstr ""
|
1165 |
|
1166 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:269
|
1167 |
msgid "Lebanon"
|
1168 |
msgstr ""
|
1169 |
|
1170 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:270
|
1171 |
msgid "Lesotho"
|
1172 |
msgstr ""
|
1173 |
|
1174 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:271
|
1175 |
msgid "Liberia"
|
1176 |
msgstr ""
|
1177 |
|
1178 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:272
|
1179 |
msgid "Libyan Arab Jamahiriya"
|
1180 |
msgstr ""
|
1181 |
|
1182 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:273
|
1183 |
msgid "Liechtenstein"
|
1184 |
msgstr ""
|
1185 |
|
1186 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:274
|
1187 |
msgid "Lithuania"
|
1188 |
msgstr ""
|
1189 |
|
1190 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:275
|
1191 |
msgid "Luxembourg"
|
1192 |
msgstr ""
|
1193 |
|
1194 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:276
|
1195 |
msgid "Macau"
|
1196 |
msgstr ""
|
1197 |
|
1198 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:277
|
1199 |
msgid "Macedonia"
|
1200 |
msgstr ""
|
1201 |
|
1202 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:278
|
1203 |
msgid "Madagascar"
|
1204 |
msgstr ""
|
1205 |
|
1206 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:279
|
1207 |
msgid "Malawi"
|
1208 |
msgstr ""
|
1209 |
|
1210 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:280
|
1211 |
msgid "Malaysia"
|
1212 |
msgstr ""
|
1213 |
|
1214 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:281
|
1215 |
msgid "Maldives"
|
1216 |
msgstr ""
|
1217 |
|
1218 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:282
|
1219 |
msgid "Mali"
|
1220 |
msgstr ""
|
1221 |
|
1222 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:283
|
1223 |
msgid "Malta"
|
1224 |
msgstr ""
|
1225 |
|
1226 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:284
|
1227 |
msgid "Marshall Islands"
|
1228 |
msgstr ""
|
1229 |
|
1230 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:285
|
1231 |
msgid "Martinique"
|
1232 |
msgstr ""
|
1233 |
|
1234 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:286
|
1235 |
msgid "Mauritania"
|
1236 |
msgstr ""
|
1237 |
|
1238 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:287
|
1239 |
msgid "Mauritius"
|
1240 |
msgstr ""
|
1241 |
|
1242 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:288
|
1243 |
msgid "Mayotte"
|
1244 |
msgstr ""
|
1245 |
|
1246 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:289
|
1247 |
msgid "Mexico"
|
1248 |
msgstr ""
|
1249 |
|
1250 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:290
|
1251 |
msgid "Micronesia"
|
1252 |
msgstr ""
|
1253 |
|
1254 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:291
|
1255 |
msgid "Moldavia"
|
1256 |
msgstr ""
|
1257 |
|
1258 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:292
|
1259 |
msgid "Monaco"
|
1260 |
msgstr ""
|
1261 |
|
1262 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:293
|
1263 |
msgid "Mongolia"
|
1264 |
msgstr ""
|
1265 |
|
1266 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:294
|
1267 |
msgid "Montserrat"
|
1268 |
msgstr ""
|
1269 |
|
1270 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:295
|
1271 |
msgid "Morocco"
|
1272 |
msgstr ""
|
1273 |
|
1274 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:296
|
1275 |
msgid "Mozambique"
|
1276 |
msgstr ""
|
1277 |
|
1278 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:297
|
1279 |
msgid "Union Of Myanmar"
|
1280 |
msgstr ""
|
1281 |
|
1282 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:298
|
1283 |
msgid "Namibia"
|
1284 |
msgstr ""
|
1285 |
|
1286 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:299
|
1287 |
msgid "Nauru Island"
|
1288 |
msgstr ""
|
1289 |
|
1290 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:300
|
1291 |
msgid "Nepal"
|
1292 |
msgstr ""
|
1293 |
|
1294 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:301
|
1295 |
msgid "Netherlands"
|
1296 |
msgstr ""
|
1297 |
|
1298 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:302
|
1299 |
msgid "Netherlands Antilles"
|
1300 |
msgstr ""
|
1301 |
|
1302 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:303
|
1303 |
msgid "New Caledonia"
|
1304 |
msgstr ""
|
1305 |
|
1306 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:304
|
1307 |
msgid "New Zealand"
|
1308 |
msgstr ""
|
1309 |
|
1310 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:305
|
1311 |
msgid "Nicaragua"
|
1312 |
msgstr ""
|
1313 |
|
1314 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:306
|
1315 |
msgid "Niger"
|
1316 |
msgstr ""
|
1317 |
|
1318 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:307
|
1319 |
msgid "Nigeria"
|
1320 |
msgstr ""
|
1321 |
|
1322 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:308
|
1323 |
msgid "Niue"
|
1324 |
msgstr ""
|
1325 |
|
1326 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:309
|
1327 |
msgid "Norfolk Island"
|
1328 |
msgstr ""
|
1329 |
|
1330 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:310
|
1331 |
msgid "Mariana Islands, Northern"
|
1332 |
msgstr ""
|
1333 |
|
1334 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:311
|
1335 |
msgid "Norway"
|
1336 |
msgstr ""
|
1337 |
|
1338 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:312
|
1339 |
msgid "Oman"
|
1340 |
msgstr ""
|
1341 |
|
1342 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:313
|
1343 |
msgid "Pakistan"
|
1344 |
msgstr ""
|
1345 |
|
1346 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:314
|
1347 |
msgid "Palau Islands"
|
1348 |
msgstr ""
|
1349 |
|
1350 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:315
|
1351 |
msgid "Palestine"
|
1352 |
msgstr ""
|
1353 |
|
1354 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:316
|
1355 |
msgid "Panama"
|
1356 |
msgstr ""
|
1357 |
|
1358 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:317
|
1359 |
msgid "Papua New Guinea"
|
1360 |
msgstr ""
|
1361 |
|
1362 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:318
|
1363 |
msgid "Paraguay"
|
1364 |
msgstr ""
|
1365 |
|
1366 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:319
|
1367 |
msgid "Peru"
|
1368 |
msgstr ""
|
1369 |
|
1370 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:320
|
1371 |
msgid "Philippines"
|
1372 |
msgstr ""
|
1373 |
|
1374 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:321
|
1375 |
msgid "Pitcairn"
|
1376 |
msgstr ""
|
1377 |
|
1378 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:322
|
1379 |
msgid "Poland"
|
1380 |
msgstr ""
|
1381 |
|
1382 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:323
|
1383 |
msgid "Portugal"
|
1384 |
msgstr ""
|
1385 |
|
1386 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:324
|
1387 |
msgid "Puerto Rico"
|
1388 |
msgstr ""
|
1389 |
|
1390 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:325
|
1391 |
msgid "Qatar"
|
1392 |
msgstr ""
|
1393 |
|
1394 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:326
|
1395 |
msgid "Reunion Island"
|
1396 |
msgstr ""
|
1397 |
|
1398 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:327
|
1399 |
msgid "Romania"
|
1400 |
msgstr ""
|
1401 |
|
1402 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:328
|
1403 |
msgid "Russian Federation"
|
1404 |
msgstr ""
|
1405 |
|
1406 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:329
|
1407 |
msgid "Rwanda"
|
1408 |
msgstr ""
|
1409 |
|
1410 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:330
|
1411 |
msgid "Samoa"
|
1412 |
msgstr ""
|
1413 |
|
1414 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:331
|
1415 |
msgid "St Helena"
|
1416 |
msgstr ""
|
1417 |
|
1418 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:332
|
1419 |
msgid "St Kitts & Nevis"
|
1420 |
msgstr ""
|
1421 |
|
1422 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:333
|
1423 |
msgid "St Lucia"
|
1424 |
msgstr ""
|
1425 |
|
1426 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:334
|
1427 |
msgid "St Pierre & Miquelon"
|
1428 |
msgstr ""
|
1429 |
|
1430 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:335
|
1431 |
msgid "St Vincent"
|
1432 |
msgstr ""
|
1433 |
|
1434 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:336
|
1435 |
msgid "San Marino"
|
1436 |
msgstr ""
|
1437 |
|
1438 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:337
|
1439 |
msgid "Sao Tome & Principe"
|
1440 |
msgstr ""
|
1441 |
|
1442 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:338
|
1443 |
msgid "Saudi Arabia"
|
1444 |
msgstr ""
|
1445 |
|
1446 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:339
|
1447 |
msgid "Senegal"
|
1448 |
msgstr ""
|
1449 |
|
1450 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:340
|
1451 |
msgid "Seychelles"
|
1452 |
msgstr ""
|
1453 |
|
1454 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:341
|
1455 |
msgid "Sierra Leone"
|
1456 |
msgstr ""
|
1457 |
|
1458 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:342
|
1459 |
msgid "Singapore"
|
1460 |
msgstr ""
|
1461 |
|
1462 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:343
|
1463 |
msgid "Slovakia"
|
1464 |
msgstr ""
|
1465 |
|
1466 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:344
|
1467 |
msgid "Slovenia"
|
1468 |
msgstr ""
|
1469 |
|
1470 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:345
|
1471 |
msgid "Solomon Islands"
|
1472 |
msgstr ""
|
1473 |
|
1474 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:346
|
1475 |
msgid "Somalia"
|
1476 |
msgstr ""
|
1477 |
|
1478 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:347
|
1479 |
msgid "South Africa"
|
1480 |
msgstr ""
|
1481 |
|
1482 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:348
|
1483 |
msgid "South Georgia and South Sandwich"
|
1484 |
msgstr ""
|
1485 |
|
1486 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:349
|
1487 |
msgid "Spain"
|
1488 |
msgstr ""
|
1489 |
|
1490 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:350
|
1491 |
msgid "Sri Lanka"
|
1492 |
msgstr ""
|
1493 |
|
1494 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:351
|
1495 |
msgid "Stateless Persons"
|
1496 |
msgstr ""
|
1497 |
|
1498 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:352
|
1499 |
msgid "Sudan"
|
1500 |
msgstr ""
|
1501 |
|
1502 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:353
|
1503 |
msgid "Suriname"
|
1504 |
msgstr ""
|
1505 |
|
1506 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:354
|
1507 |
msgid "Svalbard and Jan Mayen"
|
1508 |
msgstr ""
|
1509 |
|
1510 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:355
|
1511 |
msgid "Swaziland"
|
1512 |
msgstr ""
|
1513 |
|
1514 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:356
|
1515 |
msgid "Sweden"
|
1516 |
msgstr ""
|
1517 |
|
1518 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:357
|
1519 |
msgid "Switzerland"
|
1520 |
msgstr ""
|
1521 |
|
1522 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:358
|
1523 |
msgid "Syrian Arab Republic"
|
1524 |
msgstr ""
|
1525 |
|
1526 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:359
|
1527 |
msgid "Taiwan, Republic of China"
|
1528 |
msgstr ""
|
1529 |
|
1530 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:360
|
1531 |
msgid "Tajikistan"
|
1532 |
msgstr ""
|
1533 |
|
1534 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:361
|
1535 |
msgid "Tanzania"
|
1536 |
msgstr ""
|
1537 |
|
1538 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:362
|
1539 |
msgid "Thailand"
|
1540 |
msgstr ""
|
1541 |
|
1542 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:363
|
1543 |
msgid "Timor Leste"
|
1544 |
msgstr ""
|
1545 |
|
1546 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:364
|
1547 |
msgid "Togo"
|
1548 |
msgstr ""
|
1549 |
|
1550 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:365
|
1551 |
msgid "Tokelau"
|
1552 |
msgstr ""
|
1553 |
|
1554 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:366
|
1555 |
msgid "Tonga"
|
1556 |
msgstr ""
|
1557 |
|
1558 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:367
|
1559 |
msgid "Trinidad & Tobago"
|
1560 |
msgstr ""
|
1561 |
|
1562 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:368
|
1563 |
msgid "Tunisia"
|
1564 |
msgstr ""
|
1565 |
|
1566 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:369
|
1567 |
msgid "Turkey"
|
1568 |
msgstr ""
|
1569 |
|
1570 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:370
|
1571 |
msgid "Turkmenistan"
|
1572 |
msgstr ""
|
1573 |
|
1574 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:371
|
1575 |
msgid "Turks And Caicos Islands"
|
1576 |
msgstr ""
|
1577 |
|
1578 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:372
|
1579 |
msgid "Tuvalu"
|
1580 |
msgstr ""
|
1581 |
|
1582 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:373
|
1583 |
msgid "Uganda"
|
1584 |
msgstr ""
|
1585 |
|
1586 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:374
|
1587 |
msgid "Ukraine"
|
1588 |
msgstr ""
|
1589 |
|
1590 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:375
|
1591 |
msgid "United Arab Emirates"
|
1592 |
msgstr ""
|
1593 |
|
1594 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:376
|
1595 |
msgid "United Kingdom"
|
1596 |
msgstr ""
|
1597 |
|
1598 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:377
|
1599 |
msgid "US Minor Outlying Islands"
|
1600 |
msgstr ""
|
1601 |
|
1602 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:378
|
1603 |
msgid "USA"
|
1604 |
msgstr ""
|
1605 |
|
1606 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:379
|
1607 |
msgid "Upper Volta"
|
1608 |
msgstr ""
|
1609 |
|
1610 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:380
|
1611 |
msgid "Uruguay"
|
1612 |
msgstr ""
|
1613 |
|
1614 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:381
|
1615 |
msgid "Uzbekistan"
|
1616 |
msgstr ""
|
1617 |
|
1618 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:382
|
1619 |
msgid "Vanuatu"
|
1620 |
msgstr ""
|
1621 |
|
1622 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:383
|
1623 |
msgid "Vatican City State"
|
1624 |
msgstr ""
|
1625 |
|
1626 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:384
|
1627 |
msgid "Venezuela"
|
1628 |
msgstr ""
|
1629 |
|
1630 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:385
|
1631 |
msgid "Vietnam"
|
1632 |
msgstr ""
|
1633 |
|
1634 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:386
|
1635 |
msgid "Virgin Islands (British)"
|
1636 |
msgstr ""
|
1637 |
|
1638 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:387
|
1639 |
msgid "Virgin Islands (US)"
|
1640 |
msgstr ""
|
1641 |
|
1642 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:388
|
1643 |
msgid "Wallis And Futuna Islands"
|
1644 |
msgstr ""
|
1645 |
|
1646 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:389
|
1647 |
msgid "Western Sahara"
|
1648 |
msgstr ""
|
1649 |
|
1650 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:390
|
1651 |
msgid "Yemen Arab Rep."
|
1652 |
msgstr ""
|
1653 |
|
1654 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:391
|
1655 |
msgid "Yemen Democratic"
|
1656 |
msgstr ""
|
1657 |
|
1658 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:392
|
1659 |
msgid "Yugoslavia"
|
1660 |
msgstr ""
|
1661 |
|
1662 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:393
|
1663 |
msgid "Zaire"
|
1664 |
msgstr ""
|
1665 |
|
1666 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:394
|
1667 |
msgid "Zambia"
|
1668 |
msgstr ""
|
1669 |
|
1670 |
+
#: /Users/barrygetty/Work/wordpress/plugins/popover/popoverincludes/includes/functions.php:395
|
1671 |
msgid "Zimbabwe"
|
1672 |
msgstr ""
|
1673 |
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== WordPress PopUp ===
|
2 |
Contributors: WPMUDEV
|
3 |
-
Tags: buddypress,
|
4 |
Requires at least: 3.1
|
5 |
-
Tested up to: 3.
|
6 |
-
Stable tag: 4.4.5.
|
7 |
|
8 |
Allows you to display a fancy popup to visitors, a *very* effective way of advertising a mailing list, special offer or running a plain old ad.
|
9 |
|
@@ -11,6 +11,8 @@ Allows you to display a fancy popup to visitors, a *very* effective way of adver
|
|
11 |
|
12 |
One of the most effective ways to advertise your mailing list, special offer or simply to show ads is via javascript ‘pop over’ on your site. And that’s exactly what his easy-to-use and guaranteed-to-work plugin does.
|
13 |
|
|
|
|
|
14 |
Here is just a taste of what it can do:
|
15 |
|
16 |
- Display fancy pop up(s) (powered as a popover!) to visitors network wide, per site or on specific URLs
|
@@ -44,6 +46,8 @@ Then, set the display rules, namely: Show the Pop Over if one of the following c
|
|
44 |
|
45 |
And you’re good to go!
|
46 |
|
|
|
|
|
47 |
== Installation ==
|
48 |
|
49 |
WordPress Installation Instructions:
|
@@ -65,6 +69,8 @@ For blog by blog, leave as is.
|
|
65 |
|
66 |
For network wide control - add the line define('PO_GLOBAL', true); to your wp-config.php file.
|
67 |
|
|
|
|
|
68 |
== Screenshots ==
|
69 |
|
70 |
1. The PopUp in action
|
@@ -73,9 +79,60 @@ For network wide control - add the line define('PO_GLOBAL', true); to your wp-co
|
|
73 |
|
74 |
== Changelog ==
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
= 4.3.2 =
|
77 |
* Major rewrite
|
78 |
* Multiple PopUps can be created
|
|
|
|
|
79 |
|
80 |
= 3.1.4 =
|
81 |
* WP3.3 style updating
|
1 |
=== WordPress PopUp ===
|
2 |
Contributors: WPMUDEV
|
3 |
+
Tags: Buddypress,buddypress plugin,Geo Tag,Geo Target,GEOTag,Jquery,Light Box,Lightbox,making money,multisite,Pop Over,Pop Over Box,Pop Over Message,Pop Up Message,Pop-up,Pop-up advertising,Pop-up advertising Box,Popover,Popover Box,Popover Message,Popup,Popup Box,Popup Message,Post Type,Post Type Rules,SEO,Show On Click,Show On Exit,WordPress Pop Over,WordPress Pop Up,WordPress Popover,WordPress Popup,wpmu,wpmu plugin,xProfile Fields, Popover WP Roles, Popover Responsive Rules, Popover Specific Country, Popover Specific URL, Popup WP Roles, Popup Responsive Rules, Popup Specific Country, Popup Specific URL, Exit Intent, Exit Popup, Exit Popover, Popover Ads, Popup Ads, Pop Over Ads, Pop Up Ads, Pop-up Ads, xProfile
|
4 |
Requires at least: 3.1
|
5 |
+
Tested up to: 3.9.1
|
6 |
+
Stable tag: 4.4.5.4
|
7 |
|
8 |
Allows you to display a fancy popup to visitors, a *very* effective way of advertising a mailing list, special offer or running a plain old ad.
|
9 |
|
11 |
|
12 |
One of the most effective ways to advertise your mailing list, special offer or simply to show ads is via javascript ‘pop over’ on your site. And that’s exactly what his easy-to-use and guaranteed-to-work plugin does.
|
13 |
|
14 |
+
[youtube https://www.youtube.com/watch?v=eqhZebtA-SU]
|
15 |
+
|
16 |
Here is just a taste of what it can do:
|
17 |
|
18 |
- Display fancy pop up(s) (powered as a popover!) to visitors network wide, per site or on specific URLs
|
46 |
|
47 |
And you’re good to go!
|
48 |
|
49 |
+
* <a href='http://premium.wpmudev.org/project/the-pop-over-plugin/'>Download the pro version »</a>
|
50 |
+
|
51 |
== Installation ==
|
52 |
|
53 |
WordPress Installation Instructions:
|
69 |
|
70 |
For network wide control - add the line define('PO_GLOBAL', true); to your wp-config.php file.
|
71 |
|
72 |
+
* You can find <a href='http://premium.wpmudev.org/manuals/installing-regular-plugins-on-wpmu/'>in-depth setup and usage instructions with screenshots here »</a>
|
73 |
+
|
74 |
== Screenshots ==
|
75 |
|
76 |
1. The PopUp in action
|
79 |
|
80 |
== Changelog ==
|
81 |
|
82 |
+
= 4.4.5.4 =
|
83 |
+
|
84 |
+
* Performance improvements
|
85 |
+
* Fixed issue with dynamic JavaScript loading
|
86 |
+
* Added PO_PLUGIN_DIR in config for changing plugin directory name
|
87 |
+
|
88 |
+
= 4.4.5.2 =
|
89 |
+
|
90 |
+
* Added missing translatable strings
|
91 |
+
* Updated language file
|
92 |
+
|
93 |
+
= 4.4.5.1 =
|
94 |
+
|
95 |
+
* added collation to tables creation code
|
96 |
+
* updated require calls to include directory path
|
97 |
+
* moved custom loading out of experimental status
|
98 |
+
* set default loading method to custom loading
|
99 |
+
|
100 |
+
= 4.4.5 =
|
101 |
+
|
102 |
+
* Added different custom loading method that should be cache resistant and remove issues with other ajax loading method.
|
103 |
+
* Made On URL rule more specific so that it doesn't match child pages when the main page is specified
|
104 |
+
|
105 |
+
= 4.4.4 =
|
106 |
+
|
107 |
+
* Added option to switch from JS loading to standard loading of pop ups.
|
108 |
+
* Added ability to use regular expressions in the referrers and on url conditions.
|
109 |
+
* Prepared code to make it easy to upgrade interface for future releases.
|
110 |
+
|
111 |
+
= 4.4.3 =
|
112 |
+
|
113 |
+
* Updated for WP 3.5
|
114 |
+
* Added initial attempt to distinguish referrers from Google search and referrers from Google custom site search.
|
115 |
+
|
116 |
+
= 4.4.2 =
|
117 |
+
|
118 |
+
* Removed unneeded css and js files
|
119 |
+
* Updated language file
|
120 |
+
|
121 |
+
= 4.4.1 =
|
122 |
+
|
123 |
+
* Moved popover loading js to be created by a php file due to needing extra processing.
|
124 |
+
* Fixed issue with directory based sites loading popover script from main site.
|
125 |
+
* Fixed issue of popover loading on login and register pages.
|
126 |
+
|
127 |
+
= 4.4 =
|
128 |
+
|
129 |
+
* Updated Popover to load via ajax call rather than page creation for cache plugin compatibility
|
130 |
+
|
131 |
= 4.3.2 =
|
132 |
* Major rewrite
|
133 |
* Multiple PopUps can be created
|
134 |
+
* Fixed issue of network activation not creating tables until admin area visited
|
135 |
+
* Updated code to remove all notifications, warnings and depreciated function calls ready for WP 3.4
|
136 |
|
137 |
= 3.1.4 =
|
138 |
* WP3.3 style updating
|