Version Description
- 2022.06.23 =
- Improved email template options
- Internal codebase improvements
- Fixed 2 input sanitization issues with download history and login form template
Download this release
Release Info
Developer | codename065 |
Plugin | WordPress Download Manager |
Version | 3.2.44 |
Comparing to | |
See all releases |
Code changes from version 3.2.43 to 3.2.44
- assets/images/attire-blocks.png +0 -0
- assets/images/liveforms-logo.png +0 -0
- assets/images/wpdm-es.png +0 -0
- assets/images/wpdm-gb.png +0 -0
- assets/images/wpdmpp.png +0 -0
- download-manager.php +2 -2
- readme.txt +6 -1
- src/Admin/PackageTemplate.php +29 -0
- src/Admin/views/settings.php +5 -5
- src/Admin/views/stats/history.php +1 -24
- src/Admin/views/templates/email-template-settings.php +8 -0
- src/Admin/views/welcome.php +171 -145
- src/User/views/login-form.php +1 -1
- src/__/Email.php +4 -2
- src/__/views/email-templates/default.html +2 -2
- src/__/views/email-templates/plain.html +54 -6
- src/__/views/email-templates/ui-blocks/panel.php +6 -5
- src/wpdm-functions.php +1 -1
assets/images/attire-blocks.png
ADDED
Binary file
|
assets/images/liveforms-logo.png
ADDED
Binary file
|
assets/images/wpdm-es.png
ADDED
Binary file
|
assets/images/wpdm-gb.png
ADDED
Binary file
|
assets/images/wpdmpp.png
ADDED
Binary file
|
download-manager.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://www.wpdownloadmanager.com/purchases/
|
|
5 |
Description: Manage, Protect and Track file downloads, and sell digital products from your WordPress site. A complete digital asset management solution.
|
6 |
Author: W3 Eden, Inc.
|
7 |
Author URI: https://www.wpdownloadmanager.com/
|
8 |
-
Version: 3.2.
|
9 |
Text Domain: download-manager
|
10 |
Domain Path: /languages
|
11 |
*/
|
@@ -39,7 +39,7 @@ use WPDM\Widgets\WidgetController;
|
|
39 |
|
40 |
global $WPDM;
|
41 |
|
42 |
-
define('WPDM_VERSION','3.2.
|
43 |
|
44 |
define('WPDM_TEXT_DOMAIN','download-manager');
|
45 |
|
5 |
Description: Manage, Protect and Track file downloads, and sell digital products from your WordPress site. A complete digital asset management solution.
|
6 |
Author: W3 Eden, Inc.
|
7 |
Author URI: https://www.wpdownloadmanager.com/
|
8 |
+
Version: 3.2.44
|
9 |
Text Domain: download-manager
|
10 |
Domain Path: /languages
|
11 |
*/
|
39 |
|
40 |
global $WPDM;
|
41 |
|
42 |
+
define('WPDM_VERSION','3.2.44');
|
43 |
|
44 |
define('WPDM_TEXT_DOMAIN','download-manager');
|
45 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: download manager, document management, file manager, digital store, ecomme
|
|
5 |
Requires at least: 5.3
|
6 |
Tested up to: 6.0
|
7 |
License: GPLv2 or later
|
8 |
-
Stable tag: 3.2.
|
9 |
|
10 |
|
11 |
This File Management & Digital Store plugin will help you to control file downloads & sell digital products from your WP site.
|
@@ -181,6 +181,11 @@ Check download stats and get a push notification when someone downloads, install
|
|
181 |
|
182 |
== Changelog ==
|
183 |
|
|
|
|
|
|
|
|
|
|
|
184 |
= 3.2.43 - 2022.06.02 =
|
185 |
* Fixed an input sanitization issue with shortcode iframe
|
186 |
|
5 |
Requires at least: 5.3
|
6 |
Tested up to: 6.0
|
7 |
License: GPLv2 or later
|
8 |
+
Stable tag: 3.2.44
|
9 |
|
10 |
|
11 |
This File Management & Digital Store plugin will help you to control file downloads & sell digital products from your WP site.
|
181 |
|
182 |
== Changelog ==
|
183 |
|
184 |
+
= 3.2.44 - 2022.06.23 =
|
185 |
+
* Improved email template options
|
186 |
+
* Internal codebase improvements
|
187 |
+
* Fixed 2 input sanitization issues with download history and login form template
|
188 |
+
|
189 |
= 3.2.43 - 2022.06.02 =
|
190 |
* Fixed an input sanitization issue with shortcode iframe
|
191 |
|
src/Admin/PackageTemplate.php
CHANGED
@@ -111,6 +111,35 @@ class PackageTemplate
|
|
111 |
return false;
|
112 |
}
|
113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
function getCustomTemplates($templateType = null)
|
115 |
{
|
116 |
if ($templateType !== null)
|
111 |
return false;
|
112 |
}
|
113 |
|
114 |
+
function getInfo($template, $templateType = null)
|
115 |
+
{
|
116 |
+
if ($templateType !== null)
|
117 |
+
$this->type($templateType);
|
118 |
+
|
119 |
+
$info = $this->get($template, $templateType);
|
120 |
+
if (!$info) {
|
121 |
+
$theme_template_dir = get_stylesheet_directory().'/download-manager/'.$this->templateType . '-templates/';
|
122 |
+
$template_template_dir = get_template_directory().'/download-manager/'.$this->templateType . '-templates/';
|
123 |
+
$core_templates_dir = WPDM()->package->templateDir . $this->templateType . '-templates/';
|
124 |
+
$template_name = str_replace(".php", "", $template).".php";
|
125 |
+
$file = $core_templates_dir.str_replace(".php", "", $template).".php";
|
126 |
+
if(file_exists($theme_template_dir.$template_name))
|
127 |
+
$file = $theme_template_dir.$template_name;
|
128 |
+
else if(file_exists($template_template_dir.$template_name))
|
129 |
+
$file = $template_template_dir.$template_name;
|
130 |
+
if(file_exists($file)) {
|
131 |
+
$tmpdata = file_get_contents( $file );
|
132 |
+
$regx = "/WPDM.*Template[\s]*:([^\-\->]+)/";
|
133 |
+
$name = $template;
|
134 |
+
if ( preg_match( $regx, $tmpdata, $matches ) ) {
|
135 |
+
$name = $matches[1];
|
136 |
+
}
|
137 |
+
$info = ['ID' => $template, 'name' => $name, 'content' => $tmpdata, 'css' => '', 'file' => $file];
|
138 |
+
}
|
139 |
+
}
|
140 |
+
return $info;
|
141 |
+
}
|
142 |
+
|
143 |
function getCustomTemplates($templateType = null)
|
144 |
{
|
145 |
if ($templateType !== null)
|
src/Admin/views/settings.php
CHANGED
@@ -56,15 +56,15 @@ if (!defined("ABSPATH")) die("Shit happens!");
|
|
56 |
<?php Settings::renderMenu($tab = wpdm_query_var('tab', ['validate' => 'txt', 'default' => 'basic'])); ?>
|
57 |
</ul>
|
58 |
</div>
|
59 |
-
<
|
60 |
<div class="panel panel-primary" style="margin-top: 64px;">
|
61 |
-
<div class="panel-body text-center">
|
62 |
-
Thanks for using Download Manager. When you get some free moments, please give us a
|
63 |
|
64 |
-
<
|
65 |
</div>
|
66 |
</div>
|
67 |
-
</
|
68 |
</div>
|
69 |
<div id="wpdm-admin-page-body">
|
70 |
<div class="tab-content">
|
56 |
<?php Settings::renderMenu($tab = wpdm_query_var('tab', ['validate' => 'txt', 'default' => 'basic'])); ?>
|
57 |
</ul>
|
58 |
</div>
|
59 |
+
<a target="_blank" href="https://wordpress.org/support/plugin/download-manager/reviews/#new-post" class="d-block" id="pro" style="text-decoration: none !important;">
|
60 |
<div class="panel panel-primary" style="margin-top: 64px;">
|
61 |
+
<div class="panel-body text-center text-muted">
|
62 |
+
Thanks for using Download Manager. When you get some free moments, please give us a<br/>⭐⭐⭐⭐⭐<br/>at wordpress.org.<br/>It will inspire us a lot.
|
63 |
|
64 |
+
<button type="button" class="btn btn-primary btn-block btn-sm" style="margin-top: 12px">Let's Go 😊</button>
|
65 |
</div>
|
66 |
</div>
|
67 |
+
</a>
|
68 |
</div>
|
69 |
<div id="wpdm-admin-page-body">
|
70 |
<div class="tab-content">
|
src/Admin/views/stats/history.php
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
<?php
|
2 |
global $wpdb;
|
3 |
if(!defined("ABSPATH")) die("Shit happens!");
|
4 |
-
$get_params = $_GET;
|
5 |
|
6 |
// Tables used
|
7 |
$states_table = "{$wpdb->prefix}ahm_download_stats";
|
@@ -157,18 +156,6 @@ $pagination = array(
|
|
157 |
<option selected value="<?php echo $u->ID ?>"> <?php echo $u->display_name . "($u->user_login)" ?> </option>
|
158 |
<?php endforeach ?>
|
159 |
</select>
|
160 |
-
|
161 |
-
<!-- remove user filter -->
|
162 |
-
<?php if (count($user_ids)) {
|
163 |
-
$get_params_xu = $get_params;
|
164 |
-
unset($get_params_xu['user_ids']);
|
165 |
-
|
166 |
-
$reset_url = add_query_arg($get_params_xu, 'edit.php');
|
167 |
-
?>
|
168 |
-
<div class="input-group-btn">
|
169 |
-
<a href="<?php echo $reset_url; ?>" class="btn btn-secondary"><i class="fa fa-times-circle"></i></a>
|
170 |
-
</div>
|
171 |
-
<?php } ?>
|
172 |
</div>
|
173 |
</div>
|
174 |
|
@@ -182,17 +169,7 @@ $pagination = array(
|
|
182 |
<option selected value="<?php echo $p->ID ?>"> <?php echo $p->post_title ?> </option>
|
183 |
<?php endforeach ?>
|
184 |
</select>
|
185 |
-
|
186 |
-
<?php if (count($package_ids)) {
|
187 |
-
$get_params_xp = $get_params;
|
188 |
-
unset($get_params_xp['package_ids']);
|
189 |
-
|
190 |
-
$reset_url = add_query_arg($get_params_xp, 'edit.php');
|
191 |
-
?>
|
192 |
-
<div class="input-group-btn">
|
193 |
-
<a href="<?php echo $reset_url; ?>" class="btn btn-secondary"><i class="fa fa-times-circle"></i></a>
|
194 |
-
</div>
|
195 |
-
<?php } ?>
|
196 |
</div>
|
197 |
</div>
|
198 |
|
1 |
<?php
|
2 |
global $wpdb;
|
3 |
if(!defined("ABSPATH")) die("Shit happens!");
|
|
|
4 |
|
5 |
// Tables used
|
6 |
$states_table = "{$wpdb->prefix}ahm_download_stats";
|
156 |
<option selected value="<?php echo $u->ID ?>"> <?php echo $u->display_name . "($u->user_login)" ?> </option>
|
157 |
<?php endforeach ?>
|
158 |
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
159 |
</div>
|
160 |
</div>
|
161 |
|
169 |
<option selected value="<?php echo $p->ID ?>"> <?php echo $p->post_title ?> </option>
|
170 |
<?php endforeach ?>
|
171 |
</select>
|
172 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
</div>
|
174 |
</div>
|
175 |
|
src/Admin/views/templates/email-template-settings.php
CHANGED
@@ -38,6 +38,14 @@ if($ttype == 'email'){ ?>
|
|
38 |
<?php _e( "Logo URL" , "download-manager" ); ?>
|
39 |
<?php echo wpdm_media_field(array('placeholder' => __("Logo URL" , "download-manager"), 'name' => '__wpdm_email_setting[logo]', 'id' => 'logo-url', 'value' => (isset($__wpdm_email_setting['logo'])?$__wpdm_email_setting['logo']:''))); ?>
|
40 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
<div class="form-group">
|
42 |
<?php _e( "Banner/Background Image URL" , "download-manager" ); ?>
|
43 |
<?php echo wpdm_media_field(array('placeholder' => __("Banner/Background Image URL" , "download-manager"), 'name' => '__wpdm_email_setting[banner]', 'id' => 'banner-url', 'value' => (isset($__wpdm_email_setting['banner'])?$__wpdm_email_setting['banner']:''))); ?>
|
38 |
<?php _e( "Logo URL" , "download-manager" ); ?>
|
39 |
<?php echo wpdm_media_field(array('placeholder' => __("Logo URL" , "download-manager"), 'name' => '__wpdm_email_setting[logo]', 'id' => 'logo-url', 'value' => (isset($__wpdm_email_setting['logo'])?$__wpdm_email_setting['logo']:''))); ?>
|
40 |
</div>
|
41 |
+
<div class="form-group">
|
42 |
+
<?php _e( "Logo Dimension" , "download-manager" ); ?>
|
43 |
+
<div class="input-group">
|
44 |
+
<input name="__wpdm_email_setting[logo_w]" class="form-control" type="text" placeholder="<?php echo __('Width', WPDM_TEXT_DOMAIN); ?> px or %" value="<?= isset($__wpdm_email_setting['logo_w'])?$__wpdm_email_setting['logo_w']:''; ?>" />
|
45 |
+
<div class="input-group-addon" style="border-left: 0;border-right: 0">×</div>
|
46 |
+
<input name="__wpdm_email_setting[logo_h]" class="form-control" type="text" placeholder="<?php echo __('Height', WPDM_TEXT_DOMAIN); ?> px or %" value="<?= isset($__wpdm_email_setting['logo_h'])?$__wpdm_email_setting['logo_h']:''; ?>" />
|
47 |
+
</div>
|
48 |
+
</div>
|
49 |
<div class="form-group">
|
50 |
<?php _e( "Banner/Background Image URL" , "download-manager" ); ?>
|
51 |
<?php echo wpdm_media_field(array('placeholder' => __("Banner/Background Image URL" , "download-manager"), 'name' => '__wpdm_email_setting[banner]', 'id' => 'banner-url', 'value' => (isset($__wpdm_email_setting['banner'])?$__wpdm_email_setting['banner']:''))); ?>
|
src/Admin/views/welcome.php
CHANGED
@@ -1,18 +1,23 @@
|
|
1 |
-
<
|
2 |
-
<link rel="stylesheet" type="text/css" href="<?php echo WPDM_BASE_URL ?>assets/bootstrap3/css/bootstrap.css" />
|
3 |
-
<script src="<?php echo WPDM_BASE_URL; ?>assets/bootstrap/js/bootstrap.bundle.min.js"></script>
|
4 |
-
<link href='https://fonts.googleapis.com/css?family=Overpass:300,400,700' rel='stylesheet' type='text/css'>
|
5 |
-
<link href="<?php echo WPDM_BASE_URL . 'assets/fontawesome/css/all.css'; ?>" rel="stylesheet">
|
6 |
<link rel="stylesheet" href="<?php echo plugins_url('/download-manager/assets/css/front3.css'); ?>" />
|
|
|
|
|
7 |
<style>
|
8 |
.w3eden .lead,
|
9 |
-
.w3eden .btn,
|
10 |
.w3eden p{
|
11 |
font-family: 'Overpass', sans-serif;
|
12 |
-
font-weight:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
}
|
14 |
-
.w3eden
|
15 |
font-family: 'Overpass', sans-serif;
|
|
|
16 |
}
|
17 |
|
18 |
.r{
|
@@ -20,14 +25,17 @@
|
|
20 |
font-weight: 300;
|
21 |
font-size: 11pt;
|
22 |
}
|
23 |
-
|
|
|
|
|
|
|
24 |
.r b{
|
25 |
display: block;
|
26 |
clear: both;
|
27 |
margin-bottom: 5px;
|
28 |
}
|
29 |
|
30 |
-
|
31 |
padding: 7px;
|
32 |
}
|
33 |
#wphead{
|
@@ -43,18 +51,25 @@
|
|
43 |
#wpbody{
|
44 |
margin-left: -19px;
|
45 |
}
|
46 |
-
|
47 |
min-width: 150px;
|
48 |
}
|
49 |
-
.
|
|
|
|
|
|
|
|
|
|
|
50 |
font-size: 11pt;
|
51 |
-
margin-bottom: 5px;
|
52 |
}
|
53 |
-
|
54 |
-
.w3eden .media .btn-success{
|
55 |
margin-top: 3px;
|
56 |
}
|
57 |
|
|
|
|
|
|
|
|
|
58 |
.wpdm-loading {
|
59 |
background: url('<?php echo plugins_url('download-manager/assets/images/wpdm-settings.png'); ?>') center center no-repeat;
|
60 |
width: 16px;
|
@@ -67,14 +82,6 @@
|
|
67 |
|
68 |
}
|
69 |
|
70 |
-
.w3eden .label-info {
|
71 |
-
background-color: #5bc0de;
|
72 |
-
display: inline-block;
|
73 |
-
line-height: 15px;
|
74 |
-
padding: 7px 12px 5px;
|
75 |
-
font-family: 'Overpass', sans-serif;
|
76 |
-
}
|
77 |
-
|
78 |
.w3eden .btn{
|
79 |
border-radius: 0.2em !important;
|
80 |
}
|
@@ -210,151 +217,170 @@
|
|
210 |
outline: none !important;
|
211 |
}
|
212 |
|
213 |
-
.w3eden .nav-pills li.active a,
|
214 |
-
.btn-primary,
|
215 |
-
.w3eden .panel-primary > .panel-heading{
|
216 |
-
background-image: linear-gradient(to bottom, #2081D5 0px, #1B6CB2 100%) !important;
|
217 |
-
}
|
218 |
-
.w3eden .panel-default > .panel-heading {
|
219 |
-
background-image: linear-gradient(to bottom, #F5F5F5 0px, #E1E1E1 100%);
|
220 |
-
background-repeat: repeat-x;
|
221 |
-
}
|
222 |
-
|
223 |
#modalcontents .wrap h2{ display: none; }
|
224 |
|
225 |
</style>
|
226 |
|
227 |
<div class="wrap w3eden">
|
228 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
229 |
|
|
|
230 |
<div class="container-fluid" style="margin-top: 10px;max-width: 1200px">
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
<div class="media-body">
|
282 |
-
<b style="display: block;font-size: 15pt;margin-bottom: 10px"><a target="_blank" href="https://wpliveforms.com">Live Forms - The best form builder</a></b>
|
283 |
-
<p style="font-size: 12pt;margin-bottom: 0">We specially request you to try this, we assure you, you will be more than happy!</p>
|
284 |
-
</div>
|
285 |
-
</div>
|
286 |
-
</div>
|
287 |
-
<div style="line-height: 30px;" class="panel-footer">
|
288 |
-
<a href="<?php echo admin_url('plugin-install.php?tab=plugin-information&plugin=liveforms&TB_iframe=true&width=600&height=550')?>" class="btn btn-success btn-block thickbox open-plugin-details-modal">Install</a>
|
289 |
-
</div>
|
290 |
-
</div>
|
291 |
-
</div>
|
292 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
293 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
294 |
|
295 |
|
296 |
-
<div style="clear: both"></div>
|
297 |
|
|
|
298 |
|
299 |
-
<?php //} ?>
|
300 |
|
301 |
-
|
302 |
-
<div class="well">
|
303 |
-
<div class="media">
|
304 |
-
<div class="pull-right">
|
305 |
-
<a href="https://www.wpdownloadmanager.com/downloads/free-add-ons/" target="_blank" class="btn btn-info">Explore Free Add-ons <i class="fa fa-angle-double-right"></i></a>
|
306 |
-
</div>
|
307 |
-
<div class="media-body">
|
308 |
-
<b>Free Add-ons</b><br/>
|
309 |
-
There are more free add-ons
|
310 |
-
</div> </div>
|
311 |
-
</div>
|
312 |
-
</div>
|
313 |
|
314 |
-
|
315 |
-
<div class="well">
|
316 |
-
<div class="media">
|
317 |
-
<div class="pull-right">
|
318 |
-
<a href="https://wpattire.com" target="_blank" class="btn btn-info">Get WP Attire <i class="fa fa-angle-double-right"></i></a>
|
319 |
-
</div>
|
320 |
-
<div class="media-body">
|
321 |
-
<b>All-in-One WordPress Theme</b><br/>
|
322 |
-
You search for the best theme ends here
|
323 |
-
</div> </div>
|
324 |
-
</div>
|
325 |
|
326 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
327 |
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
|
|
333 |
|
334 |
-
|
|
|
|
|
335 |
|
336 |
-
|
337 |
-
|
338 |
|
339 |
-
|
340 |
-
|
341 |
-
<b>Refined Codebase</b>
|
342 |
-
Recoded from ground with lots of improvements.
|
343 |
|
344 |
-
|
345 |
-
|
346 |
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
|
351 |
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
|
357 |
-
|
358 |
|
359 |
</div>
|
360 |
<div class="modal fade" id="addonmodal" tabindex="-1" role="dialog" aria-labelledby="addonmodalLabel" aria-hidden="true">
|
@@ -365,7 +391,7 @@
|
|
365 |
<h4 class="modal-title" id="myModalLabel">Add-On Installer</h4>
|
366 |
</div>
|
367 |
<div class="modal-body" id="modalcontents">
|
368 |
-
<i class="
|
369 |
</div>
|
370 |
<div class="modal-footer">
|
371 |
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
|
@@ -382,7 +408,7 @@
|
|
382 |
|
383 |
|
384 |
jQuery(".btn-install, .btn-purchase").click(function(){
|
385 |
-
jQuery('#modalcontents').html('<i class="
|
386 |
});
|
387 |
jQuery('#addonmodal').on('shown.bs.modal', function (e) {
|
388 |
if(jQuery(e.relatedTarget).hasClass('btn-install')){
|
@@ -398,7 +424,7 @@
|
|
398 |
if(jQuery(e.relatedTarget).hasClass('btn-purchase')){
|
399 |
jQuery('.modal-dialog').css('width','800px');
|
400 |
jQuery('.modal-footer').css('margin',0);
|
401 |
-
jQuery('.modal-footer .btn-danger').html('<i class="
|
402 |
jQuery('#modalcontents').css('padding',0).css('background','#f2f2f2').html("<iframe onload=\"jQuery('.modal-footer .btn-danger').html('Continue Shopping...');jQuery('#prcbtn').show();\" style='width: 100%;padding-top: 20px; background: #f2f2f2;height: 300px;border: 0' src='https://www.wpdownloadmanager.com/?addtocart="+e.relatedTarget.rel+"'></iframe>");
|
403 |
}
|
404 |
})
|
1 |
+
<link rel="stylesheet" type="text/css" href="<?php echo plugins_url('/download-manager/assets/bootstrap3/css/bootstrap.css');?>" />
|
|
|
|
|
|
|
|
|
2 |
<link rel="stylesheet" href="<?php echo plugins_url('/download-manager/assets/css/front3.css'); ?>" />
|
3 |
+
<link href='//fonts.googleapis.com/css?family=Overpass:300,400,700' rel='stylesheet' type='text/css'>
|
4 |
+
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
|
5 |
<style>
|
6 |
.w3eden .lead,
|
|
|
7 |
.w3eden p{
|
8 |
font-family: 'Overpass', sans-serif;
|
9 |
+
font-weight: 100;
|
10 |
+
}
|
11 |
+
|
12 |
+
.w3eden h3, .w3eden h2, .w3eden h1{
|
13 |
+
font-family: 'Overpass', sans-serif;
|
14 |
+
font-weight: 700;
|
15 |
+
margin-top: 20px;
|
16 |
+
margin-bottom: 5px;
|
17 |
}
|
18 |
+
.w3eden a{
|
19 |
font-family: 'Overpass', sans-serif;
|
20 |
+
font-weight: 700;
|
21 |
}
|
22 |
|
23 |
.r{
|
25 |
font-weight: 300;
|
26 |
font-size: 11pt;
|
27 |
}
|
28 |
+
b{
|
29 |
+
font-size: 14pt;
|
30 |
+
margin-bottom: 10px;
|
31 |
+
}
|
32 |
.r b{
|
33 |
display: block;
|
34 |
clear: both;
|
35 |
margin-bottom: 5px;
|
36 |
}
|
37 |
|
38 |
+
input{
|
39 |
padding: 7px;
|
40 |
}
|
41 |
#wphead{
|
51 |
#wpbody{
|
52 |
margin-left: -19px;
|
53 |
}
|
54 |
+
select{
|
55 |
min-width: 150px;
|
56 |
}
|
57 |
+
.media-body b {
|
58 |
+
font-size: 13pt;
|
59 |
+
display: block;
|
60 |
+
margin-bottom: 10px;
|
61 |
+
}
|
62 |
+
.media-body p{
|
63 |
font-size: 11pt;
|
|
|
64 |
}
|
65 |
+
.media .btn-success{
|
|
|
66 |
margin-top: 3px;
|
67 |
}
|
68 |
|
69 |
+
.w3eden .label.label-info{
|
70 |
+
font-size: 11px;background: rgba(132, 111, 168, 0.38) !important; padding: 5px 10px !important;;border-radius: 2px !important;font-weight: 300;font-family: Overpass;letter-spacing: 1px;
|
71 |
+
}
|
72 |
+
.w3eden .alert.alert-info:before{ line-height: 30px; }
|
73 |
.wpdm-loading {
|
74 |
background: url('<?php echo plugins_url('download-manager/assets/images/wpdm-settings.png'); ?>') center center no-repeat;
|
75 |
width: 16px;
|
82 |
|
83 |
}
|
84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
.w3eden .btn{
|
86 |
border-radius: 0.2em !important;
|
87 |
}
|
217 |
outline: none !important;
|
218 |
}
|
219 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
220 |
#modalcontents .wrap h2{ display: none; }
|
221 |
|
222 |
</style>
|
223 |
|
224 |
<div class="wrap w3eden">
|
225 |
|
226 |
+
<div class="wcheader" style="background: #fff;border-bottom: 1px solid #ddd">
|
227 |
+
<div class="container-fluid" style="margin-top: 0;max-width: 1200px">
|
228 |
+
<div class="row">
|
229 |
+
<div class="col-md-12">
|
230 |
+
<img style="max-width: 100%" src="<?php echo WPDM_BASE_URL; ?>assets/images/wpdm-welcome.png"/>
|
231 |
+
</div>
|
232 |
+
</div>
|
233 |
+
</div>
|
234 |
|
235 |
+
</div>
|
236 |
<div class="container-fluid" style="margin-top: 10px;max-width: 1200px">
|
237 |
+
<div class="row">
|
238 |
+
<?php //if(!function_exists('wpdm_tinymce')){ ?>
|
239 |
+
<div class="col-md-12"><h3 class="text-center"><span class="text-success">ATTENTION!!</span> What to do next?</h3></div>
|
240 |
+
<div class="col-md-12 lead text-center">Install the following plugins to make your site more awesome<br/><br/></div>
|
241 |
+
<div class="col-md-6">
|
242 |
+
<div class="panel panel-success">
|
243 |
+
<div style="overflow: hidden" class="panel-body">
|
244 |
+
<div class="media">
|
245 |
+
<div class="pull-left">
|
246 |
+
<img width="96px" src="<?php echo WPDM_BASE_URL ?>assets/images/liveforms-logo.png" />
|
247 |
+
</div>
|
248 |
+
<div class="media-body">
|
249 |
+
<b><a target="_blank" href="<?php echo admin_url('/plugin-install.php?s=liveforms&tab=search&type=term') ?>">WordPress Contact Form Builder</a></b>
|
250 |
+
<p>Ultimate Solution For Building Any Form. Try this even if you are already using another plugin. I'm sure, you will thank me for this later!</p>
|
251 |
+
</div>
|
252 |
+
</div>
|
253 |
+
</div>
|
254 |
+
</div>
|
255 |
+
</div>
|
256 |
+
<div class="col-md-6">
|
257 |
+
<div class="panel panel-success">
|
258 |
+
<div style="overflow: hidden" class="panel-body">
|
259 |
+
<div class="media">
|
260 |
+
<div class="pull-left">
|
261 |
+
<img width="96px" src="<?php echo WPDM_BASE_URL ?>assets/images/attire-blocks.png" />
|
262 |
+
</div>
|
263 |
+
<div class="media-body">
|
264 |
+
<b><a target="_blank" href="<?php echo admin_url('/plugin-install.php?s=attire-blocks&tab=search&type=term') ?>">Gutenberg Blocks and Page Layouts</a></b>
|
265 |
+
<p>Create Pages in a fast and easy way. Attire Blocks makes building pages and posts easier than ever with beautifully designed Gutenberg blocks and page layouts.</p>
|
266 |
+
</div>
|
267 |
+
</div>
|
268 |
+
</div>
|
269 |
+
</div>
|
270 |
+
</div>
|
271 |
+
<div class="col-md-4">
|
272 |
+
<div class="panel panel-default">
|
273 |
+
<div style="overflow: hidden" class="panel-body">
|
274 |
+
<div class="media">
|
275 |
+
<div class="pull-left">
|
276 |
+
<img width="96px" src="<?php echo WPDM_BASE_URL ?>assets/images/wpdm-gb.png" />
|
277 |
+
</div>
|
278 |
+
<div class="media-body">
|
279 |
+
<b><a target="_blank" href="https://www.wpdownloadmanager.com/download/gutenberg-blocks/">Gutenberg Blocks</a></b>
|
280 |
+
<p class="m-0">WordPress Download Manager shortcode helper for the block editor.</p>
|
281 |
+
</div>
|
282 |
+
</div>
|
283 |
+
</div>
|
284 |
+
</div>
|
285 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
286 |
|
287 |
+
<div class="col-md-4" >
|
288 |
+
<div class="panel panel-default">
|
289 |
+
<div style="overflow: hidden" class="panel-body">
|
290 |
+
<div class="media">
|
291 |
+
<div class="pull-left">
|
292 |
+
<img width="96px" src="<?php echo WPDM_BASE_URL ?>assets/images/wpdmpp.png" />
|
293 |
+
</div>
|
294 |
+
<div class="media-body">
|
295 |
+
<b><a href="https://www.wpdownloadmanager.com/download/premium-package-complete-digital-store-solution/">Premium Package</a></b>
|
296 |
+
<p class="m-0">Sell digital product securely and easily, accept onetime or recurring payment.</p>
|
297 |
+
</div>
|
298 |
+
</div>
|
299 |
+
</div>
|
300 |
+
</div>
|
301 |
+
</div>
|
302 |
|
303 |
+
<div class="col-md-4">
|
304 |
+
<div class="panel panel-default">
|
305 |
+
<div style="overflow: hidden" class="panel-body">
|
306 |
+
<div class="media">
|
307 |
+
<div class="pull-left">
|
308 |
+
<img width="86px" style="padding: 5px" src="<?php echo WPDM_BASE_URL ?>assets/images/wpdm-es.png" />
|
309 |
+
</div>
|
310 |
+
<div class="media-body">
|
311 |
+
<b><a target="_blank" href="https://www.wpdownloadmanager.com/download/wpdm-extended-short-codes/">Extended Short-codes</a></b>
|
312 |
+
<p class="m-0">WPDM Extended Short-codes add-on will give you better experience in using WordPress</p>
|
313 |
+
</div>
|
314 |
+
</div>
|
315 |
+
</div>
|
316 |
+
</div>
|
317 |
+
</div>
|
318 |
|
319 |
|
|
|
320 |
|
321 |
+
<div style="clear: both"></div>
|
322 |
|
|
|
323 |
|
324 |
+
<?php //}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
325 |
|
326 |
+
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
327 |
|
328 |
+
<div class="col-md-6">
|
329 |
+
<div class="well">
|
330 |
+
<div class="media">
|
331 |
+
<div class="pull-right">
|
332 |
+
<a href="https://www.wpdownloadmanager.com/downloads/free-add-ons/" class="btn btn-success btn-lg">Explore Free Add-ons <i class="fa fa-angle-double-right"></i></a>
|
333 |
+
</div>
|
334 |
+
<div class="media-body">
|
335 |
+
<b>Free Add-ons</b>
|
336 |
+
There are more free add-ons
|
337 |
+
</div> </div>
|
338 |
+
</div>
|
339 |
+
</div>
|
340 |
+
<div class="col-md-6">
|
341 |
+
<div class="well">
|
342 |
+
<div class="media">
|
343 |
+
<div class="pull-right">
|
344 |
+
<a href="https://www.wpdownloadmanager.com/download/attire-allinone-wordpress-theme/" class="btn btn-info btn-lg">Download Now! <i class="fa fa-angle-double-right"></i></a>
|
345 |
+
</div>
|
346 |
+
<div class="media-body">
|
347 |
+
<b>Need a better theme?</b>
|
348 |
+
Free WordPress Theme for Digital Shops.
|
349 |
+
</div> </div>
|
350 |
+
</div>
|
351 |
+
</div>
|
352 |
|
353 |
+
<div class="col-md-12 lead">
|
354 |
+
<hr/>
|
355 |
+
<h3>What's New?</h3>
|
356 |
+
What new with WordPress Download Manager v3.1.x:
|
357 |
+
<hr/>
|
358 |
+
</div>
|
359 |
|
360 |
+
<div class="col-md-4 r">
|
361 |
+
<b>Media Protection</b>
|
362 |
+
Protection media library files quickly using password, control who can access or not.
|
363 |
|
364 |
+
</div>
|
365 |
+
<div class="col-md-4 r">
|
366 |
|
367 |
+
<b>Asset Manager</b>
|
368 |
+
Added awesome asset management option, get control over all files.Upload, edit, delete or update directly from wp admin.
|
|
|
|
|
369 |
|
370 |
+
</div>
|
371 |
+
<div class="col-md-4 r">
|
372 |
|
373 |
+
<b>More Features</b>
|
374 |
+
Improved admin UI and front-end short-code templates, one click updates for wpdm add-ons, improved gutenberg compatibility.
|
375 |
+
</div>
|
376 |
|
377 |
|
378 |
+
<div class="col-md-12 lead">
|
379 |
+
<hr/>
|
380 |
+
Lets start: Admin Menu <i class="fa fa-angle-double-right"></i> <a href="<?php echo admin_url('edit.php?post_type=wpdmpro'); ?>">Downloads</a> <i class="fa fa-angle-double-right"></i> <a href="<?php echo admin_url('post-new.php?post_type=wpdmpro'); ?>">Add New</a>
|
381 |
+
</div>
|
382 |
|
383 |
+
</div>
|
384 |
|
385 |
</div>
|
386 |
<div class="modal fade" id="addonmodal" tabindex="-1" role="dialog" aria-labelledby="addonmodalLabel" aria-hidden="true">
|
391 |
<h4 class="modal-title" id="myModalLabel">Add-On Installer</h4>
|
392 |
</div>
|
393 |
<div class="modal-body" id="modalcontents">
|
394 |
+
<i class="fas fa-sun fa-spin"></i> Please Wait...
|
395 |
</div>
|
396 |
<div class="modal-footer">
|
397 |
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
|
408 |
|
409 |
|
410 |
jQuery(".btn-install, .btn-purchase").click(function(){
|
411 |
+
jQuery('#modalcontents').html('<i class="fas fa-sun fa-spin"></i> Please Wait...');
|
412 |
});
|
413 |
jQuery('#addonmodal').on('shown.bs.modal', function (e) {
|
414 |
if(jQuery(e.relatedTarget).hasClass('btn-install')){
|
424 |
if(jQuery(e.relatedTarget).hasClass('btn-purchase')){
|
425 |
jQuery('.modal-dialog').css('width','800px');
|
426 |
jQuery('.modal-footer').css('margin',0);
|
427 |
+
jQuery('.modal-footer .btn-danger').html('<i class="fas fa-sun fa-spin"></i> Please Wait...');
|
428 |
jQuery('#modalcontents').css('padding',0).css('background','#f2f2f2').html("<iframe onload=\"jQuery('.modal-footer .btn-danger').html('Continue Shopping...');jQuery('#prcbtn').show();\" style='width: 100%;padding-top: 20px; background: #f2f2f2;height: 300px;border: 0' src='https://www.wpdownloadmanager.com/?addtocart="+e.relatedTarget.rel+"'></iframe>");
|
429 |
}
|
430 |
})
|
src/User/views/login-form.php
CHANGED
@@ -57,7 +57,7 @@ if(!defined('ABSPATH')) die();
|
|
57 |
|
58 |
<div class="row login-form-meta-text text-muted mb-3" style="font-size: 10px">
|
59 |
<div class="col-md-5"><label><input class="wpdm-checkbox" name="rememberme" type="checkbox" id="rememberme" value="forever" /><?php _e( "Remember Me" , WPDM_TEXT_DOMAIN ); ?></label></div>
|
60 |
-
<div class="col-md-7 text-right"><a class="color-blue" href="<?php echo
|
61 |
</div>
|
62 |
|
63 |
<div class="row">
|
57 |
|
58 |
<div class="row login-form-meta-text text-muted mb-3" style="font-size: 10px">
|
59 |
<div class="col-md-5"><label><input class="wpdm-checkbox" name="rememberme" type="checkbox" id="rememberme" value="forever" /><?php _e( "Remember Me" , WPDM_TEXT_DOMAIN ); ?></label></div>
|
60 |
+
<div class="col-md-7 text-right"><a class="color-blue" href="<?php echo wpdm_lostpassword_url(); ?>"><?php _e( "Forgot Password?" , WPDM_TEXT_DOMAIN ); ?></a></div>
|
61 |
</div>
|
62 |
|
63 |
<div class="row">
|
src/__/Email.php
CHANGED
@@ -190,8 +190,10 @@ class Email {
|
|
190 |
$params = $params + $__wpdm_email_setting;
|
191 |
$logo = isset($params['logo']) ? esc_url($params['logo']) : '';
|
192 |
$banner = isset($params['banner']) ? esc_url($params['banner']) : '';
|
193 |
-
|
194 |
-
|
|
|
|
|
195 |
$params['banner_img'] = isset( $params['banner'] ) && $params['banner'] != '' ? "<img style='max-width: 100%;' src='{$banner}' alt='Banner Image' />" : "";
|
196 |
$template_file = get_option( "__wpdm_email_template", "default.html" );
|
197 |
$emltpl = null;
|
190 |
$params = $params + $__wpdm_email_setting;
|
191 |
$logo = isset($params['logo']) ? esc_url($params['logo']) : '';
|
192 |
$banner = isset($params['banner']) ? esc_url($params['banner']) : '';
|
193 |
+
$logo_wh = isset( $params['logo_w'] ) ? "width:{$params['logo_w']};" : "";
|
194 |
+
$logo_wh .= isset($params['logo_h']) ? "height:{$params['logo_h']};" : "";
|
195 |
+
$params['img_logo'] = isset( $params['logo'] ) && $params['logo'] != '' ? "<img style='max-width: 70%;{$logo_wh}' src='{$logo}' alt='".esc_attr(get_option('blogname'))."' />" : get_bloginfo('name');
|
196 |
+
$params['banner'] = isset( $params['banner'] ) && $params['banner'] != '' ? esc_url($params['banner']) : "";
|
197 |
$params['banner_img'] = isset( $params['banner'] ) && $params['banner'] != '' ? "<img style='max-width: 100%;' src='{$banner}' alt='Banner Image' />" : "";
|
198 |
$template_file = get_option( "__wpdm_email_template", "default.html" );
|
199 |
$emltpl = null;
|
src/__/views/email-templates/default.html
CHANGED
@@ -638,7 +638,7 @@
|
|
638 |
</div>
|
639 |
</div>
|
640 |
|
641 |
-
<div class="layout one-col fixed-width" style="Margin: 0 auto;max-width: 600px;min-width: 320px; width: 320px;width: calc(28000% - 173000px);overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;border-radius:
|
642 |
<div class="layout__inner" style="border-collapse: collapse;display: table;width: 100%;background-color: #ffffff;" lang="x-layout__inner" emb-background-style>
|
643 |
<!--[if (mso)|(IE)]><table align="center" cellpadding="0" cellspacing="0"><tr class="layout-fixed-width" emb-background-style><td style="width: 100%" class="w560"><![endif]-->
|
644 |
<div class="column" style='text-align: left;color: #808285;font-size: 14px;line-height: 21px;font-family: Proxima Nova, Avenir, Helvetica Neue, Helvetica, Arial, sans-serif;max-width: 600px;min-width: 320px; width: 320px;width: calc(28000% - 167400px);'>
|
@@ -670,7 +670,7 @@
|
|
670 |
|
671 |
<div style="line-height:20px;font-size:20px;"> </div>
|
672 |
|
673 |
-
<div class="layout one-col fixed-width" style="Margin: 0 auto;max-width: 600px;min-width: 320px; width: 320px;width: calc(28000% - 173000px);overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;border-radius:
|
674 |
<div class="layout__inner" style="border-collapse: collapse;display: table;width: 100%;background-color: #ffffff;" lang="x-layout__inner" emb-background-style>
|
675 |
<!--[if (mso)|(IE)]><table align="center" cellpadding="0" cellspacing="0"><tr class="layout-fixed-width" emb-background-style><td style="width: 100%" class="w560"><![endif]-->
|
676 |
<div class="column" style='text-align: left;color: #808285;font-size: 14px;line-height: 21px;font-family: Proxima Nova, Avenir, Helvetica Neue, Helvetica, Arial, sans-serif;max-width: 100%;min-width: 320px; padding: 30px'>
|
638 |
</div>
|
639 |
</div>
|
640 |
|
641 |
+
<div class="layout one-col fixed-width" style="Margin: 0 auto;max-width: 600px;min-width: 320px; width: 320px;width: calc(28000% - 173000px);overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;border-radius: 16px !important;overflow:hidden;">
|
642 |
<div class="layout__inner" style="border-collapse: collapse;display: table;width: 100%;background-color: #ffffff;" lang="x-layout__inner" emb-background-style>
|
643 |
<!--[if (mso)|(IE)]><table align="center" cellpadding="0" cellspacing="0"><tr class="layout-fixed-width" emb-background-style><td style="width: 100%" class="w560"><![endif]-->
|
644 |
<div class="column" style='text-align: left;color: #808285;font-size: 14px;line-height: 21px;font-family: Proxima Nova, Avenir, Helvetica Neue, Helvetica, Arial, sans-serif;max-width: 600px;min-width: 320px; width: 320px;width: calc(28000% - 167400px);'>
|
670 |
|
671 |
<div style="line-height:20px;font-size:20px;"> </div>
|
672 |
|
673 |
+
<div class="layout one-col fixed-width" style="Margin: 0 auto;max-width: 600px;min-width: 320px; width: 320px;width: calc(28000% - 173000px);overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;border-radius: 16px !important;overflow:hidden;">
|
674 |
<div class="layout__inner" style="border-collapse: collapse;display: table;width: 100%;background-color: #ffffff;" lang="x-layout__inner" emb-background-style>
|
675 |
<!--[if (mso)|(IE)]><table align="center" cellpadding="0" cellspacing="0"><tr class="layout-fixed-width" emb-background-style><td style="width: 100%" class="w560"><![endif]-->
|
676 |
<div class="column" style='text-align: left;color: #808285;font-size: 14px;line-height: 21px;font-family: Proxima Nova, Avenir, Helvetica Neue, Helvetica, Arial, sans-serif;max-width: 100%;min-width: 320px; padding: 30px'>
|
src/__/views/email-templates/plain.html
CHANGED
@@ -25,6 +25,54 @@
|
|
25 |
|
26 |
.menu-space{padding-right:25px;}
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
@media only screen and (max-width:640px)
|
30 |
|
@@ -68,16 +116,16 @@
|
|
68 |
</style>
|
69 |
|
70 |
|
71 |
-
</head><body marginwidth="0" marginheight="0" style="margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; width: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;" offset="0" topmargin="0" leftmargin="0"><table class="" data-bgcolor="BodyBg" data-module="notification-15" align="center" bgcolor="#2b2a2a" border="0" cellpadding="0" cellspacing="0" width="100%">
|
72 |
<tr>
|
73 |
-
<td style="background-size: cover; background-position: center center; background-repeat: no-repeat; background-color: rgb(43, 42, 42);" data-bg="notification-15-bg" align="center" valign="top"><table class="main" align="center" border="0" cellpadding="0" cellspacing="0" width="500">
|
74 |
<tr>
|
75 |
<td height="80" align="left" valign="top"> </td>
|
76 |
</tr>
|
77 |
<tr>
|
78 |
<td style="background:#FFF;" align="left" bgcolor="#FFFFFF" valign="top"><table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
|
79 |
<tr>
|
80 |
-
<td align="center" valign="top"></td>
|
81 |
</tr>
|
82 |
<tr>
|
83 |
<td align="center" valign="top"><table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
|
@@ -124,7 +172,7 @@
|
|
124 |
</td>
|
125 |
</tr>
|
126 |
<tr>
|
127 |
-
<td align="left" valign="top"></td>
|
128 |
</tr>
|
129 |
</table></td>
|
130 |
</tr>
|
@@ -161,7 +209,7 @@
|
|
161 |
|
162 |
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
163 |
<tr>
|
164 |
-
<td align="left" valign="top"></td>
|
165 |
</tr>
|
166 |
<tr>
|
167 |
<td align="left" valign="top">
|
@@ -193,7 +241,7 @@
|
|
193 |
</table></td>
|
194 |
</tr>
|
195 |
<tr>
|
196 |
-
<td align="center" valign="top"></td>
|
197 |
</tr>
|
198 |
</table></td>
|
199 |
</tr>
|
25 |
|
26 |
.menu-space{padding-right:25px;}
|
27 |
|
28 |
+
.button{
|
29 |
+
border-radius: 5px;
|
30 |
+
color: #ffffff !important;
|
31 |
+
background: #4583ed;
|
32 |
+
border: 1px solid rgba(0,0,0,0.1);
|
33 |
+
text-decoration: none !important;
|
34 |
+
font-family: Proxima Nova, Avenir, Helvetica Neue, Helvetica, Arial, sans-serif;
|
35 |
+
padding: 15px 40px;
|
36 |
+
display: inline-block;
|
37 |
+
letter-spacing: 1px;
|
38 |
+
font-weight: 600;
|
39 |
+
font-size: 16px;
|
40 |
+
background-image: -moz-linear-gradient(top, rgba(0,0,0,0.1) 0%, rgba(140,60,201,0.1) 100%);
|
41 |
+
background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.1) 0%,rgba(140,60,201,0.1) 100%);
|
42 |
+
background-image: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%,rgba(140,60,201,0.1) 100%);
|
43 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1a000000', endColorstr='#1a8c3cc9',GradientType=0 );
|
44 |
+
-webkit-transition: ease-in-out 300ms;
|
45 |
+
-moz-transition: ease-in-out 300ms;
|
46 |
+
-ms-transition: ease-in-out 300ms;
|
47 |
+
-o-transition: ease-in-out 300ms;
|
48 |
+
transition: ease-in-out 300ms;
|
49 |
+
margin: 15px 0;
|
50 |
+
}
|
51 |
+
.button:hover{
|
52 |
+
background-image: -moz-linear-gradient(top, rgba(0,0,0,0.1) 0%, rgba(140,60,201,0.3) 95%);
|
53 |
+
background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.1) 0%,rgba(140,60,201,0.3) 95%);
|
54 |
+
background-image: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%,rgba(140,60,201,0.3) 95%);
|
55 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1a000000', endColorstr='#1a8c3cc9',GradientType=0 );
|
56 |
+
-webkit-transition: ease-in-out 300ms;
|
57 |
+
-moz-transition: ease-in-out 300ms;
|
58 |
+
-ms-transition: ease-in-out 300ms;
|
59 |
+
-o-transition: ease-in-out 300ms;
|
60 |
+
transition: ease-in-out 300ms;
|
61 |
+
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.17) !important;
|
62 |
+
}
|
63 |
+
.button:active{
|
64 |
+
background-image: -moz-linear-gradient(top, rgba(0,0,0,0.1) 0%, rgba(140,60,201,0.4) 98%);
|
65 |
+
background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.1) 0%,rgba(140,60,201,0.4) 98%);
|
66 |
+
background-image: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%,rgba(140,60,201,0.4) 98%);
|
67 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1a000000', endColorstr='#1a8c3cc9',GradientType=0 );
|
68 |
+
-webkit-transition: ease-in-out 300ms;
|
69 |
+
-moz-transition: ease-in-out 300ms;
|
70 |
+
-ms-transition: ease-in-out 300ms;
|
71 |
+
-o-transition: ease-in-out 300ms;
|
72 |
+
transition: ease-in-out 300ms;
|
73 |
+
box-shadow: none !important;
|
74 |
+
}
|
75 |
+
|
76 |
|
77 |
@media only screen and (max-width:640px)
|
78 |
|
116 |
</style>
|
117 |
|
118 |
|
119 |
+
</head><body marginwidth="0" marginheight="0" style="margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; width: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;" offset="0" topmargin="0" leftmargin="0"><table class="" data-bgcolor="BodyBg" data-module="notification-15" data-thumb="https://wpdmcdn.s3.amazonaws.com/emails/notification-15.png" align="center" bgcolor="#2b2a2a" border="0" cellpadding="0" cellspacing="0" width="100%">
|
120 |
<tr>
|
121 |
+
<td style="background-size: cover; background-position: center center; background-repeat: no-repeat; background-color: rgb(43, 42, 42);" data-bg="notification-15-bg" align="center" background="https://wpdmcdn.s3.amazonaws.com/emails/eml-biz-bg.png" valign="top"><table class="main" align="center" border="0" cellpadding="0" cellspacing="0" width="500">
|
122 |
<tr>
|
123 |
<td height="80" align="left" valign="top"> </td>
|
124 |
</tr>
|
125 |
<tr>
|
126 |
<td style="background:#FFF;" align="left" bgcolor="#FFFFFF" valign="top"><table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
|
127 |
<tr>
|
128 |
+
<td align="center" valign="top"><img src="https://wpdmcdn.s3.amazonaws.com/emails/eml-biz-border.png" alt="" style="display:block;width:100% !important; height:auto !important; " height="4" width="500"></td>
|
129 |
</tr>
|
130 |
<tr>
|
131 |
<td align="center" valign="top"><table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
|
172 |
</td>
|
173 |
</tr>
|
174 |
<tr>
|
175 |
+
<td align="left" valign="top"><img src="https://wpdmcdn.s3.amazonaws.com/emails/eml-biz-border2.png" alt="" style="display:block;width:100% !important; height:auto !important; " height="23" width="500"></td>
|
176 |
</tr>
|
177 |
</table></td>
|
178 |
</tr>
|
209 |
|
210 |
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
211 |
<tr>
|
212 |
+
<td align="left" valign="top"><img src="https://wpdmcdn.s3.amazonaws.com/emails/eml-biz-border2.png" alt="" style="display:block;width:100% !important; height:auto !important; " height="23" width="500"></td>
|
213 |
</tr>
|
214 |
<tr>
|
215 |
<td align="left" valign="top">
|
241 |
</table></td>
|
242 |
</tr>
|
243 |
<tr>
|
244 |
+
<td align="center" valign="top"><img src="https://wpdmcdn.s3.amazonaws.com/emails/eml-biz-border.png" alt="" style="display:block;width:100% !important; height:auto !important; " height="4" width="500"></td>
|
245 |
</tr>
|
246 |
</table></td>
|
247 |
</tr>
|
src/__/views/email-templates/ui-blocks/panel.php
CHANGED
@@ -7,15 +7,16 @@
|
|
7 |
if (!defined('ABSPATH')) die();
|
8 |
?>
|
9 |
<div style="border:1px solid #D7E0E9;border-radius: 3px;overflow: hidden;">
|
10 |
-
<?php if(
|
11 |
<div style="border-bottom: 1px solid #D7E0E9;background: #EFF3F7;padding: 10px 15px;font-size: 12pt;font-weight: bold;letter-spacing: 0.5px;line-height: 1.5"><?php echo $heading; ?></div>
|
12 |
<?php } ?>
|
13 |
-
<?php if(
|
14 |
-
foreach ($content as $html)
|
15 |
?>
|
16 |
<div style="border-bottom: 1px solid #D7E0E9;background: rgba(255,255,255,0.7);padding: 10px 15px;margin-bottom: -1px;letter-spacing: 0.5px;line-height: 1.5"><?php echo $html; ?></div>
|
17 |
-
<?php }
|
18 |
-
|
|
|
19 |
<div style="background: #EFF3F7;padding: 10px 15px;margin-top: -1px !important;"><?php echo $footer; ?></div>
|
20 |
<?php } ?>
|
21 |
</div>
|
7 |
if (!defined('ABSPATH')) die();
|
8 |
?>
|
9 |
<div style="border:1px solid #D7E0E9;border-radius: 3px;overflow: hidden;">
|
10 |
+
<?php if($heading != ''){ ?>
|
11 |
<div style="border-bottom: 1px solid #D7E0E9;background: #EFF3F7;padding: 10px 15px;font-size: 12pt;font-weight: bold;letter-spacing: 0.5px;line-height: 1.5"><?php echo $heading; ?></div>
|
12 |
<?php } ?>
|
13 |
+
<?php if(count($content) > 0){
|
14 |
+
foreach ($content as $html) {
|
15 |
?>
|
16 |
<div style="border-bottom: 1px solid #D7E0E9;background: rgba(255,255,255,0.7);padding: 10px 15px;margin-bottom: -1px;letter-spacing: 0.5px;line-height: 1.5"><?php echo $html; ?></div>
|
17 |
+
<?php }
|
18 |
+
} ?>
|
19 |
+
<?php if($footer != ''){ ?>
|
20 |
<div style="background: #EFF3F7;padding: 10px 15px;margin-top: -1px !important;"><?php echo $footer; ?></div>
|
21 |
<?php } ?>
|
22 |
</div>
|
src/wpdm-functions.php
CHANGED
@@ -660,7 +660,7 @@ function wpdm_fetch_template($template, $vars, $type = 'link')
|
|
660 |
*/
|
661 |
function wpdm_loginform()
|
662 |
{
|
663 |
-
return wpdm_login_form(array('redirect' => $_SERVER
|
664 |
}
|
665 |
|
666 |
|
660 |
*/
|
661 |
function wpdm_loginform()
|
662 |
{
|
663 |
+
return wpdm_login_form(array('redirect' => __::valueof($_SERVER, 'REQUEST_URI', ['validate' => 'escs'])));
|
664 |
}
|
665 |
|
666 |
|