Version Description
- Changed: Links to 10web.io.
- Fixed: Bug on slideshow widget.
- Fixed: Conflict with minifying plugins.
Download this release
Release Info
Developer | webdorado |
Plugin | Photo Gallery by WD – Responsive Photo Gallery |
Version | 1.4.9 |
Comparing to | |
See all releases |
Code changes from version 1.4.8 to 1.4.9
- addons/addons.php +4 -4
- admin/views/AdminView.php +1 -1
- admin/views/Galleries.php +2 -2
- admin/views/Options.php +1 -1
- admin/views/Shortcode.php +1 -1
- admin/views/Themes.php +6 -1
- admin/views/Uninstall.php +2 -2
- admin/views/WidgetSlideshow.php +4 -3
- css/bwg_licensing.css +0 -158
- css/pricing.css +739 -0
- framework/WDWLibrary.php +163 -0
- frontend/views/BWGViewGalleryBox.php +2 -2
- js/bwg_frontend.js +3 -3
- js/bwg_shortcode.js +10 -10
- photo-gallery.php +21 -173
- readme.txt +17 -13
- wd/.gitignore +0 -2
- wd/README.md +3 -36
- wd/assets/css/deactivate_popup.css +22 -1
- wd/assets/css/overview.css +414 -404
- wd/assets/css/subscribe.css +186 -90
- wd/assets/img/plugins/business_elite.png +0 -0
- wd/assets/img/plugins/business_world.png +0 -0
- wd/assets/img/plugins/event-calendar-wd.png +0 -0
- wd/assets/img/plugins/form-maker.png +0 -0
- wd/assets/img/plugins/photo-gallery.png +0 -0
- wd/assets/img/plugins/portfolio_gallery.png +0 -0
- wd/assets/img/plugins/sauron.png +0 -0
- wd/assets/img/plugins/slider-wd.png +0 -0
- wd/assets/img/plugins/spider-event-calendar.png +0 -0
- wd/assets/img/plugins/wd-google-maps.png +0 -0
- wd/assets/img/plugins/wd-instagram-feed.png +0 -0
- wd/assets/img/sub_1.png +0 -0
- wd/assets/img/sub_2.png +0 -0
- wd/assets/img/sub_4.png +0 -0
- wd/assets/js/deactivate_popup.js +62 -10
- wd/assets/js/overview.js +13 -53
- wd/assets/js/subsribe.js +3 -2
- wd/config.php +19 -17
- wd/includes/api.php +2 -2
- wd/includes/deactivate.php +173 -171
- wd/includes/notices.php +1 -1
- wd/includes/overview.php +3 -234
- wd/includes/subscribe.php +120 -134
- wd/start.php +6 -4
- wd/templates/display_deactivation_popup.php +3 -2
- wd/templates/display_overview.php +120 -39
- wd/templates/display_overview_deals.php +0 -81
- wd/templates/display_overview_support.php +0 -59
- wd/templates/display_overview_user_guide.php +0 -46
- wd/templates/display_overview_welcome.php +0 -31
- wd/templates/display_subscribe.php +31 -28
- wd/wd.php +21 -16
addons/addons.php
CHANGED
@@ -4,28 +4,28 @@ function bwg_addons_display() {
|
|
4 |
$addons = array(
|
5 |
'photo-gallery-ecomerce' => array(
|
6 |
'name' => __('Photo Gallery Ecommerce', BWG()->prefix),
|
7 |
-
'url' => 'https://
|
8 |
'description' => __('Using Photo Gallery Ecommerce you can sell images included in galleries either as digital downloads or products/prints via Paypal or Stripe.', BWG()->prefix),
|
9 |
'icon' => '',
|
10 |
'image' => BWG()->plugin_url . '/addons/images/ecommerce.png',
|
11 |
),
|
12 |
'photo-gallery-facebook' => array(
|
13 |
'name' => __('Photo Gallery Facebook', BWG()->prefix),
|
14 |
-
'url' => 'https://
|
15 |
'description' => __('Photo Gallery Facebook is an add-on, which helps to display Facebook photos and videos within Photo Gallery plugin. You can create Facebook-only galleries, embed individual images and videos or include Facebook albums within mixed type albums.', BWG()->prefix),
|
16 |
'icon' => '',
|
17 |
'image' => BWG()->plugin_url . '/addons/images/facebook.png',
|
18 |
),
|
19 |
'ngitopg' => array(
|
20 |
'name' => __('NextGen Gallery Import to Photo Gallery', BWG()->prefix),
|
21 |
-
'url' => 'https://
|
22 |
'description' => __('This addon integrates NextGen with Photo Gallery allowing to import images and related data from NextGen to use with Photo Gallery', BWG()->prefix),
|
23 |
'icon' => '',
|
24 |
'image' => BWG()->plugin_url . '/addons/images/nextgen_gallery.png',
|
25 |
),
|
26 |
'photo-gallery-export' => array(
|
27 |
'name' => __('Photo Gallery Export / Import', BWG()->prefix),
|
28 |
-
'url' => 'https://
|
29 |
'description' => __('Photo Gallery Export/Import helps to move created galleries and gallery groups from one site to another. This way you can save the gallery/album options and manual modifications.', BWG()->prefix),
|
30 |
'icon' => '',
|
31 |
'image' => BWG()->plugin_url . '/addons/images/import_export.png',
|
4 |
$addons = array(
|
5 |
'photo-gallery-ecomerce' => array(
|
6 |
'name' => __('Photo Gallery Ecommerce', BWG()->prefix),
|
7 |
+
'url' => 'https://10web.io/plugins/wordpress-photo-gallery/',
|
8 |
'description' => __('Using Photo Gallery Ecommerce you can sell images included in galleries either as digital downloads or products/prints via Paypal or Stripe.', BWG()->prefix),
|
9 |
'icon' => '',
|
10 |
'image' => BWG()->plugin_url . '/addons/images/ecommerce.png',
|
11 |
),
|
12 |
'photo-gallery-facebook' => array(
|
13 |
'name' => __('Photo Gallery Facebook', BWG()->prefix),
|
14 |
+
'url' => 'https://10web.io/plugins/wordpress-photo-gallery/',
|
15 |
'description' => __('Photo Gallery Facebook is an add-on, which helps to display Facebook photos and videos within Photo Gallery plugin. You can create Facebook-only galleries, embed individual images and videos or include Facebook albums within mixed type albums.', BWG()->prefix),
|
16 |
'icon' => '',
|
17 |
'image' => BWG()->plugin_url . '/addons/images/facebook.png',
|
18 |
),
|
19 |
'ngitopg' => array(
|
20 |
'name' => __('NextGen Gallery Import to Photo Gallery', BWG()->prefix),
|
21 |
+
'url' => 'https://10web.io/plugins/wordpress-photo-gallery/',
|
22 |
'description' => __('This addon integrates NextGen with Photo Gallery allowing to import images and related data from NextGen to use with Photo Gallery', BWG()->prefix),
|
23 |
'icon' => '',
|
24 |
'image' => BWG()->plugin_url . '/addons/images/nextgen_gallery.png',
|
25 |
),
|
26 |
'photo-gallery-export' => array(
|
27 |
'name' => __('Photo Gallery Export / Import', BWG()->prefix),
|
28 |
+
'url' => 'https://10web.io/plugins/wordpress-photo-gallery/',
|
29 |
'description' => __('Photo Gallery Export/Import helps to move created galleries and gallery groups from one site to another. This way you can save the gallery/album options and manual modifications.', BWG()->prefix),
|
30 |
'icon' => '',
|
31 |
'image' => BWG()->plugin_url . '/addons/images/import_export.png',
|
admin/views/AdminView.php
CHANGED
@@ -19,6 +19,7 @@ class AdminView_bwg {
|
|
19 |
* @return string Form html.
|
20 |
*/
|
21 |
protected function form($content = '', $attr = array()) {
|
|
|
22 |
ob_start();
|
23 |
// Form.
|
24 |
$action = isset($attr['action']) ? esc_attr($attr['action']) : '';
|
@@ -76,7 +77,6 @@ class AdminView_bwg {
|
|
76 |
$attributes .= $key . '="' . $val . '"';
|
77 |
}
|
78 |
}
|
79 |
-
|
80 |
ob_start();
|
81 |
?><div class="wd-page-title <?php echo $title_class; ?>">
|
82 |
<h1 class="wp-heading-inline"><?php echo $title; ?>
|
19 |
* @return string Form html.
|
20 |
*/
|
21 |
protected function form($content = '', $attr = array()) {
|
22 |
+
WDWLibrary::topbar();
|
23 |
ob_start();
|
24 |
// Form.
|
25 |
$action = isset($attr['action']) ? esc_attr($attr['action']) : '';
|
77 |
$attributes .= $key . '="' . $val . '"';
|
78 |
}
|
79 |
}
|
|
|
80 |
ob_start();
|
81 |
?><div class="wd-page-title <?php echo $title_class; ?>">
|
82 |
<h1 class="wp-heading-inline"><?php echo $title; ?>
|
admin/views/Galleries.php
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
|
3 |
/**
|
4 |
* Class GalleriesView_bwg
|
@@ -353,7 +353,7 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
353 |
do_action('init_display_facebook_gallery_options_bwg', $params);
|
354 |
}
|
355 |
else {
|
356 |
-
$link = '<a href="https://
|
357 |
echo '<div class="error inline"><p>' . sprintf(__("Please install %s add-on to use this feature.", BWG()->prefix), $link) . '</p></div>';
|
358 |
}
|
359 |
?>
|
1 |
+
<?php
|
2 |
|
3 |
/**
|
4 |
* Class GalleriesView_bwg
|
353 |
do_action('init_display_facebook_gallery_options_bwg', $params);
|
354 |
}
|
355 |
else {
|
356 |
+
$link = '<a href="https://10web.io/plugins/wordpress-photo-gallery/" target="_blank">' . __('Photo Gallery Facebook Integration', BWG()->prefix) . '</a>';
|
357 |
echo '<div class="error inline"><p>' . sprintf(__("Please install %s add-on to use this feature.", BWG()->prefix), $link) . '</p></div>';
|
358 |
}
|
359 |
?>
|
admin/views/Options.php
CHANGED
@@ -483,7 +483,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
483 |
do_action('init_display_facebook_options_bwg', $row );
|
484 |
}
|
485 |
else {
|
486 |
-
$link = '<a href="https://
|
487 |
echo '<div class="error inline"><p>' . sprintf(__("Please install %s add-on to use this feature.", BWG()->prefix), $link) . '</p></div>';
|
488 |
}
|
489 |
?>
|
483 |
do_action('init_display_facebook_options_bwg', $row );
|
484 |
}
|
485 |
else {
|
486 |
+
$link = '<a href="https://10web.io/plugins/wordpress-photo-gallery/" target="_blank">' . __('Photo Gallery Facebook Integration', BWG()->prefix) . '</a>';
|
487 |
echo '<div class="error inline"><p>' . sprintf(__("Please install %s add-on to use this feature.", BWG()->prefix), $link) . '</p></div>';
|
488 |
}
|
489 |
?>
|
admin/views/Shortcode.php
CHANGED
@@ -435,7 +435,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
435 |
<?php if ( !BWG()->is_pro ) { ?>
|
436 |
<div class="media-toolbar-primary search-form" style="float: left;">
|
437 |
<span class="media-button button-large">
|
438 |
-
<a id="bwg_pro_version_link" class="bwg_link_shortcode" target="_blank" href="
|
439 |
</span>
|
440 |
</div>
|
441 |
<?php } ?>
|
435 |
<?php if ( !BWG()->is_pro ) { ?>
|
436 |
<div class="media-toolbar-primary search-form" style="float: left;">
|
437 |
<span class="media-button button-large">
|
438 |
+
<a id="bwg_pro_version_link" class="bwg_link_shortcode" target="_blank" href="https://demo.10web.io/photo-gallery/"><?php _e('Please see ', BWG()->prefix) ?><span id="bwg_pro_version"><?php _e('Thumbnails', BWG()->prefix) ?></span> <?php _e('View in Premium version', BWG()->prefix) ?></a>
|
439 |
</span>
|
440 |
</div>
|
441 |
<?php } ?>
|
admin/views/Themes.php
CHANGED
@@ -15,9 +15,14 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
15 |
*/
|
16 |
public function display( $params ) {
|
17 |
if ( !BWG()->is_pro && get_option("wd_bwg_theme_version") ) {
|
18 |
-
|
|
|
|
|
|
|
|
|
19 |
?>
|
20 |
<img class="wd-width-100" src="<?php echo BWG()->plugin_url . '/images/theme.png'; ?>" />
|
|
|
21 |
<?php
|
22 |
return;
|
23 |
}
|
15 |
*/
|
16 |
public function display( $params ) {
|
17 |
if ( !BWG()->is_pro && get_option("wd_bwg_theme_version") ) {
|
18 |
+
WDWLibrary::topbar();
|
19 |
+
?>
|
20 |
+
<div class="wrap">
|
21 |
+
<?php
|
22 |
+
echo WDWLibrary::message_id(0, __('You can\'t change theme parameters in free version.', BWG()->prefix), 'error inline');
|
23 |
?>
|
24 |
<img class="wd-width-100" src="<?php echo BWG()->plugin_url . '/images/theme.png'; ?>" />
|
25 |
+
</div>
|
26 |
<?php
|
27 |
return;
|
28 |
}
|
admin/views/Uninstall.php
CHANGED
@@ -47,8 +47,8 @@ class UninstallView_bwg extends AdminView_bwg {
|
|
47 |
?>
|
48 |
<div class="goodbye-text">
|
49 |
<?php
|
50 |
-
$support_team = '<a href="https://
|
51 |
-
$contact_us = '<a href="https://
|
52 |
echo sprintf(__("Before uninstalling the plugin, please Contact our %s. We'll do our best to help you out with your issue. We value each and every user and value what's right for our users in everything we do.<br />
|
53 |
However, if anyway you have made a decision to uninstall the plugin, please take a minute to %s and tell what you didn't like for our plugins further improvement and development. Thank you !!!", BWG()->prefix), $support_team, $contact_us); ?>
|
54 |
</div>
|
47 |
?>
|
48 |
<div class="goodbye-text">
|
49 |
<?php
|
50 |
+
$support_team = '<a href="https://10web.io/contact-us/?source=photo-gallery" target="_blank">' . __('support team', BWG()->prefix) . '</a>';
|
51 |
+
$contact_us = '<a href="https://10web.io/contact-us/?source=photo-gallery" target="_blank">' . __('Contact us', BWG()->prefix) . '</a>';
|
52 |
echo sprintf(__("Before uninstalling the plugin, please Contact our %s. We'll do our best to help you out with your issue. We value each and every user and value what's right for our users in everything we do.<br />
|
53 |
However, if anyway you have made a decision to uninstall the plugin, please take a minute to %s and tell what you didn't like for our plugins further improvement and development. Thank you !!!", BWG()->prefix), $support_team, $contact_us); ?>
|
54 |
</div>
|
admin/views/WidgetSlideshow.php
CHANGED
@@ -30,9 +30,10 @@ class WidgetSlideshowView_bwg {
|
|
30 |
echo $before_title . $title . $after_title;
|
31 |
}
|
32 |
// Widget output.
|
33 |
-
require_once(BWG()->plugin_dir . '/frontend/controllers/
|
34 |
-
|
35 |
-
|
|
|
36 |
|
37 |
global $bwg;
|
38 |
$params = array (
|
30 |
echo $before_title . $title . $after_title;
|
31 |
}
|
32 |
// Widget output.
|
33 |
+
require_once(BWG()->plugin_dir . '/frontend/controllers/controller.php');
|
34 |
+
$controller_class = 'BWGControllerSite';
|
35 |
+
$view = 'Slideshow';
|
36 |
+
$controller = new $controller_class($view);
|
37 |
|
38 |
global $bwg;
|
39 |
$params = array (
|
css/bwg_licensing.css
DELETED
@@ -1,158 +0,0 @@
|
|
1 |
-
div#featurs_tables {
|
2 |
-
display: inline-block;
|
3 |
-
font-size: 13px;
|
4 |
-
padding-top: 95px;
|
5 |
-
text-align: left;
|
6 |
-
float: left;
|
7 |
-
}
|
8 |
-
|
9 |
-
div#featurs_tables div {
|
10 |
-
vertical-align: top;
|
11 |
-
}
|
12 |
-
|
13 |
-
div#featurs_table1 {
|
14 |
-
background-color: rgb(254, 254, 254);
|
15 |
-
display: inline-block;
|
16 |
-
position: relative;
|
17 |
-
vertical-align: top;
|
18 |
-
width: 330px;
|
19 |
-
height: 684px;
|
20 |
-
z-index: 10;
|
21 |
-
}
|
22 |
-
|
23 |
-
div#featurs_table1 span::after {
|
24 |
-
background-image: url("images/arrow3.png");
|
25 |
-
background-position: center center;
|
26 |
-
background-repeat: no-repeat;
|
27 |
-
content: "";
|
28 |
-
display: inline-block;
|
29 |
-
float: right;
|
30 |
-
height: 37px;
|
31 |
-
position: relative;
|
32 |
-
right: -21px;
|
33 |
-
top: -8px;
|
34 |
-
width: 26px;
|
35 |
-
}
|
36 |
-
|
37 |
-
div#featurs_table1 span {
|
38 |
-
border-left: 1px solid #e5e5e5;
|
39 |
-
border-right: 1px solid #e5e5e5;
|
40 |
-
border-top: 1px solid #e5e5e5;
|
41 |
-
color: #545454;
|
42 |
-
display: block;
|
43 |
-
height: 21px;
|
44 |
-
padding: 8px;
|
45 |
-
text-align: left;
|
46 |
-
}
|
47 |
-
|
48 |
-
div#featurs_table1 span:last-child,
|
49 |
-
div#featurs_table2 span:last-child,
|
50 |
-
div#featurs_table3 span:last-child {
|
51 |
-
border-bottom: 1px solid #e5e5e5;
|
52 |
-
}
|
53 |
-
|
54 |
-
div#featurs_table2 {
|
55 |
-
background-color: rgba(255, 255, 255, 0.9);
|
56 |
-
display: inline-block;
|
57 |
-
position: relative;
|
58 |
-
top: -72px;
|
59 |
-
width: 180px;
|
60 |
-
}
|
61 |
-
|
62 |
-
div#featurs_table2 span:first-child,
|
63 |
-
div#featurs_table3 span:first-child {
|
64 |
-
color: #000;
|
65 |
-
font-size: 22px;
|
66 |
-
font-weight: bold;
|
67 |
-
padding-bottom: 14px;
|
68 |
-
padding-top: 2px;
|
69 |
-
border-top: 1px solid #e5e5e5;
|
70 |
-
border-left: 1px solid #e5e5e5;
|
71 |
-
border-right: 1px solid #e5e5e5;
|
72 |
-
height: 39px;
|
73 |
-
padding-top: 18px;
|
74 |
-
}
|
75 |
-
|
76 |
-
div#featurs_table2 span:first-child {
|
77 |
-
border-left: 1px solid #e5e5e5 !important;
|
78 |
-
}
|
79 |
-
|
80 |
-
div#featurs_table2 span {
|
81 |
-
border-left: none !important;
|
82 |
-
}
|
83 |
-
|
84 |
-
div#featurs_table2 span,
|
85 |
-
div#featurs_table3 span {
|
86 |
-
border-top: 1px solid #e5e5e5;
|
87 |
-
border-right: 1px solid #e5e5e5;
|
88 |
-
border-left: 1px solid #e5e5e5;
|
89 |
-
color: #545454;
|
90 |
-
display: block;
|
91 |
-
height: 21px;
|
92 |
-
padding: 8px;
|
93 |
-
text-align: center;
|
94 |
-
}
|
95 |
-
|
96 |
-
.download a {
|
97 |
-
background-color: #fff;
|
98 |
-
border: 6px solid #dddddd;
|
99 |
-
border-radius: 50%;
|
100 |
-
box-shadow: 0 0 0 7px #eeeeee;
|
101 |
-
color: #21439c;
|
102 |
-
cursor: pointer;
|
103 |
-
display: inline-block;
|
104 |
-
font-size: 14px;
|
105 |
-
font-style: italic;
|
106 |
-
font-weight: bold;
|
107 |
-
margin-top: -4px;
|
108 |
-
outline: 0 none;
|
109 |
-
padding: 32px 9px 32px 2px;
|
110 |
-
text-align: center;
|
111 |
-
text-decoration: none;
|
112 |
-
transition-duration: 0.6s;
|
113 |
-
transition-property: border-color;
|
114 |
-
transition-timing-function: linear;
|
115 |
-
width: 72px;
|
116 |
-
}
|
117 |
-
|
118 |
-
div#featurs_table3 {
|
119 |
-
background-color: rgba(255, 255, 255, 0.6);
|
120 |
-
display: inline-block;
|
121 |
-
position: relative;
|
122 |
-
top: -72px;
|
123 |
-
width: 180px;
|
124 |
-
}
|
125 |
-
|
126 |
-
div#featurs_table2 span.yes,
|
127 |
-
div#featurs_table3 span.yes {
|
128 |
-
background-image: url("images/plus.png");
|
129 |
-
background-position: center center;
|
130 |
-
background-repeat: no-repeat;
|
131 |
-
}
|
132 |
-
|
133 |
-
span.no {
|
134 |
-
background-image: url("images/minus.png");
|
135 |
-
background-position: center center;
|
136 |
-
background-repeat: no-repeat;
|
137 |
-
}
|
138 |
-
|
139 |
-
.download input[type="submit"]:hover,
|
140 |
-
.download a:hover {
|
141 |
-
border-color: #F4762A;
|
142 |
-
}
|
143 |
-
|
144 |
-
#featurs_tables span.download {
|
145 |
-
height: 40px !important;
|
146 |
-
border-bottom: 1px solid #e5e5e5 !important;
|
147 |
-
border-left: 1px solid #e5e5e5 !important;
|
148 |
-
}
|
149 |
-
|
150 |
-
.price_big {
|
151 |
-
color: #F47629;
|
152 |
-
font-size: 22px;
|
153 |
-
}
|
154 |
-
|
155 |
-
.price {
|
156 |
-
display: block;
|
157 |
-
color: #F47629;
|
158 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/pricing.css
ADDED
@@ -0,0 +1,739 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wrap h1.bwg-head-notice {
|
2 |
+
height: 0;
|
3 |
+
padding: 0;
|
4 |
+
visibility: hidden;
|
5 |
+
}
|
6 |
+
.bwg-pricestable-container {
|
7 |
+
display: flex;
|
8 |
+
flex-direction: column;
|
9 |
+
max-width: 1150px;
|
10 |
+
width: 100%;
|
11 |
+
margin: 0 auto;
|
12 |
+
}
|
13 |
+
|
14 |
+
.bwg-pricestable {
|
15 |
+
display: flex;
|
16 |
+
flex-wrap: wrap;
|
17 |
+
justify-content: center;
|
18 |
+
margin-top: 20px;
|
19 |
+
margin-bottom: 10px;
|
20 |
+
font-family: Roboto;
|
21 |
+
text-align: left;
|
22 |
+
overflow:hidden;
|
23 |
+
}
|
24 |
+
|
25 |
+
.bwg-pricestable>div {
|
26 |
+
display: inline-block;
|
27 |
+
margin-right: 15px;
|
28 |
+
margin-top: 20px;
|
29 |
+
padding-bottom: 20px;
|
30 |
+
width: 23%;
|
31 |
+
background: #fff;
|
32 |
+
vertical-align: top;
|
33 |
+
border: 0.5px solid rgba(208, 208, 208, 0.5)
|
34 |
+
}
|
35 |
+
|
36 |
+
.bwg-pricestable>div:hover {
|
37 |
+
box-shadow: -1px 1px 6px 0 rgba(52, 52, 52, 0.16);
|
38 |
+
border: 0.5px solid rgba(204, 201, 201, 0.1)
|
39 |
+
}
|
40 |
+
|
41 |
+
.bwg-pricestable>div:last-child {
|
42 |
+
margin-right: 0px
|
43 |
+
}
|
44 |
+
|
45 |
+
.bwg-pricestable>div>p {
|
46 |
+
text-transform: uppercase;
|
47 |
+
background-color: #192D3B;
|
48 |
+
text-align: center;
|
49 |
+
font-weight: bold;
|
50 |
+
font-size: 20px;
|
51 |
+
padding: 6px 0;
|
52 |
+
height: 46px;
|
53 |
+
color: #fff
|
54 |
+
}
|
55 |
+
|
56 |
+
.bwg-pricestable>div>p::first-line {
|
57 |
+
font-size: 15px;
|
58 |
+
font-weight: normal
|
59 |
+
}
|
60 |
+
|
61 |
+
.bwg-pricestable>div>span {
|
62 |
+
border: 1px solid #B7B7B7;
|
63 |
+
text-transform: uppercase;
|
64 |
+
text-align: center;
|
65 |
+
border-top: none;
|
66 |
+
font-size: 15px;
|
67 |
+
display: block;
|
68 |
+
color: #808081;
|
69 |
+
height: 20px;
|
70 |
+
padding: 6px
|
71 |
+
}
|
72 |
+
|
73 |
+
.bwg-pricestable>div:first-child>span {
|
74 |
+
text-transform: none;
|
75 |
+
text-align: left
|
76 |
+
}
|
77 |
+
|
78 |
+
.bwg-pricestable>div:first-child p {
|
79 |
+
font-size: 17px
|
80 |
+
}
|
81 |
+
|
82 |
+
.bwg-pricestable>div.plantype span:last-child,
|
83 |
+
.bwg-pricestable>div.ptFree span:last-child,
|
84 |
+
.bwg-pricestable>div.ptPersonal span:last-child,
|
85 |
+
.bwg-pricestable>div.ptBusiness span:last-child,
|
86 |
+
.bwg-pricestable>div.ptDeveloper span:last-child {
|
87 |
+
border: none;
|
88 |
+
padding: 0;
|
89 |
+
height: auto;
|
90 |
+
text-transform: none
|
91 |
+
}
|
92 |
+
|
93 |
+
.bwg-pricestable>div.plantype span:last-child>a,
|
94 |
+
.bwg-pricestable>div.ptFree span:last-child>a,
|
95 |
+
.bwg-pricestable>div.ptPersonal span:last-child>a,
|
96 |
+
.bwg-pricestable>div.ptBusiness span:last-child>a,
|
97 |
+
.bwg-pricestable>div.ptDeveloper span:last-child>a {
|
98 |
+
color: #FFF;
|
99 |
+
display: table;
|
100 |
+
padding: 4px 3%;
|
101 |
+
margin: 8px auto 5px auto;
|
102 |
+
font-size: 17px;
|
103 |
+
position: relative;
|
104 |
+
text-align: center;
|
105 |
+
line-height: normal;
|
106 |
+
border-radius: 40px;
|
107 |
+
text-decoration: none;
|
108 |
+
background-color: #F47629;
|
109 |
+
text-transform: uppercase;
|
110 |
+
width: 65%;
|
111 |
+
border-bottom: 3px solid #D2631E
|
112 |
+
}
|
113 |
+
|
114 |
+
.bwg-pricestable>div.plantype span:last-child>a:hover,
|
115 |
+
.bwg-pricestable>div.ptFree span:last-child>a:hover,
|
116 |
+
.bwg-pricestable>div.ptPersonal span:last-child>a:hover,
|
117 |
+
.bwg-pricestable>div.ptBusiness span:last-child>a:hover,
|
118 |
+
.bwg-pricestable>div.ptDeveloper span:last-child>a:hover {
|
119 |
+
background-color: #F68946;
|
120 |
+
border-bottom: 1px solid #D2631E;
|
121 |
+
margin: 10px auto 3px auto
|
122 |
+
}
|
123 |
+
.bwg-pricestable>div:not(:last-child) {
|
124 |
+
margin-right: 7px;
|
125 |
+
width: 225px;
|
126 |
+
box-sizing: border-box;
|
127 |
+
}
|
128 |
+
|
129 |
+
.bwg-pricestable>div.ptDeveloper {
|
130 |
+
margin-right: 0px;
|
131 |
+
width: 446px;
|
132 |
+
box-sizing: border-box;
|
133 |
+
max-width: 40%
|
134 |
+
}
|
135 |
+
|
136 |
+
.bwg-pricestable>div>p {
|
137 |
+
padding: 6px 0 6px 0
|
138 |
+
}
|
139 |
+
|
140 |
+
.bwg-pricestable>div .price+p,
|
141 |
+
.bwg-pricestable>div .save_money+p {
|
142 |
+
display: table;
|
143 |
+
width: 100%;
|
144 |
+
height: inherit;
|
145 |
+
background: transparent;
|
146 |
+
font-size: 22px;
|
147 |
+
font-weight: 300;
|
148 |
+
line-height: 1.14;
|
149 |
+
color: #000;
|
150 |
+
text-transform: inherit
|
151 |
+
}
|
152 |
+
.bwg-pricestable>div .price+p,
|
153 |
+
.bwg-pricestable>div .special_offer {
|
154 |
+
text-transform: uppercase;
|
155 |
+
}
|
156 |
+
.bwg-pricestable>div>span.price {
|
157 |
+
font-size: 77px !important;
|
158 |
+
line-height: 90px !important;
|
159 |
+
height: 60px !important;
|
160 |
+
color: #134d68 !important;
|
161 |
+
font-weight: 600 !important;
|
162 |
+
padding: 17px 0 29px 0 !important
|
163 |
+
}
|
164 |
+
|
165 |
+
.bwg-pricestable>div.ptDeveloper>span.price {
|
166 |
+
padding: 5px 0 0px 0 !important
|
167 |
+
}
|
168 |
+
|
169 |
+
.bwg-pricestable>div .save_money {
|
170 |
+
font-style: normal;
|
171 |
+
font-stretch: normal;
|
172 |
+
text-align: center;
|
173 |
+
margin: 25px 0 20px 0
|
174 |
+
}
|
175 |
+
|
176 |
+
.bwg-pricestable>div .save_money span {
|
177 |
+
font-size: 14px;
|
178 |
+
font-weight: 500;
|
179 |
+
border-radius: 100px;
|
180 |
+
color: #fff;
|
181 |
+
background-color: #22a044;
|
182 |
+
padding: 5.5px 20px !important
|
183 |
+
}
|
184 |
+
|
185 |
+
.bwg-pricestable>div .price span {
|
186 |
+
font-size: 33px;
|
187 |
+
position: relative;
|
188 |
+
top: -41px !important;
|
189 |
+
left: 0px !important;
|
190 |
+
font-weight: 300
|
191 |
+
}
|
192 |
+
|
193 |
+
.bwg-pricestable>div>span {
|
194 |
+
height: inherit;
|
195 |
+
border: none;
|
196 |
+
box-sizing: unset !important;
|
197 |
+
padding: 4px 0 5px 0 !important;
|
198 |
+
text-align: center !important;
|
199 |
+
font-size: 14px !important;
|
200 |
+
line-height: 16px !important;
|
201 |
+
text-transform: none;
|
202 |
+
font-weight: 300;
|
203 |
+
color: #000;
|
204 |
+
}
|
205 |
+
|
206 |
+
.bwg-pricestable>div>span:not(.product_info) {
|
207 |
+
cursor: pointer
|
208 |
+
}
|
209 |
+
|
210 |
+
.bwg-pricestable>div>span:not(.product_info):hover {
|
211 |
+
font-weight: 400
|
212 |
+
}
|
213 |
+
|
214 |
+
.bwg-pricestable>div>span.special_offer {
|
215 |
+
font-size: 26px !important;
|
216 |
+
font-weight: normal;
|
217 |
+
font-style: normal;
|
218 |
+
font-stretch: normal;
|
219 |
+
line-height: 1.15 !important;
|
220 |
+
color: #134d68 !important;
|
221 |
+
padding: 33px 0 0px 0 !important
|
222 |
+
}
|
223 |
+
|
224 |
+
.bwg-pricestable>div>span.supp strong {
|
225 |
+
color: #e0702b
|
226 |
+
}
|
227 |
+
|
228 |
+
.bwg-pricestable>div.ptDeveloper>span.supp strong {
|
229 |
+
font-size: 20px
|
230 |
+
}
|
231 |
+
|
232 |
+
.bwg-pricestable>div.ptDeveloper>span.supp {
|
233 |
+
padding: 7.5px 0 !important;
|
234 |
+
font-size: 16px !important
|
235 |
+
}
|
236 |
+
|
237 |
+
.bwg-pricestable>div.ptFree span:last-child>a,
|
238 |
+
.bwg-pricestable>div.ptPersonal span:last-child>a,
|
239 |
+
.bwg-pricestable>div.ptBusiness span:last-child>a,
|
240 |
+
.bwg-pricestable>div.ptDeveloper span:last-child>a {
|
241 |
+
max-width: 183px;
|
242 |
+
height: 13px;
|
243 |
+
border-radius: 80px;
|
244 |
+
background-color: #1a6588;
|
245 |
+
font-weight: 300;
|
246 |
+
cursor: pointer;
|
247 |
+
padding: 12px 0 !important;
|
248 |
+
line-height: 15px;
|
249 |
+
font-size: 15px !important;
|
250 |
+
border: 0;
|
251 |
+
margin: 20px auto 0px auto !important;
|
252 |
+
width: 100%
|
253 |
+
}
|
254 |
+
|
255 |
+
.bwg-pricestable>div.ptDeveloper span:last-child>a {
|
256 |
+
margin: 20px auto 0 auto !important;
|
257 |
+
max-width: 273px;
|
258 |
+
width: 100%
|
259 |
+
}
|
260 |
+
|
261 |
+
.bwg-pricestable>div.ptFree span:last-child>a:hover,
|
262 |
+
.bwg-pricestable>div.ptPersonal span:last-child>a:hover,
|
263 |
+
.bwg-pricestable>div.ptBusiness span:last-child>a:hover,
|
264 |
+
.bwg-pricestable>div.ptDeveloper span:last-child>a:hover,
|
265 |
+
.joomla_free_downloads #open_links:hover,
|
266 |
+
.joomla_free_downloads #open_links.active {
|
267 |
+
background-color: rgba(19, 77, 104, 0.6);
|
268 |
+
border-bottom: 0px solid;
|
269 |
+
margin: 20px auto 34.2px auto
|
270 |
+
}
|
271 |
+
|
272 |
+
.bwg-pricestable>div span.no:before {
|
273 |
+
font-size: 35px;
|
274 |
+
line-height: 21px
|
275 |
+
}
|
276 |
+
|
277 |
+
.bwg-pricestable>div>span .desc_span {
|
278 |
+
opacity: 0;
|
279 |
+
transition: opacity 0.5s linear;
|
280 |
+
position: absolute;
|
281 |
+
width: 250px;
|
282 |
+
padding: 10px 10px !important;
|
283 |
+
background: rgba(19, 77, 104, 0.8901960784313725);
|
284 |
+
color: #fff;
|
285 |
+
z-index: 1;
|
286 |
+
left: 88%;
|
287 |
+
top: -50%;
|
288 |
+
line-height: 20px;
|
289 |
+
font-size: 14px;
|
290 |
+
visibility: hidden;
|
291 |
+
border-radius: 5px
|
292 |
+
}
|
293 |
+
|
294 |
+
.bwg-pricestable>div>span {
|
295 |
+
position: relative
|
296 |
+
}
|
297 |
+
|
298 |
+
.bwg-pricestable>div>span:hover .desc_span {
|
299 |
+
opacity: 1;
|
300 |
+
visibility: visible
|
301 |
+
}
|
302 |
+
|
303 |
+
.bwg-pricestable>div.ptDeveloper>span .desc_span {
|
304 |
+
left: -29%
|
305 |
+
}
|
306 |
+
|
307 |
+
.bwg-pricestable>div .circles {
|
308 |
+
text-align: center;
|
309 |
+
padding: 11px 0 4px 0
|
310 |
+
}
|
311 |
+
|
312 |
+
.bwg-pricestable>div .circles li {
|
313 |
+
display: inline-block;
|
314 |
+
list-style: none
|
315 |
+
}
|
316 |
+
|
317 |
+
.bwg-pricestable>div .circles li div {
|
318 |
+
width: 4px;
|
319 |
+
height: 4px;
|
320 |
+
background: rgba(19, 77, 104, 0.52);
|
321 |
+
-moz-border-radius: 50%;
|
322 |
+
-webkit-border-radius: 50%;
|
323 |
+
border-radius: 50%
|
324 |
+
}
|
325 |
+
|
326 |
+
.bwg-pricestable>div.ptDeveloper>span.supp_dev {
|
327 |
+
padding: 3px 0 4px 0!important
|
328 |
+
}
|
329 |
+
@media (max-width:1024px) {
|
330 |
+
.bwg-pricestable>div>span.price {
|
331 |
+
font-size: 77px !important;
|
332 |
+
line-height: 90px !important;
|
333 |
+
height: 60px !important;
|
334 |
+
color: #134d68 !important;
|
335 |
+
font-weight: 600 !important;
|
336 |
+
padding: 20px 0 31px 0 !important
|
337 |
+
}
|
338 |
+
.bwg-pricestable>div.ptDeveloper span:last-child>a {
|
339 |
+
margin: 35px auto 34.2px auto !important
|
340 |
+
}
|
341 |
+
.bwg-pricestable>div .ptDeveloper .price {
|
342 |
+
padding: 5px 0 0px 0 !important
|
343 |
+
}
|
344 |
+
}
|
345 |
+
|
346 |
+
@media (max-width:1355px) {
|
347 |
+
.bwg-pricestable .ptFree,
|
348 |
+
.bwg-pricestable .ptPersonal,
|
349 |
+
.bwg-pricestable .ptBusiness {
|
350 |
+
width: 100% !important;
|
351 |
+
max-width: 32.8% !important;
|
352 |
+
}
|
353 |
+
.bwg-pricestable .ptBusiness {
|
354 |
+
margin-right:0px !important;
|
355 |
+
}
|
356 |
+
.bwg-pricestable>div.ptDeveloper {
|
357 |
+
width: 500px;
|
358 |
+
max-width: 60%;
|
359 |
+
}
|
360 |
+
}
|
361 |
+
|
362 |
+
@media (max-width:1094px) {
|
363 |
+
.bwg-pricestable .ptFree,
|
364 |
+
.bwg-pricestable .ptPersonal,
|
365 |
+
.bwg-pricestable .ptBusiness {
|
366 |
+
width: 100% !important;
|
367 |
+
max-width: 32.5% !important;
|
368 |
+
}
|
369 |
+
.bwg-pricestable .ptBusiness {
|
370 |
+
margin-right:0px !important;
|
371 |
+
}
|
372 |
+
.bwg-pricestable>div.ptDeveloper {
|
373 |
+
width: 500px;
|
374 |
+
max-width: 60%;
|
375 |
+
}
|
376 |
+
}
|
377 |
+
|
378 |
+
@media (max-width:768px) {
|
379 |
+
.bwg-pricestable {
|
380 |
+
text-align: center;
|
381 |
+
margin-top: 20px
|
382 |
+
}
|
383 |
+
.bwg-pricestable .ptFree,
|
384 |
+
.bwg-pricestable .ptPersonal,
|
385 |
+
.bwg-pricestable .ptBusiness,
|
386 |
+
.bwg-pricestable .ptDeveloper {
|
387 |
+
max-width: 100% !important;
|
388 |
+
min-width: 321px !important;
|
389 |
+
width: 100% !important;
|
390 |
+
margin-right: 0 !important;
|
391 |
+
font-size: inherit !important;
|
392 |
+
}
|
393 |
+
.bwg-pricestable>div.ptBusiness span:last-child>a {
|
394 |
+
max-width: 183px !important
|
395 |
+
}
|
396 |
+
.bwg-pricestable>div .ptBusiness,
|
397 |
+
.bwg-pricestable>div .ptDeveloper,
|
398 |
+
.bwg-pricestable>div .hidePrice {
|
399 |
+
display: inline-block !important
|
400 |
+
}
|
401 |
+
|
402 |
+
.bwg-pricestable>div.ptFree span:last-child>a,
|
403 |
+
.bwg-pricestable>div.ptPersonal span:last-child>a,
|
404 |
+
.bwg-pricestable>div.ptBusiness span:last-child>a,
|
405 |
+
.bwg-pricestable>div.ptDeveloper span:last-child>a {
|
406 |
+
/*padding: 4% 11% !important;*/
|
407 |
+
font-size: inherit !important
|
408 |
+
}
|
409 |
+
.bwg-pricestable>div.ptDeveloper span:last-child>a {
|
410 |
+
margin: 45px auto 34.2px auto !important;
|
411 |
+
padding: 12px 0 !important
|
412 |
+
}
|
413 |
+
}
|
414 |
+
|
415 |
+
@media (max-width:400px) {
|
416 |
+
.bwg-pricestable>div.ptDeveloper>span.supp strong {
|
417 |
+
line-height: 21px
|
418 |
+
}
|
419 |
+
.bwg-pricestable>div.ptDeveloper>span.supp {
|
420 |
+
font-size: 15px !important
|
421 |
+
}
|
422 |
+
}
|
423 |
+
.bwg-prices-more {
|
424 |
+
display: flex;
|
425 |
+
flex-wrap: wrap;
|
426 |
+
justify-content: center;
|
427 |
+
}
|
428 |
+
.bwg-prices-more div {
|
429 |
+
width: 100%;
|
430 |
+
background: #fff;
|
431 |
+
padding: 15px;
|
432 |
+
text-align:center;
|
433 |
+
border: 0.5px solid rgba(208, 208, 208, 0.4);
|
434 |
+
border-radius: 7px;
|
435 |
+
}
|
436 |
+
.bwg-prices-more a {
|
437 |
+
text-decoration:none;
|
438 |
+
}
|
439 |
+
|
440 |
+
/* Top bar start */
|
441 |
+
.bwg-topbar-container {
|
442 |
+
display: flex;
|
443 |
+
flex-direction: row;
|
444 |
+
justify-content: flex-end;
|
445 |
+
margin: 20px 0 20px 0;
|
446 |
+
font-family: Roboto;
|
447 |
+
}
|
448 |
+
.bwg-topbar-container * {
|
449 |
+
box-sizing: border-box;
|
450 |
+
}
|
451 |
+
.bwg-topbar {
|
452 |
+
background-color: #FFFFFF;
|
453 |
+
border: 1px solid #D0D0D080;
|
454 |
+
border-radius: 7px;
|
455 |
+
color: #000000;
|
456 |
+
padding: 5px;
|
457 |
+
}
|
458 |
+
.bwg-topbar-content {
|
459 |
+
display: flex;
|
460 |
+
justify-content: space-between;
|
461 |
+
flex: auto;
|
462 |
+
margin: 0 2px 0 0;
|
463 |
+
padding: 10px 15px;
|
464 |
+
height: 60px;
|
465 |
+
}
|
466 |
+
.bwg-topbar-links {
|
467 |
+
color: #000000;
|
468 |
+
display: flex;
|
469 |
+
flex-direction: column;
|
470 |
+
justify-content: space-around;
|
471 |
+
font-size: 18px;
|
472 |
+
font-weight: 300;
|
473 |
+
margin: 0 0 0 2px;
|
474 |
+
height: 60px;
|
475 |
+
}
|
476 |
+
.bwg-topbar-links-container {
|
477 |
+
display: flex;
|
478 |
+
justify-content: space-around;
|
479 |
+
height: 80%;
|
480 |
+
}
|
481 |
+
.bwg-topbar-links-item {
|
482 |
+
display: flex;
|
483 |
+
flex: 1;
|
484 |
+
align-self: center;
|
485 |
+
justify-content: center;
|
486 |
+
width: 170px;
|
487 |
+
line-height: 50px;
|
488 |
+
}
|
489 |
+
.bwg-topbar-links * {
|
490 |
+
font-size: 18px;
|
491 |
+
}
|
492 |
+
.bwg-topbar-links a,
|
493 |
+
.bwg-topbar-links a:focus {
|
494 |
+
align-self: center;
|
495 |
+
box-shadow: none;
|
496 |
+
color: #000000;
|
497 |
+
text-decoration: none;
|
498 |
+
}
|
499 |
+
.bwg-topbar-links a:hover {
|
500 |
+
opacity: 0.5;
|
501 |
+
text-decoration: none;
|
502 |
+
}
|
503 |
+
.bwg-topbar-separator {
|
504 |
+
background-color: #C2C2C280;
|
505 |
+
width: 1px;
|
506 |
+
height: 100%;
|
507 |
+
}
|
508 |
+
.bwg-topbar-content-title {
|
509 |
+
color: #0C4D68;
|
510 |
+
font-size: 16px;
|
511 |
+
font-weight: 700;
|
512 |
+
line-height: 22px;
|
513 |
+
text-transform: uppercase;
|
514 |
+
}
|
515 |
+
.bwg-topbar-content-body {
|
516 |
+
font-size: 15px;
|
517 |
+
font-weight: 300;
|
518 |
+
line-height: 20px;
|
519 |
+
}
|
520 |
+
.bwg-topbar-content-container {
|
521 |
+
display: flex;
|
522 |
+
flex-direction: column;
|
523 |
+
}
|
524 |
+
.bwg-topbar-content-button-container,
|
525 |
+
.bwg-free-message-button-container {
|
526 |
+
align-self: center;
|
527 |
+
}
|
528 |
+
.bwg-topbar-upgrade-button,
|
529 |
+
.bwg-topbar-upgrade-button:focus {
|
530 |
+
background-color: #29B311;
|
531 |
+
border-radius: 20px;
|
532 |
+
box-shadow: none;
|
533 |
+
color: #FFFFFF;
|
534 |
+
font-size: 14px;
|
535 |
+
padding: 5px 44px;
|
536 |
+
text-decoration: none;
|
537 |
+
text-transform: uppercase;
|
538 |
+
}
|
539 |
+
.bwg-topbar-upgrade-button:hover {
|
540 |
+
text-decoration: none;
|
541 |
+
color: #FFFFFFCC;
|
542 |
+
}
|
543 |
+
@media screen and (max-width: 1366px) {
|
544 |
+
.bwg-topbar-links {
|
545 |
+
font-size: 15px;
|
546 |
+
}
|
547 |
+
.bwg-topbar-content-title {
|
548 |
+
font-size: 15px;
|
549 |
+
}
|
550 |
+
.bwg-topbar-content-body {
|
551 |
+
font-size: 13px;
|
552 |
+
}
|
553 |
+
}
|
554 |
+
@media screen and (max-width: 1285px) {
|
555 |
+
.bwg-topbar-container {
|
556 |
+
flex-direction: column;
|
557 |
+
}
|
558 |
+
.bwg-topbar-links,
|
559 |
+
.bwg-topbar-content {
|
560 |
+
margin: 0 0 10px 0;
|
561 |
+
width: 100%;
|
562 |
+
}
|
563 |
+
.bwg-topbar-content {
|
564 |
+
flex-direction: column;
|
565 |
+
height: auto;
|
566 |
+
}
|
567 |
+
.bwg-topbar-content-container,
|
568 |
+
.bwg-topbar-content-container * {
|
569 |
+
align-self: center;
|
570 |
+
padding-bottom: 4px;
|
571 |
+
}
|
572 |
+
}
|
573 |
+
/* Top bar end */
|
574 |
+
|
575 |
+
/* Head start */
|
576 |
+
.bwg-head {
|
577 |
+
margin-top: 15px;
|
578 |
+
text-align: center;
|
579 |
+
}
|
580 |
+
.bwg-head .bwg-breadcrumbs { }
|
581 |
+
.bwg-head .bwg-breadcrumbs li {
|
582 |
+
display: inline-block;
|
583 |
+
margin: 0 10px 0 0;
|
584 |
+
padding-top: 10px;
|
585 |
+
vertical-align: baseline;
|
586 |
+
}
|
587 |
+
.bwg-head .bwg-breadcrumbs li:last-child {
|
588 |
+
margin-right:0px;
|
589 |
+
}
|
590 |
+
.bwg-head .bwg-breadcrumbs .bwg-breadcrumb-item .bwg-breadcrumb-item-link {
|
591 |
+
text-decoration:none;
|
592 |
+
font-family: Roboto;
|
593 |
+
font-weight:500;
|
594 |
+
font-size:18px;
|
595 |
+
color:#32373c;
|
596 |
+
}
|
597 |
+
.bwg-head .bwg-breadcrumbs .bwg-breadcrumb-item .bwg-breadcrumb-item-link-active {
|
598 |
+
color: #0073aa;
|
599 |
+
}
|
600 |
+
|
601 |
+
.bwg-head .bwg-breadcrumbs .bwg-breadcrumb-item .bwg-upgrade {
|
602 |
+
position:relative;
|
603 |
+
top: 0.5px;
|
604 |
+
display: inline-block;
|
605 |
+
margin-left: 10px;
|
606 |
+
padding: 1px 22px;
|
607 |
+
background-color: #29B311;
|
608 |
+
text-transform: uppercase;
|
609 |
+
border-radius: 10px;
|
610 |
+
font-weight: 700;
|
611 |
+
font-size: 12px;
|
612 |
+
color: #fff;
|
613 |
+
}
|
614 |
+
/* Head end */
|
615 |
+
/* Add-ons start */
|
616 |
+
.bwg-add-ons {
|
617 |
+
display: flex;
|
618 |
+
flex-wrap: wrap;
|
619 |
+
justify-content: center;
|
620 |
+
margin-top: 20px;
|
621 |
+
margin-bottom: 10px;
|
622 |
+
font-family: Roboto;
|
623 |
+
}
|
624 |
+
.bwg-add-ons .bwg-add-on {
|
625 |
+
max-width:300px;
|
626 |
+
max-height: 300px;
|
627 |
+
width:100%;
|
628 |
+
height:100%;
|
629 |
+
margin-right:10px;
|
630 |
+
margin-bottom:10px;
|
631 |
+
padding: 20px 20px 15px;
|
632 |
+
transition-delay: 0s;
|
633 |
+
transition-duration: 0s;
|
634 |
+
transition-property: all;
|
635 |
+
transition-timing-function: ease;
|
636 |
+
background-color: #fff;
|
637 |
+
border-radius:1px;
|
638 |
+
text-align: center;
|
639 |
+
font-family:Roboto;
|
640 |
+
font-weight: 300;
|
641 |
+
font-size:16px;
|
642 |
+
color: rgb(50, 58, 69);
|
643 |
+
}
|
644 |
+
.bwg-add-ons .bwg-add-on:hover {
|
645 |
+
box-shadow: 1px 1px 6px rgba(52, 52, 52, 0.16);
|
646 |
+
}
|
647 |
+
.bwg-add-ons .bwg-add-on .bwg-add-on-img {
|
648 |
+
width:72px;
|
649 |
+
height:72px;
|
650 |
+
margin:0 auto;
|
651 |
+
}
|
652 |
+
.bwg-add-ons .bwg-add-on a {
|
653 |
+
text-decoration:none;
|
654 |
+
}
|
655 |
+
.bwg-add-ons .bwg-add-on .bwg-add-on-name {
|
656 |
+
margin:15px 0px;
|
657 |
+
}
|
658 |
+
.bwg-add-ons .bwg-add-on .bwg-add-on-name,
|
659 |
+
.bwg-add-ons .bwg-add-on .bwg-add-on-name a {
|
660 |
+
font-family:Roboto;
|
661 |
+
font-weight: 400;
|
662 |
+
font-size:20px;
|
663 |
+
color: #0C4D68;
|
664 |
+
}
|
665 |
+
.bwg-add-ons .bwg-add-on .bwg-add-on-premium-version {
|
666 |
+
margin: 4px 0;
|
667 |
+
height: 16px;
|
668 |
+
line-height:16px;
|
669 |
+
font-weight:400;
|
670 |
+
font-size:14px;
|
671 |
+
color:rgb(41, 179, 17);
|
672 |
+
}
|
673 |
+
.bwg-add-ons .bwg-add-on .bwg-add-on-desc {
|
674 |
+
max-height: 65px;
|
675 |
+
height:100%;
|
676 |
+
line-height:20px;
|
677 |
+
font-size:16px;
|
678 |
+
}
|
679 |
+
|
680 |
+
.bwg-add-ons .bwg-add-on .bwg-add-on-desc-more-wrap {
|
681 |
+
position: relative;
|
682 |
+
}
|
683 |
+
.bwg-add-ons .bwg-add-on .bwg-add-on-desc-more {
|
684 |
+
position: absolute;
|
685 |
+
z-index: 1;
|
686 |
+
left: 0;
|
687 |
+
bottom: 65px;
|
688 |
+
opacity: 0;
|
689 |
+
visibility: hidden;
|
690 |
+
transition: opacity 0.4s linear;
|
691 |
+
padding: 10px 10px;
|
692 |
+
background-color: rgb(50, 55, 60);
|
693 |
+
border-radius: 6px;
|
694 |
+
line-height: 20px;
|
695 |
+
font-weight:400;
|
696 |
+
font-size: 14px;
|
697 |
+
color: #fff;
|
698 |
+
}
|
699 |
+
.bwg-add-ons .bwg-add-on .bwg-add-on-desc:hover + .bwg-add-on-desc-more {
|
700 |
+
opacity: 1;
|
701 |
+
visibility: visible;
|
702 |
+
}
|
703 |
+
.bwg-add-ons .bwg-add-on .bwg-add-on-buy {
|
704 |
+
width: 155px;
|
705 |
+
height: 30px;
|
706 |
+
display:block;
|
707 |
+
margin: 10px auto;
|
708 |
+
padding-top: 7px;
|
709 |
+
background-color: rgb(12, 77, 104);
|
710 |
+
border: 0.7px solid rgb(12, 77, 104);
|
711 |
+
border-radius: 15px;
|
712 |
+
line-height:16px;
|
713 |
+
font-family: Roboto;
|
714 |
+
font-weight: 400;
|
715 |
+
font-size: 13px;
|
716 |
+
color: #fff;
|
717 |
+
}
|
718 |
+
|
719 |
+
.bwg-add-ons .bwg-add-on .bwg-add-on-buy:hover {
|
720 |
+
background-color: rgba(12, 77, 104, 0.8);
|
721 |
+
}
|
722 |
+
|
723 |
+
.bwg-add-ons .bwg-add-on.bwg-add-on-activated .bwg-add-on-buy {
|
724 |
+
text-transform:uppercase;
|
725 |
+
background-color: #fff;
|
726 |
+
font-size:13px;
|
727 |
+
color:rgb(12, 77, 104);
|
728 |
+
}
|
729 |
+
.bwg-add-ons .bwg-add-on .bwg-add-on-learn-more {
|
730 |
+
line-height:16px;
|
731 |
+
font-family: Roboto;
|
732 |
+
font-weight: 300;
|
733 |
+
font-size: 14px;
|
734 |
+
color: rgb(0,115,170);
|
735 |
+
}
|
736 |
+
.bwg-add-ons .bwg-add-on .bwg-add-on-learn-more:hover {
|
737 |
+
color: rgba(0, 115, 170, 0.8);
|
738 |
+
}
|
739 |
+
/* Add-ons end */
|
framework/WDWLibrary.php
CHANGED
@@ -1888,6 +1888,10 @@ class WDWLibrary {
|
|
1888 |
add_action('create_bwg_tag', array('WDWLibrary', 'update_bwg_tag'), 10, 2);
|
1889 |
// Delete bwg_tag.
|
1890 |
add_action('delete_bwg_tag', array('WDWLibrary', 'delete_bwg_tag'), 10, 3);
|
|
|
|
|
|
|
|
|
1891 |
}
|
1892 |
|
1893 |
public static function create_bwg_tag() {
|
@@ -2372,6 +2376,165 @@ class WDWLibrary {
|
|
2372 |
@session_start();
|
2373 |
}
|
2374 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2375 |
}
|
2376 |
|
2377 |
/**
|
1888 |
add_action('create_bwg_tag', array('WDWLibrary', 'update_bwg_tag'), 10, 2);
|
1889 |
// Delete bwg_tag.
|
1890 |
add_action('delete_bwg_tag', array('WDWLibrary', 'delete_bwg_tag'), 10, 3);
|
1891 |
+
|
1892 |
+
if ('bwg_tag' == self::get('taxonomy')) {
|
1893 |
+
add_action( 'admin_notices', array( 'WDWLibrary', 'topbar' ) );
|
1894 |
+
}
|
1895 |
}
|
1896 |
|
1897 |
public static function create_bwg_tag() {
|
2376 |
@session_start();
|
2377 |
}
|
2378 |
}
|
2379 |
+
|
2380 |
+
/**
|
2381 |
+
* Generate top bar.
|
2382 |
+
*
|
2383 |
+
* @return string Top bar html.
|
2384 |
+
*/
|
2385 |
+
public static function topbar() {
|
2386 |
+
$page = isset($_GET['page']) ? esc_html($_GET['page']) : '';
|
2387 |
+
$taxonomy = isset($_GET['taxonomy']) ? esc_html($_GET['taxonomy']) : '';
|
2388 |
+
$user_guide_link = 'https://docs.10web.io/docs/photo-gallery/';
|
2389 |
+
$show_content = true;
|
2390 |
+
$show_guide_link = true;
|
2391 |
+
$show_head = false;
|
2392 |
+
if ('bwg_tag' == $taxonomy) {
|
2393 |
+
$user_guide_link .= 'image-tags';
|
2394 |
+
}
|
2395 |
+
else {
|
2396 |
+
switch ( $page ) {
|
2397 |
+
case 'galleries_bwg':
|
2398 |
+
{
|
2399 |
+
$user_guide_link .= 'adding-galleries/creating-galleries.html';
|
2400 |
+
break;
|
2401 |
+
}
|
2402 |
+
case 'albums_bwg':
|
2403 |
+
{
|
2404 |
+
$user_guide_link .= 'gallery-groups';
|
2405 |
+
break;
|
2406 |
+
}
|
2407 |
+
case 'tags_bwg':
|
2408 |
+
{
|
2409 |
+
$user_guide_link .= 'image-tags';
|
2410 |
+
break;
|
2411 |
+
}
|
2412 |
+
case 'options_bwg':
|
2413 |
+
{
|
2414 |
+
$user_guide_link .= 'photo-gallery-options';
|
2415 |
+
break;
|
2416 |
+
}
|
2417 |
+
case 'themes_bwg':
|
2418 |
+
{
|
2419 |
+
$user_guide_link .= 'photo-gallery-themes';
|
2420 |
+
break;
|
2421 |
+
}
|
2422 |
+
case 'comments_bwg':
|
2423 |
+
{
|
2424 |
+
$user_guide_link .= 'comments-ratings';
|
2425 |
+
break;
|
2426 |
+
}
|
2427 |
+
case 'ratings_bwg':
|
2428 |
+
{
|
2429 |
+
$user_guide_link .= 'comments-ratings';
|
2430 |
+
break;
|
2431 |
+
}
|
2432 |
+
case 'licensing_bwg':
|
2433 |
+
{
|
2434 |
+
$user_guide_link .= 'adding-galleries/creating-galleries.html';
|
2435 |
+
break;
|
2436 |
+
}
|
2437 |
+
default:
|
2438 |
+
{
|
2439 |
+
return '';
|
2440 |
+
break;
|
2441 |
+
}
|
2442 |
+
}
|
2443 |
+
}
|
2444 |
+
$show_content = $show_content && !BWG()->is_pro;
|
2445 |
+
$support_forum_link = 'https://wordpress.org/support/plugin/photo-gallery';
|
2446 |
+
$premium_link = 'https://web-dorado.com/files/fromPhotoGallery.php';
|
2447 |
+
wp_enqueue_style(BWG()->prefix . '-roboto');
|
2448 |
+
wp_enqueue_style(BWG()->prefix . '-pricing');
|
2449 |
+
ob_start();
|
2450 |
+
?>
|
2451 |
+
<div class="wrap">
|
2452 |
+
<h1 class="bwg-head-notice"> </h1>
|
2453 |
+
<div class="bwg-topbar-container">
|
2454 |
+
<?php
|
2455 |
+
if ($show_content) {
|
2456 |
+
?>
|
2457 |
+
<div class="bwg-topbar bwg-topbar-content">
|
2458 |
+
<div class="bwg-topbar-content-container">
|
2459 |
+
<div class="bwg-topbar-content-title">
|
2460 |
+
<?php _e('Photo Gallery Premium', BWG()->prefix); ?>
|
2461 |
+
</div>
|
2462 |
+
<div class="bwg-topbar-content-body">
|
2463 |
+
<?php _e('Get more stunning views with fully customizable themes, powerful lightbox and much more.', BWG()->prefix); ?>
|
2464 |
+
</div>
|
2465 |
+
</div>
|
2466 |
+
<div class="bwg-topbar-content-button-container">
|
2467 |
+
<a href="<?php echo $premium_link; ?>" target="_blank" class="bwg-topbar-upgrade-button"><?php _e( 'Upgrade', BWG()->prefix ); ?></a>
|
2468 |
+
</div>
|
2469 |
+
</div>
|
2470 |
+
<?php
|
2471 |
+
}
|
2472 |
+
?>
|
2473 |
+
<div class="bwg-topbar bwg-topbar-links">
|
2474 |
+
<div class="bwg-topbar-links-container">
|
2475 |
+
<?php if ( $show_guide_link ) { ?>
|
2476 |
+
<a href="<?php echo $user_guide_link; ?>" target="_blank">
|
2477 |
+
<div class="bwg-topbar-links-item">
|
2478 |
+
<?php _e('User guide', BWG()->prefix); ?>
|
2479 |
+
</div>
|
2480 |
+
</a>
|
2481 |
+
<?php
|
2482 |
+
}
|
2483 |
+
if (!BWG()->is_pro) {
|
2484 |
+
if ( $show_guide_link ) {
|
2485 |
+
?>
|
2486 |
+
<span class="bwg-topbar-separator"></span>
|
2487 |
+
<?php } ?>
|
2488 |
+
<a href="<?php echo $support_forum_link; ?>" target="_blank">
|
2489 |
+
<div class="bwg-topbar-links-item">
|
2490 |
+
<?php _e('Support Forum', BWG()->prefix); ?>
|
2491 |
+
</div>
|
2492 |
+
</a>
|
2493 |
+
<?php
|
2494 |
+
}
|
2495 |
+
?>
|
2496 |
+
</div>
|
2497 |
+
</div>
|
2498 |
+
</div>
|
2499 |
+
<?php if ( $show_head ) {
|
2500 |
+
$menus = array(
|
2501 |
+
'manage' => array(
|
2502 |
+
'href' => add_query_arg( array('page' => 'manage' . BWG()->menu_postfix ), admin_url('admin.php')),
|
2503 |
+
'name' => __('Forms', BWG()->prefix)
|
2504 |
+
),
|
2505 |
+
'addons' => array(
|
2506 |
+
'href' => add_query_arg( array('page' => 'addons' . BWG()->menu_postfix ), admin_url('admin.php')),
|
2507 |
+
'name' => __('Add-ons', BWG()->prefix)
|
2508 |
+
),
|
2509 |
+
'pricing' => array(
|
2510 |
+
'href' => add_query_arg( array('page' => 'pricing' . BWG()->menu_postfix ), admin_url('admin.php')),
|
2511 |
+
'name' => __('Premium Version', BWG()->prefix) .' <span class="bwg-upgrade">' . __('Upgrade', BWG()->prefix) . '</span>'
|
2512 |
+
),
|
2513 |
+
);
|
2514 |
+
?>
|
2515 |
+
<style>#wpbody-content>div:not(.wrap), .wrap .notice:not(#wd_bp_notice_cont) { display: none; }</style>
|
2516 |
+
<div class="bwg-head">
|
2517 |
+
<div><img src="<?php echo BWG()->plugin_url . '/images/FormMaker.png'; ?>"></div>
|
2518 |
+
<ul class="bwg-breadcrumbs">
|
2519 |
+
<?php
|
2520 |
+
foreach ( $menus as $key => $item ) {
|
2521 |
+
if ( !BWG()->is_free && $key == 'pricing' ) {
|
2522 |
+
continue;
|
2523 |
+
}
|
2524 |
+
?>
|
2525 |
+
<li class="bwg-breadcrumb-item">
|
2526 |
+
<a class="bwg-breadcrumb-item-link<?php echo ( $key == $page ) ? ' bwg-breadcrumb-item-link-active' : ''; ?>" href="<?php echo $item['href']; ?>"><?php echo $item['name']; ?></a>
|
2527 |
+
</li>
|
2528 |
+
<?php
|
2529 |
+
}
|
2530 |
+
?>
|
2531 |
+
</ul>
|
2532 |
+
</div>
|
2533 |
+
<?php } ?>
|
2534 |
+
</div>
|
2535 |
+
<?php
|
2536 |
+
echo ob_get_clean();
|
2537 |
+
}
|
2538 |
}
|
2539 |
|
2540 |
/**
|
frontend/views/BWGViewGalleryBox.php
CHANGED
@@ -2651,12 +2651,12 @@ class BWGViewGalleryBox {
|
|
2651 |
leftIndex = startPoint - i;
|
2652 |
rightIndex = endPoint + i;
|
2653 |
|
2654 |
-
if ( rightIndex < total_thumbnail_count ) {
|
2655 |
var filmstrip_image = jQuery("#bwg_filmstrip_thumbnail_" + rightIndex + " img");
|
2656 |
filmstrip_image.removeClass('hidden');
|
2657 |
filmstrip_image.attr('src', filmstrip_image.data('url'));
|
2658 |
}
|
2659 |
-
|
2660 |
if ( leftIndex >= 0 ) {
|
2661 |
var filmstrip_image = jQuery("#bwg_filmstrip_thumbnail_" + leftIndex + " img");
|
2662 |
filmstrip_image.removeClass('hidden');
|
2651 |
leftIndex = startPoint - i;
|
2652 |
rightIndex = endPoint + i;
|
2653 |
|
2654 |
+
if ( rightIndex < total_thumbnail_count ) { /* check if right index is greater than max index */
|
2655 |
var filmstrip_image = jQuery("#bwg_filmstrip_thumbnail_" + rightIndex + " img");
|
2656 |
filmstrip_image.removeClass('hidden');
|
2657 |
filmstrip_image.attr('src', filmstrip_image.data('url'));
|
2658 |
}
|
2659 |
+
/* Left from key indexes */
|
2660 |
if ( leftIndex >= 0 ) {
|
2661 |
var filmstrip_image = jQuery("#bwg_filmstrip_thumbnail_" + leftIndex + " img");
|
2662 |
filmstrip_image.removeClass('hidden');
|
js/bwg_frontend.js
CHANGED
@@ -285,8 +285,8 @@ function spider_frontend_ajax(form_id, current_view, id, album_gallery_id, cur_a
|
|
285 |
bwg_document_ready();
|
286 |
bwg_all_thumnails_loaded(".bwg-container-" + current_view);
|
287 |
}
|
288 |
-
else if ( id.indexOf('album') === -1 ) {
|
289 |
-
|
290 |
window["bwg_document_ready_" + current_view]();
|
291 |
}
|
292 |
/* For masonry view.*/
|
@@ -765,7 +765,7 @@ function bwg_fade(current_image_class, next_image_class, direction, bwg) {
|
|
765 |
}
|
766 |
|
767 |
if(type_slideshow) {
|
768 |
-
|
769 |
jQuery(".bwg_slideshow_filmstrip_thumbnail_"+bwg).removeClass("bwg_slideshow_thumb_active_"+bwg).addClass("bwg_slideshow_thumb_deactive_"+bwg);
|
770 |
jQuery("#bwg_filmstrip_thumbnail_" + bwg_params[bwg]['bwg_current_key'] + "_"+bwg).removeClass("bwg_slideshow_thumb_deactive_"+bwg).addClass("bwg_slideshow_thumb_active_"+bwg);
|
771 |
jQuery(".bwg_slideshow_dots_"+bwg).removeClass("bwg_slideshow_dots_active_"+bwg).addClass("bwg_slideshow_dots_deactive_"+bwg);
|
285 |
bwg_document_ready();
|
286 |
bwg_all_thumnails_loaded(".bwg-container-" + current_view);
|
287 |
}
|
288 |
+
else if ( id.indexOf('album') === -1 && id.indexOf('bwg_masonry_thumbnails') === -1) {
|
289 |
+
/* Do not apply to album views. */
|
290 |
window["bwg_document_ready_" + current_view]();
|
291 |
}
|
292 |
/* For masonry view.*/
|
765 |
}
|
766 |
|
767 |
if(type_slideshow) {
|
768 |
+
/* Set active thumbnail.*/
|
769 |
jQuery(".bwg_slideshow_filmstrip_thumbnail_"+bwg).removeClass("bwg_slideshow_thumb_active_"+bwg).addClass("bwg_slideshow_thumb_deactive_"+bwg);
|
770 |
jQuery("#bwg_filmstrip_thumbnail_" + bwg_params[bwg]['bwg_current_key'] + "_"+bwg).removeClass("bwg_slideshow_thumb_deactive_"+bwg).addClass("bwg_slideshow_thumb_active_"+bwg);
|
771 |
jQuery(".bwg_slideshow_dots_"+bwg).removeClass("bwg_slideshow_dots_active_"+bwg).addClass("bwg_slideshow_dots_deactive_"+bwg);
|
js/bwg_shortcode.js
CHANGED
@@ -393,7 +393,7 @@ function bwg_gallery_type(gallery_type) {
|
|
393 |
jQuery("#tr_ecommerce_icon_hover .ecommerce_icon_show").css('display', '');
|
394 |
jQuery("#tr_tag").css('display', '');
|
395 |
jQuery("#bwg_pro_version").html('Thumbnails');
|
396 |
-
jQuery("#bwg_pro_version_link").attr("href", "
|
397 |
jQuery(".wd-free-msg").hide();
|
398 |
jQuery("#insert").attr("style", "visibility: visible;");
|
399 |
jQuery(".bwg-section.bwg-pro-views").show();
|
@@ -405,7 +405,7 @@ function bwg_gallery_type(gallery_type) {
|
|
405 |
jQuery("#tr_gallery").css('display', '');
|
406 |
jQuery("#tr_tag").css('display', '');
|
407 |
jQuery("#bwg_pro_version").html('Masonry');
|
408 |
-
jQuery("#bwg_pro_version_link").attr("href", "
|
409 |
jQuery(".wd-free-msg").show();
|
410 |
if ( jQuery(".wd-free-msg").length != 0 ) {
|
411 |
jQuery("#insert").attr("style", "visibility: hidden;");
|
@@ -419,7 +419,7 @@ function bwg_gallery_type(gallery_type) {
|
|
419 |
jQuery("#tr_gallery").css('display', '');
|
420 |
jQuery("#tr_tag").css('display', '');
|
421 |
jQuery("#bwg_pro_version").html('Mosaic');
|
422 |
-
jQuery("#bwg_pro_version_link").attr("href", "
|
423 |
jQuery(".wd-free-msg").show();
|
424 |
if ( jQuery(".wd-free-msg").length != 0 ) {
|
425 |
jQuery("#insert").attr("style", "visibility: hidden;");
|
@@ -432,7 +432,7 @@ function bwg_gallery_type(gallery_type) {
|
|
432 |
jQuery("#tr_gallery").css('display', '');
|
433 |
jQuery("#tr_tag").css('display', '');
|
434 |
jQuery("#bwg_pro_version").html('Slideshow');
|
435 |
-
jQuery("#bwg_pro_version_link").attr("href", "
|
436 |
jQuery(".wd-free-msg").hide();
|
437 |
jQuery("#insert").attr("style", "visibility: visible;");
|
438 |
jQuery(".bwg-section.bwg-pro-views").show();
|
@@ -443,7 +443,7 @@ function bwg_gallery_type(gallery_type) {
|
|
443 |
jQuery("#tr_gallery").css('display', '');
|
444 |
jQuery("#tr_tag").css('display', '');
|
445 |
jQuery("#bwg_pro_version").html('Image browser');
|
446 |
-
jQuery("#bwg_pro_version_link").attr("href", "
|
447 |
jQuery(".wd-free-msg").hide();
|
448 |
jQuery("#insert").attr("style", "visibility: visible;");
|
449 |
jQuery(".bwg-section.bwg-pro-views").show();
|
@@ -454,7 +454,7 @@ function bwg_gallery_type(gallery_type) {
|
|
454 |
jQuery("#tr_album").css('display', '');
|
455 |
basic_metabox_title.text(basic_metabox_title.attr('data-title-album'));
|
456 |
jQuery("#bwg_pro_version").html('Compuct gallery group');
|
457 |
-
jQuery("#bwg_pro_version_link").attr("href", "
|
458 |
jQuery(".wd-free-msg").hide();
|
459 |
jQuery("#insert").attr("style", "visibility: visible;");
|
460 |
jQuery(".bwg-section.bwg-pro-views").show();
|
@@ -464,7 +464,7 @@ function bwg_gallery_type(gallery_type) {
|
|
464 |
jQuery('#options_link').attr('href', jQuery('#options_link').attr('data-href') + '&active_tab=2&album_type=' + gallery_type);
|
465 |
jQuery("#tr_album").css('display', '');
|
466 |
jQuery("#bwg_pro_version").html('Extended gallery group');
|
467 |
-
jQuery("#bwg_pro_version_link").attr("href", "
|
468 |
jQuery(".wd-free-msg").hide();
|
469 |
jQuery("#insert").attr("style", "visibility: visible;");
|
470 |
jQuery(".bwg-section.bwg-pro-views").show();
|
@@ -474,7 +474,7 @@ function bwg_gallery_type(gallery_type) {
|
|
474 |
jQuery('#options_link').attr('href', jQuery('#options_link').attr('data-href') + '&active_tab=2&album_type=' + gallery_type);
|
475 |
jQuery("#tr_album").css('display', '');
|
476 |
jQuery("#bwg_pro_version").html('Masonry gallery group');
|
477 |
-
jQuery("#bwg_pro_version_link").attr("href", "
|
478 |
jQuery(".wd-free-msg").show();
|
479 |
if ( jQuery(".wd-free-msg").length != 0 ) {
|
480 |
jQuery("#insert").attr("style", "visibility: hidden;");
|
@@ -487,7 +487,7 @@ function bwg_gallery_type(gallery_type) {
|
|
487 |
jQuery("#tr_gallery").css('display', '');
|
488 |
jQuery("#tr_tag").css('display', '');
|
489 |
jQuery("#bwg_pro_version").html('Blog style');
|
490 |
-
jQuery("#bwg_pro_version_link").attr("href", "
|
491 |
jQuery(".wd-free-msg").show();
|
492 |
if ( jQuery(".wd-free-msg").length != 0 ) {
|
493 |
jQuery("#insert").attr("style", "visibility: hidden;");
|
@@ -500,7 +500,7 @@ function bwg_gallery_type(gallery_type) {
|
|
500 |
jQuery("#tr_gallery").css('display', '');
|
501 |
jQuery("#tr_tag").css('display', '');
|
502 |
jQuery("#bwg_pro_version").html('Carousel');
|
503 |
-
jQuery("#bwg_pro_version_link").attr("href", "
|
504 |
jQuery(".wd-free-msg").show();
|
505 |
if ( jQuery(".wd-free-msg").length != 0 ) {
|
506 |
jQuery("#insert").attr("style", "visibility: hidden;");
|
393 |
jQuery("#tr_ecommerce_icon_hover .ecommerce_icon_show").css('display', '');
|
394 |
jQuery("#tr_tag").css('display', '');
|
395 |
jQuery("#bwg_pro_version").html('Thumbnails');
|
396 |
+
jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/");
|
397 |
jQuery(".wd-free-msg").hide();
|
398 |
jQuery("#insert").attr("style", "visibility: visible;");
|
399 |
jQuery(".bwg-section.bwg-pro-views").show();
|
405 |
jQuery("#tr_gallery").css('display', '');
|
406 |
jQuery("#tr_tag").css('display', '');
|
407 |
jQuery("#bwg_pro_version").html('Masonry');
|
408 |
+
jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/masonry/");
|
409 |
jQuery(".wd-free-msg").show();
|
410 |
if ( jQuery(".wd-free-msg").length != 0 ) {
|
411 |
jQuery("#insert").attr("style", "visibility: hidden;");
|
419 |
jQuery("#tr_gallery").css('display', '');
|
420 |
jQuery("#tr_tag").css('display', '');
|
421 |
jQuery("#bwg_pro_version").html('Mosaic');
|
422 |
+
jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/mosaic/");
|
423 |
jQuery(".wd-free-msg").show();
|
424 |
if ( jQuery(".wd-free-msg").length != 0 ) {
|
425 |
jQuery("#insert").attr("style", "visibility: hidden;");
|
432 |
jQuery("#tr_gallery").css('display', '');
|
433 |
jQuery("#tr_tag").css('display', '');
|
434 |
jQuery("#bwg_pro_version").html('Slideshow');
|
435 |
+
jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/slideshow/");
|
436 |
jQuery(".wd-free-msg").hide();
|
437 |
jQuery("#insert").attr("style", "visibility: visible;");
|
438 |
jQuery(".bwg-section.bwg-pro-views").show();
|
443 |
jQuery("#tr_gallery").css('display', '');
|
444 |
jQuery("#tr_tag").css('display', '');
|
445 |
jQuery("#bwg_pro_version").html('Image browser');
|
446 |
+
jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/image-browser/");
|
447 |
jQuery(".wd-free-msg").hide();
|
448 |
jQuery("#insert").attr("style", "visibility: visible;");
|
449 |
jQuery(".bwg-section.bwg-pro-views").show();
|
454 |
jQuery("#tr_album").css('display', '');
|
455 |
basic_metabox_title.text(basic_metabox_title.attr('data-title-album'));
|
456 |
jQuery("#bwg_pro_version").html('Compuct gallery group');
|
457 |
+
jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/compact-album/");
|
458 |
jQuery(".wd-free-msg").hide();
|
459 |
jQuery("#insert").attr("style", "visibility: visible;");
|
460 |
jQuery(".bwg-section.bwg-pro-views").show();
|
464 |
jQuery('#options_link').attr('href', jQuery('#options_link').attr('data-href') + '&active_tab=2&album_type=' + gallery_type);
|
465 |
jQuery("#tr_album").css('display', '');
|
466 |
jQuery("#bwg_pro_version").html('Extended gallery group');
|
467 |
+
jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/extended-album/");
|
468 |
jQuery(".wd-free-msg").hide();
|
469 |
jQuery("#insert").attr("style", "visibility: visible;");
|
470 |
jQuery(".bwg-section.bwg-pro-views").show();
|
474 |
jQuery('#options_link').attr('href', jQuery('#options_link').attr('data-href') + '&active_tab=2&album_type=' + gallery_type);
|
475 |
jQuery("#tr_album").css('display', '');
|
476 |
jQuery("#bwg_pro_version").html('Masonry gallery group');
|
477 |
+
jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/compact-album/");
|
478 |
jQuery(".wd-free-msg").show();
|
479 |
if ( jQuery(".wd-free-msg").length != 0 ) {
|
480 |
jQuery("#insert").attr("style", "visibility: hidden;");
|
487 |
jQuery("#tr_gallery").css('display', '');
|
488 |
jQuery("#tr_tag").css('display', '');
|
489 |
jQuery("#bwg_pro_version").html('Blog style');
|
490 |
+
jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/blog-style/");
|
491 |
jQuery(".wd-free-msg").show();
|
492 |
if ( jQuery(".wd-free-msg").length != 0 ) {
|
493 |
jQuery("#insert").attr("style", "visibility: hidden;");
|
500 |
jQuery("#tr_gallery").css('display', '');
|
501 |
jQuery("#tr_tag").css('display', '');
|
502 |
jQuery("#bwg_pro_version").html('Carousel');
|
503 |
+
jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/carousel/");
|
504 |
jQuery(".wd-free-msg").show();
|
505 |
if ( jQuery(".wd-free-msg").length != 0 ) {
|
506 |
jQuery("#insert").attr("style", "visibility: hidden;");
|
photo-gallery.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Photo Gallery
|
4 |
-
* Plugin URI: https://
|
5 |
* Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
|
6 |
-
* Version: 1.4.
|
7 |
* Author: Photo Gallery Team
|
8 |
-
* Author URI: https://
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
*/
|
11 |
|
@@ -80,8 +80,8 @@ final class BWG {
|
|
80 |
$this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
|
81 |
$this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
|
82 |
$this->main_file = plugin_basename(__FILE__);
|
83 |
-
$this->plugin_version = '1.4.
|
84 |
-
$this->db_version = '1.4.
|
85 |
$this->prefix = 'bwg';
|
86 |
$this->nicename = __('Photo Gallery', $this->prefix);
|
87 |
|
@@ -170,8 +170,6 @@ final class BWG {
|
|
170 |
add_filter('set-screen-option', array($this, 'set_option_comments'), 10, 3);
|
171 |
add_filter('set-screen-option', array($this, 'set_option_rates'), 10, 3);
|
172 |
|
173 |
-
add_action('admin_notices', array($this, 'topic'), 11);
|
174 |
-
|
175 |
if ( $this->is_pro ) {
|
176 |
add_filter('single_template', array( $this, 'share_template' ));
|
177 |
}
|
@@ -323,7 +321,8 @@ final class BWG {
|
|
323 |
add_action('load-' . $rates_page, array($this, 'rates_per_page_option'));
|
324 |
}
|
325 |
else {
|
326 |
-
|
|
|
327 |
}
|
328 |
|
329 |
do_action('bwg_add_submenu_item', $parent_slug);
|
@@ -488,9 +487,13 @@ final class BWG {
|
|
488 |
"prefix" => $this->prefix,
|
489 |
"deactivate_class" => $this->prefix . '_deactivate_link',
|
490 |
"email" => $admin_data->data->user_email,
|
491 |
-
"plugin_wd_url" => "https://
|
492 |
));
|
493 |
}
|
|
|
|
|
|
|
|
|
494 |
}
|
495 |
|
496 |
/**
|
@@ -1142,176 +1145,19 @@ final class BWG {
|
|
1142 |
load_plugin_textdomain($this->prefix, FALSE, basename(dirname(__FILE__)) . '/languages/backend');
|
1143 |
}
|
1144 |
|
1145 |
-
/**
|
1146 |
-
* Help topics on admin pages.
|
1147 |
-
*/
|
1148 |
-
public function topic() {
|
1149 |
-
$page = isset($_GET['page']) ? $_GET['page'] : '';
|
1150 |
-
$user_guide_link = 'https://web-dorado.com/wordpress-gallery/';
|
1151 |
-
$support_forum_link = 'https://wordpress.org/support/plugin/photo-gallery';
|
1152 |
-
$pro_link = 'https://web-dorado.com/files/fromPhotoGallery.php';
|
1153 |
-
$pro_icon = BWG()->plugin_url . '/images/wd_logo.png';
|
1154 |
-
$support_icon = BWG()->plugin_url . '/images/support.png';
|
1155 |
-
$prefix = $this->prefix;
|
1156 |
-
switch ($page) {
|
1157 |
-
case 'galleries_bwg': {
|
1158 |
-
$help_text = 'create, edit and delete galleries';
|
1159 |
-
$user_guide_link .= 'creating-editing-galleries.html';
|
1160 |
-
break;
|
1161 |
-
}
|
1162 |
-
case 'albums_bwg': {
|
1163 |
-
$help_text = 'create, edit and delete albums';
|
1164 |
-
$user_guide_link .= 'creating-editing-albums.html';
|
1165 |
-
break;
|
1166 |
-
}
|
1167 |
-
case 'tags_bwg': {
|
1168 |
-
$help_text = 'create, edit and delete tags';
|
1169 |
-
$user_guide_link .= 'creating-editing-tag.html';
|
1170 |
-
break;
|
1171 |
-
}
|
1172 |
-
case 'options_bwg': {
|
1173 |
-
$help_text = 'change settings for different views and general options';
|
1174 |
-
$user_guide_link .= 'global-options.html';
|
1175 |
-
break;
|
1176 |
-
}
|
1177 |
-
case 'themes_bwg': {
|
1178 |
-
$help_text = 'create, edit and delete themes';
|
1179 |
-
$user_guide_link .= 'thumbnails.html';
|
1180 |
-
break;
|
1181 |
-
}
|
1182 |
-
case 'comments_bwg': {
|
1183 |
-
$help_text = 'manage the image comments';
|
1184 |
-
$user_guide_link .= 'comments-editing.html';
|
1185 |
-
break;
|
1186 |
-
}
|
1187 |
-
case 'ratings_bwg': {
|
1188 |
-
$help_text = 'manage the image ratings';
|
1189 |
-
$user_guide_link .= 'ratings-editing.html';
|
1190 |
-
break;
|
1191 |
-
}
|
1192 |
-
case 'licensing_bwg': {
|
1193 |
-
$help_text = '';
|
1194 |
-
$user_guide_link .= 'creating-editing-galleries.html';
|
1195 |
-
break;
|
1196 |
-
}
|
1197 |
-
default: {
|
1198 |
-
return '';
|
1199 |
-
break;
|
1200 |
-
}
|
1201 |
-
}
|
1202 |
-
ob_start();
|
1203 |
-
?>
|
1204 |
-
<style>
|
1205 |
-
.wd_topic {
|
1206 |
-
width: 100%;
|
1207 |
-
padding: 0 0 0 15px;
|
1208 |
-
margin: 25px 0 20px 0;
|
1209 |
-
background-color: #ffffff;
|
1210 |
-
box-sizing: border-box;
|
1211 |
-
vertical-align: middle;
|
1212 |
-
border: none;
|
1213 |
-
line-height: 44px;
|
1214 |
-
font-size: 14px;
|
1215 |
-
font-weight: bold;
|
1216 |
-
color: #6e7990;
|
1217 |
-
clear: both;
|
1218 |
-
}
|
1219 |
-
.wd_topic .wd_help_topic {
|
1220 |
-
float: left;
|
1221 |
-
}
|
1222 |
-
.wd_topic .wd_help_topic a {
|
1223 |
-
color: #0073aa;
|
1224 |
-
}
|
1225 |
-
.wd_topic .wd_help_topic a:hover {
|
1226 |
-
color: #00A0D2;
|
1227 |
-
}
|
1228 |
-
.wd_topic .wd_support {
|
1229 |
-
float: right;
|
1230 |
-
margin: 0 10px;
|
1231 |
-
}
|
1232 |
-
.wd_topic .wd_support img {
|
1233 |
-
vertical-align: middle;
|
1234 |
-
}
|
1235 |
-
.wd_topic .wd_support a {
|
1236 |
-
text-decoration: none;
|
1237 |
-
color: #6E7990;
|
1238 |
-
}
|
1239 |
-
.wd_topic .wd_pro {
|
1240 |
-
float: right;
|
1241 |
-
padding: 0;
|
1242 |
-
}
|
1243 |
-
.wd_topic .wd_pro a {
|
1244 |
-
border: none;
|
1245 |
-
box-shadow: none !important;
|
1246 |
-
text-decoration: none;
|
1247 |
-
}
|
1248 |
-
.wd_topic .wd_pro img {
|
1249 |
-
border: none;
|
1250 |
-
display: inline-block;
|
1251 |
-
vertical-align: middle;
|
1252 |
-
}
|
1253 |
-
.wd_topic .wd_pro a,
|
1254 |
-
.wd_topic .wd_pro a:active,
|
1255 |
-
.wd_topic .wd_pro a:visited,
|
1256 |
-
.wd_topic .wd_pro a:hover {
|
1257 |
-
background-color: #D8D8D8;
|
1258 |
-
color: #175c8b;
|
1259 |
-
display: inline-block;
|
1260 |
-
font-size: 11px;
|
1261 |
-
font-weight: bold;
|
1262 |
-
padding: 0 10px;
|
1263 |
-
vertical-align: middle;
|
1264 |
-
}
|
1265 |
-
</style>
|
1266 |
-
<div class="wrap">
|
1267 |
-
<div class="update-nag wd_topic">
|
1268 |
-
<?php
|
1269 |
-
if ($help_text) {
|
1270 |
-
?>
|
1271 |
-
<span class="wd_help_topic">
|
1272 |
-
<?php echo sprintf(__('This section allows you to %s.', $prefix), $help_text); ?>
|
1273 |
-
<a target="_blank" href="<?php echo $user_guide_link; ?>">
|
1274 |
-
<?php _e('Read More in User Manual', $prefix); ?>
|
1275 |
-
</a>
|
1276 |
-
</span>
|
1277 |
-
<?php
|
1278 |
-
}
|
1279 |
-
if ( !$this->is_pro ) {
|
1280 |
-
$text = strtoupper(__('Upgrade to paid version', $prefix));
|
1281 |
-
?>
|
1282 |
-
<div class="wd_pro">
|
1283 |
-
<a target="_blank" href="<?php echo $pro_link; ?>">
|
1284 |
-
<img alt="web-dorado.com" title="<?php echo $text; ?>" src="<?php echo $pro_icon; ?>" />
|
1285 |
-
<span><?php echo $text; ?></span>
|
1286 |
-
</a>
|
1287 |
-
</div>
|
1288 |
-
<span class="wd_support">
|
1289 |
-
<a target="_blank" href="<?php echo $support_forum_link; ?>">
|
1290 |
-
<img src="<?php echo $support_icon; ?>" />
|
1291 |
-
<?php _e('Support Forum', $prefix); ?>
|
1292 |
-
</a>
|
1293 |
-
</span>
|
1294 |
-
<?php
|
1295 |
-
}
|
1296 |
-
?>
|
1297 |
-
</div>
|
1298 |
-
</div>
|
1299 |
-
<?php
|
1300 |
-
echo ob_get_clean();
|
1301 |
-
}
|
1302 |
-
|
1303 |
/**
|
1304 |
* Overview.
|
1305 |
*/
|
1306 |
public function overview() {
|
1307 |
if (is_admin() && !isset($_REQUEST['ajax'])) {
|
1308 |
-
if (!class_exists("
|
1309 |
require_once(BWG()->plugin_dir . '/wd/start.php');
|
1310 |
}
|
1311 |
global $bwg_options;
|
1312 |
$bwg_options = array(
|
1313 |
"prefix" => "bwg",
|
1314 |
"wd_plugin_id" => 55,
|
|
|
1315 |
"plugin_title" => "Photo Gallery",
|
1316 |
"plugin_wordpress_slug" => "photo-gallery",
|
1317 |
"plugin_dir" => BWG()->plugin_dir,
|
@@ -1524,10 +1370,11 @@ final class BWG {
|
|
1524 |
),
|
1525 |
),
|
1526 |
"video_youtube_id" => "4Mxg0FsFZZE", // e.g. https://www.youtube.com/watch?v=acaexefeP7o youtube id is the acaexefeP7o
|
1527 |
-
"plugin_wd_url" => "https://
|
1528 |
-
"plugin_wd_demo_link" => "
|
1529 |
-
"plugin_wd_addons_link" => "https://
|
1530 |
-
"
|
|
|
1531 |
"plugin_wizard_link" => '',
|
1532 |
"plugin_menu_title" => $this->nicename,
|
1533 |
"plugin_menu_icon" => BWG()->plugin_url . '/images/icons/icon.png',
|
@@ -1535,9 +1382,10 @@ final class BWG {
|
|
1535 |
"subscribe" => !$this->is_pro,
|
1536 |
"custom_post" => 'galleries_bwg',
|
1537 |
"menu_position" => null,
|
|
|
1538 |
);
|
1539 |
|
1540 |
-
|
1541 |
}
|
1542 |
}
|
1543 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Photo Gallery
|
4 |
+
* Plugin URI: https://10web.io/plugins/wordpress-photo-gallery/
|
5 |
* Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
|
6 |
+
* Version: 1.4.9
|
7 |
* Author: Photo Gallery Team
|
8 |
+
* Author URI: https://10web.io/pricing/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
*/
|
11 |
|
80 |
$this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
|
81 |
$this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
|
82 |
$this->main_file = plugin_basename(__FILE__);
|
83 |
+
$this->plugin_version = '1.4.9';
|
84 |
+
$this->db_version = '1.4.9';
|
85 |
$this->prefix = 'bwg';
|
86 |
$this->nicename = __('Photo Gallery', $this->prefix);
|
87 |
|
170 |
add_filter('set-screen-option', array($this, 'set_option_comments'), 10, 3);
|
171 |
add_filter('set-screen-option', array($this, 'set_option_rates'), 10, 3);
|
172 |
|
|
|
|
|
173 |
if ( $this->is_pro ) {
|
174 |
add_filter('single_template', array( $this, 'share_template' ));
|
175 |
}
|
321 |
add_action('load-' . $rates_page, array($this, 'rates_per_page_option'));
|
322 |
}
|
323 |
else {
|
324 |
+
// Temporary deactivated.
|
325 |
+
// add_submenu_page($parent_slug, __('Premium Version', $this->prefix), __('Premium Version', $this->prefix), 'manage_options', 'licensing_' . $this->prefix, array($this , 'admin_pages'));
|
326 |
}
|
327 |
|
328 |
do_action('bwg_add_submenu_item', $parent_slug);
|
487 |
"prefix" => $this->prefix,
|
488 |
"deactivate_class" => $this->prefix . '_deactivate_link',
|
489 |
"email" => $admin_data->data->user_email,
|
490 |
+
"plugin_wd_url" => "https://10web.io/plugins/wordpress-photo-gallery/",
|
491 |
));
|
492 |
}
|
493 |
+
|
494 |
+
// Roboto font for top bar.
|
495 |
+
wp_register_style($this->prefix . '-roboto', 'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700');
|
496 |
+
wp_register_style($this->prefix . '-pricing', $this->plugin_url . '/css/pricing.css', array(), $this->plugin_version);
|
497 |
}
|
498 |
|
499 |
/**
|
1145 |
load_plugin_textdomain($this->prefix, FALSE, basename(dirname(__FILE__)) . '/languages/backend');
|
1146 |
}
|
1147 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1148 |
/**
|
1149 |
* Overview.
|
1150 |
*/
|
1151 |
public function overview() {
|
1152 |
if (is_admin() && !isset($_REQUEST['ajax'])) {
|
1153 |
+
if (!class_exists("TenWeb")) {
|
1154 |
require_once(BWG()->plugin_dir . '/wd/start.php');
|
1155 |
}
|
1156 |
global $bwg_options;
|
1157 |
$bwg_options = array(
|
1158 |
"prefix" => "bwg",
|
1159 |
"wd_plugin_id" => 55,
|
1160 |
+
"plugin_id" => 101,
|
1161 |
"plugin_title" => "Photo Gallery",
|
1162 |
"plugin_wordpress_slug" => "photo-gallery",
|
1163 |
"plugin_dir" => BWG()->plugin_dir,
|
1370 |
),
|
1371 |
),
|
1372 |
"video_youtube_id" => "4Mxg0FsFZZE", // e.g. https://www.youtube.com/watch?v=acaexefeP7o youtube id is the acaexefeP7o
|
1373 |
+
"plugin_wd_url" => "https://10web.io/plugins/wordpress-photo-gallery/",
|
1374 |
+
"plugin_wd_demo_link" => "https://demo.10web.io/photo-gallery/",
|
1375 |
+
"plugin_wd_addons_link" => "https://10web.io/plugins/wordpress-photo-gallery/",
|
1376 |
+
"plugin_wd_docs_link" => "http://docs.10web.io/docs/photo-gallery/",
|
1377 |
+
"after_subscribe" => admin_url('admin.php?page=galleries_bwg'), // this can be plagin overview page or set up page
|
1378 |
"plugin_wizard_link" => '',
|
1379 |
"plugin_menu_title" => $this->nicename,
|
1380 |
"plugin_menu_icon" => BWG()->plugin_url . '/images/icons/icon.png',
|
1382 |
"subscribe" => !$this->is_pro,
|
1383 |
"custom_post" => 'galleries_bwg',
|
1384 |
"menu_position" => null,
|
1385 |
+
"display_overview" => false,
|
1386 |
);
|
1387 |
|
1388 |
+
ten_web_init($bwg_options);
|
1389 |
}
|
1390 |
}
|
1391 |
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
=== Photo Gallery by
|
2 |
-
Contributors: webdorado,wdsupport,photogallerysupport
|
3 |
Tags: gallery, photo gallery, image gallery, responsive gallery, wordpress gallery plugin, photo albums, gallery slider, gallery lightbox, wordpress photo gallery plugin, fullscreen gallery, watermarking, video gallery
|
4 |
Requires at least: 3.4
|
5 |
Tested up to: 4.9
|
6 |
-
Stable tag: 1.4.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -14,10 +14,10 @@ Photo Gallery is a powerful gallery plugin with a list of advanced options for c
|
|
14 |
https://www.youtube.com/watch?v=3u0O9ZdVsGc
|
15 |
|
16 |
= Useful Links: =
|
17 |
-
[Special Offer for all Premium Plugins](https://
|
18 |
-
[WordPress Photo Gallery](https://
|
19 |
-
[Demo](
|
20 |
-
[User Manual](https://
|
21 |
[Support Forum](https://wordpress.org/support/plugin/photo-gallery)
|
22 |
|
23 |
|
@@ -82,7 +82,7 @@ Adding photos and videos to the galleries from the WordPress dashboard is simple
|
|
82 |
Under the social options tab you’ll find settings for the Instagram and Facebook galleries, where you can specify Instagram feed auto update interval (Premium feature). With the available user roles you can choose who can add/edit galleries, images, albums and tags (Premium feature).
|
83 |
|
84 |
|
85 |
-
[Premium version adds](https://
|
86 |
|
87 |
* Masonry gallery View.
|
88 |
* Mosaic gallery View
|
@@ -99,12 +99,12 @@ Under the social options tab you’ll find settings for the Instagram and Facebo
|
|
99 |
* Possibility of changing the roles of who can edit the galleries/albums/images (Author/All Users)
|
100 |
|
101 |
= Photo Gallery Add-ons =
|
102 |
-
[Ecommerce Add-on](https://
|
103 |
-
[Facebook Integration Add-on](https://
|
104 |
-
[Export/Import Add-on](https://
|
105 |
|
106 |
###IMPORTANT:
|
107 |
-
If you think you found a bug in Photo Gallery or have any problem/question concerning the plugin, please check out [Support Forum](https://wordpress.org/support/plugin/photo-gallery) in our website. If you do not find a solution here, do not hesitate to [click here to contact us](https://
|
108 |
|
109 |
|
110 |
== Installation ==
|
@@ -132,7 +132,7 @@ Login to the WordPress Administrator Panel.
|
|
132 |
Activate Photo Gallery by going to Plugins and pressing Activate button.
|
133 |
|
134 |
|
135 |
-
If any problem occurs with installation of Photo Gallery, [please let us know](https://
|
136 |
|
137 |
== Frequently Asked Questions ==
|
138 |
|
@@ -279,6 +279,10 @@ Choose whether to display random or the first/last specific number of images.
|
|
279 |
|
280 |
== Changelog ==
|
281 |
|
|
|
|
|
|
|
|
|
282 |
|
283 |
= 1.4.8 =
|
284 |
* Fixed: Pagination type "scroll load" functionality.
|
1 |
+
=== Photo Gallery by 10web - Responsive Photo Gallery ===
|
2 |
+
Contributors: webdorado,wdsupport,photogallerysupport,10web
|
3 |
Tags: gallery, photo gallery, image gallery, responsive gallery, wordpress gallery plugin, photo albums, gallery slider, gallery lightbox, wordpress photo gallery plugin, fullscreen gallery, watermarking, video gallery
|
4 |
Requires at least: 3.4
|
5 |
Tested up to: 4.9
|
6 |
+
Stable tag: 1.4.9
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
14 |
https://www.youtube.com/watch?v=3u0O9ZdVsGc
|
15 |
|
16 |
= Useful Links: =
|
17 |
+
[Special Offer for all Premium Plugins](https://10web.io/pricing/)
|
18 |
+
[WordPress Photo Gallery](https://10web.io/plugins/wordpress-photo-gallery/)
|
19 |
+
[Demo](https://demo.10web.io/photo-gallery/)
|
20 |
+
[User Manual](https://docs.10web.io/docs/photo-gallery/introduction.html)
|
21 |
[Support Forum](https://wordpress.org/support/plugin/photo-gallery)
|
22 |
|
23 |
|
82 |
Under the social options tab you’ll find settings for the Instagram and Facebook galleries, where you can specify Instagram feed auto update interval (Premium feature). With the available user roles you can choose who can add/edit galleries, images, albums and tags (Premium feature).
|
83 |
|
84 |
|
85 |
+
[Premium version adds](https://10web.io/plugins/wordpress-photo-gallery/)
|
86 |
|
87 |
* Masonry gallery View.
|
88 |
* Mosaic gallery View
|
99 |
* Possibility of changing the roles of who can edit the galleries/albums/images (Author/All Users)
|
100 |
|
101 |
= Photo Gallery Add-ons =
|
102 |
+
[Ecommerce Add-on](https://10web.io/plugins/wordpress-photo-gallery/) - Display your digital content and sell it directly from your website.
|
103 |
+
[Facebook Integration Add-on](https://10web.io/plugins/wordpress-photo-gallery/) - Display Facebook photos and videos within Photo Gallery Pro without additional efforts.
|
104 |
+
[Export/Import Add-on](https://10web.io/plugins/wordpress-photo-gallery/) Export/import galleries, albums and all related data from one WordPress site to another.
|
105 |
|
106 |
###IMPORTANT:
|
107 |
+
If you think you found a bug in Photo Gallery or have any problem/question concerning the plugin, please check out [Support Forum](https://wordpress.org/support/plugin/photo-gallery) in our website. If you do not find a solution here, do not hesitate to [click here to contact us](https://10web.io/contact-us/).
|
108 |
|
109 |
|
110 |
== Installation ==
|
132 |
Activate Photo Gallery by going to Plugins and pressing Activate button.
|
133 |
|
134 |
|
135 |
+
If any problem occurs with installation of Photo Gallery, [please let us know](https://10web.io/contact-us/).
|
136 |
|
137 |
== Frequently Asked Questions ==
|
138 |
|
279 |
|
280 |
== Changelog ==
|
281 |
|
282 |
+
= 1.4.9 =
|
283 |
+
* Changed: Links to 10web.io.
|
284 |
+
* Fixed: Bug on slideshow widget.
|
285 |
+
* Fixed: Conflict with minifying plugins.
|
286 |
|
287 |
= 1.4.8 =
|
288 |
* Fixed: Pagination type "scroll load" functionality.
|
wd/.gitignore
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
# Created by .ignore support plugin (hsz.mobi)
|
2 |
-
.idea/*
|
|
|
|
wd/README.md
CHANGED
@@ -5,8 +5,8 @@ Version: 1.0.13
|
|
5 |
Usage:
|
6 |
|
7 |
Copy and paste wd library into your plugin folder.
|
8 |
-
In your plugin main file check if library main
|
9 |
-
if( !class_exists("
|
10 |
require_once(PATH_TO_YOUR_PLUGIN_DIR . '/wd/start.php');
|
11 |
}
|
12 |
|
@@ -31,22 +31,8 @@ $options = array (
|
|
31 |
),
|
32 |
...
|
33 |
),
|
34 |
-
"user_guide" => array(
|
35 |
-
0 => array(
|
36 |
-
"main_title" => "user guide step 1",
|
37 |
-
"url" => "link to step 1",
|
38 |
-
"titles" => array(
|
39 |
-
array(
|
40 |
-
"title" => "step 1 sub title",
|
41 |
-
"url" => "link to step 1 sub"
|
42 |
-
)
|
43 |
-
)
|
44 |
-
),
|
45 |
-
...
|
46 |
-
),
|
47 |
-
"overview_welcome_image" => null,
|
48 |
"video_youtube_id" => "your plugin youtube video id", // e.g. https://www.youtube.com/watch?v=acaexefeP7o youtube id is the acaexefeP7o
|
49 |
-
"plugin_wd_url" => "https://
|
50 |
"plugin_wd_demo_link" => "http://wpdemo.web-dorado.com/your plugin",
|
51 |
"plugin_wd_addons_link" => "https://web-dorado.com/products/your plugin addons",
|
52 |
"after_subscribe" => "after subsribe page", // this can be plagin overview page or set up page admin.php?page=overview_YOUR_PREFIX
|
@@ -85,25 +71,6 @@ array(
|
|
85 |
....
|
86 |
)
|
87 |
|
88 |
-
user_guide - (type array) plugin user guide links from web-dorado.com
|
89 |
-
e.g. (for google maps plugin)
|
90 |
-
array(
|
91 |
-
0 => array(
|
92 |
-
"main_title" => __("Installation Wizard/ Options Menu", "gmwd"),
|
93 |
-
"url" => "https://web-dorado.com/wordpress-google-maps/installation-wizard-options-menu.html",
|
94 |
-
"titles" => array(
|
95 |
-
array(
|
96 |
-
"title" => __("Configuring Map API Key", "gmwd"),
|
97 |
-
"url" => "https://web-dorado.com/wordpress-google-maps/installation-wizard-options-menu/configuring-api-key.html"
|
98 |
-
)
|
99 |
-
)
|
100 |
-
),
|
101 |
-
1 => array(
|
102 |
-
"main_title" => __("Creating Map", "gmwd"),
|
103 |
-
"url" => "https://web-dorado.com/wordpress-google-maps/creating-map.html",
|
104 |
-
"titles" => array()
|
105 |
-
),
|
106 |
-
)
|
107 |
|
108 |
video_youtube_id - (type string) if your plugin has video, video's id, else null
|
109 |
( e.g. for https://www.youtube.com/watch?v=acaexefeP7o , youtube id is the 'acaexefeP7o' )
|
5 |
Usage:
|
6 |
|
7 |
Copy and paste wd library into your plugin folder.
|
8 |
+
In your plugin main file check if library main TenWeb class doesn't exist, include it
|
9 |
+
if( !class_exists("TenWeb") ){
|
10 |
require_once(PATH_TO_YOUR_PLUGIN_DIR . '/wd/start.php');
|
11 |
}
|
12 |
|
31 |
),
|
32 |
...
|
33 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
"video_youtube_id" => "your plugin youtube video id", // e.g. https://www.youtube.com/watch?v=acaexefeP7o youtube id is the acaexefeP7o
|
35 |
+
"plugin_wd_url" => "https://10web.io/plugins/your plugin",
|
36 |
"plugin_wd_demo_link" => "http://wpdemo.web-dorado.com/your plugin",
|
37 |
"plugin_wd_addons_link" => "https://web-dorado.com/products/your plugin addons",
|
38 |
"after_subscribe" => "after subsribe page", // this can be plagin overview page or set up page admin.php?page=overview_YOUR_PREFIX
|
71 |
....
|
72 |
)
|
73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
|
75 |
video_youtube_id - (type string) if your plugin has video, video's id, else null
|
76 |
( e.g. for https://www.youtube.com/watch?v=acaexefeP7o , youtube id is the 'acaexefeP7o' )
|
wd/assets/css/deactivate_popup.css
CHANGED
@@ -63,12 +63,20 @@
|
|
63 |
margin: 14px 0px 5px;
|
64 |
}
|
65 |
.wd-popup-active1{
|
66 |
-
height:
|
67 |
}
|
68 |
|
69 |
.wd-popup-active2{
|
70 |
height: 426px !important
|
71 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
.wd-deactivate-popup-opacity{
|
73 |
width: 100%;
|
74 |
height: 100%;
|
@@ -87,4 +95,17 @@
|
|
87 |
bottom: 0;
|
88 |
margin: auto;
|
89 |
z-index: 63;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
}
|
63 |
margin: 14px 0px 5px;
|
64 |
}
|
65 |
.wd-popup-active1{
|
66 |
+
height: 583px !important;
|
67 |
}
|
68 |
|
69 |
.wd-popup-active2{
|
70 |
height: 426px !important
|
71 |
}
|
72 |
+
|
73 |
+
.wd-popup-active3{
|
74 |
+
height: 479px !important
|
75 |
+
}
|
76 |
+
|
77 |
+
.wd-popup-active4{
|
78 |
+
height: 340px !important
|
79 |
+
}
|
80 |
.wd-deactivate-popup-opacity{
|
81 |
width: 100%;
|
82 |
height: 100%;
|
95 |
bottom: 0;
|
96 |
margin: auto;
|
97 |
z-index: 63;
|
98 |
+
}
|
99 |
+
|
100 |
+
.wd-deactivate-popup-close-btn{
|
101 |
+
background-image: url(img/close.svg);
|
102 |
+
background-repeat: no-repeat;
|
103 |
+
background-size: 16px;
|
104 |
+
display: inline-block;
|
105 |
+
width: 16px;
|
106 |
+
height: 16px;
|
107 |
+
position: absolute;
|
108 |
+
top: 7px;
|
109 |
+
right: 8px;
|
110 |
+
cursor: pointer;
|
111 |
}
|
wd/assets/css/overview.css
CHANGED
@@ -1,462 +1,472 @@
|
|
1 |
-
|
2 |
-
.wd-table{
|
3 |
-
display: table;
|
4 |
-
width: 100%;
|
5 |
-
}
|
6 |
-
.wd-cell{
|
7 |
-
display: table-cell;
|
8 |
-
}
|
9 |
-
.wd-valign-top{
|
10 |
-
vertical-align: top;
|
11 |
-
}
|
12 |
-
.wd-valign-middle{
|
13 |
-
vertical-align: middle;
|
14 |
-
}
|
15 |
-
.wd-valign-bottom{
|
16 |
-
vertical-align: bottom;
|
17 |
-
}
|
18 |
-
.wd-text-right{
|
19 |
-
text-align: right;
|
20 |
-
}
|
21 |
-
.wd-text-center{
|
22 |
-
text-align: center;
|
23 |
-
}
|
24 |
-
.hide{
|
25 |
display: none;
|
26 |
}
|
27 |
-
|
28 |
-
|
29 |
-
outline: none !important;
|
30 |
-
box-shadow: none !important;
|
31 |
-
}
|
32 |
-
|
33 |
-
/*end general */
|
34 |
-
.wd-video_container{
|
35 |
-
text-align: center;
|
36 |
-
}
|
37 |
-
.overview_welcome{
|
38 |
-
background: url(img/welcome_bg.png) no-repeat;
|
39 |
-
margin: 21px 0px;
|
40 |
-
background-size: 100% 100%;
|
41 |
-
line-height: 28px;
|
42 |
-
}
|
43 |
-
.overview_welcome .wd-cell{
|
44 |
-
padding: 15px;
|
45 |
}
|
46 |
-
|
47 |
-
|
48 |
}
|
49 |
|
50 |
-
.
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
margin-bottom: 15px;
|
55 |
-
color: #424141;
|
56 |
-
}
|
57 |
-
.overview_welcome img{
|
58 |
-
width: 120px;
|
59 |
-
padding-right: 100px;
|
60 |
-
padding-left: 25px;
|
61 |
-
}
|
62 |
-
.overview_wrap{
|
63 |
-
width: 935px;
|
64 |
-
background: #fff;
|
65 |
-
}
|
66 |
-
.overview_welcome .overview_welcome_text{
|
67 |
-
font-size: 15px;
|
68 |
-
color: #424141;
|
69 |
-
}
|
70 |
-
.overview_tabs:after, .deals_content:after, .deal_desc_footer:after{
|
71 |
-
content: "";
|
72 |
-
display: table;
|
73 |
-
clear: both;
|
74 |
-
}
|
75 |
-
.overview_tabs li{
|
76 |
-
float: left;
|
77 |
-
width: 16.666%;
|
78 |
-
}
|
79 |
-
|
80 |
-
.overview_tabs li a{
|
81 |
-
text-decoration: none !important;
|
82 |
-
color: #000;
|
83 |
-
background: #D6D6D6;
|
84 |
-
background: -webkit-linear-gradient(#D6D6D6, #D7D7D7, #D6D6D6); /* For Safari 5.1 to 6.0 */
|
85 |
-
background: -o-linear-gradient(#D6D6D6, #D7D7D7, #D6D6D6); /* For Opera 11.1 to 12.0 */
|
86 |
-
background: -moz-linear-gradient(#D6D6D6, #D7D7D7, #D6D6D6); /* For Firefox 3.6 to 15 */
|
87 |
-
background: linear-gradient(#D6D6D6, #D7D7D7, #D6D6D6); /* Standard syntax */
|
88 |
-
text-transform: uppercase;
|
89 |
-
display: block;
|
90 |
-
padding: 7px 10px;
|
91 |
-
text-align: center;
|
92 |
-
font-weight: bold;
|
93 |
-
border-top: 4px solid #F1F1F1;
|
94 |
-
position: relative;
|
95 |
-
top: -4px;
|
96 |
-
}
|
97 |
-
.overview_tabs li a:hover,.overview_tabs li a:active, .overview_tabs li a:focus, .overview_tab_active{
|
98 |
-
background: #fff !important;
|
99 |
-
border-top: 4px solid #2A495F !important;
|
100 |
-
|
101 |
-
}
|
102 |
-
#welcome, #user_guide, #support, .deals_content{
|
103 |
-
padding: 15px 10px;
|
104 |
-
background: #fff;
|
105 |
-
}
|
106 |
-
.plugin_feature_title{
|
107 |
-
font-size: 19px;
|
108 |
-
}
|
109 |
-
.more_features_wrap{
|
110 |
-
margin-top: 25px;
|
111 |
-
text-align: right;
|
112 |
-
}
|
113 |
-
.more_features, .more_features:hover, .more_features:focus{
|
114 |
-
color: #fff;
|
115 |
-
background: #00384F;
|
116 |
-
padding: 3px 15px;
|
117 |
-
text-decoration: none;
|
118 |
-
}
|
119 |
-
.user_guide_item{
|
120 |
-
margin-bottom: 19px;
|
121 |
}
|
122 |
-
.
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
margin-bottom: 5px;
|
127 |
-
text-decoration: none;
|
128 |
-
}
|
129 |
-
.user_guide_titles, .user_guide_titles:hover, .user_guide_titles:focus{
|
130 |
-
color: #192D3B;
|
131 |
-
text-decoration: none;
|
132 |
-
}
|
133 |
-
.user_guide_demo, .user_guide_plugin, .user_guide_support_forum, .user_guide_addons, .user_guide_faq,
|
134 |
-
.user_guide_demo:hover, .user_guide_plugin:hover, .user_guide_support_forum:hover, .user_guide_addons:hover, .user_guide_faq:hover{
|
135 |
-
background-color: #F5F5F5;
|
136 |
background-repeat: no-repeat;
|
137 |
-
background-position: right -4px center;
|
138 |
-
border-top-left-radius: 25px;
|
139 |
-
border-bottom-left-radius: 25px;
|
140 |
-
padding: 3px 23px 3px 16px;
|
141 |
-
width: 144px;
|
142 |
-
font-weight: bold;
|
143 |
-
text-transform: uppercase;
|
144 |
-
color: #192D3B;
|
145 |
-
margin-bottom: 7px;
|
146 |
-
display: block;
|
147 |
-
text-decoration: none;
|
148 |
}
|
149 |
-
.
|
150 |
-
|
151 |
}
|
152 |
-
.
|
153 |
-
|
|
|
154 |
}
|
155 |
-
.
|
156 |
-
|
|
|
157 |
}
|
158 |
-
.
|
159 |
-
|
160 |
}
|
161 |
-
.
|
162 |
-
|
|
|
|
|
163 |
}
|
164 |
-
|
165 |
-
#support .wd-support-main{
|
166 |
-
width: 800px;
|
167 |
-
margin: 0 auto;
|
168 |
-
font-size: 16px;
|
169 |
-
text-align: center;
|
170 |
-
margin-bottom: 15px;
|
171 |
-
|
172 |
-
}
|
173 |
-
.wd-overview-site-deatils{
|
174 |
-
width: 800px;
|
175 |
-
background: #FBFBFB;
|
176 |
-
padding: 10px;
|
177 |
-
margin: 0 auto;
|
178 |
-
}
|
179 |
-
.wd-overview-site-deatils h2, .wd-overview-site-deatils p{
|
180 |
-
text-align: center;
|
181 |
-
}
|
182 |
-
.wd-overview-site-deatils p{
|
183 |
-
font-size: 16px;
|
184 |
-
}
|
185 |
-
.contact_us, .contact_us:hover, .contact_us:focus{
|
186 |
-
display: block;
|
187 |
-
background: #27475D;
|
188 |
-
color: #fff;
|
189 |
-
text-decoration: none;
|
190 |
-
width: 173px;
|
191 |
-
padding: 8px 0px;
|
192 |
-
text-align: center;
|
193 |
-
margin-bottom: 5px;
|
194 |
-
font-size: 16px;
|
195 |
-
margin-left: 8px;
|
196 |
-
border: 1px solid #B7B7B7;
|
197 |
text-transform: uppercase;
|
|
|
|
|
|
|
|
|
|
|
198 |
}
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
}
|
203 |
-
.wd-site-deatils{
|
204 |
-
padding: 23px;
|
205 |
-
background: #f1f1f1;
|
206 |
-
box-sizing: border-box;
|
207 |
}
|
208 |
-
.
|
209 |
-
|
210 |
-
}
|
211 |
-
.contact_us{
|
212 |
-
margin-left: auto !important;
|
213 |
-
margin-right: auto;
|
214 |
-
margin-top: 10px;
|
215 |
-
}
|
216 |
-
#wd-copy{
|
217 |
-
display: block;
|
218 |
-
background: #27475D;
|
219 |
-
color: #fff;
|
220 |
-
padding: 5px 8px;
|
221 |
-
text-align: center;
|
222 |
-
margin-bottom: 5px;
|
223 |
-
font-size: 14px;
|
224 |
-
border: 1px solid #B7B7B7;
|
225 |
-
cursor: pointer;
|
226 |
-
}
|
227 |
-
#plugins{
|
228 |
-
padding-bottom: 15px;
|
229 |
-
background: #fff;
|
230 |
}
|
231 |
|
232 |
-
.
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
237 |
}
|
238 |
-
.
|
239 |
-
|
240 |
-
height: 241px;
|
241 |
}
|
242 |
-
.
|
243 |
-
|
|
|
|
|
|
|
|
|
|
|
244 |
}
|
245 |
-
.
|
246 |
-
|
247 |
}
|
248 |
-
.
|
249 |
-
|
250 |
}
|
251 |
-
.
|
252 |
-
|
253 |
-
|
|
|
254 |
}
|
255 |
-
.
|
256 |
-
|
257 |
-
width:
|
|
|
|
|
|
|
|
|
|
|
258 |
}
|
259 |
-
.
|
260 |
-
|
261 |
}
|
262 |
-
|
263 |
-
|
264 |
display: inline-block;
|
|
|
265 |
}
|
266 |
-
.
|
267 |
-
|
268 |
-
font-weight: bold;
|
269 |
-
line-height: 55px;
|
270 |
-
text-align: center;
|
271 |
text-transform: uppercase;
|
|
|
272 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
273 |
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
.deals_secondary_title{
|
278 |
-
font-size: 30px;
|
279 |
}
|
|
|
|
|
|
|
280 |
|
281 |
-
|
282 |
-
|
|
|
283 |
}
|
|
|
|
|
|
|
284 |
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
-webkit-transform: rotate(-27deg);
|
289 |
-
transform: rotate(-30deg);
|
290 |
-
font-weight: bold;
|
291 |
-
font-size: 39px;
|
292 |
-
color: #E5682E;
|
293 |
-
text-transform: uppercase;
|
294 |
-
}
|
295 |
-
.deals_header_plugins .deals_save{
|
296 |
-
bottom: 37px;
|
297 |
-
}
|
298 |
-
.deals_header_themes .deals_save{
|
299 |
-
bottom: 76px;
|
300 |
-
}
|
301 |
-
.deal_block{
|
302 |
-
width: 31.2%;
|
303 |
-
display: inline-block;
|
304 |
-
vertical-align: top;
|
305 |
-
margin: 5px;
|
306 |
-
}
|
307 |
-
.deal_title{
|
308 |
-
text-align: center;
|
309 |
-
text-transform: uppercase;
|
310 |
-
font-size: 20px;
|
311 |
-
background: #FAFAFA;
|
312 |
-
padding: 10px 5px;
|
313 |
-
line-height: 23px;
|
314 |
}
|
315 |
-
.
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
}
|
323 |
-
.deal_desc p{
|
324 |
-
margin-bottom: 15px;
|
325 |
}
|
|
|
|
|
|
|
326 |
|
327 |
-
|
328 |
-
|
|
|
329 |
}
|
330 |
-
.
|
331 |
-
|
332 |
-
|
333 |
-
|
|
|
|
|
|
|
334 |
}
|
335 |
-
.
|
336 |
-
background: #
|
337 |
-
color: #
|
338 |
text-transform: uppercase;
|
339 |
-
|
|
|
|
|
|
|
|
|
340 |
display: inline-block;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
341 |
}
|
342 |
-
.
|
343 |
-
background:
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
}
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
text-decoration: none;
|
354 |
-
padding: 4px 16px;
|
355 |
-
display: inline-block;
|
356 |
-
margin-top: 10px;
|
357 |
-
border-radius: 13px;
|
358 |
-
text-transform: uppercase;
|
359 |
}
|
360 |
|
361 |
-
.
|
362 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
363 |
display: inline-block;
|
364 |
-
color: transparent;
|
365 |
-
font-size: 21px;
|
366 |
-
}
|
367 |
-
|
368 |
-
.stars-container:before {
|
369 |
-
position: absolute;
|
370 |
-
top: 0;
|
371 |
-
left: 0;
|
372 |
-
content: '★★★★★';
|
373 |
-
color: #F4AB7F;
|
374 |
-
}
|
375 |
-
|
376 |
-
.stars-container:after {
|
377 |
-
position: absolute;
|
378 |
-
top: 0;
|
379 |
-
left: 0;
|
380 |
-
content: '★★★★★';
|
381 |
-
color: #F4762A;
|
382 |
-
overflow: hidden;
|
383 |
}
|
384 |
|
385 |
-
.
|
386 |
-
|
387 |
-
text-align: center;
|
388 |
-
}
|
389 |
-
.get_all_deals a, .get_all_deals a:hover, .get_all_deals a:active, .get_all_deals a:focus {
|
390 |
-
color: #fff !important;
|
391 |
-
background: #E97025;
|
392 |
-
text-decoration: none;
|
393 |
-
padding: 8px 21px;
|
394 |
-
display: inline-block;
|
395 |
-
margin-top: 10px;
|
396 |
text-transform: uppercase;
|
397 |
-
border: 2px solid #D2631E;
|
398 |
-
font-size: 21px;
|
399 |
-
}
|
400 |
-
|
401 |
-
#themes{
|
402 |
-
border-top: 35px solid #F1F1F1;
|
403 |
-
padding-bottom: 15px;
|
404 |
-
}
|
405 |
-
|
406 |
-
.theme_block{
|
407 |
-
width: 48%;
|
408 |
-
margin: 5px;
|
409 |
-
border: 1px solid #ECE9E9;
|
410 |
-
float: left;
|
411 |
}
|
412 |
-
.
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
|
|
|
|
|
|
418 |
}
|
419 |
-
|
420 |
-
|
421 |
-
.notice_wrap{
|
422 |
-
padding: 15px;
|
423 |
-
border: 1px solid #C4C4C4;
|
424 |
-
width: 98%;
|
425 |
-
margin: 10px auto;
|
426 |
-
box-sizing: border-box;
|
427 |
-
|
428 |
}
|
429 |
-
.
|
430 |
-
|
431 |
-
|
432 |
-
margin-bottom: 17px;
|
433 |
-
font-size: 20px;
|
434 |
-
display: block;
|
435 |
}
|
436 |
-
|
437 |
-
|
438 |
-
font-size: 15px;
|
439 |
}
|
440 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
441 |
|
442 |
-
.
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
457 |
}
|
458 |
-
|
459 |
-
.wd-start-using-button{
|
460 |
-
margin-right:10px;
|
461 |
-
float: right;
|
462 |
-
}
|
1 |
+
#wpfooter {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
display: none;
|
3 |
}
|
4 |
+
#wpbody-content > div:not(.tenweb_overview){
|
5 |
+
display:none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
}
|
7 |
+
#wpbody-content {
|
8 |
+
padding-bottom: 0;
|
9 |
}
|
10 |
|
11 |
+
.tenweb_overview .tenweb_header{
|
12 |
+
background:url(../img/slide-1366.jpg);
|
13 |
+
background-size: cover;
|
14 |
+
background-repeat: no-repeat;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
}
|
16 |
+
.tenweb_overview .tenweb_footer.without_demo,
|
17 |
+
.tenweb_overview .tenweb_how_it_works{
|
18 |
+
background:url(../img/how_it_works.png);
|
19 |
+
background-size: cover;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
background-repeat: no-repeat;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
}
|
22 |
+
.tenweb_overview {
|
23 |
+
margin-left: -20px;
|
24 |
}
|
25 |
+
.tenweb_overview .tenweb_plugin_features,
|
26 |
+
.tenweb_overview .tenweb_footer{
|
27 |
+
background:#ffffff;
|
28 |
}
|
29 |
+
.tenweb_overview .tenweb_plugin_features *,
|
30 |
+
.tenweb_overview .tenweb_footer *{
|
31 |
+
color:#2c3144;
|
32 |
}
|
33 |
+
.tenweb_overview .tenweb_how_it_works .container{
|
34 |
+
padding:60px 0 52px;
|
35 |
}
|
36 |
+
.tenweb_overview .tenweb_footer.without_demo *,
|
37 |
+
.tenweb_overview .tenweb_how_it_works *,
|
38 |
+
.tenweb_overview .tenweb_header *{
|
39 |
+
color:#fff;
|
40 |
}
|
41 |
+
.tenweb_overview h2 {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
text-transform: uppercase;
|
43 |
+
font-size: 24px;
|
44 |
+
letter-spacing: 1px;
|
45 |
+
margin:0;
|
46 |
+
padding: 0 0 20px;
|
47 |
+
line-height: 1.4em;
|
48 |
}
|
49 |
+
h3.more_features {
|
50 |
+
font-size: 21px;
|
51 |
+
text-transform: uppercase;
|
|
|
|
|
|
|
|
|
|
|
52 |
}
|
53 |
+
img.plugin_logo {
|
54 |
+
margin-bottom: 18px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
}
|
56 |
|
57 |
+
.tenweb_overview .and {
|
58 |
+
font-size: 50px;
|
59 |
+
margin: 17px 14px 19px;
|
60 |
+
line-height: 1;
|
61 |
+
font-weight: lighter;
|
62 |
+
}
|
63 |
+
.tenweb_overview .and.circle {
|
64 |
+
font-size: 50px;
|
65 |
+
margin: 15px 14px;
|
66 |
+
line-height: 1.3;
|
67 |
+
font-weight: lighter;
|
68 |
+
display: inline-block;
|
69 |
+
width: 70px;
|
70 |
+
height: 70px;
|
71 |
+
box-shadow: 0 0 8px rgba(0,0,0,.2);
|
72 |
+
border-radius: 35px;
|
73 |
}
|
74 |
+
.tenweb_plugin_features .container {
|
75 |
+
padding: 30px 0;
|
|
|
76 |
}
|
77 |
+
.tenweb_overview a.more {
|
78 |
+
text-transform: uppercase;
|
79 |
+
letter-spacing: 1px;
|
80 |
+
font-size: 16px;
|
81 |
+
line-height: 1;
|
82 |
+
display: inline-block;
|
83 |
+
text-decoration: none;
|
84 |
}
|
85 |
+
.tenweb_overview a.more:not(.blue) {
|
86 |
+
margin-top: 23px;
|
87 |
}
|
88 |
+
.tenweb_overview a.more.blue {
|
89 |
+
color:#397cf1;
|
90 |
}
|
91 |
+
.tenweb_clear:after{
|
92 |
+
content:"";
|
93 |
+
display:table;
|
94 |
+
clear:both;
|
95 |
}
|
96 |
+
.tenweb_overview .container{
|
97 |
+
width:1190px;
|
98 |
+
max-width:100%;
|
99 |
+
margin:0 auto;
|
100 |
+
text-align:center;
|
101 |
+
box-sizing: border-box;
|
102 |
+
-webkit-box-sizing: border-box;
|
103 |
+
-moz-box-sizing: border-box;
|
104 |
}
|
105 |
+
.plan_features.tenweb_clear {
|
106 |
+
font-size: 0;
|
107 |
}
|
108 |
+
.tenweb_overview .plan_feature {
|
109 |
+
width: 24%;
|
110 |
display: inline-block;
|
111 |
+
margin: 0 .5% 30px;
|
112 |
}
|
113 |
+
.tenweb_overview .plan_feature h3 {
|
114 |
+
font-size: 17px;
|
|
|
|
|
|
|
115 |
text-transform: uppercase;
|
116 |
+
margin: 18px 0;
|
117 |
}
|
118 |
+
.tenweb_overview .plan_feature p {
|
119 |
+
font-size: 15px;
|
120 |
+
overflow: hidden;
|
121 |
+
display: -webkit-box;
|
122 |
+
-webkit-line-clamp: 3;
|
123 |
+
-webkit-box-orient: vertical;
|
124 |
+
text-overflow: ellipsis;
|
125 |
+
line-height: 1.4em;
|
126 |
+
}
|
127 |
+
.tenweb_overview .plan_feature .logo {
|
128 |
+
background: url(../img/header.svg);
|
129 |
+
margin:0 auto;
|
130 |
+
}
|
131 |
+
.tenweb_overview .plan_feature.image_optimizer .logo {
|
132 |
+
background-size: 191px;
|
133 |
+
background-position: 0px -55px;
|
134 |
+
width: 68px;
|
135 |
+
height: 51px;
|
136 |
+
margin: 0 auto 35px;
|
137 |
+
}
|
138 |
+
.tenweb_overview .plan_feature.pro_plugins .logo {
|
139 |
+
background-size: 194px;
|
140 |
+
background-position: 0px -118px;
|
141 |
+
width: 55px;
|
142 |
+
height: 68px;
|
143 |
+
}
|
144 |
+
.tenweb_overview .plan_feature.dashboard .logo {
|
145 |
+
background-size: 195px;
|
146 |
+
background-position: 0px -196px;
|
147 |
|
148 |
+
width: 68px;
|
149 |
+
height: 56px;
|
150 |
+
margin: 0 auto 30px;
|
|
|
|
|
151 |
}
|
152 |
+
.tenweb_overview .plan_feature.pro_themes .logo {
|
153 |
+
background-size: 190px;
|
154 |
+
background-position: 0px -254px;
|
155 |
|
156 |
+
width: 57px;
|
157 |
+
height: 58px;
|
158 |
+
margin: 0 auto 28px;
|
159 |
}
|
160 |
+
.tenweb_overview .plan_feature.seo .logo {
|
161 |
+
background-size: 200px;
|
162 |
+
background-position: 0px -338px;
|
163 |
|
164 |
+
width: 61px;
|
165 |
+
height: 63px;
|
166 |
+
margin: 0 auto 23px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
}
|
168 |
+
.tenweb_overview .plan_feature.security .logo {
|
169 |
+
background-size: 194px;
|
170 |
+
background-position: 0px -398px;
|
171 |
+
|
172 |
+
width: 55px;
|
173 |
+
height: 62px;
|
174 |
+
margin: 0 auto 24px;
|
|
|
|
|
|
|
175 |
}
|
176 |
+
.tenweb_overview .plan_feature.backup .logo {
|
177 |
+
background-size: 250px;
|
178 |
+
background-position: 0px -602px;
|
179 |
|
180 |
+
width: 100px;
|
181 |
+
height: 60px;
|
182 |
+
margin: 0 auto 26px;
|
183 |
}
|
184 |
+
.tenweb_overview .plan_feature.hosting .logo {
|
185 |
+
background-size: 196px;
|
186 |
+
background-position: 0px -527px;
|
187 |
+
|
188 |
+
width: 64px;
|
189 |
+
height: 64px;
|
190 |
+
margin: 0 auto 22px;
|
191 |
}
|
192 |
+
.tenweb_overview a.button {
|
193 |
+
background: #367bf2;
|
194 |
+
color: #ffffff;
|
195 |
text-transform: uppercase;
|
196 |
+
letter-spacing: 1px;
|
197 |
+
font-size: 16px;
|
198 |
+
padding: 16px 30px;
|
199 |
+
line-height: 1;
|
200 |
+
border-radius: 2px;
|
201 |
display: inline-block;
|
202 |
+
border: 0 !important;
|
203 |
+
box-shadow: none;
|
204 |
+
height: auto;
|
205 |
+
}
|
206 |
+
.tenweb_overview a.button.transparent {
|
207 |
+
background: transparent !important;
|
208 |
+
color: #ffffff;
|
209 |
+
border: 1px solid #ffffff !important;
|
210 |
+
width: 160px;
|
211 |
+
margin: 0 5px;
|
212 |
+
}
|
213 |
+
.tenweb_overview a.button:hover {
|
214 |
+
background: #367bf2;
|
215 |
+
color: #ffffff;
|
216 |
+
box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
|
217 |
+
}
|
218 |
+
.tenweb_overview .tenweb_header .container_top a.button {
|
219 |
+
font-size: 18px;
|
220 |
+
padding: 13px 30px;
|
221 |
+
display:table-cell;
|
222 |
+
}
|
223 |
+
.tenweb_overview .tenweb_logo {
|
224 |
+
float: left;
|
225 |
+
width: 197px;
|
226 |
}
|
227 |
+
.tenweb_overview .tenweb_logo a div {
|
228 |
+
background: url(../img/header.svg);
|
229 |
+
height: 53px;
|
230 |
+
background-size: 196px;
|
231 |
+
background-position: 0 0;
|
232 |
+
background-repeat: no-repeat;
|
233 |
}
|
234 |
+
.tenweb_overview .tenweb_header_right {
|
235 |
+
float: right;
|
236 |
+
text-align: right;
|
237 |
+
display: table;
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
}
|
239 |
|
240 |
+
.tenweb_overview .inline-block.header_text {
|
241 |
+
text-transform: uppercase;
|
242 |
+
font-size: 15px;
|
243 |
+
line-height: 1.5;
|
244 |
+
padding-right: 10px;
|
245 |
+
letter-spacing: 0;
|
246 |
+
margin-top: 2px;
|
247 |
+
width: calc(100% - 180px);
|
248 |
+
display:table-cell;
|
249 |
+
vertical-align:middle;
|
250 |
+
}
|
251 |
+
.tenweb_overview .tenweb_header_divider {
|
252 |
+
height:18px;
|
253 |
+
background:#fff;
|
254 |
+
}
|
255 |
+
.tenweb_overview .container_top {
|
256 |
+
padding:24px 15px;
|
257 |
+
}
|
258 |
+
.tenweb_overview .container_bottom {
|
259 |
+
padding: 50px 0 40px;
|
260 |
+
}
|
261 |
+
.tenweb_overview .plugin_features.tenweb_clear {
|
262 |
+
margin-top: 40px;
|
263 |
+
}
|
264 |
+
.plugin_features .plugin_feature_logo{
|
265 |
+
height:54px;
|
266 |
+
}
|
267 |
+
.plugin_features .plugin_feature{
|
268 |
+
width: 31%;
|
269 |
+
margin: 0 1% 20px;
|
270 |
+
/*float: left;*/
|
271 |
display: inline-block;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
272 |
}
|
273 |
|
274 |
+
.plugin_features .plugin_feature h3 {
|
275 |
+
font-size: 18px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
276 |
text-transform: uppercase;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
277 |
}
|
278 |
+
.plugin_features .plugin_feature p {
|
279 |
+
font-size: 15px;
|
280 |
+
overflow: hidden;
|
281 |
+
display: -webkit-box;
|
282 |
+
-webkit-line-clamp: 3;
|
283 |
+
-webkit-box-orient: vertical;
|
284 |
+
text-overflow: ellipsis;
|
285 |
+
line-height: 1.4em;
|
286 |
+
min-height: 63px;
|
287 |
}
|
288 |
+
.tenweb_how_it_works a.button {
|
289 |
+
margin-top: 12px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
290 |
}
|
291 |
+
.plugin_features .plugin_feature img{
|
292 |
+
width:54px;
|
293 |
+
max-height: 100%;
|
|
|
|
|
|
|
294 |
}
|
295 |
+
.tenweb_footer {
|
296 |
+
padding: 70px 0 80px;
|
|
|
297 |
}
|
298 |
|
299 |
+
.tenweb_footer p {
|
300 |
+
font-size: 22px;
|
301 |
+
font-weight: lighter;
|
302 |
+
margin: 8px 0 20px;
|
303 |
+
}
|
304 |
+
.tenweb_footer h2 {
|
305 |
+
font-size: 31px;
|
306 |
+
}
|
307 |
+
.tenweb_overview img.plugin_logo {
|
308 |
+
width: 100px;
|
309 |
+
}
|
310 |
+
@media only screen and (min-width: 1620px){
|
311 |
+
.plugin_features .plugin_feature p {
|
312 |
+
font-size: 17px;
|
313 |
+
}
|
314 |
+
.tenweb_overview img.plugin_logo {
|
315 |
+
width: 130px;
|
316 |
+
}
|
317 |
+
.tenweb_overview .container{
|
318 |
+
width:1600px;
|
319 |
+
}
|
320 |
+
.tenweb_overview .inline-block.header_text{
|
321 |
+
font-size: 19px;
|
322 |
+
line-height: 1.2;
|
323 |
+
padding-right: 18px;
|
324 |
+
letter-spacing: .8px;
|
325 |
+
width: calc(100% - 193px);
|
326 |
+
margin-top: 0;
|
327 |
+
}
|
328 |
+
.tenweb_overview h2 {
|
329 |
+
font-size: 28px;
|
330 |
+
padding: 10px 0 20px;
|
331 |
+
}
|
332 |
+
.tenweb_overview .and {
|
333 |
+
font-size: 60px;
|
334 |
+
margin: 18px 14px;
|
335 |
+
}
|
336 |
+
.tenweb_overview .and.circle {
|
337 |
+
font-size: 60px;
|
338 |
+
margin: 20px 14px;
|
339 |
+
line-height: 1.4;
|
340 |
+
width: 90px;
|
341 |
+
height: 90px;
|
342 |
+
border-radius: 45px;
|
343 |
+
}
|
344 |
+
.tenweb_overview .plan_feature {
|
345 |
+
width: 23%;
|
346 |
+
display:inline-block;
|
347 |
+
margin: 0 1% 40px;
|
348 |
+
}
|
349 |
+
.tenweb_overview .plan_feature h3 {
|
350 |
+
font-size:20px;
|
351 |
+
}
|
352 |
+
.tenweb_overview .plan_feature p {
|
353 |
+
height: 72px;
|
354 |
+
font-size:16px;
|
355 |
+
}
|
356 |
+
.plugin_features .plugin_feature p{
|
357 |
+
font-size:18px;
|
358 |
+
height: 75px;
|
359 |
+
}
|
360 |
+
.plugin_features .plugin_feature h3{
|
361 |
+
font-size:20px;
|
362 |
+
}
|
363 |
+
.tenweb_footer h2{
|
364 |
+
font-size:37px;
|
365 |
+
}
|
366 |
+
.tenweb_footer p {
|
367 |
+
font-size: 24px;
|
368 |
+
}
|
369 |
+
.tenweb_overview .container_top {
|
370 |
+
padding: 29px 0;
|
371 |
+
}
|
372 |
+
}
|
373 |
+
@media only screen and (max-width: 1320px){
|
374 |
+
.plugin_features .plugin_feature,
|
375 |
+
.tenweb_overview .plan_feature {
|
376 |
+
width: 46%;
|
377 |
+
display: inline-block;
|
378 |
+
margin: 0 1.5% 10px;
|
379 |
+
}
|
380 |
+
.tenweb_footer h2 {
|
381 |
+
font-size: 26px;
|
382 |
+
}
|
383 |
+
.tenweb_footer p {
|
384 |
+
font-size: 20px;
|
385 |
+
line-height: 1.4em;
|
386 |
+
}
|
387 |
+
.tenweb_overview .container {
|
388 |
+
width: 99%;
|
389 |
+
}
|
390 |
+
.tenweb_overview .inline-block.header_text {
|
391 |
+
text-transform: uppercase;
|
392 |
+
font-size: 13px;
|
393 |
+
}
|
394 |
+
}
|
395 |
+
@media only screen and (max-width: 1200px){
|
396 |
|
397 |
+
.tenweb_overview .tenweb_header_right {
|
398 |
+
float: right;
|
399 |
+
text-align: right;
|
400 |
+
display: table;
|
401 |
+
width: calc(100% - 267px);
|
402 |
+
}
|
403 |
+
}
|
404 |
+
@media only screen and (max-width: 840px){
|
405 |
+
.tenweb_overview .inline-block.header_text {
|
406 |
+
display:block;
|
407 |
+
padding-right: 0;
|
408 |
+
margin-top: 10px;
|
409 |
+
width: 100%;
|
410 |
+
clear:both;
|
411 |
+
}
|
412 |
+
.tenweb_overview .tenweb_header .container_top a.button {
|
413 |
+
display:inline-block;
|
414 |
+
}
|
415 |
+
.tenweb_overview .tenweb_logo a div {
|
416 |
+
height: 37px;
|
417 |
+
background-size: 145px;
|
418 |
+
background-position: 0 0px;
|
419 |
+
}
|
420 |
+
.tenweb_overview .tenweb_logo {
|
421 |
+
float: left;
|
422 |
+
width: 150px;
|
423 |
+
}
|
424 |
+
.tenweb_overview {
|
425 |
+
margin-left: -10px;
|
426 |
+
}
|
427 |
+
.plugin_features .plugin_feature,
|
428 |
+
.tenweb_overview .plan_feature {
|
429 |
+
width: 88%;
|
430 |
+
margin: 0 auto 10px;
|
431 |
+
float: none;
|
432 |
+
}
|
433 |
+
.tenweb_overview .plan_feature p,
|
434 |
+
.plugin_features .plugin_feature p {
|
435 |
+
overflow: visible;
|
436 |
+
-webkit-line-clamp: none;
|
437 |
+
height: auto;
|
438 |
+
}
|
439 |
+
.tenweb_footer h2 {
|
440 |
+
font-size: 23px;
|
441 |
+
}
|
442 |
+
.tenweb_footer p {
|
443 |
+
font-size: 18px;
|
444 |
+
line-height: 1.4em;
|
445 |
+
}
|
446 |
+
.tenweb_overview .plugin_features.tenweb_clear {
|
447 |
+
margin-top: 20px;
|
448 |
+
}
|
449 |
+
.tenweb_footer {
|
450 |
+
padding: 50px 0 60px;
|
451 |
+
}
|
452 |
+
.tenweb_overview .tenweb_logo {
|
453 |
+
float: none;
|
454 |
+
width: 150px;
|
455 |
+
margin: 0 auto 10px;
|
456 |
+
}
|
457 |
+
.tenweb_overview .tenweb_header_right {
|
458 |
+
float: none;
|
459 |
+
width: 100%;
|
460 |
+
text-align: center;
|
461 |
+
}
|
462 |
+
.tenweb_overview .tenweb_header_right a.button {
|
463 |
+
float: none;
|
464 |
+
}
|
465 |
+
.tenweb_overview .inline-block.header_text {
|
466 |
+
float: none;
|
467 |
+
margin-top: 10px;
|
468 |
+
}
|
469 |
+
.tenweb_overview h2 {
|
470 |
+
font-size: 21px;
|
471 |
+
}
|
472 |
}
|
|
|
|
|
|
|
|
|
|
wd/assets/css/subscribe.css
CHANGED
@@ -1,114 +1,210 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
font-family: "Open Sans",sans-serif;
|
4 |
-
line-height: 1.4em;
|
5 |
-
min-width: 600px;
|
6 |
}
|
7 |
-
|
8 |
-
|
9 |
-
background: #fff;
|
10 |
-
border: 2px solid #E2E5EC;
|
11 |
-
width: 55%;
|
12 |
-
margin-top: 40px;
|
13 |
-
}
|
14 |
-
.wd-subscribe-content{
|
15 |
-
padding: 30px 92px;
|
16 |
}
|
17 |
-
|
18 |
-
|
19 |
}
|
20 |
-
|
21 |
-
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
}
|
24 |
-
.
|
25 |
-
|
26 |
-
font-weight: bold;
|
27 |
-
font-size: 52px;
|
28 |
-
padding: 0px 28px;
|
29 |
}
|
30 |
-
.
|
31 |
-
|
32 |
-
|
|
|
|
|
33 |
}
|
34 |
|
35 |
-
.
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
height:
|
40 |
-
|
|
|
|
|
|
|
|
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
}
|
43 |
-
.
|
44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
display: inline-block;
|
46 |
-
background: url(img/skip.png) no-repeat;
|
47 |
-
width: 76px;
|
48 |
-
height: 59px;
|
49 |
}
|
50 |
-
.permissions{
|
51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
}
|
53 |
-
.
|
54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
display:none;
|
56 |
}
|
57 |
-
.list_item{
|
58 |
-
|
59 |
-
margin-bottom: 15px;
|
60 |
}
|
61 |
-
.
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
}
|
66 |
-
.
|
67 |
-
|
|
|
68 |
}
|
69 |
-
.
|
70 |
-
width:
|
|
|
|
|
|
|
71 |
}
|
72 |
-
.
|
73 |
-
|
74 |
-
float: right;
|
75 |
}
|
76 |
-
.
|
77 |
-
|
78 |
-
font-size: 13px;
|
79 |
}
|
80 |
-
.
|
81 |
-
|
82 |
-
width: 30px;
|
83 |
-
margin-top: 11px;
|
84 |
-
visibility: hidden;
|
85 |
}
|
86 |
-
.
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
padding: 2px;
|
105 |
-
font-weight: bold;
|
106 |
-
display: inline-block;
|
107 |
-
vertical-align: middle;
|
108 |
}
|
109 |
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
}
|
1 |
+
#wpfooter {
|
2 |
+
display: none;
|
|
|
|
|
|
|
3 |
}
|
4 |
+
#wpbody-content > div:not(.tenweb_subscribe){
|
5 |
+
display:none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
}
|
7 |
+
#wpbody-content {
|
8 |
+
padding-bottom: 0;
|
9 |
}
|
10 |
+
|
11 |
+
|
12 |
+
.tenweb_clear:after{
|
13 |
+
content:"";
|
14 |
+
display:table;
|
15 |
+
clear:both;
|
16 |
+
}
|
17 |
+
.tenweb_subscribe a.button {
|
18 |
+
background: #367bf2;
|
19 |
+
color: #ffffff;
|
20 |
+
text-transform: uppercase;
|
21 |
+
letter-spacing: 1px;
|
22 |
+
font-size: 16px;
|
23 |
+
padding: 16px 30px;
|
24 |
+
line-height: 1;
|
25 |
+
border-radius: 2px;
|
26 |
+
display: inline-block;
|
27 |
+
border: 0 !important;
|
28 |
+
box-shadow: none;
|
29 |
+
height: auto;
|
30 |
}
|
31 |
+
.tenweb_subscribe a:focus {
|
32 |
+
box-shadow:none;
|
|
|
|
|
|
|
33 |
}
|
34 |
+
.tenweb_subscribe a.button:active,
|
35 |
+
.tenweb_subscribe a.button:hover {
|
36 |
+
background: #367bf2;
|
37 |
+
color: #ffffff;
|
38 |
+
box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
|
39 |
}
|
40 |
|
41 |
+
.tenweb_subscribe a.more {
|
42 |
+
text-transform: uppercase;
|
43 |
+
letter-spacing: 1px;
|
44 |
+
font-size: 14px;
|
45 |
+
line-height: 1;
|
46 |
+
display: block;
|
47 |
+
text-decoration: none;
|
48 |
+
color: #4e4e4e;
|
49 |
+
margin-top: 9px;
|
50 |
+
}
|
51 |
|
52 |
+
.wd_loader{
|
53 |
+
vertical-align: top;
|
54 |
+
width: 30px;
|
55 |
+
margin-top: 11px;
|
56 |
+
display: none;
|
57 |
+
}
|
58 |
+
.tenweb_subscribe {
|
59 |
+
background: #ffffff;
|
60 |
+
box-shadow: 0 0 10px rgba(0,0,0,0.2);
|
61 |
+
width: calc(100% - 20px);
|
62 |
+
padding: 105px 20px 0;
|
63 |
+
margin: 20px 0 0 0;
|
64 |
+
box-sizing: border-box;
|
65 |
+
-webkit-box-sizing: border-box;
|
66 |
+
-moz-box-sizing: border-box;
|
67 |
+
text-align: center;
|
68 |
}
|
69 |
+
.tenweb_subscribe .texts h2 {
|
70 |
+
font-size:28px;
|
71 |
+
text-transform: uppercase;
|
72 |
+
margin: 26px 0 16px;
|
73 |
+
}
|
74 |
+
.tenweb_subscribe .texts h5 {
|
75 |
+
font-size:18px;
|
76 |
+
text-transform: uppercase;
|
77 |
+
margin: 6px 0;
|
78 |
+
line-height: 1.4em;
|
79 |
+
}
|
80 |
+
.tenweb_subscribe .texts p {
|
81 |
+
font-size:16px;
|
82 |
+
}
|
83 |
+
.tenweb_subscribe .texts .hi_there {
|
84 |
+
width:66px;
|
85 |
+
height:103px;
|
86 |
+
background: url(../img/allow-and-continue.png) no-repeat;
|
87 |
+
margin: 0 auto;
|
88 |
+
}
|
89 |
+
.tenweb_subscribe-content{
|
90 |
+
width: 960px;
|
91 |
+
max-width: 100%;
|
92 |
+
margin: 0 auto;
|
93 |
+
}
|
94 |
+
.tenweb_subscribe .permissions {
|
95 |
+
font-size: 16px;
|
96 |
+
cursor: pointer;
|
97 |
+
margin: 10px 0 30px;
|
98 |
+
position: relative;
|
99 |
display: inline-block;
|
|
|
|
|
|
|
100 |
}
|
101 |
+
.tenweb_subscribe .permissions:after {
|
102 |
+
content: "";
|
103 |
+
position: absolute;
|
104 |
+
width: 13px;
|
105 |
+
height: 13px;
|
106 |
+
background: url(../img/allow-and-continue.png) no-repeat;
|
107 |
+
background-position: 1px -237px;
|
108 |
+
right: -19px;
|
109 |
+
top: 2px;
|
110 |
+
transition:transform .2s;
|
111 |
+
}
|
112 |
+
.tenweb_subscribe .permissions.active:after {
|
113 |
+
content: "";
|
114 |
+
transform: rotateZ(-180deg);
|
115 |
+
-webkit-transform: rotateZ(-180deg);
|
116 |
+
-moz-transform: rotateZ(-180deg);
|
117 |
+
top: 3px;
|
118 |
}
|
119 |
+
.tenweb_subscribe .list_item {
|
120 |
+
width: 31%;
|
121 |
+
float: left;
|
122 |
+
box-shadow: 0 0 10px rgba(0,0,0,0.2);
|
123 |
+
margin-right: 3%;
|
124 |
+
padding: 20px 0;
|
125 |
+
box-sizing: border-box;
|
126 |
+
-webkit-box-sizing: border-box;
|
127 |
+
-moz-box-sizing: border-box;
|
128 |
+
}
|
129 |
+
.tenweb_subscribe .list{
|
130 |
display:none;
|
131 |
}
|
132 |
+
.tenweb_subscribe .list_item:last-child {
|
133 |
+
margin-right: 0;
|
|
|
134 |
}
|
135 |
+
.tenweb_subscribe .list.tenweb_clear {
|
136 |
+
max-width: 100%;
|
137 |
+
width: 580px;
|
138 |
+
margin: 0 auto 28px;
|
139 |
}
|
140 |
+
.tenweb_subscribe .list_text_wrap {
|
141 |
+
font-size: 12px;
|
142 |
+
font-weight: bold;
|
143 |
}
|
144 |
+
.tenweb_subscribe .list_logo {
|
145 |
+
width: 36px;
|
146 |
+
height:33px;
|
147 |
+
background: url(../img/allow-and-continue.png) no-repeat;
|
148 |
+
margin:0 auto 20px;
|
149 |
}
|
150 |
+
.tenweb_subscribe .user_info .list_logo {
|
151 |
+
background-position: 3px -110px;
|
|
|
152 |
}
|
153 |
+
.tenweb_subscribe .wp_info .list_logo {
|
154 |
+
background-position: 2px -153px;
|
|
|
155 |
}
|
156 |
+
.tenweb_subscribe .plugins_info .list_logo {
|
157 |
+
background-position: 6px -196px;
|
|
|
|
|
|
|
158 |
}
|
159 |
+
.tenweb_subscribe-footer * {
|
160 |
+
color: #afafaf;
|
161 |
+
}
|
162 |
+
.tenweb_footer-menu a {
|
163 |
+
font-size: 12px;
|
164 |
+
text-transform: uppercase;
|
165 |
+
letter-spacing: 1px;
|
166 |
+
text-decoration: none;
|
167 |
+
}
|
168 |
+
.tenweb_footer-menu li{
|
169 |
+
display:inline-block;
|
170 |
+
margin: 0 10px;
|
171 |
+
}
|
172 |
+
ul.tenweb_footer-menu.tenweb_clear {
|
173 |
+
padding: 18px 0 15px;
|
174 |
+
line-height: 1;
|
175 |
+
border-top: 1px solid #ececec;
|
176 |
+
margin: 16px 0 0;
|
|
|
|
|
|
|
|
|
177 |
}
|
178 |
|
179 |
+
.tenweb_subscribe-top-footer {
|
180 |
+
font-size: 13px;
|
181 |
+
color: #afafaf;
|
182 |
+
margin-top: 112px;
|
183 |
+
}
|
184 |
+
@media only screen and (min-width: 1620px){
|
185 |
+
.tenweb_subscribe-top-footer {
|
186 |
+
margin-top: 130px;
|
187 |
+
}
|
188 |
+
.tenweb_subscribe {
|
189 |
+
padding: 150px 20px 0;
|
190 |
+
}
|
191 |
+
}
|
192 |
+
@media only screen and (max-width: 768px){
|
193 |
+
.tenweb_subscribe {
|
194 |
+
width: calc(100% - 10px);
|
195 |
+
padding: 60px 20px 0;
|
196 |
+
}
|
197 |
+
.tenweb_subscribe-top-footer {
|
198 |
+
margin-top: 60px;
|
199 |
+
}
|
200 |
+
.tenweb_subscribe .list_item {
|
201 |
+
width: 100%;
|
202 |
+
float: none;
|
203 |
+
margin-right: 0;
|
204 |
+
padding: 20px 10px;
|
205 |
+
margin-bottom: 10px;
|
206 |
+
}
|
207 |
+
.tenweb_subscribe .list.tenweb_clear {
|
208 |
+
margin: 0 auto 15px;
|
209 |
+
}
|
210 |
}
|
wd/assets/img/plugins/business_elite.png
DELETED
Binary file
|
wd/assets/img/plugins/business_world.png
DELETED
Binary file
|
wd/assets/img/plugins/event-calendar-wd.png
DELETED
Binary file
|
wd/assets/img/plugins/form-maker.png
DELETED
Binary file
|
wd/assets/img/plugins/photo-gallery.png
DELETED
Binary file
|
wd/assets/img/plugins/portfolio_gallery.png
DELETED
Binary file
|
wd/assets/img/plugins/sauron.png
DELETED
Binary file
|
wd/assets/img/plugins/slider-wd.png
DELETED
Binary file
|
wd/assets/img/plugins/spider-event-calendar.png
DELETED
Binary file
|
wd/assets/img/plugins/wd-google-maps.png
DELETED
Binary file
|
wd/assets/img/plugins/wd-instagram-feed.png
DELETED
Binary file
|
wd/assets/img/sub_1.png
DELETED
Binary file
|
wd/assets/img/sub_2.png
DELETED
Binary file
|
wd/assets/img/sub_4.png
DELETED
Binary file
|
wd/assets/js/deactivate_popup.js
CHANGED
@@ -21,7 +21,13 @@ var btnVal = 3;
|
|
21 |
////////////////////////////////////////////////////////////////////////////////////////
|
22 |
function wdReady(prefix){
|
23 |
|
|
|
|
|
24 |
jQuery(document).on("click", "." + window[prefix + "WDDeactivateVars"].deactivate_class, function(){
|
|
|
|
|
|
|
|
|
25 |
jQuery(".wd-" + prefix + "-opacity").show();
|
26 |
jQuery(".wd-" + prefix + "-deactivate-popup").show();
|
27 |
if(jQuery(this).attr("data-uninstall") == "1"){
|
@@ -30,17 +36,19 @@ function wdReady(prefix){
|
|
30 |
|
31 |
return false;
|
32 |
});
|
33 |
-
|
34 |
-
jQuery(document).on("change", "[name=" + prefix + "_reasons]", function(){
|
35 |
|
36 |
-
|
37 |
-
|
|
|
|
|
|
|
|
|
38 |
if(jQuery(this).val() == "reason_plugin_is_hard_to_use_technical_problems"){
|
39 |
|
40 |
additionalInfo = '<div class="wd-additional-active"><div><strong>Please describe your issue.</strong></div><br>' +
|
41 |
'<textarea name="' + prefix + '_additional_details" rows = "4"></textarea><br>' +
|
42 |
'<div>Our support will contact <input type="text" name="' + prefix + '_email" value="' + window[prefix + "WDDeactivateVars"].email + '"> shortly.</div>'+
|
43 |
-
'<br><div><button class="button button-primary wd-' + prefix + '-deactivate" data-val="' + btnVal + '">Submit support ticket</button></div></div>';
|
44 |
jQuery("." + prefix + "_additional_details_wrap").append(additionalInfo);
|
45 |
jQuery(".wd-" + prefix + "-deactivate-popup").addClass("wd-popup-active1");
|
46 |
|
@@ -57,11 +65,22 @@ function wdReady(prefix){
|
|
57 |
additionalInfo = '<div class="wd-additional-active">' +
|
58 |
'<div><strong>We have a special offer for you.</strong></div>' +
|
59 |
'<div>Submit this form to get the offer to <input type="text" name="' + prefix + '_email" value="' + window[prefix + "WDDeactivateVars"].email + '"></div>' +
|
60 |
-
'<br><div><button class="button button-primary wd-' + prefix + '-deactivate" data-val="' + btnVal + '">Submit</button></div></div>';
|
61 |
|
62 |
jQuery("." + prefix + "_additional_details_wrap").append(additionalInfo);
|
63 |
-
jQuery(".wd-" + prefix + "-deactivate-popup").addClass("wd-popup-
|
64 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
|
66 |
jQuery("#wd-" + prefix + "-deactivate").hide();
|
67 |
jQuery("#wd-" + prefix + "-submit-and-deactivate").show();
|
@@ -78,7 +97,27 @@ function wdReady(prefix){
|
|
78 |
}
|
79 |
|
80 |
});
|
81 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
jQuery(".wd-deactivate-popup-opacity-" + prefix).show();
|
83 |
if(jQuery(this).hasClass("wd-clicked") == false){
|
84 |
jQuery(this).addClass("wd-clicked");
|
@@ -88,12 +127,25 @@ function wdReady(prefix){
|
|
88 |
return false;
|
89 |
});
|
90 |
|
91 |
-
jQuery(document).on("click", ".wd-" + prefix + "-cancel, .wd-opacity", function(){
|
92 |
jQuery(".wd-" + prefix + "-opacity").hide();
|
93 |
jQuery(".wd-" + prefix + "-deactivate-popup").hide();
|
|
|
|
|
94 |
return false;
|
95 |
});
|
96 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
}
|
98 |
|
99 |
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
////////////////////////////////////////////////////////////////////////////////////////
|
22 |
function wdReady(prefix){
|
23 |
|
24 |
+
var agree_with_pp = false;
|
25 |
+
|
26 |
jQuery(document).on("click", "." + window[prefix + "WDDeactivateVars"].deactivate_class, function(){
|
27 |
+
agree_with_pp = false;
|
28 |
+
if (!jQuery('#wd-' + prefix + '-submit-and-deactivate').hasClass('button-primary-disabled')) {
|
29 |
+
jQuery('#wd-' + prefix + '-submit-and-deactivate').addClass('button-primary-disabled')
|
30 |
+
}
|
31 |
jQuery(".wd-" + prefix + "-opacity").show();
|
32 |
jQuery(".wd-" + prefix + "-deactivate-popup").show();
|
33 |
if(jQuery(this).attr("data-uninstall") == "1"){
|
36 |
|
37 |
return false;
|
38 |
});
|
|
|
|
|
39 |
|
40 |
+
jQuery(document).on("change", "[name=" + prefix + "_reasons]", function(){
|
41 |
+
|
42 |
+
var disabled_class = (agree_with_pp === false) ? "button-primary-disabled" : "";
|
43 |
+
|
44 |
+
jQuery("." + prefix + "_additional_details_wrap").html("");
|
45 |
+
jQuery(".wd-" + prefix + "-deactivate-popup").removeClass("wd-popup-active1 wd-popup-active2 wd-popup-active3 wd-popup-active4");
|
46 |
if(jQuery(this).val() == "reason_plugin_is_hard_to_use_technical_problems"){
|
47 |
|
48 |
additionalInfo = '<div class="wd-additional-active"><div><strong>Please describe your issue.</strong></div><br>' +
|
49 |
'<textarea name="' + prefix + '_additional_details" rows = "4"></textarea><br>' +
|
50 |
'<div>Our support will contact <input type="text" name="' + prefix + '_email" value="' + window[prefix + "WDDeactivateVars"].email + '"> shortly.</div>'+
|
51 |
+
'<br><div><button class="button button-primary ' + disabled_class + ' wd-' + prefix + '-deactivate" data-val="' + btnVal + '">Submit support ticket</button></div></div>';
|
52 |
jQuery("." + prefix + "_additional_details_wrap").append(additionalInfo);
|
53 |
jQuery(".wd-" + prefix + "-deactivate-popup").addClass("wd-popup-active1");
|
54 |
|
65 |
additionalInfo = '<div class="wd-additional-active">' +
|
66 |
'<div><strong>We have a special offer for you.</strong></div>' +
|
67 |
'<div>Submit this form to get the offer to <input type="text" name="' + prefix + '_email" value="' + window[prefix + "WDDeactivateVars"].email + '"></div>' +
|
68 |
+
'<br><div><button class="button button-primary ' + disabled_class + ' wd-' + prefix + '-deactivate" data-val="' + btnVal + '">Submit</button></div></div>';
|
69 |
|
70 |
jQuery("." + prefix + "_additional_details_wrap").append(additionalInfo);
|
71 |
+
jQuery(".wd-" + prefix + "-deactivate-popup").addClass("wd-popup-active3");
|
72 |
+
}else{
|
73 |
+
jQuery(".wd-" + prefix + "-deactivate-popup").addClass("wd-popup-active4");
|
74 |
+
}
|
75 |
+
|
76 |
+
var checked = (agree_with_pp === true) ? "checked" : "";
|
77 |
+
var agree_checkbox =
|
78 |
+
"<div style='margin-top: 5px;'>" +
|
79 |
+
"<input type='checkbox' " + checked + " name='" + prefix + "_agree_with_pp" + "' id='" + prefix + "_agree_with_pp" + "'/>" +
|
80 |
+
"By submitting this form your email and website URL will be sent to 10Web. Click the checkbox if you consent to usage of mentioned data by 10Web in accordance with our <a target='_blank' href='https://10web.io/privacy-policy/'>Privacy Policy</a>."+
|
81 |
+
"</div>";
|
82 |
+
|
83 |
+
jQuery("." + prefix + "_additional_details_wrap").prepend(agree_checkbox);
|
84 |
|
85 |
jQuery("#wd-" + prefix + "-deactivate").hide();
|
86 |
jQuery("#wd-" + prefix + "-submit-and-deactivate").show();
|
97 |
}
|
98 |
|
99 |
});
|
100 |
+
|
101 |
+
jQuery(document).on("change", "[name=" + prefix + "_agree_with_pp]", function () {
|
102 |
+
if(jQuery(this).prop('checked')){
|
103 |
+
jQuery(".wd-" + prefix + "-deactivate").removeClass('button-primary-disabled');
|
104 |
+
agree_with_pp = true;
|
105 |
+
}else{
|
106 |
+
jQuery(".wd-" + prefix + "-deactivate").addClass('button-primary-disabled');
|
107 |
+
agree_with_pp = false;
|
108 |
+
}
|
109 |
+
});
|
110 |
+
|
111 |
+
jQuery(document).on("click", ".wd-" + prefix + "-deactivate", function(e){
|
112 |
+
|
113 |
+
var data_val = jQuery(this).data('val');
|
114 |
+
var checkbox = jQuery("#" + prefix + "_agree_with_pp");
|
115 |
+
|
116 |
+
|
117 |
+
if (data_val !== 1 && (checkbox.length === 0 || checkbox.prop('checked') === false)) {
|
118 |
+
return false;
|
119 |
+
}
|
120 |
+
|
121 |
jQuery(".wd-deactivate-popup-opacity-" + prefix).show();
|
122 |
if(jQuery(this).hasClass("wd-clicked") == false){
|
123 |
jQuery(this).addClass("wd-clicked");
|
127 |
return false;
|
128 |
});
|
129 |
|
130 |
+
jQuery(document).on("click", ".wd-" + prefix + "-cancel, .wd-opacity, .wd-deactivate-popup-close-btn", function(){
|
131 |
jQuery(".wd-" + prefix + "-opacity").hide();
|
132 |
jQuery(".wd-" + prefix + "-deactivate-popup").hide();
|
133 |
+
reset_popup();
|
134 |
+
|
135 |
return false;
|
136 |
});
|
137 |
|
138 |
+
function reset_popup() {
|
139 |
+
jQuery("." + prefix + "_additional_details_wrap").html("");
|
140 |
+
jQuery(".wd-" + prefix + "-deactivate-popup").removeClass("wd-popup-active1 wd-popup-active2 wd-popup-active3 wd-popup-active4");
|
141 |
+
|
142 |
+
jQuery("#wd-" + prefix + "-deactivate").removeClass("button-primary-disabled");
|
143 |
+
jQuery("#wd-" + prefix + "-deactivate").show();
|
144 |
+
jQuery("#wd-" + prefix + "-submit-and-deactivate").hide();
|
145 |
+
jQuery('#' + prefix + '_deactivate_form input[name="' + prefix + '_reasons' + '"]').prop('checked', false);
|
146 |
+
|
147 |
+
}
|
148 |
+
|
149 |
}
|
150 |
|
151 |
////////////////////////////////////////////////////////////////////////////////////////
|
wd/assets/js/overview.js
CHANGED
@@ -1,56 +1,16 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
-
// Constants //
|
6 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
-
// Variables //
|
9 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
-
// Constructor & Destructor //
|
12 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
jQuery(document).ready(function () {
|
14 |
-
|
15 |
-
jQuery(".overview_tabs li a:not(.not_tab)").on("click", function(){
|
16 |
-
jQuery(".overview_tabs li a").removeClass("overview_tab_active");
|
17 |
-
jQuery(this).addClass("overview_tab_active");
|
18 |
-
jQuery(".overview_content > div").hide();
|
19 |
-
var id = jQuery(this).attr("href");
|
20 |
-
jQuery(id).show();
|
21 |
-
return false;
|
22 |
-
});
|
23 |
-
|
24 |
-
// rating
|
25 |
-
// jQuery(".rating").each(function(){
|
26 |
-
// var rate = jQuery(this).attr("data-rating");
|
27 |
-
// jQuery("<span class='stars-container'>")
|
28 |
-
// .addClass("stars-" + rate.toString())
|
29 |
-
// .text("★★★★★")
|
30 |
-
// .appendTo(jQuery(this));
|
31 |
-
// jQuery("body").append('<style>.stars-' + rate.toString() + ':after{width:' + rate + '%;}</style>');
|
32 |
-
// });
|
33 |
-
|
34 |
-
jQuery("#wd-copy").on("click", function(){
|
35 |
-
var selector = document.querySelector('#wd-site-deatils-textarea');
|
36 |
-
selector.select();
|
37 |
-
document.execCommand('copy');
|
38 |
-
|
39 |
-
return false;
|
40 |
-
|
41 |
-
});
|
42 |
-
|
43 |
});
|
44 |
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
55 |
-
// Listeners //
|
56 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
1 |
+
jQuery(window).resize(function () {
|
2 |
+
tenWebOverviewResize();
|
3 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
jQuery(document).ready(function () {
|
5 |
+
tenWebOverviewResize();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
});
|
7 |
|
8 |
+
function tenWebOverviewResize(){
|
9 |
+
if(jQuery(".tenweb_header_right").length){
|
10 |
+
if (matchMedia('only screen and (max-width: 840px)').matches) {
|
11 |
+
jQuery(".tenweb_header_right").after(jQuery(".tenweb_header_right .header_text"));
|
12 |
+
} else{
|
13 |
+
jQuery(".tenweb_header_right .button").before(jQuery(".tenweb_overview .inline-block.header_text"));
|
14 |
+
}
|
15 |
+
}
|
16 |
+
}
|
|
|
|
|
|
wd/assets/js/subsribe.js
CHANGED
@@ -12,13 +12,14 @@
|
|
12 |
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
jQuery(document).on("ready", function () {
|
14 |
jQuery(".permissions").on("click", function(){
|
15 |
-
jQuery(
|
|
|
16 |
return false;
|
17 |
});
|
18 |
|
19 |
jQuery(".allow_and_continue").on("click", function(){
|
20 |
jQuery(this).css("opacity", "0.5");
|
21 |
-
jQuery(".wd_loader").css("
|
22 |
});
|
23 |
});
|
24 |
|
12 |
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
jQuery(document).on("ready", function () {
|
14 |
jQuery(".permissions").on("click", function(){
|
15 |
+
jQuery(this).toggleClass("active") ;
|
16 |
+
jQuery(".list").slideToggle("fast");
|
17 |
return false;
|
18 |
});
|
19 |
|
20 |
jQuery(".allow_and_continue").on("click", function(){
|
21 |
jQuery(this).css("opacity", "0.5");
|
22 |
+
jQuery(".wd_loader").css("display", "inline-block");
|
23 |
});
|
24 |
});
|
25 |
|
wd/config.php
CHANGED
@@ -3,19 +3,18 @@
|
|
3 |
exit;
|
4 |
}
|
5 |
|
6 |
-
class
|
7 |
public static $instance;
|
8 |
|
9 |
public $prefix = null;
|
10 |
-
public $
|
11 |
-
public $
|
|
|
12 |
public $plugin_wordpress_slug = null;
|
13 |
public $plugin_dir = null;
|
14 |
public $plugin_main_file = null;
|
15 |
public $description = null;
|
16 |
public $plugin_features = null;
|
17 |
-
public $user_guide = null;
|
18 |
-
public $overview_welcome_image = null;
|
19 |
public $video_youtube_id = null;
|
20 |
public $plugin_wd_url = null;
|
21 |
public $plugin_wd_demo_link = null;
|
@@ -36,13 +35,17 @@
|
|
36 |
public $custom_post = null;
|
37 |
public $menu_capability = null;
|
38 |
public $menu_position = null;
|
39 |
-
public $
|
|
|
40 |
|
41 |
public function set_options( $options ){
|
42 |
|
43 |
if(isset( $options["prefix"] )) {
|
44 |
$this->prefix = $options["prefix"];
|
45 |
}
|
|
|
|
|
|
|
46 |
if(isset( $options["wd_plugin_id"] )) {
|
47 |
$this->wd_plugin_id = $options["wd_plugin_id"];
|
48 |
}
|
@@ -65,23 +68,20 @@
|
|
65 |
if(isset( $options["plugin_features"] )) {
|
66 |
$this->plugin_features = $options["plugin_features"];
|
67 |
}
|
68 |
-
if(isset( $options["user_guide"] )) {
|
69 |
-
$this->user_guide = $options["user_guide"];
|
70 |
-
}
|
71 |
if(isset( $options["video_youtube_id"] )) {
|
72 |
$this->video_youtube_id = $options["video_youtube_id"];
|
73 |
}
|
74 |
-
if(isset( $options["overview_welcome_image"] )) {
|
75 |
-
$this->overview_welcome_image = $options["overview_welcome_image"];
|
76 |
-
}
|
77 |
if(isset( $options["plugin_wd_url"] )) {
|
78 |
$this->plugin_wd_url = $options["plugin_wd_url"];
|
79 |
}
|
80 |
if(isset( $options["plugin_wd_demo_link"] )) {
|
81 |
$this->plugin_wd_demo_link = $options["plugin_wd_demo_link"];
|
82 |
-
}
|
|
|
|
|
|
|
83 |
if(isset( $options["plugin_wd_addons_link"] )) {
|
84 |
-
$this->
|
85 |
}
|
86 |
if(isset( $options["plugin_wizard_link"] )) {
|
87 |
$this->plugin_wizard_link = $options["plugin_wizard_link"];
|
@@ -110,10 +110,12 @@
|
|
110 |
if(isset( $options["menu_position"] )) {
|
111 |
$this->menu_position = $options["menu_position"];
|
112 |
}
|
113 |
-
if(isset( $options["
|
114 |
-
$this->
|
|
|
|
|
|
|
115 |
}
|
116 |
-
|
117 |
// directories
|
118 |
$this->wd_dir = dirname( $this->plugin_main_file ) . '/wd';
|
119 |
$this->wd_dir_includes = $this->wd_dir . '/includes';
|
3 |
exit;
|
4 |
}
|
5 |
|
6 |
+
class TenWebConfig {
|
7 |
public static $instance;
|
8 |
|
9 |
public $prefix = null;
|
10 |
+
public $plugin_id = null;
|
11 |
+
public $wd_plugin_id = null;
|
12 |
+
public $plugin_title = null;
|
13 |
public $plugin_wordpress_slug = null;
|
14 |
public $plugin_dir = null;
|
15 |
public $plugin_main_file = null;
|
16 |
public $description = null;
|
17 |
public $plugin_features = null;
|
|
|
|
|
18 |
public $video_youtube_id = null;
|
19 |
public $plugin_wd_url = null;
|
20 |
public $plugin_wd_demo_link = null;
|
35 |
public $custom_post = null;
|
36 |
public $menu_capability = null;
|
37 |
public $menu_position = null;
|
38 |
+
public $overview_welcome_image = null;
|
39 |
+
public $display_overview = true;
|
40 |
|
41 |
public function set_options( $options ){
|
42 |
|
43 |
if(isset( $options["prefix"] )) {
|
44 |
$this->prefix = $options["prefix"];
|
45 |
}
|
46 |
+
if(isset( $options["plugin_id"] )) {
|
47 |
+
$this->plugin_id = $options["plugin_id"];
|
48 |
+
}
|
49 |
if(isset( $options["wd_plugin_id"] )) {
|
50 |
$this->wd_plugin_id = $options["wd_plugin_id"];
|
51 |
}
|
68 |
if(isset( $options["plugin_features"] )) {
|
69 |
$this->plugin_features = $options["plugin_features"];
|
70 |
}
|
|
|
|
|
|
|
71 |
if(isset( $options["video_youtube_id"] )) {
|
72 |
$this->video_youtube_id = $options["video_youtube_id"];
|
73 |
}
|
|
|
|
|
|
|
74 |
if(isset( $options["plugin_wd_url"] )) {
|
75 |
$this->plugin_wd_url = $options["plugin_wd_url"];
|
76 |
}
|
77 |
if(isset( $options["plugin_wd_demo_link"] )) {
|
78 |
$this->plugin_wd_demo_link = $options["plugin_wd_demo_link"];
|
79 |
+
}
|
80 |
+
if(isset( $options["plugin_wd_docs_link"] )) {
|
81 |
+
$this->plugin_wd_demo_link = $options["plugin_wd_demo_link"];
|
82 |
+
}
|
83 |
if(isset( $options["plugin_wd_addons_link"] )) {
|
84 |
+
$this->plugin_wd_docs_link = $options["plugin_wd_docs_link"];
|
85 |
}
|
86 |
if(isset( $options["plugin_wizard_link"] )) {
|
87 |
$this->plugin_wizard_link = $options["plugin_wizard_link"];
|
110 |
if(isset( $options["menu_position"] )) {
|
111 |
$this->menu_position = $options["menu_position"];
|
112 |
}
|
113 |
+
if(isset( $options["overview_welcome_image"] )) {
|
114 |
+
$this->overview_welcome_image = $options["overview_welcome_image"];
|
115 |
+
}
|
116 |
+
if(isset( $options["display_overview"] )) {
|
117 |
+
$this->display_overview = $options["display_overview"];
|
118 |
}
|
|
|
119 |
// directories
|
120 |
$this->wd_dir = dirname( $this->plugin_main_file ) . '/wd';
|
121 |
$this->wd_dir_includes = $this->wd_dir . '/includes';
|
wd/includes/api.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
exit;
|
4 |
}
|
5 |
|
6 |
-
class
|
7 |
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
// Events //
|
9 |
////////////////////////////////////////////////////////////////////////////////////////
|
@@ -31,7 +31,7 @@
|
|
31 |
|
32 |
|
33 |
public function get_remote_data( $id ) {
|
34 |
-
$remote_data_path =
|
35 |
$request = wp_remote_get( ( str_replace( '_id_', $id, $remote_data_path ) ) );
|
36 |
|
37 |
if ( !is_wp_error($request) || wp_remote_retrieve_response_code($request) === 200 ) {
|
3 |
exit;
|
4 |
}
|
5 |
|
6 |
+
class TenWebApi{
|
7 |
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
// Events //
|
9 |
////////////////////////////////////////////////////////////////////////////////////////
|
31 |
|
32 |
|
33 |
public function get_remote_data( $id ) {
|
34 |
+
$remote_data_path = TEN_WEB_API_PLUGIN_DATA_PATH . '/' . $this->userhash;
|
35 |
$request = wp_remote_get( ( str_replace( '_id_', $id, $remote_data_path ) ) );
|
36 |
|
37 |
if ( !is_wp_error($request) || wp_remote_retrieve_response_code($request) === 200 ) {
|
wd/includes/deactivate.php
CHANGED
@@ -1,179 +1,181 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
3 => array(
|
42 |
-
'id' => self::REASON_PRO_EXPENSIVE,
|
43 |
-
'text' => __( 'Premium is expensive', $wd_options->prefix ),
|
44 |
-
),
|
45 |
-
4 => array(
|
46 |
-
'id' => self::REASON_UPGRADING_TO_PAID_VERSION,
|
47 |
-
'text' => __( 'Upgrading to paid version', $wd_options->prefix ),
|
48 |
-
),
|
49 |
-
5 => array(
|
50 |
-
'id' => self::REASON_TEMPORARY_DEACTIVATION,
|
51 |
-
'text' => __( 'Temporary deactivation', $wd_options->prefix ),
|
52 |
-
),
|
53 |
-
);
|
54 |
-
|
55 |
-
add_action( 'admin_footer', array( $this, 'add_deactivation_feedback_dialog_box' ) );
|
56 |
-
add_action( 'admin_init', array( $this, 'submit_and_deactivate' ) );
|
57 |
-
|
58 |
-
|
59 |
-
add_action( 'admin_enqueue_scripts', array( $this, 'scripts' ) );
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
|
64 |
-
}
|
65 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
66 |
-
// Public Methods //
|
67 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
68 |
-
public function add_deactivation_feedback_dialog_box(){
|
69 |
-
$deactivate_reasons = $this->deactivate_reasons;
|
70 |
-
$wd_options = $this->config;
|
71 |
-
|
72 |
-
?>
|
73 |
-
<script>
|
74 |
-
jQuery(document).ready(function () {
|
75 |
-
wdReady("<?php echo $wd_options->prefix; ?>");
|
76 |
-
});
|
77 |
-
</script>
|
78 |
-
<?php
|
79 |
-
|
80 |
-
$deactivate_url =
|
81 |
-
add_query_arg(
|
82 |
-
array(
|
83 |
-
'action' => 'deactivate',
|
84 |
-
'plugin' => plugin_basename( $wd_options->plugin_main_file ),
|
85 |
-
'_wpnonce' => wp_create_nonce( 'deactivate-plugin_' . plugin_basename( $wd_options->plugin_main_file ) )
|
86 |
-
),
|
87 |
-
admin_url( 'plugins.php' )
|
88 |
-
);
|
89 |
-
|
90 |
-
require ( $wd_options->wd_dir_templates . '/display_deactivation_popup.php' );
|
91 |
-
}
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
public function scripts(){
|
96 |
-
$wd_options = $this->config;
|
97 |
-
wp_enqueue_style( 'wd-deactivate-popup', $wd_options->wd_url_css . '/deactivate_popup.css', array(), get_option($wd_options->prefix . "_version" ) );
|
98 |
-
wp_enqueue_script( 'wd-deactivate-popup', $wd_options->wd_url_js . '/deactivate_popup.js', array(), get_option($wd_options->prefix . "_version" ));
|
99 |
-
|
100 |
-
$admin_data = wp_get_current_user();
|
101 |
-
wp_localize_script( 'wd-deactivate-popup', $wd_options->prefix . 'WDDeactivateVars' , array(
|
102 |
-
"prefix" => $wd_options->prefix ,
|
103 |
-
"deactivate_class" => $wd_options->prefix . '_deactivate_link',
|
104 |
-
"email" => $admin_data->data->user_email,
|
105 |
-
"plugin_wd_url" => $wd_options->plugin_wd_url,
|
106 |
-
));
|
107 |
-
|
108 |
-
|
109 |
-
}
|
110 |
-
public function submit_and_deactivate(){
|
111 |
-
$wd_options = $this->config;
|
112 |
-
if( isset( $_POST[$wd_options->prefix . "_submit_and_deactivate"] ) ){
|
113 |
-
|
114 |
-
if( $_POST[$wd_options->prefix . "_submit_and_deactivate"] == 2 || $_POST[$wd_options->prefix . "_submit_and_deactivate"] == 3 ){
|
115 |
-
$api = new DoradoWebApi( $wd_options );
|
116 |
-
$hash = $api->get_hash();
|
117 |
-
if($hash != null){
|
118 |
-
$data = array();
|
119 |
-
|
120 |
-
$data["reason"] = isset($_POST[$wd_options->prefix . "_reasons"]) ? $_POST[$wd_options->prefix . "_reasons"] : "";
|
121 |
-
$data["site_url"] = site_url();
|
122 |
-
$data["plugin_id"] = $wd_options->wd_plugin_id;
|
123 |
-
|
124 |
-
$data["additional_details"] = isset($_POST[$wd_options->prefix . "_additional_details"]) ? $_POST[$wd_options->prefix . "_additional_details"] : "";
|
125 |
-
$admin_data = wp_get_current_user();
|
126 |
-
$data["email"] = isset($_POST[$wd_options->prefix . "_email"]) ? $_POST[$wd_options->prefix . "_email"] : $admin_data->data->user_email;
|
127 |
-
$user_first_name = get_user_meta( $admin_data->ID, "first_name", true );
|
128 |
-
$user_last_name = get_user_meta( $admin_data->ID, "last_name", true );
|
129 |
-
|
130 |
-
$data["name"] = $user_first_name || $user_last_name ? $user_first_name . " " . $user_last_name : $admin_data->data->user_login;
|
131 |
-
$data["hash"] = $hash;
|
132 |
-
$response = wp_remote_post( "https://api.web-dorado.com/deactivatereasons", array(
|
133 |
-
'method' => 'POST',
|
134 |
-
'timeout' => 45,
|
135 |
-
'redirection' => 5,
|
136 |
-
'httpversion' => '1.0',
|
137 |
-
'blocking' => true,
|
138 |
-
'headers' => array(),
|
139 |
-
'body' => json_encode($data),
|
140 |
-
'cookies' => array()
|
141 |
-
)
|
142 |
-
);
|
143 |
-
|
144 |
-
$response_body = (!is_wp_error($response) && isset( $response["body"] )) ? json_decode( $response["body"], true ) : null;
|
145 |
-
if( is_array( $response_body ) && $response_body["body"]["msg"] == "Access" ) {
|
146 |
-
|
147 |
-
}
|
148 |
-
}
|
149 |
-
}
|
150 |
-
if($_POST[$wd_options->prefix . "_submit_and_deactivate"] == 2 || $_POST[$wd_options->prefix . "_submit_and_deactivate"] == 1 ){
|
151 |
-
$deactivate_url =
|
152 |
-
add_query_arg(
|
153 |
-
array(
|
154 |
-
'action' => 'deactivate',
|
155 |
-
'plugin' => plugin_basename( $wd_options->plugin_main_file ),
|
156 |
-
'_wpnonce' => wp_create_nonce( 'deactivate-plugin_' . plugin_basename( $wd_options->plugin_main_file ) )
|
157 |
-
),
|
158 |
-
admin_url( 'plugins.php' )
|
159 |
-
);
|
160 |
-
echo '<script>window.location.href="' . $deactivate_url . '";</script>';
|
161 |
-
}
|
162 |
-
|
163 |
-
}
|
164 |
-
}
|
165 |
-
|
166 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
167 |
-
// Getters & Setters //
|
168 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
169 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
170 |
-
// Private Methods //
|
171 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
172 |
-
|
173 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
174 |
-
// Listeners //
|
175 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
176 |
|
177 |
}
|
178 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
|
1 |
<?php
|
2 |
+
if (!defined('ABSPATH')) {
|
3 |
+
exit;
|
4 |
+
}
|
5 |
+
|
6 |
+
class TenWebDeactivate
|
7 |
+
{
|
8 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
9 |
+
// Events //
|
10 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
12 |
+
// Constants //
|
13 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
15 |
+
// Variables //
|
16 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
17 |
+
public $deactivate_reasons = array();
|
18 |
+
public $config;
|
19 |
+
// Reason IDs
|
20 |
+
const REASON_PLUGIN_IS_HARD_TO_USE_TECHNICAL_PROBLEMS = "reason_plugin_is_hard_to_use_technical_problems";
|
21 |
+
const REASON_FREE_VERSION_IS_LIMITED = "reason_free_version_limited";
|
22 |
+
const REASON_PRO_EXPENSIVE = "reason_premium_expensive";
|
23 |
+
const REASON_UPGRADING_TO_PAID_VERSION = "reason_upgrading_to_paid_version";
|
24 |
+
const REASON_TEMPORARY_DEACTIVATION = "reason_temporary_deactivation";
|
25 |
+
|
26 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
27 |
+
// Constructor & Destructor //
|
28 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
29 |
+
public function __construct($config = array())
|
30 |
+
{
|
31 |
+
$this->config = $config;
|
32 |
+
$wd_options = $this->config;
|
33 |
+
|
34 |
+
$this->deactivate_reasons = array(
|
35 |
+
1 => array(
|
36 |
+
'id' => self::REASON_PLUGIN_IS_HARD_TO_USE_TECHNICAL_PROBLEMS,
|
37 |
+
'text' => __('Technical problems / hard to use', $wd_options->prefix),
|
38 |
+
),
|
39 |
+
2 => array(
|
40 |
+
'id' => self::REASON_FREE_VERSION_IS_LIMITED,
|
41 |
+
'text' => __('Free version is limited', $wd_options->prefix),
|
42 |
+
),
|
43 |
+
3 => array(
|
44 |
+
'id' => self::REASON_PRO_EXPENSIVE,
|
45 |
+
'text' => __('Premium is expensive', $wd_options->prefix),
|
46 |
+
),
|
47 |
+
4 => array(
|
48 |
+
'id' => self::REASON_UPGRADING_TO_PAID_VERSION,
|
49 |
+
'text' => __('Upgrading to paid version', $wd_options->prefix),
|
50 |
+
),
|
51 |
+
5 => array(
|
52 |
+
'id' => self::REASON_TEMPORARY_DEACTIVATION,
|
53 |
+
'text' => __('Temporary deactivation', $wd_options->prefix),
|
54 |
+
),
|
55 |
+
);
|
56 |
+
|
57 |
+
add_action('admin_footer', array($this, 'add_deactivation_feedback_dialog_box'));
|
58 |
+
add_action('admin_init', array($this, 'submit_and_deactivate'));
|
59 |
+
|
60 |
+
|
61 |
+
add_action('admin_enqueue_scripts', array($this, 'scripts'));
|
62 |
+
|
63 |
+
|
64 |
}
|
65 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
66 |
+
// Public Methods //
|
67 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
68 |
+
public function add_deactivation_feedback_dialog_box()
|
69 |
+
{
|
70 |
+
$deactivate_reasons = $this->deactivate_reasons;
|
71 |
+
$wd_options = $this->config;
|
72 |
|
73 |
+
?>
|
74 |
+
<script>
|
75 |
+
jQuery(document).ready(function () {
|
76 |
+
wdReady("<?php echo $wd_options->prefix; ?>");
|
77 |
+
});
|
78 |
+
</script>
|
79 |
+
<?php
|
80 |
+
|
81 |
+
$deactivate_url =
|
82 |
+
add_query_arg(
|
83 |
+
array(
|
84 |
+
'action' => 'deactivate',
|
85 |
+
'plugin' => plugin_basename($wd_options->plugin_main_file),
|
86 |
+
'_wpnonce' => wp_create_nonce('deactivate-plugin_' . plugin_basename($wd_options->plugin_main_file))
|
87 |
+
),
|
88 |
+
admin_url('plugins.php')
|
89 |
+
);
|
90 |
+
|
91 |
+
require($wd_options->wd_dir_templates . '/display_deactivation_popup.php');
|
92 |
+
}
|
93 |
+
|
94 |
+
|
95 |
+
public function scripts()
|
96 |
+
{
|
97 |
+
$wd_options = $this->config;
|
98 |
+
wp_enqueue_style('wd-deactivate-popup', $wd_options->wd_url_css . '/deactivate_popup.css', array(), get_option($wd_options->prefix . "_version"));
|
99 |
+
wp_enqueue_script('wd-deactivate-popup', $wd_options->wd_url_js . '/deactivate_popup.js', array(), get_option($wd_options->prefix . "_version"));
|
100 |
+
|
101 |
+
$admin_data = wp_get_current_user();
|
102 |
+
wp_localize_script('wd-deactivate-popup', $wd_options->prefix . 'WDDeactivateVars', array(
|
103 |
+
"prefix" => $wd_options->prefix,
|
104 |
+
"deactivate_class" => $wd_options->prefix . '_deactivate_link',
|
105 |
+
"email" => $admin_data->data->user_email,
|
106 |
+
"plugin_wd_url" => $wd_options->plugin_wd_url,
|
107 |
+
));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
|
110 |
}
|
111 |
|
112 |
+
public function submit_and_deactivate()
|
113 |
+
{
|
114 |
+
$wd_options = $this->config;
|
115 |
+
if (isset($_POST[$wd_options->prefix . "_submit_and_deactivate"])) {
|
116 |
+
|
117 |
+
if ($_POST[$wd_options->prefix . "_submit_and_deactivate"] == 2 || $_POST[$wd_options->prefix . "_submit_and_deactivate"] == 3) {
|
118 |
+
//$api = new TenWebApi( $wd_options );
|
119 |
+
|
120 |
+
$data = array();
|
121 |
+
|
122 |
+
$data["reason"] = isset($_POST[$wd_options->prefix . "_reasons"]) ? $_POST[$wd_options->prefix . "_reasons"] : "";
|
123 |
+
$data["site_url"] = site_url();
|
124 |
+
$data["product_id"] = $wd_options->plugin_id;
|
125 |
+
|
126 |
+
$data["additional_details"] = isset($_POST[$wd_options->prefix . "_additional_details"]) ? $_POST[$wd_options->prefix . "_additional_details"] : "";
|
127 |
+
$admin_data = wp_get_current_user();
|
128 |
+
$data["email"] = isset($_POST[$wd_options->prefix . "_email"]) ? $_POST[$wd_options->prefix . "_email"] : $admin_data->data->user_email;
|
129 |
+
$user_first_name = get_user_meta($admin_data->ID, "first_name", true);
|
130 |
+
$user_last_name = get_user_meta($admin_data->ID, "last_name", true);
|
131 |
+
|
132 |
+
$data["name"] = $user_first_name || $user_last_name ? $user_first_name . " " . $user_last_name : $admin_data->data->user_login;
|
133 |
+
|
134 |
+
$response = wp_remote_post(TEN_WEB_DEACTIVATION_URL, array(
|
135 |
+
'method' => 'POST',
|
136 |
+
'timeout' => 45,
|
137 |
+
'redirection' => 5,
|
138 |
+
'httpversion' => '1.0',
|
139 |
+
'blocking' => true,
|
140 |
+
'headers' => array("Accept" => "application/x.10webcore.v1+json"),
|
141 |
+
'body' => $data,
|
142 |
+
'cookies' => array()
|
143 |
+
)
|
144 |
+
);
|
145 |
+
|
146 |
+
$response_body = (!is_wp_error($response) && isset($response["body"])) ? json_decode($response["body"], true) : null;
|
147 |
+
/*if (is_array($response_body) && $response_body["body"]["msg"] == "Access") {
|
148 |
+
|
149 |
+
}*/
|
150 |
+
|
151 |
+
}
|
152 |
+
if ($_POST[$wd_options->prefix . "_submit_and_deactivate"] == 2 || $_POST[$wd_options->prefix . "_submit_and_deactivate"] == 1) {
|
153 |
+
$deactivate_url =
|
154 |
+
add_query_arg(
|
155 |
+
array(
|
156 |
+
'action' => 'deactivate',
|
157 |
+
'plugin' => plugin_basename($wd_options->plugin_main_file),
|
158 |
+
'_wpnonce' => wp_create_nonce('deactivate-plugin_' . plugin_basename($wd_options->plugin_main_file))
|
159 |
+
),
|
160 |
+
admin_url('plugins.php')
|
161 |
+
);
|
162 |
+
echo '<script>window.location.href="' . $deactivate_url . '";</script>';
|
163 |
+
}
|
164 |
+
|
165 |
+
}
|
166 |
+
}
|
167 |
+
|
168 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
169 |
+
// Getters & Setters //
|
170 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
171 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
172 |
+
// Private Methods //
|
173 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
174 |
+
|
175 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
176 |
+
// Listeners //
|
177 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
178 |
+
|
179 |
+
}
|
180 |
+
|
181 |
|
wd/includes/notices.php
CHANGED
@@ -3,7 +3,7 @@ if ( !defined( 'ABSPATH' ) ) {
|
|
3 |
exit;
|
4 |
}
|
5 |
|
6 |
-
class
|
7 |
|
8 |
protected $promo_link = '';
|
9 |
|
3 |
exit;
|
4 |
}
|
5 |
|
6 |
+
class TenWebNotices {
|
7 |
|
8 |
protected $promo_link = '';
|
9 |
|
wd/includes/overview.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
exit;
|
4 |
}
|
5 |
|
6 |
-
class
|
7 |
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
// Events //
|
9 |
////////////////////////////////////////////////////////////////////////////////////////
|
@@ -14,50 +14,19 @@
|
|
14 |
// Variables //
|
15 |
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
public $config ;
|
17 |
-
private $tabs = array();
|
18 |
|
19 |
////////////////////////////////////////////////////////////////////////////////////////
|
20 |
// Constructor & Destructor //
|
21 |
////////////////////////////////////////////////////////////////////////////////////////
|
22 |
public function __construct( $config = array() ) {
|
23 |
$this->config = $config;
|
24 |
-
$wd_options = $this->config;
|
25 |
-
$this->tabs = array(
|
26 |
-
'welcome' => array(
|
27 |
-
'name' => __( "Welcome", $wd_options->prefix ),
|
28 |
-
'view' => array( $this, 'wd_overview_welcome' )
|
29 |
-
),
|
30 |
-
'user_guide' => array(
|
31 |
-
'name' => __( "User Guide", $wd_options->prefix ),
|
32 |
-
'view' => array( $this, 'wd_overview_user_guide' )
|
33 |
-
),
|
34 |
-
'deals' => array(
|
35 |
-
'name' => __( 'Deals', $wd_options->prefix ),
|
36 |
-
'view' => array( $this, 'wd_overview_deals' )
|
37 |
-
),
|
38 |
-
'support' => array(
|
39 |
-
'name' => __( "Support", $wd_options->prefix ),
|
40 |
-
'view' => array( $this, 'wd_overview_support' )
|
41 |
-
),
|
42 |
-
'https://web-dorado.com/support/submit-your-idea.html' => array(
|
43 |
-
'name' => __( "Submit Your Idea", $wd_options->prefix ),
|
44 |
-
'view' => false
|
45 |
-
),
|
46 |
-
'https://wordpress.org/support/plugin/' . $wd_options->plugin_wordpress_slug => array(
|
47 |
-
'name' => __( "Forum", $wd_options->prefix ),
|
48 |
-
'view' => false
|
49 |
-
)
|
50 |
-
);
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
}
|
55 |
////////////////////////////////////////////////////////////////////////////////////////
|
56 |
// Public Methods //
|
57 |
////////////////////////////////////////////////////////////////////////////////////////
|
58 |
public function display_overview_page(){
|
59 |
$wd_options = $this->config;
|
60 |
-
$tabs = $this->tabs;
|
61 |
$start_using_url = "";
|
62 |
if(!empty($this->config->custom_post)) {
|
63 |
if (strpos($this->config->custom_post, 'post_type', 0) !== false) {
|
@@ -66,209 +35,9 @@
|
|
66 |
$start_using_url = menu_page_url($this->config->custom_post, false);
|
67 |
}
|
68 |
}
|
69 |
-
if(!empty($this->config->start_using_url)){
|
70 |
-
$start_using_url = $this->config->start_using_url;
|
71 |
-
}
|
72 |
require_once( $wd_options->wd_dir_templates . "/display_overview.php" );
|
73 |
}
|
74 |
-
|
75 |
-
$wd_options = $this->config;
|
76 |
-
//http://api.wordpress.org/plugins/info/1.0/wd-google-maps
|
77 |
-
require_once( $wd_options->wd_dir_templates . "/display_overview_welcome.php" );
|
78 |
-
}
|
79 |
-
public function wd_overview_user_guide(){
|
80 |
-
$wd_options = $this->config;
|
81 |
-
$user_guide = $wd_options->user_guide;
|
82 |
-
require_once( $wd_options->wd_dir_templates . "/display_overview_user_guide.php" );
|
83 |
-
}
|
84 |
-
public function wd_overview_deals(){
|
85 |
-
|
86 |
-
$wd_options = $this->config;
|
87 |
-
$plugins = array(
|
88 |
-
"form-maker" => array(
|
89 |
-
'title' => 'Form Maker',
|
90 |
-
'text' => __( 'Wordpress form builder plugin', $wd_options->prefix ),
|
91 |
-
'content' => __( 'Form Maker is a modern and advanced tool for creating WordPress forms easily and fast.', $wd_options->prefix ),
|
92 |
-
'href' => 'https://web-dorado.com/products/wordpress-form.html'
|
93 |
-
),
|
94 |
-
"photo-gallery" => array(
|
95 |
-
'title' => 'Photo Gallery',
|
96 |
-
'text' => __( 'WordPress Photo Gallery plugin', $wd_options->prefix ),
|
97 |
-
'content' => __( 'Photo Gallery is a fully responsive WordPress Gallery plugin with advanced functionality.', $wd_options->prefix ),
|
98 |
-
'href' => 'https://web-dorado.com/products/wordpress-photo-gallery-plugin.html'
|
99 |
-
),
|
100 |
-
"event-calendar-wd" => array(
|
101 |
-
'title' => 'Event Calendar WD',
|
102 |
-
'text' => __( 'WordPress calendar plugin', $wd_options->prefix ),
|
103 |
-
'content' => __( 'Organize and publish your events in an easy and elegant way using Event Calendar WD.', $wd_options->prefix ),
|
104 |
-
'href' => 'https://web-dorado.com/products/wordpress-event-calendar-wd.html'
|
105 |
-
),
|
106 |
-
"wd-google-maps" => array(
|
107 |
-
'title' => 'WD Google Maps',
|
108 |
-
'text' => __( 'WD Google Maps plugin', $wd_options->prefix ),
|
109 |
-
'content' => __( 'Google Maps WD is an intuitive tool for creating Google maps with advanced markers, custom layers and overlays for your website.', $wd_options->prefix ),
|
110 |
-
'href' => 'https://web-dorado.com/products/wordpress-google-maps-plugin.html'
|
111 |
-
),
|
112 |
-
"slider-wd" => array(
|
113 |
-
'title' => 'Slider WD',
|
114 |
-
'text' => __( 'WordPress slider plugin', $wd_options->prefix ),
|
115 |
-
'content' => __( 'Create responsive, highly configurable sliders with various effects for your WordPress site.', $wd_options->prefix ),
|
116 |
-
'href' => 'https://web-dorado.com/products/wordpress-slider-plugin.html'
|
117 |
-
),
|
118 |
-
"spider-event-calendar" => array(
|
119 |
-
'title' => 'Spider Calendar',
|
120 |
-
'text' => __( 'WordPress event calendar plugin', $wd_options->prefix ),
|
121 |
-
'content' => __( 'Spider Event Calendar is a highly configurable product which allows you to have multiple organized events.', $wd_options->prefix ),
|
122 |
-
'href' => 'https://web-dorado.com/products/wordpress-calendar.html'
|
123 |
-
),
|
124 |
-
"wd-instagram-feed" => array(
|
125 |
-
'title' => 'Instagram Feed WD',
|
126 |
-
'text' => __( 'WordPress Instagram Feed plugin', $wd_options->prefix ),
|
127 |
-
'content' => __( 'WD Instagram Feed is a user-friendly tool for displaying user or hashtag-based feeds on your website.', $wd_options->prefix ),
|
128 |
-
'href' => 'https://web-dorado.com/products/wordpress-instagram-feed-wd.html'
|
129 |
-
),
|
130 |
-
);
|
131 |
-
unset($plugins[$wd_options->plugin_wordpress_slug]) ;
|
132 |
-
|
133 |
-
// foreach ( $plugins as $wp_slug => &$plugin ){
|
134 |
-
// $wp_data = $this->
|
135 |
-
//remote_get($wp_slug);
|
136 |
-
// $plugin["downloaded"] = $wp_data["downloaded"];
|
137 |
-
// $plugin["rating"] = $wp_data["rating"];
|
138 |
-
// }
|
139 |
-
|
140 |
-
$themes = array(
|
141 |
-
"business_elite" => array(
|
142 |
-
'title' => 'Business Elite Theme',
|
143 |
-
'href' => 'https://web-dorado.com/wordpress-themes/business-elite.html'
|
144 |
-
),
|
145 |
-
"portfolio_gallery" => array(
|
146 |
-
'title' => 'Portfolio Gallery Theme',
|
147 |
-
'href' => 'https://web-dorado.com/wordpress-themes/portfolio-gallery.html'
|
148 |
-
),
|
149 |
-
"sauron" => array(
|
150 |
-
'title' => 'Sauron Theme',
|
151 |
-
'href' => 'https://web-dorado.com/wordpress-themes/sauron.html'
|
152 |
-
),
|
153 |
-
"business_world" => array(
|
154 |
-
'title' => 'Business World Theme',
|
155 |
-
'href' => 'https://web-dorado.com/wordpress-themes/business-world.html'
|
156 |
-
),
|
157 |
-
);
|
158 |
-
|
159 |
-
require_once( $wd_options->wd_dir_templates . "/display_overview_deals.php" );
|
160 |
-
}
|
161 |
-
public function wd_overview_support(){
|
162 |
-
$wd_options = $this->config;
|
163 |
-
global $wpdb;
|
164 |
-
$server_info = array();
|
165 |
-
|
166 |
-
// Get PHP Version
|
167 |
-
$server_info["Operating System"] = PHP_OS . " (" . ( PHP_INT_SIZE * 8 ) . ")";
|
168 |
-
$server_info["PHP Version"] = PHP_VERSION;
|
169 |
-
$server_info["Server"] = $_SERVER["SERVER_SOFTWARE"];
|
170 |
-
|
171 |
-
// Get MYSQL Version
|
172 |
-
$sql_version = $wpdb->get_var( "SELECT VERSION() AS version" );
|
173 |
-
$server_info["MySQL Version"] = $sql_version;
|
174 |
-
|
175 |
-
// GET SQL Mode
|
176 |
-
$mysqlinfo = $wpdb->get_results( "SHOW VARIABLES LIKE 'sql_mode'" );
|
177 |
-
if ( is_array( $mysqlinfo ) )
|
178 |
-
$sql_mode = $mysqlinfo[0]->Value;
|
179 |
-
if ( empty( $sql_mode ) )
|
180 |
-
$sql_mode = __( 'Not set', $wd_options->prefix );
|
181 |
-
$server_info["SQL Mode"] = $sql_mode;
|
182 |
-
|
183 |
-
// Get PHP allow_url_fopen
|
184 |
-
if( ini_get( 'allow_url_fopen' ) )
|
185 |
-
$allow_url_fopen = __( 'On', $wd_options->prefix );
|
186 |
-
else
|
187 |
-
$allow_url_fopen = __( 'Off', $wd_options->prefix );
|
188 |
-
$server_info["PHP Allow URL fopen"] = $allow_url_fopen;
|
189 |
-
|
190 |
-
// Get PHP Max Upload Size
|
191 |
-
if (function_exists('wp_max_upload_size'))
|
192 |
-
$upload_max = strval(round((int) wp_max_upload_size() / (1024 * 1024))) . 'M';
|
193 |
-
else if(ini_get('upload_max_filesize'))
|
194 |
-
$upload_max = ini_get('upload_max_filesize');
|
195 |
-
else
|
196 |
-
$upload_max = __('N/A', $wd_options->prefix);
|
197 |
-
|
198 |
-
$server_info["PHP Max Upload Size"] = $upload_max;
|
199 |
-
|
200 |
-
// Get PHP Output buffer Size
|
201 |
-
if( ini_get( 'pcre.backtrack_limit' ) )
|
202 |
-
$backtrack_limit = ini_get( 'pcre.backtrack_limit' );
|
203 |
-
else
|
204 |
-
$backtrack_limit = __( 'N/A', $wd_options->prefix );
|
205 |
-
$server_info["PCRE Backtracking Limit"] = $backtrack_limit;
|
206 |
-
|
207 |
-
// Get PHP Max Post Size
|
208 |
-
if( ini_get( 'post_max_size' ) )
|
209 |
-
$post_max = ini_get( 'post_max_size' );
|
210 |
-
else
|
211 |
-
$post_max = __( 'N/A', $wd_options->prefix );
|
212 |
-
$server_info["PHP Max Post Size"] = $post_max;
|
213 |
-
|
214 |
-
// Get PHP Max execution time
|
215 |
-
if( ini_get( 'max_execution_time' ) )
|
216 |
-
$max_execute = ini_get( 'max_execution_time' );
|
217 |
-
else
|
218 |
-
$max_execute = __( 'N/A', $wd_options->prefix );
|
219 |
-
$server_info["PHP Max Script Execute Time"] = $max_execute;
|
220 |
-
|
221 |
-
|
222 |
-
// Get PHP Memory Limit
|
223 |
-
if( ini_get( 'memory_limit' ) )
|
224 |
-
$memory_limit = ini_get( 'memory_limit' );
|
225 |
-
else
|
226 |
-
$memory_limit = __( 'N/A', $wd_options->prefix );
|
227 |
-
$server_info["PHP Memory Limit"] = $memory_limit;
|
228 |
-
|
229 |
-
// Get actual memory_get_usage
|
230 |
-
if ( function_exists( 'memory_get_usage' ) )
|
231 |
-
$memory_usage = round( memory_get_usage() / 1024 / 1024, 2 ) . __( ' MByte', $wd_options->prefix );
|
232 |
-
else
|
233 |
-
$memory_usage = __( 'N/A', $wd_options->prefix );
|
234 |
-
$server_info["Memory usage"] = $memory_usage;
|
235 |
-
|
236 |
-
// required for EXIF read
|
237 |
-
if ( is_callable( 'exif_read_data' ) )
|
238 |
-
$exif = __( 'Yes', $wd_options->prefix ). " (V" . substr( phpversion( 'exif' ), 0, 4 ) . ")" ;
|
239 |
-
else
|
240 |
-
$exif = __( 'No', $wd_options->prefix );
|
241 |
-
$server_info["PHP Exif support"] = $exif;
|
242 |
-
|
243 |
-
// required for meta data
|
244 |
-
if ( is_callable( 'iptcparse' ) )
|
245 |
-
$iptc = __( 'Yes', $wd_options->prefix );
|
246 |
-
else
|
247 |
-
$iptc = __( 'No', $wd_options->prefix );
|
248 |
-
$server_info["PHP IPTC support"] = $iptc;
|
249 |
-
|
250 |
-
// required for meta data
|
251 |
-
if ( is_callable( 'xml_parser_create' ) )
|
252 |
-
$xml = __( 'Yes', $wd_options->prefix );
|
253 |
-
else
|
254 |
-
$xml = __( 'No', $wd_options->prefix );
|
255 |
-
$server_info["PHP XML support"] = $xml;
|
256 |
-
|
257 |
-
$gd_info = array( "GD support" => __( 'No', $wd_options->prefix ) );
|
258 |
-
if( function_exists( "gd_info" ) ){
|
259 |
-
$gd_info = array();
|
260 |
-
foreach( gd_info() as $key => $val ){
|
261 |
-
if( is_bool($val) ){
|
262 |
-
$gd_info[$key] = $val ? __( 'Yes', $wd_options->prefix ) : __( 'No', $wd_options->prefix );
|
263 |
-
}
|
264 |
-
else{
|
265 |
-
$gd_info[$key] = $val;
|
266 |
-
}
|
267 |
-
}
|
268 |
-
}
|
269 |
-
|
270 |
-
require_once( $wd_options->wd_dir_templates . "/display_overview_support.php" );
|
271 |
-
}
|
272 |
|
273 |
public function overview_styles() {
|
274 |
$wd_options = $this->config;
|
3 |
exit;
|
4 |
}
|
5 |
|
6 |
+
class TenWebOverview{
|
7 |
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
// Events //
|
9 |
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
// Variables //
|
15 |
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
public $config ;
|
|
|
17 |
|
18 |
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
// Constructor & Destructor //
|
20 |
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
public function __construct( $config = array() ) {
|
22 |
$this->config = $config;
|
23 |
+
$wd_options = $this->config;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
}
|
25 |
////////////////////////////////////////////////////////////////////////////////////////
|
26 |
// Public Methods //
|
27 |
////////////////////////////////////////////////////////////////////////////////////////
|
28 |
public function display_overview_page(){
|
29 |
$wd_options = $this->config;
|
|
|
30 |
$start_using_url = "";
|
31 |
if(!empty($this->config->custom_post)) {
|
32 |
if (strpos($this->config->custom_post, 'post_type', 0) !== false) {
|
35 |
$start_using_url = menu_page_url($this->config->custom_post, false);
|
36 |
}
|
37 |
}
|
|
|
|
|
|
|
38 |
require_once( $wd_options->wd_dir_templates . "/display_overview.php" );
|
39 |
}
|
40 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
|
42 |
public function overview_styles() {
|
43 |
$wd_options = $this->config;
|
wd/includes/subscribe.php
CHANGED
@@ -1,138 +1,124 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
}
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
}
|
33 |
-
|
34 |
-
$wd_options = $this->config;
|
35 |
-
wp_enqueue_style( $wd_options->prefix . 'subscribe', $wd_options->wd_url_css . '/subscribe.css' );
|
36 |
-
|
37 |
-
}
|
38 |
-
|
39 |
-
public function subscribe_display_page() {
|
40 |
-
$wd_options = $this->config;
|
41 |
-
$list = array(
|
42 |
-
0 => array(
|
43 |
-
"title" => __( "Your name &", $wd_options->prefix ),
|
44 |
-
"small_text" => __( "Email address", $wd_options->prefix ),
|
45 |
-
"img" => $wd_options->wd_url_img . '/sub_1.png',
|
46 |
-
),
|
47 |
-
1 => array(
|
48 |
-
"title" => __( "Site URL", $wd_options->prefix ),
|
49 |
-
"small_text" => __( "Wordpress version", $wd_options->prefix ),
|
50 |
-
"img" => $wd_options->wd_url_img . '/sub_2.png',
|
51 |
-
),
|
52 |
-
2 => array(
|
53 |
-
"title" => __( "List of plugins", $wd_options->prefix ),
|
54 |
-
"small_text" => "",
|
55 |
-
"img" => $wd_options->wd_url_img . '/sub_4.png',
|
56 |
-
),
|
57 |
-
);
|
58 |
-
|
59 |
-
require_once ( $wd_options->wd_dir_templates . "/display_subscribe.php" );
|
60 |
-
}
|
61 |
-
public function after_subscribe(){
|
62 |
-
$wd_options = $this->config;
|
63 |
-
if( isset( $_GET[ $wd_options->prefix . "_sub_action"] ) ){
|
64 |
-
|
65 |
-
if( $_GET[$wd_options->prefix . "_sub_action"] == "allow" ){
|
66 |
-
$api = new DoradoWebApi($wd_options);
|
67 |
-
$hash = $api->get_hash();
|
68 |
-
|
69 |
-
if( $hash != null ){
|
70 |
-
$all_plugins = array();
|
71 |
-
$plugins = get_plugins();
|
72 |
-
foreach ( $plugins as $slug => $data ) {
|
73 |
-
$plugin = array(
|
74 |
-
"Name" => $data["Name"],
|
75 |
-
"PluginURI" => $data["PluginURI"],
|
76 |
-
"Author" => $data["Author"],
|
77 |
-
"AuthorURI" => $data["AuthorURI"]
|
78 |
-
);
|
79 |
-
$all_plugins[$slug] = $plugin;
|
80 |
-
}
|
81 |
-
|
82 |
-
$data = array();
|
83 |
-
$data["site_url"] = site_url();
|
84 |
-
|
85 |
-
$admin_data = wp_get_current_user();
|
86 |
-
|
87 |
-
$user_first_name = get_user_meta( $admin_data->ID, "first_name", true );
|
88 |
-
$user_last_name = get_user_meta( $admin_data->ID, "last_name", true );
|
89 |
-
|
90 |
-
$data["name"] = $user_first_name || $user_last_name ? $user_first_name . " " . $user_last_name : $admin_data->data->user_login;
|
91 |
-
|
92 |
-
$data["email"] = $admin_data->data->user_email;
|
93 |
-
$data["wp_version"] = get_bloginfo( 'version' );
|
94 |
-
$data["plugin_id"] = $wd_options->wd_plugin_id;
|
95 |
-
$data["hash"] = $hash;
|
96 |
-
$data["all_plugins"] = $all_plugins;
|
97 |
-
|
98 |
-
|
99 |
-
$response = wp_remote_post( "https://api.web-dorado.com/collectuserdata", array(
|
100 |
-
'method' => 'POST',
|
101 |
-
'timeout' => 45,
|
102 |
-
'redirection' => 5,
|
103 |
-
'httpversion' => '1.0',
|
104 |
-
'blocking' => true,
|
105 |
-
'headers' => array(),
|
106 |
-
'body' => json_encode($data),
|
107 |
-
'cookies' => array()
|
108 |
-
)
|
109 |
-
);
|
110 |
-
|
111 |
-
$response_body = (!is_wp_error($response) && isset( $response["body"] )) ? json_decode( $response["body"], true ) : null;
|
112 |
-
|
113 |
-
if( is_array( $response_body ) && $response_body["body"]["msg"] == "Access" ) {
|
114 |
-
|
115 |
-
}
|
116 |
-
}
|
117 |
-
}
|
118 |
-
if ( get_option( $wd_options->prefix . "_subscribe_done" ) != 1 ) {
|
119 |
-
update_option( $wd_options->prefix . "_subscribe_done", 1 );
|
120 |
-
}
|
121 |
-
else {
|
122 |
-
add_option( $wd_options->prefix . "_subscribe_done" , "1", '', 'no');
|
123 |
-
}
|
124 |
-
|
125 |
-
wp_safe_redirect( $wd_options->after_subscribe );
|
126 |
-
}
|
127 |
-
|
128 |
-
}
|
129 |
-
// //////////////////////////////////////////////////////////////////////////////////////
|
130 |
-
// Getters & Setters //
|
131 |
-
// //////////////////////////////////////////////////////////////////////////////////////
|
132 |
-
// //////////////////////////////////////////////////////////////////////////////////////
|
133 |
-
// Private Methods //
|
134 |
-
// //////////////////////////////////////////////////////////////////////////////////////
|
135 |
-
// //////////////////////////////////////////////////////////////////////////////////////
|
136 |
-
// Listeners //
|
137 |
-
// //////////////////////////////////////////////////////////////////////////////////////
|
138 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<?php
|
2 |
+
if (!defined('ABSPATH')) {
|
3 |
+
exit;
|
4 |
+
}
|
5 |
+
|
6 |
+
class TenWebSubscribe
|
7 |
+
{
|
8 |
+
// //////////////////////////////////////////////////////////////////////////////////////
|
9 |
+
// Events //
|
10 |
+
// //////////////////////////////////////////////////////////////////////////////////////
|
11 |
+
// //////////////////////////////////////////////////////////////////////////////////////
|
12 |
+
// Constants //
|
13 |
+
// //////////////////////////////////////////////////////////////////////////////////////
|
14 |
+
// //////////////////////////////////////////////////////////////////////////////////////
|
15 |
+
// Variables //
|
16 |
+
// //////////////////////////////////////////////////////////////////////////////////////
|
17 |
+
public $config;
|
18 |
+
// //////////////////////////////////////////////////////////////////////////////////////
|
19 |
+
// Constructor & Destructor //
|
20 |
+
// //////////////////////////////////////////////////////////////////////////////////////
|
21 |
+
public function __construct($config = array())
|
22 |
+
{
|
23 |
+
$this->config = $config;
|
24 |
+
add_action('admin_init', array($this, 'after_subscribe'));
|
25 |
+
}
|
26 |
+
// //////////////////////////////////////////////////////////////////////////////////////
|
27 |
+
// Public Methods //
|
28 |
+
// //////////////////////////////////////////////////////////////////////////////////////
|
29 |
+
|
30 |
+
public function subscribe_scripts()
|
31 |
+
{
|
32 |
+
$wd_options = $this->config;
|
33 |
+
wp_register_script('subscribe_js', $wd_options->wd_url_js . '/subsribe.js');
|
34 |
+
wp_enqueue_script('subscribe_js');
|
35 |
+
|
36 |
+
}
|
37 |
+
|
38 |
+
public function subscribe_styles()
|
39 |
+
{
|
40 |
+
$wd_options = $this->config;
|
41 |
+
wp_enqueue_style($wd_options->prefix . 'subscribe', $wd_options->wd_url_css . '/subscribe.css');
|
42 |
+
|
43 |
+
}
|
44 |
+
|
45 |
+
public function subscribe_display_page()
|
46 |
+
{
|
47 |
+
$wd_options = $this->config;
|
48 |
+
require_once($wd_options->wd_dir_templates . "/display_subscribe.php");
|
49 |
}
|
50 |
+
|
51 |
+
public function after_subscribe()
|
52 |
+
{
|
53 |
+
$wd_options = $this->config;
|
54 |
+
if (isset($_GET[$wd_options->prefix . "_sub_action"])) {
|
55 |
+
|
56 |
+
if ($_GET[$wd_options->prefix . "_sub_action"] == "allow") {
|
57 |
+
//$api = new TenWebApi($wd_options);
|
58 |
+
$all_plugins = array();
|
59 |
+
$plugins = get_plugins();
|
60 |
+
foreach ($plugins as $slug => $data) {
|
61 |
+
$plugin = array(
|
62 |
+
"Name" => $data["Name"],
|
63 |
+
"PluginURI" => $data["PluginURI"],
|
64 |
+
"Author" => $data["Author"],
|
65 |
+
"AuthorURI" => $data["AuthorURI"]
|
66 |
+
);
|
67 |
+
$all_plugins[$slug] = $plugin;
|
68 |
+
}
|
69 |
+
|
70 |
+
$data = array();
|
71 |
+
$data["wp_site_url"] = site_url();
|
72 |
+
|
73 |
+
$admin_data = wp_get_current_user();
|
74 |
+
|
75 |
+
$user_first_name = get_user_meta($admin_data->ID, "first_name", true);
|
76 |
+
$user_last_name = get_user_meta($admin_data->ID, "last_name", true);
|
77 |
+
|
78 |
+
$data["name"] = $user_first_name || $user_last_name ? $user_first_name . " " . $user_last_name : $admin_data->data->user_login;
|
79 |
+
|
80 |
+
$data["email"] = $admin_data->data->user_email;
|
81 |
+
$data["wp_version"] = get_bloginfo('version');
|
82 |
+
$data["product_id"] = $wd_options->plugin_id;
|
83 |
+
$data["all_plugins"] = json_encode($all_plugins);
|
84 |
+
|
85 |
+
|
86 |
+
$response = wp_remote_post(TEN_WEB_SUBSCRIBE_URL, array(
|
87 |
+
'method' => 'POST',
|
88 |
+
'timeout' => 45,
|
89 |
+
'redirection' => 5,
|
90 |
+
'httpversion' => '1.0',
|
91 |
+
'blocking' => true,
|
92 |
+
'headers' => array("Accept" => "application/x.10webcore.v1+json"),
|
93 |
+
'body' => $data,
|
94 |
+
'cookies' => array()
|
95 |
+
)
|
96 |
+
);
|
97 |
+
|
98 |
+
$response_body = (!is_wp_error($response) && isset($response["body"])) ? json_decode($response["body"], true) : null;
|
99 |
+
|
100 |
+
if (is_array($response_body) && $response_body["body"]["msg"] == "ok") {
|
101 |
+
|
102 |
+
}
|
103 |
+
|
104 |
+
}
|
105 |
+
if (get_option($wd_options->prefix . "_subscribe_done") != 1) {
|
106 |
+
update_option($wd_options->prefix . "_subscribe_done", 1);
|
107 |
+
} else {
|
108 |
+
add_option($wd_options->prefix . "_subscribe_done", "1", '', 'no');
|
109 |
+
}
|
110 |
+
|
111 |
+
wp_safe_redirect($wd_options->after_subscribe);
|
112 |
}
|
113 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
}
|
115 |
+
// //////////////////////////////////////////////////////////////////////////////////////
|
116 |
+
// Getters & Setters //
|
117 |
+
// //////////////////////////////////////////////////////////////////////////////////////
|
118 |
+
// //////////////////////////////////////////////////////////////////////////////////////
|
119 |
+
// Private Methods //
|
120 |
+
// //////////////////////////////////////////////////////////////////////////////////////
|
121 |
+
// //////////////////////////////////////////////////////////////////////////////////////
|
122 |
+
// Listeners //
|
123 |
+
// //////////////////////////////////////////////////////////////////////////////////////
|
124 |
+
}
|
wd/start.php
CHANGED
@@ -2,7 +2,10 @@
|
|
2 |
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
exit;
|
4 |
}
|
5 |
-
define( '
|
|
|
|
|
|
|
6 |
require_once dirname( __FILE__ ) . '/config.php';
|
7 |
|
8 |
/**
|
@@ -14,7 +17,6 @@
|
|
14 |
* plugin_main_file;
|
15 |
* description;
|
16 |
* plugin_features;
|
17 |
-
* user_guide;
|
18 |
* video_youtube_id;
|
19 |
* plugin_wd_url;
|
20 |
* plugin_wd_demo_link;
|
@@ -26,12 +28,12 @@
|
|
26 |
* custom_post;
|
27 |
*/
|
28 |
|
29 |
-
function
|
30 |
|
31 |
// load files
|
32 |
require_once dirname( __FILE__ ) . '/wd.php';
|
33 |
|
34 |
-
$wd = new
|
35 |
$wd->wd_init( $options );
|
36 |
|
37 |
}
|
2 |
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
exit;
|
4 |
}
|
5 |
+
define( 'TEN_WEB_API_PLUGIN_DATA_PATH', 'https://api.web-dorado.com/v2/_id_/plugindata' );
|
6 |
+
define( 'TEN_WEB_SUBSCRIBE_URL', 'https://core.10web.io/api/wp-subscribe' );
|
7 |
+
define( 'TEN_WEB_DEACTIVATION_URL', 'https://core.10web.io/api/deactivation_reasons' );
|
8 |
+
|
9 |
require_once dirname( __FILE__ ) . '/config.php';
|
10 |
|
11 |
/**
|
17 |
* plugin_main_file;
|
18 |
* description;
|
19 |
* plugin_features;
|
|
|
20 |
* video_youtube_id;
|
21 |
* plugin_wd_url;
|
22 |
* plugin_wd_demo_link;
|
28 |
* custom_post;
|
29 |
*/
|
30 |
|
31 |
+
function ten_web_init( $options ) {
|
32 |
|
33 |
// load files
|
34 |
require_once dirname( __FILE__ ) . '/wd.php';
|
35 |
|
36 |
+
$wd = new TenWeb();
|
37 |
$wd->wd_init( $options );
|
38 |
|
39 |
}
|
wd/templates/display_deactivation_popup.php
CHANGED
@@ -5,7 +5,8 @@
|
|
5 |
</div>
|
6 |
<form method="post" id="<?php echo $wd_options->prefix; ?>_deactivate_form">
|
7 |
<div class="wd-deactivate-popup-header">
|
8 |
-
<?php _e( "Please let us know why you are deactivating. Your answer will help us to
|
|
|
9 |
</div>
|
10 |
|
11 |
<div class="wd-deactivate-popup-body">
|
@@ -19,7 +20,7 @@
|
|
19 |
</div>
|
20 |
<div class="wd-btns">
|
21 |
<a href="<?php echo $deactivate_url; ?>" data-val="1" class="button button-primary button-close wd-<?php echo $wd_options->prefix; ?>-deactivate" id="wd-<?php echo $wd_options->prefix; ?>-deactivate"><?php _e( "Skip and Deactivate" , $wd_options->prefix ); ?></a>
|
22 |
-
<a href="<?php echo $deactivate_url; ?>" data-val="2" class="button button-primary button-close wd-<?php echo $wd_options->prefix; ?>-deactivate" id="wd-<?php echo $wd_options->prefix; ?>-submit-and-deactivate" style="display:none;"><?php _e( "Submit and Deactivate" , $wd_options->prefix ); ?></a>
|
23 |
</div>
|
24 |
<input type="hidden" name="<?php echo $wd_options->prefix . "_submit_and_deactivate"; ?>" value="" >
|
25 |
<?php wp_nonce_field( $wd_options->prefix . '_save_form', $wd_options->prefix . '_save_form_fild'); ?>
|
5 |
</div>
|
6 |
<form method="post" id="<?php echo $wd_options->prefix; ?>_deactivate_form">
|
7 |
<div class="wd-deactivate-popup-header">
|
8 |
+
<?php _e( "Please let us know why you are deactivating. Your answer will help us to provide you support or sometimes offer discounts. (Optional)", $wd_options->prefix ); ?>:
|
9 |
+
<span class="wd-deactivate-popup-close-btn"></span>
|
10 |
</div>
|
11 |
|
12 |
<div class="wd-deactivate-popup-body">
|
20 |
</div>
|
21 |
<div class="wd-btns">
|
22 |
<a href="<?php echo $deactivate_url; ?>" data-val="1" class="button button-primary button-close wd-<?php echo $wd_options->prefix; ?>-deactivate" id="wd-<?php echo $wd_options->prefix; ?>-deactivate"><?php _e( "Skip and Deactivate" , $wd_options->prefix ); ?></a>
|
23 |
+
<a href="<?php echo $deactivate_url; ?>" data-val="2" class="button button-primary button-primary-disabled button-close wd-<?php echo $wd_options->prefix; ?>-deactivate" id="wd-<?php echo $wd_options->prefix; ?>-submit-and-deactivate" style="display:none;"><?php _e( "Submit and Deactivate" , $wd_options->prefix ); ?></a>
|
24 |
</div>
|
25 |
<input type="hidden" name="<?php echo $wd_options->prefix . "_submit_and_deactivate"; ?>" value="" >
|
26 |
<?php wp_nonce_field( $wd_options->prefix . '_save_form', $wd_options->prefix . '_save_form_fild'); ?>
|
wd/templates/display_overview.php
CHANGED
@@ -1,43 +1,124 @@
|
|
1 |
-
<div class="
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
</div>
|
12 |
-
<?php } ?></h2>
|
13 |
-
|
14 |
-
<div class="overview_welcome_text">
|
15 |
-
|
16 |
-
<div><?php echo sprintf(__("CONGRATS! You've successfully installed %s WordPress plugin.", $wd_options->prefix), $wd_options->plugin_title); ?></div>
|
17 |
-
<div><?php echo $wd_options->description; ?></div>
|
18 |
</div>
|
19 |
-
|
20 |
-
|
21 |
-
<div class="
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
<?php } ?>
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
?>
|
42 |
-
</div>
|
43 |
</div>
|
1 |
+
<div class="tenweb_overview">
|
2 |
+
<div class="tenweb_header">
|
3 |
+
<div class="container tenweb_clear container_top">
|
4 |
+
<div class="tenweb_logo">
|
5 |
+
<a href="https://10web.io/" target="_blank">
|
6 |
+
<div></div>
|
7 |
+
</a>
|
8 |
+
</div>
|
9 |
+
<div class="tenweb_header_right tenweb_clear">
|
10 |
+
<div class="inline-block header_text"><?php echo sprintf(__("Get Premium %s and Other Solutions Essential for Your WordPress Site.", $wd_options->prefix), $wd_options->plugin_title); ?>
|
11 |
+
</div>
|
12 |
+
<a href="https://my.10web.io/checkout/" target="_blank"
|
13 |
+
class="button"><?php _e("Try Free", $wd_options->prefix); ?></a>
|
14 |
+
</div>
|
15 |
+
</div>
|
16 |
+
<div class="tenweb_header_divider">
|
17 |
+
</div>
|
18 |
+
<div class="container container_bottom">
|
19 |
+
<div class="plugin_info">
|
20 |
+
<img src="<?php echo $wd_options->overview_welcome_image; ?>" class="plugin_logo">
|
21 |
+
<h2><?php _e("Premium ", $wd_options->prefix); ?><?php echo $wd_options->plugin_title; ?></h2>
|
22 |
+
<div class="and"> & </div>
|
23 |
+
</div>
|
24 |
+
<div class="plan_features tenweb_clear">
|
25 |
+
<div class="plan_feature pro_plugins">
|
26 |
+
<div class="logo"></div>
|
27 |
+
<h3><?php _e("60+ pro plugins/Add-ons", $wd_options->prefix); ?></h3>
|
28 |
+
<p><?php _e("Access 60+ plugins and add-ons, including key plugins, such as gallery, form, slider, social plugins and more.", $wd_options->prefix); ?></p>
|
29 |
+
</div>
|
30 |
+
<div class="plan_feature dashboard">
|
31 |
+
<div class="logo"></div>
|
32 |
+
<h3><?php _e("Unified dashboard", $wd_options->prefix); ?></h3>
|
33 |
+
<p><?php _e("Manage your WordPress websites all in one place within a single dashboard. No need to switch between sites.", $wd_options->prefix); ?></p>
|
34 |
+
</div>
|
35 |
+
<div class="plan_feature pro_themes">
|
36 |
+
<div class="logo"></div>
|
37 |
+
<h3><?php _e("Premium WordPress themes", $wd_options->prefix); ?></h3>
|
38 |
+
<p><?php _e("Professionally designed, responsive themes for your website. Build fully-functional, elegant websites effortlessly.", $wd_options->prefix); ?></p>
|
39 |
+
</div>
|
40 |
+
<?php if ($wd_options->plugin_wordpress_slug != "backup-wd") { ?>
|
41 |
+
<div class="plan_feature backup">
|
42 |
+
<div class="logo"></div>
|
43 |
+
<h3><?php _e("Backup", $wd_options->prefix); ?></h3>
|
44 |
+
<p><?php _e("10Web cloud storage space. Easily and securely backup your website in our storage.", $wd_options->prefix); ?></p>
|
45 |
+
</div>
|
46 |
+
<?php } ?>
|
47 |
+
<?php if ($wd_options->plugin_wordpress_slug != "seo-by-10web") { ?>
|
48 |
+
<div class="plan_feature seo">
|
49 |
+
<div class="logo"></div>
|
50 |
+
<h3><?php _e("SEO", $wd_options->prefix); ?></h3>
|
51 |
+
<p><?php _e("Improve search rankings of your WordPress site with a comprehensive search engine optimization solution.", $wd_options->prefix); ?></p>
|
52 |
+
</div>
|
53 |
+
<?php } ?>
|
54 |
+
<div class="plan_feature security">
|
55 |
+
<div class="logo"></div>
|
56 |
+
<h3><?php _e("Security", $wd_options->prefix); ?></h3>
|
57 |
+
<p><?php _e("Protect your WordPress site from security issues and threats with a powerful security service coming soon to 10Web.", $wd_options->prefix); ?></p>
|
58 |
+
</div>
|
59 |
+
<?php if ($wd_options->plugin_wordpress_slug != "image-optimizer-wd") { ?>
|
60 |
+
<div class="plan_feature image_optimizer">
|
61 |
+
<div class="logo"></div>
|
62 |
+
<h3><?php _e("Image optimization", $wd_options->prefix); ?></h3>
|
63 |
+
<p><?php _e("Automatically resize and compress all images on your website to save space and improve site speed.", $wd_options->prefix); ?></p>
|
64 |
+
</div>
|
65 |
+
<?php } ?>
|
66 |
+
<div class="plan_feature hosting">
|
67 |
+
<div class="logo"></div>
|
68 |
+
<h3><?php _e("Hosting", $wd_options->prefix); ?></h3>
|
69 |
+
<p><?php _e("We’ll soon be offering affordable hosting solution with WordPress-friendly features and great customer support.", $wd_options->prefix); ?></p>
|
70 |
+
</div>
|
71 |
+
</div>
|
72 |
+
<a href="https://my.10web.io/checkout/" target="_blank"
|
73 |
+
class="button"><?php _e("Get free for 14 days", $wd_options->prefix); ?></a>
|
74 |
+
<div><a href="https://10web.io/" target="_blank"
|
75 |
+
class="more white"><?php _e("Learn More", $wd_options->prefix); ?></a></div>
|
76 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
</div>
|
78 |
+
<?php if (count($wd_options->plugin_features)) { ?>
|
79 |
+
<div class="tenweb_plugin_features">
|
80 |
+
<div class="container">
|
81 |
+
<h2><?php _e("Premium ", $wd_options->prefix); ?><?php echo $wd_options->plugin_title; ?><?php _e(" features you get!", $wd_options->prefix); ?></h2>
|
82 |
+
<div class="plugin_features tenweb_clear">
|
83 |
+
<?php foreach ($wd_options->plugin_features as $features) { ?>
|
84 |
+
<div class="plugin_feature">
|
85 |
+
<div class="plugin_feature_logo">
|
86 |
+
<img src="<?php echo $features['logo']; ?>">
|
87 |
+
</div>
|
88 |
+
<h3><?php echo $features['title']; ?></h3>
|
89 |
+
<p><?php echo $features['description']; ?></p>
|
90 |
+
</div>
|
91 |
+
<?php } ?>
|
92 |
+
</div>
|
93 |
+
<div class="and circle"> & </div>
|
94 |
+
<h3 class="more_features"><?php _e("More great features of the plugin", $wd_options->prefix); ?></h3>
|
95 |
+
<a href="<?php echo $wd_options->plugin_wd_url; ?>" target="_blank"
|
96 |
+
class="more blue"><?php _e("Learn More", $wd_options->prefix); ?></a>
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
<?php }
|
100 |
+
if(trim($wd_options->plugin_wd_demo_link) != "" || trim($wd_options->plugin_wd_docs_link) != ""){ ?>
|
101 |
+
<div class="tenweb_how_it_works">
|
102 |
+
<div class="container">
|
103 |
+
<h2><?php _e("Checkout how it works", $wd_options->prefix); ?></h2>
|
104 |
+
<?php
|
105 |
+
if(trim($wd_options->plugin_wd_demo_link) != ""){ ?>
|
106 |
+
<a href="<?php echo $wd_options->plugin_wd_demo_link; ?>" target="_blank"
|
107 |
+
class="button transparent"><?php _e("Demo", $wd_options->prefix); ?></a>
|
108 |
+
<?php }
|
109 |
+
if(trim($wd_options->plugin_wd_docs_link) != ""){ ?>
|
110 |
+
<a href="<?php echo $wd_options->plugin_wd_docs_link; ?>" target="_blank"
|
111 |
+
class="button transparent"><?php _e("User Guide", $wd_options->prefix); ?></a>
|
112 |
+
<?php } ?>
|
113 |
+
</div>
|
114 |
+
</div>
|
115 |
<?php } ?>
|
116 |
+
<div class="tenweb_footer <?php echo trim($wd_options->plugin_wd_demo_link) == "" ? "without_demo" : ""; ?>">
|
117 |
+
<div class="container">
|
118 |
+
<h2><?php echo $wd_options->description; ?></h2>
|
119 |
+
<p><?php echo sprintf(__("Get Premium %s and Other Solutions Essential for Your WordPress Site.", $wd_options->prefix), $wd_options->plugin_title); ?></p>
|
120 |
+
<a href="https://my.10web.io/checkout/" target="_blank"
|
121 |
+
class="button"><?php _e("Get free for 14 days", $wd_options->prefix); ?></a>
|
122 |
+
</div>
|
123 |
+
</div>
|
|
|
|
|
124 |
</div>
|
wd/templates/display_overview_deals.php
DELETED
@@ -1,81 +0,0 @@
|
|
1 |
-
<div id="deals">
|
2 |
-
|
3 |
-
<div id="plugins">
|
4 |
-
<div class="deals_header deals_header_plugins">
|
5 |
-
<a href="https://web-dorado.com/wordpress-plugins-bundle.html" target="_blank">
|
6 |
-
<div class="wd-table">
|
7 |
-
<div class="wd-cell wd-text-right wd-valign-middle">
|
8 |
-
<img src="<?php echo $wd_options->wd_url_img . '/' . $wd_options->prefix . '_main_plugin.png'; ?>" width="100px">
|
9 |
-
</div>
|
10 |
-
<div class="wd-cell wd-valign-middle">
|
11 |
-
<div class="titles_wrap">
|
12 |
-
<div class="deals_main_title"><?php echo sprintf( __( "Get %s", $wd_options->prefix ), $wd_options->plugin_title ); ?></div>
|
13 |
-
<div class="deals_main_title"><span class="higlight">+27 </span><?php echo __( "plugins", $wd_options->prefix ); ?></div>
|
14 |
-
<div class="deals_secondary_title"><?php echo __( "for", $wd_options->prefix ); ?><span class="higlight"> $99 </span><?php echo __( "only", $wd_options->prefix ); ?></div>
|
15 |
-
</div>
|
16 |
-
<div class="deals_save"><?php echo __( "Save 80%", $wd_options->prefix ); ?></div>
|
17 |
-
</div>
|
18 |
-
</div>
|
19 |
-
</a>
|
20 |
-
</div>
|
21 |
-
<div class="deals_content">
|
22 |
-
<?php foreach( $plugins as $wp_slug => &$plugin ){ ?>
|
23 |
-
|
24 |
-
<div class="deal_block">
|
25 |
-
<div class="deal_title">
|
26 |
-
<a href="<?php echo $plugin["href"]; ?>" target="_blank" >
|
27 |
-
<img src = "<?php echo $wd_options->wd_url_img . '/plugins/' . $wp_slug . '.png'; ?>">
|
28 |
-
<h2><?php echo $plugin["title"]; ?></h2>
|
29 |
-
</a>
|
30 |
-
</div>
|
31 |
-
<div class="deal_desc">
|
32 |
-
<p><?php echo $plugin["content"]; ?></p>
|
33 |
-
<div class="deal_desc_footer">
|
34 |
-
<div class="download_btn">
|
35 |
-
<a href="<?php echo $plugin["href"]; ?>" target="_blank" ><?php _e( "Download", $wd_options->prefix ); ?></a>
|
36 |
-
</div>
|
37 |
-
</div>
|
38 |
-
</div>
|
39 |
-
|
40 |
-
</div>
|
41 |
-
<?php } ?>
|
42 |
-
</div>
|
43 |
-
<div class="get_all_deals">
|
44 |
-
<a href="https://web-dorado.com/wordpress-plugins-bundle.html" target="_blank" >
|
45 |
-
<?php _e( "Get all plugins", $wd_options->prefix ); ?>
|
46 |
-
</a>
|
47 |
-
</div>
|
48 |
-
</div>
|
49 |
-
<div id="themes">
|
50 |
-
<div class="deals_header deals_header_themes">
|
51 |
-
<a href="https://web-dorado.com/wordpress-themes-bundle.html" target="_blank">
|
52 |
-
<div class="wd-table">
|
53 |
-
<div class="wd-cell wd-text-right wd-valign-middle">
|
54 |
-
</div>
|
55 |
-
<div class="wd-cell wd-valign-middle">
|
56 |
-
<div class="titles_wrap">
|
57 |
-
<div class="deals_main_title"><?php echo __( "Get all 11 themes", $wd_options->prefix ); ?></div>
|
58 |
-
<div class="deals_main_title"><?php echo __( "for", $wd_options->prefix ); ?><span class="higlight"> $40 </span><?php echo __( "only", $wd_options->prefix ); ?></div>
|
59 |
-
</div>
|
60 |
-
<div class="deals_save"><?php echo __( "Save 70%", $wd_options->prefix ); ?></div>
|
61 |
-
</div>
|
62 |
-
</div>
|
63 |
-
</a>
|
64 |
-
</div>
|
65 |
-
<div class="deals_content">
|
66 |
-
<?php foreach( $themes as $slug => $theme ){ ?>
|
67 |
-
<div class="theme_block">
|
68 |
-
<a href="<?php echo $theme["href"]; ?>" target="_blank" >
|
69 |
-
<img src = "<?php echo $wd_options->wd_url_img . '/plugins/' . $slug . '.png'; ?>" width="100%;">
|
70 |
-
<div><?php echo $theme["title"]; ?></div>
|
71 |
-
</a>
|
72 |
-
</div>
|
73 |
-
<?php } ?>
|
74 |
-
</div>
|
75 |
-
<div class="get_all_deals">
|
76 |
-
<a href="https://web-dorado.com/wordpress-themes-bundle.html" target="_blank" >
|
77 |
-
<?php _e( "Find out more", $wd_options->prefix ); ?>
|
78 |
-
</a>
|
79 |
-
</div>
|
80 |
-
</div>
|
81 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wd/templates/display_overview_support.php
DELETED
@@ -1,59 +0,0 @@
|
|
1 |
-
<div id="support">
|
2 |
-
<p class="wd-support-main">
|
3 |
-
<?php echo sprintf( __("You may contact us by filling in this form or by email %s any time you need professional support or have any questions. You can also fill in the form to leave your comments or feedback.", $wd_options->prefix), "<span class='support_email'>(support@web-dorado.com)</span>") ;?>
|
4 |
-
</p>
|
5 |
-
<div class="wd-overview-site-deatils">
|
6 |
-
<h2><?php _e( "Site Details", $wd_options->prefix ); ?></h2>
|
7 |
-
<p>
|
8 |
-
<?php _e( "When contacting support, consider copying and pasting this information in your support request.", $wd_options->prefix ); ?>
|
9 |
-
<br>
|
10 |
-
<?php _e( "It helps us troubleshoot more quickly.", $wd_options->prefix ); ?>
|
11 |
-
</p>
|
12 |
-
<?php
|
13 |
-
if ( function_exists('current_user_can' ) ) {
|
14 |
-
if ( current_user_can('manage_options') ) {
|
15 |
-
?>
|
16 |
-
<div class="wd-site-deatils wd-table">
|
17 |
-
<button id="wd-copy"><?php _e( "Copy to Clipboard", $wd_options->prefix ); ?></button>
|
18 |
-
<div id="wd-site-deatils">
|
19 |
-
<textarea rows="10" id="wd-site-deatils-textarea"><?php
|
20 |
-
_e( "Server Settings", $wd_options->prefix );
|
21 |
-
echo ' ';
|
22 |
-
foreach( $server_info as $key => $val ){
|
23 |
-
echo $key . ": " . $val . ' ';
|
24 |
-
}
|
25 |
-
echo ' ';
|
26 |
-
_e( "Graphic Library", $wd_options->prefix );
|
27 |
-
echo ' ';
|
28 |
-
foreach( $gd_info as $key => $val ){
|
29 |
-
echo $key . ": " . $val . ' ';
|
30 |
-
}
|
31 |
-
echo ' ';
|
32 |
-
_e("Active Plugins", $wd_options->prefix);
|
33 |
-
echo ' ';
|
34 |
-
$activepl = get_option('active_plugins');
|
35 |
-
$plugins = get_plugins();
|
36 |
-
$activated_plugins = array();
|
37 |
-
foreach ( $activepl as $p ) {
|
38 |
-
if ( isset($plugins[$p]) ) {
|
39 |
-
array_push($activated_plugins, $plugins[$p]);
|
40 |
-
echo ' ' . $plugins[$p]['Name'];
|
41 |
-
}
|
42 |
-
}
|
43 |
-
echo ' ';
|
44 |
-
_e("Active theme", $wd_options->prefix);
|
45 |
-
echo ' ';
|
46 |
-
echo wp_get_theme();
|
47 |
-
?></textarea>
|
48 |
-
</div>
|
49 |
-
</div>
|
50 |
-
<?php
|
51 |
-
}
|
52 |
-
}
|
53 |
-
?>
|
54 |
-
|
55 |
-
</div>
|
56 |
-
<div class="contact_us_wrap">
|
57 |
-
<a href="https://web-dorado.com/support/contact-us.html" target="_blank" class="contact_us"><?php _e("Contact us", $wd_options->prefix); ?></a>
|
58 |
-
</div>
|
59 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wd/templates/display_overview_user_guide.php
DELETED
@@ -1,46 +0,0 @@
|
|
1 |
-
<div id="user_guide">
|
2 |
-
<div class="wd-table">
|
3 |
-
<div class="wd-cell">
|
4 |
-
<?php for( $i = 0; $i < ceil( count($user_guide) / 2 ); $i++) { ?>
|
5 |
-
<div class="user_guide_item">
|
6 |
-
<a href="<?php echo $user_guide[$i]["url"]; ?>" class="user_guide_title" target="_blank"><?php echo $user_guide[$i]["main_title"]; ?></a>
|
7 |
-
<?php foreach( $user_guide[$i]["titles"] as $title ) { ?>
|
8 |
-
<div><a href="<?php echo $title["url"]; ?>" target="_blank" class="user_guide_titles"><?php echo $title["title"]; ?></a></div>
|
9 |
-
<?php } ?>
|
10 |
-
</div>
|
11 |
-
<?php } ?>
|
12 |
-
</div>
|
13 |
-
<div class="wd-cell">
|
14 |
-
<?php for( $i = $i; $i < count($user_guide); $i++) { ?>
|
15 |
-
<div class="user_guide_item">
|
16 |
-
<a href="<?php echo $user_guide[$i]["url"]; ?>" class="user_guide_title" target="_blank"><?php echo $user_guide[$i]["main_title"]; ?></a>
|
17 |
-
<?php foreach( $user_guide[$i]["titles"] as $title ) { ?>
|
18 |
-
<div><a href="<?php echo $title["url"]; ?>" target="_blank" class="user_guide_titles"><?php echo $title["title"]; ?></a></div>
|
19 |
-
<?php } ?>
|
20 |
-
</div>
|
21 |
-
<?php } ?>
|
22 |
-
</div>
|
23 |
-
<div class="wd-cell">
|
24 |
-
<?php if($wd_options->plugin_wd_demo_link) { ?>
|
25 |
-
<a href="<?php echo $wd_options->plugin_wd_demo_link; ?>" class="user_guide_demo" target="_blank">
|
26 |
-
<?php _e( "Demo", $wd_options->prefix ); ?>
|
27 |
-
</a>
|
28 |
-
<?php } ?>
|
29 |
-
<a href="<?php echo $wd_options->plugin_wd_url; ?>" class="user_guide_plugin" target="_blank">
|
30 |
-
<?php echo $wd_options->plugin_title; ?>
|
31 |
-
</a>
|
32 |
-
<a href="https://wordpress.org/support/plugin/<?php echo $wd_options->plugin_wordpress_slug; ?>" class="user_guide_support_forum" target="_blank">
|
33 |
-
<?php _e( "Support Forum", $wd_options->prefix ); ?>
|
34 |
-
</a>
|
35 |
-
<a href="https://web-dorado.com/support/faq.html" class="user_guide_faq" target="_blank">
|
36 |
-
<?php _e( "FAQ", $wd_options->prefix ); ?>
|
37 |
-
</a>
|
38 |
-
<?php if($wd_options->plugin_wd_addons_link) { ?>
|
39 |
-
<a href="<?php echo $wd_options->plugin_wd_addons_link; ?>" class="user_guide_addons" target="_blank">
|
40 |
-
<?php _e( "Addons", $wd_options->prefix ); ?>
|
41 |
-
</a>
|
42 |
-
<?php } ?>
|
43 |
-
</div>
|
44 |
-
</div>
|
45 |
-
</div>
|
46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wd/templates/display_overview_welcome.php
DELETED
@@ -1,31 +0,0 @@
|
|
1 |
-
<div id="welcome">
|
2 |
-
<!-- display plugin video -->
|
3 |
-
<?php if( $wd_options->video_youtube_id ){ ?>
|
4 |
-
<div class="wd-video_container">
|
5 |
-
<iframe width="100%" height="400" src="//www.youtube.com/embed/<?php echo $wd_options->video_youtube_id; ?>?rel=0" frameborder="0" allowfullscreen></iframe>
|
6 |
-
</div>
|
7 |
-
<?php }
|
8 |
-
else if( $wd_options->overview_welcome_image ) { ?>
|
9 |
-
<img src="<?php echo $wd_options->overview_welcome_image; ?>" width="100%" />
|
10 |
-
|
11 |
-
<?php } ?>
|
12 |
-
|
13 |
-
<!-- display plugin features -->
|
14 |
-
<div class="plugin_features">
|
15 |
-
<!-- if your plugin has a wizard-->
|
16 |
-
<?php if( $wd_options->plugin_wizard_link ) { ?>
|
17 |
-
<div class="wd-tour">
|
18 |
-
<a class="wd-tour-btn" href="<?php echo $wd_options->plugin_wizard_link;?>"><?php _e( "Run Install Wizard ",$wd_options->prefix); ?></a>
|
19 |
-
</div>
|
20 |
-
<?php } ?>
|
21 |
-
<?php foreach( $wd_options->plugin_features as $feature ){ ?>
|
22 |
-
<h2 class="plugin_feature_title"><?php echo $feature["title"]; ?></h2>
|
23 |
-
<div class="plugin_feature_description"><?php echo $feature["description"]; ?></div>
|
24 |
-
<?php } ?>
|
25 |
-
<div class="more_features_wrap">
|
26 |
-
<a href="<?php echo $wd_options->plugin_wd_url; ?>" class="more_features" target="_blank"><?php _e( "More features", $wd_options->prefix ); ?></a>
|
27 |
-
</div>
|
28 |
-
</div>
|
29 |
-
|
30 |
-
</div>
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wd/templates/display_subscribe.php
CHANGED
@@ -1,44 +1,47 @@
|
|
1 |
-
<div class="
|
2 |
-
<div class="
|
3 |
-
<div class="imgs">
|
4 |
-
<img src="<?php echo $wd_options->wd_url_img . '/wp_logo.png'; ?>">
|
5 |
-
<span>+</span>
|
6 |
-
<img src="<?php echo $wd_options->wd_url_img . '/' . $wd_options->prefix . '_main_plugin.png'; ?>">
|
7 |
-
</div>
|
8 |
<div class="texts">
|
9 |
-
<
|
|
|
|
|
10 |
<p>
|
11 |
-
<?php echo sprintf( __( "
|
12 |
</p>
|
13 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
<div class="btns">
|
15 |
-
<a href="<?php echo "admin.php?page=" . $wd_options->prefix . "_subscribe&". $wd_options->prefix . "_sub_action=allow" ;?>" class="allow_and_continue"
|
16 |
<img src="<?php echo $wd_options->wd_url_img . '/loader.gif';?>" class="wd_loader">
|
17 |
-
<a href="<?php echo "admin.php?page=" . $wd_options->prefix . "_subscribe&" . $wd_options->prefix . "_sub_action=skip" ;?>" class="skip"
|
18 |
-
</div>
|
19 |
-
<a href="#" class="permissions"><?php _e( "What data is being collected?" , $wd_options->prefix ); ?></a>
|
20 |
-
<div class="list">
|
21 |
-
<?php foreach( $list as $list_item ) { ?>
|
22 |
-
<div class="list_item">
|
23 |
-
<div class="list_img_wrap"><img src="<?php echo $list_item["img"]; ?>"></div>
|
24 |
-
<div class="list_text_wrap">
|
25 |
-
<div class="list_title"><?php echo $list_item["title"]; ?></div>
|
26 |
-
<div class="list_text"><?php echo $list_item["small_text"]; ?></div>
|
27 |
-
</div>
|
28 |
-
</div>
|
29 |
-
<?php } ?>
|
30 |
</div>
|
31 |
</div>
|
32 |
-
<div class="
|
33 |
-
|
|
|
|
|
|
|
34 |
<li>
|
35 |
-
<a href="https://
|
36 |
<?php _e( "Privacy Policy", $wd_options->prefix ); ?>
|
37 |
</a>
|
38 |
-
<span>.</span>
|
39 |
</li>
|
|
|
40 |
<li>
|
41 |
-
<a href="https://
|
42 |
<?php _e( "Terms of Use", $wd_options->prefix ); ?>
|
43 |
</a>
|
44 |
</li>
|
1 |
+
<div class="tenweb_subscribe">
|
2 |
+
<div class="tenweb_subscribe-content">
|
|
|
|
|
|
|
|
|
|
|
3 |
<div class="texts">
|
4 |
+
<div class="hi_there"></div>
|
5 |
+
<h2><?php _e( "Hi there!", $wd_options->prefix ); ?></h2>
|
6 |
+
<h5><?php _e( "Allow 10web to collect some usage data", $wd_options->prefix ); ?></h5>
|
7 |
<p>
|
8 |
+
<?php echo sprintf( __( "This will allow you to get more out of your plugin experience - get awesome customer support, receive exclusive deals and discounts on premium products and more. You can choose to skip this step, %s will stil work just fine.", $wd_options->prefix ), $wd_options->plugin_title ); ?>
|
9 |
</p>
|
10 |
</div>
|
11 |
+
<div class="permissions"><?php _e( "What data is being collected?" , $wd_options->prefix ); ?></div>
|
12 |
+
<div class="list tenweb_clear">
|
13 |
+
<div class="list_item user_info">
|
14 |
+
<div class="list_logo"></div>
|
15 |
+
<div class="list_text_wrap"> <?php _e( "Your name & Email address", $wd_options->prefix ); ?></div>
|
16 |
+
</div>
|
17 |
+
<div class="list_item wp_info">
|
18 |
+
<div class="list_logo"></div>
|
19 |
+
<div class="list_text_wrap"> <?php _e( "Site URL, Wordpress version", $wd_options->prefix ); ?></div>
|
20 |
+
</div>
|
21 |
+
<div class="list_item plugins_info">
|
22 |
+
<div class="list_logo"></div>
|
23 |
+
<div class="list_text_wrap"> <?php _e( "List of plugins", $wd_options->prefix ); ?></div>
|
24 |
+
</div>
|
25 |
+
</div>
|
26 |
<div class="btns">
|
27 |
+
<a href="<?php echo "admin.php?page=" . $wd_options->prefix . "_subscribe&". $wd_options->prefix . "_sub_action=allow" ;?>" class="allow_and_continue button"><?php _e( "Allow & Continue", $wd_options->prefix ); ?></a>
|
28 |
<img src="<?php echo $wd_options->wd_url_img . '/loader.gif';?>" class="wd_loader">
|
29 |
+
<a href="<?php echo "admin.php?page=" . $wd_options->prefix . "_subscribe&" . $wd_options->prefix . "_sub_action=skip" ;?>" class="skip more" ><?php _e( "Skip", $wd_options->prefix ); ?></a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
</div>
|
31 |
</div>
|
32 |
+
<div class="tenweb_subscribe-top-footer">
|
33 |
+
<?php _e( "We will not sell, share, or distribute your personal information to third parties.", $wd_options->prefix ); ?>
|
34 |
+
</div>
|
35 |
+
<div class="tenweb_subscribe-footer">
|
36 |
+
<ul class="tenweb_footer-menu tenweb_clear">
|
37 |
<li>
|
38 |
+
<a href="https://10web.io/privacy-policy/" target="_blank">
|
39 |
<?php _e( "Privacy Policy", $wd_options->prefix ); ?>
|
40 |
</a>
|
|
|
41 |
</li>
|
42 |
+
<li>| </li>
|
43 |
<li>
|
44 |
+
<a href="https://10web.io/terms-of-services/" target="_blank">
|
45 |
<?php _e( "Terms of Use", $wd_options->prefix ); ?>
|
46 |
</a>
|
47 |
</li>
|
wd/wd.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
exit;
|
4 |
}
|
5 |
|
6 |
-
class
|
7 |
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
// Events //
|
9 |
////////////////////////////////////////////////////////////////////////////////////////
|
@@ -37,10 +37,10 @@
|
|
37 |
if(!is_array($options)){
|
38 |
return false;
|
39 |
}
|
40 |
-
$config = new
|
41 |
$config->set_options( $options );
|
42 |
$this->config = $config;
|
43 |
-
if( !class_exists("
|
44 |
$this->wd_includes();
|
45 |
}
|
46 |
|
@@ -55,27 +55,32 @@
|
|
55 |
|
56 |
$capability = $wd_options->menu_capability ? $wd_options->menu_capability : "manage_options";
|
57 |
if( get_option( $wd_options->prefix . "_subscribe_done" ) == 1 || $wd_options->subscribe === false ){
|
58 |
-
$parent_slug = $wd_options->custom_post;
|
59 |
}
|
60 |
else{
|
61 |
|
62 |
$subscribe_page = add_menu_page( $wd_options->plugin_menu_title, $wd_options->plugin_menu_title, "manage_options", $wd_options->prefix . '_subscribe' , array( $this, 'display_subscribew_page' ), $wd_options->plugin_menu_icon, $wd_options->menu_position );
|
63 |
|
64 |
-
$subscribe_instance = new
|
65 |
$this->subscribe_instance = $subscribe_instance;
|
66 |
add_action( 'admin_print_styles-' . $subscribe_page, array( $subscribe_instance, 'subscribe_styles' ) );
|
67 |
add_action( 'admin_print_scripts-' . $subscribe_page, array( $subscribe_instance, 'subscribe_scripts' ) );
|
68 |
|
69 |
$parent_slug = null;
|
70 |
-
}
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
|
|
|
|
|
|
|
|
|
|
79 |
}
|
80 |
|
81 |
public function display_subscribew_page(){
|
@@ -106,11 +111,11 @@
|
|
106 |
$current_url = $_SERVER['REQUEST_URI'];
|
107 |
if( $wd_options->deactivate === true ){
|
108 |
if(strpos( $current_url, "plugins.php" ) !== false ){
|
109 |
-
new
|
110 |
}
|
111 |
}
|
112 |
|
113 |
-
new
|
114 |
|
115 |
}
|
116 |
|
3 |
exit;
|
4 |
}
|
5 |
|
6 |
+
class TenWeb {
|
7 |
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
// Events //
|
9 |
////////////////////////////////////////////////////////////////////////////////////////
|
37 |
if(!is_array($options)){
|
38 |
return false;
|
39 |
}
|
40 |
+
$config = new TenWebConfig();
|
41 |
$config->set_options( $options );
|
42 |
$this->config = $config;
|
43 |
+
if( !class_exists("TenWebApi") ){
|
44 |
$this->wd_includes();
|
45 |
}
|
46 |
|
55 |
|
56 |
$capability = $wd_options->menu_capability ? $wd_options->menu_capability : "manage_options";
|
57 |
if( get_option( $wd_options->prefix . "_subscribe_done" ) == 1 || $wd_options->subscribe === false ){
|
58 |
+
$parent_slug = $wd_options->custom_post;
|
59 |
}
|
60 |
else{
|
61 |
|
62 |
$subscribe_page = add_menu_page( $wd_options->plugin_menu_title, $wd_options->plugin_menu_title, "manage_options", $wd_options->prefix . '_subscribe' , array( $this, 'display_subscribew_page' ), $wd_options->plugin_menu_icon, $wd_options->menu_position );
|
63 |
|
64 |
+
$subscribe_instance = new TenWebSubscribe($this->config);
|
65 |
$this->subscribe_instance = $subscribe_instance;
|
66 |
add_action( 'admin_print_styles-' . $subscribe_page, array( $subscribe_instance, 'subscribe_styles' ) );
|
67 |
add_action( 'admin_print_scripts-' . $subscribe_page, array( $subscribe_instance, 'subscribe_scripts' ) );
|
68 |
|
69 |
$parent_slug = null;
|
70 |
+
}
|
71 |
+
if ($wd_options->display_overview) {
|
72 |
+
$title = __( 'Premium', $wd_options->prefix );
|
73 |
+
if ( FALSE && !get_transient( $wd_options->prefix . '_overview_visited' ) ) {
|
74 |
+
$title .= ' <span class="update-plugins count-2" > <span class="plugin-count">1</span></span>';
|
75 |
+
}
|
76 |
+
$overview_page = add_submenu_page( $parent_slug, __( 'Premium', $wd_options->prefix ), '<span style="color:#4481ea;">' . $title . '</span>', $capability, 'overview_' . $wd_options->prefix, array( $this, 'display_overview_page' ) );
|
77 |
+
|
78 |
+
|
79 |
+
$overview_instance = new TenWebOverview( $this->config );
|
80 |
+
$this->overview_instance = $overview_instance;
|
81 |
+
add_action( 'admin_print_styles-' . $overview_page, array( $overview_instance, 'overview_styles' ) );
|
82 |
+
add_action( 'admin_print_scripts-' . $overview_page, array( $overview_instance, 'overview_scripts' ) );
|
83 |
+
}
|
84 |
}
|
85 |
|
86 |
public function display_subscribew_page(){
|
111 |
$current_url = $_SERVER['REQUEST_URI'];
|
112 |
if( $wd_options->deactivate === true ){
|
113 |
if(strpos( $current_url, "plugins.php" ) !== false ){
|
114 |
+
new TenWebDeactivate( $this->config );
|
115 |
}
|
116 |
}
|
117 |
|
118 |
+
new TenWebNotices( $this->config );
|
119 |
|
120 |
}
|
121 |
|