Version Description
=
- Improved select 2 layout
- Support for conditional comments in the editor
=
Download this release
Release Info
Developer | satollo |
Plugin | Newsletter |
Version | 5.0.8 |
Comparing to | |
See all releases |
Code changes from version 5.0.7 to 5.0.8
- admin.css +11 -1
- emails/edit.php +1 -0
- includes/controls.php +3 -3
- plugin.php +2 -2
- readme.txt +6 -1
admin.css
CHANGED
@@ -246,7 +246,7 @@
|
|
246 |
color: #444;
|
247 |
}
|
248 |
|
249 |
-
#tnp-body th,
|
250 |
#tnp-body td,
|
251 |
#tnp-body td p,
|
252 |
#tnp-body td .button,
|
@@ -268,6 +268,16 @@
|
|
268 |
margin-top: 2em;
|
269 |
}
|
270 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
271 |
#tnp-body .form-table th {
|
272 |
text-align: right;
|
273 |
font-weight: bold;
|
246 |
color: #444;
|
247 |
}
|
248 |
|
249 |
+
#tnp-body tbody th,
|
250 |
#tnp-body td,
|
251 |
#tnp-body td p,
|
252 |
#tnp-body td .button,
|
268 |
margin-top: 2em;
|
269 |
}
|
270 |
|
271 |
+
#tnp-body .widefat thead {
|
272 |
+
background-color: #3498DB;
|
273 |
+
font-family: "Montserrat", sans-serif;
|
274 |
+
color: #fff !important;
|
275 |
+
}
|
276 |
+
|
277 |
+
#tnp-body .widefat thead tr th {
|
278 |
+
color: #fff !important;
|
279 |
+
}
|
280 |
+
|
281 |
#tnp-body .form-table th {
|
282 |
text-align: right;
|
283 |
font-weight: bold;
|
emails/edit.php
CHANGED
@@ -267,6 +267,7 @@ if ($email['editor'] == 0) {
|
|
267 |
mode: "specific_textareas",
|
268 |
editor_selector: "visual",
|
269 |
statusbar: true,
|
|
|
270 |
table_toolbar: "tableprops tablecellprops tabledelete | tableinsertrowbefore tableinsertrowafter tabledeleterow | " +
|
271 |
"tableinsertcolbefore tableinsertcolafter tabledeletecol",
|
272 |
toolbar: "formatselect fontselect fontsizeselect | bold italic underline strikethrough forecolor backcolor | alignleft alignright aligncenter alignjustify | bullist numlist | link unlink | image",
|
267 |
mode: "specific_textareas",
|
268 |
editor_selector: "visual",
|
269 |
statusbar: true,
|
270 |
+
allow_conditional_comments: true,
|
271 |
table_toolbar: "tableprops tablecellprops tabledelete | tableinsertrowbefore tableinsertrowafter tabledeleterow | " +
|
272 |
"tableinsertcolbefore tableinsertcolafter tabledeletecol",
|
273 |
toolbar: "formatselect fontselect fontsizeselect | bold italic underline strikethrough forecolor backcolor | alignleft alignright aligncenter alignjustify | bullist numlist | link unlink | image",
|
includes/controls.php
CHANGED
@@ -593,7 +593,7 @@ class NewsletterControls {
|
|
593 |
echo '<script>jQuery("#options-' . esc_attr($name) . '").select2({templateResult: tnp_select_images, templateSelection: tnp_select_images_selection});</script>';
|
594 |
}
|
595 |
|
596 |
-
function select2($name, $options, $first = null, $multiple = false) {
|
597 |
|
598 |
if ($multiple)
|
599 |
$option_name = "options[" . esc_attr($name) . "][]";
|
@@ -601,7 +601,7 @@ class NewsletterControls {
|
|
601 |
|
602 |
$value = $this->get_value($name);
|
603 |
|
604 |
-
echo '<select id="options-' . esc_attr($name) . '" name="' . $option_name . '" style="
|
605 |
if (!empty($first)) {
|
606 |
echo '<option value="">' . esc_html($first) . '</option>';
|
607 |
}
|
@@ -1046,7 +1046,7 @@ class NewsletterControls {
|
|
1046 |
$lists['' . $i] = '(' . $i . ') ' . $options_profile['list_' . $i];
|
1047 |
}
|
1048 |
$this->select($name, $lists);
|
1049 |
-
echo ' <a href="admin.php?page=newsletter_subscription_lists" target="_blank"><i class="fa fa-edit"></i></a
|
1050 |
}
|
1051 |
|
1052 |
function date($name) {
|
593 |
echo '<script>jQuery("#options-' . esc_attr($name) . '").select2({templateResult: tnp_select_images, templateSelection: tnp_select_images_selection});</script>';
|
594 |
}
|
595 |
|
596 |
+
function select2($name, $options, $first = null, $multiple = false, $style = "width: 100%") {
|
597 |
|
598 |
if ($multiple)
|
599 |
$option_name = "options[" . esc_attr($name) . "][]";
|
601 |
|
602 |
$value = $this->get_value($name);
|
603 |
|
604 |
+
echo '<select id="options-' . esc_attr($name) . '" name="' . $option_name . '" style="'. $style .'" ' . ($multiple ? 'multiple="multiple"' : '') . '>';
|
605 |
if (!empty($first)) {
|
606 |
echo '<option value="">' . esc_html($first) . '</option>';
|
607 |
}
|
1046 |
$lists['' . $i] = '(' . $i . ') ' . $options_profile['list_' . $i];
|
1047 |
}
|
1048 |
$this->select($name, $lists);
|
1049 |
+
echo ' <a href="admin.php?page=newsletter_subscription_lists" target="_blank"><i class="fa fa-edit"></i></a>';
|
1050 |
}
|
1051 |
|
1052 |
function date($name) {
|
plugin.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: Newsletter
|
5 |
Plugin URI: https://www.thenewsletterplugin.com/plugins/newsletter
|
6 |
Description: Newsletter is a cool plugin to create your own subscriber list, to send newsletters, to build your business. <strong>Before update give a look to <a href="https://www.thenewsletterplugin.com/category/release">this page</a> to know what's changed.</strong>
|
7 |
-
Version: 5.0.
|
8 |
Author: Stefano Lissa & The Newsletter Team
|
9 |
Author URI: https://www.thenewsletterplugin.com
|
10 |
Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
|
@@ -14,7 +14,7 @@
|
|
14 |
*/
|
15 |
|
16 |
// Used as dummy parameter on css and js links
|
17 |
-
define('NEWSLETTER_VERSION', '5.0.
|
18 |
|
19 |
global $wpdb, $newsletter;
|
20 |
|
4 |
Plugin Name: Newsletter
|
5 |
Plugin URI: https://www.thenewsletterplugin.com/plugins/newsletter
|
6 |
Description: Newsletter is a cool plugin to create your own subscriber list, to send newsletters, to build your business. <strong>Before update give a look to <a href="https://www.thenewsletterplugin.com/category/release">this page</a> to know what's changed.</strong>
|
7 |
+
Version: 5.0.8
|
8 |
Author: Stefano Lissa & The Newsletter Team
|
9 |
Author URI: https://www.thenewsletterplugin.com
|
10 |
Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
|
14 |
*/
|
15 |
|
16 |
// Used as dummy parameter on css and js links
|
17 |
+
define('NEWSLETTER_VERSION', '5.0.8');
|
18 |
|
19 |
global $wpdb, $newsletter;
|
20 |
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Tags: newsletter,email,subscription,mass mail,list build,email marketing,direct mailing,automation,automated
|
3 |
Requires at least: 3.4.0
|
4 |
Tested up to: 4.8.2
|
5 |
-
Stable tag: 5.0.
|
6 |
Contributors: satollo,webagile,michael-travan
|
7 |
|
8 |
Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
|
@@ -85,6 +85,11 @@ Thank you, The Newsletter Team
|
|
85 |
|
86 |
== Changelog ==
|
87 |
|
|
|
|
|
|
|
|
|
|
|
88 |
== 5.0.7 ==
|
89 |
|
90 |
* Fix a database table field size
|
2 |
Tags: newsletter,email,subscription,mass mail,list build,email marketing,direct mailing,automation,automated
|
3 |
Requires at least: 3.4.0
|
4 |
Tested up to: 4.8.2
|
5 |
+
Stable tag: 5.0.8
|
6 |
Contributors: satollo,webagile,michael-travan
|
7 |
|
8 |
Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
|
85 |
|
86 |
== Changelog ==
|
87 |
|
88 |
+
== 5.0.8 ==
|
89 |
+
|
90 |
+
* Improved select 2 layout
|
91 |
+
* Support for conditional comments in the editor
|
92 |
+
|
93 |
== 5.0.7 ==
|
94 |
|
95 |
* Fix a database table field size
|