diff --git a/data/interfaces/default/js/script.js b/data/interfaces/default/js/script.js index 87e1e585..04612bc7 100644 --- a/data/interfaces/default/js/script.js +++ b/data/interfaces/default/js/script.js @@ -1,17 +1,34 @@ -function initConfigCheckbox(elem) { +function initConfigCheckbox(elem, reverse) { var config = $(elem).closest('div').next(); config.css('overflow', 'hidden'); - if ($(elem).is(":checked")) { - config.show(); + if (reverse) { + if ($(elem).is(":checked")) { + config.hide(); + } else { + config.show(); + } } else { - config.hide(); + if ($(elem).is(":checked")) { + config.show(); + } else { + config.hide(); + } } $(elem).click(function () { var config = $(this).closest('div').next(); - if ($(this).is(":checked")) { - config.slideDown(); + if (reverse) { + if ($(this).is(":checked")) { + config.slideUp(); + } else { + config.slideDown(); + } + } else { - config.slideUp(); + if ($(this).is(":checked")) { + config.slideDown(); + } else { + config.slideUp(); + } } }); } diff --git a/data/interfaces/default/newsletter_config.html b/data/interfaces/default/newsletter_config.html index b70cef51..c0bcaf0f 100644 --- a/data/interfaces/default/newsletter_config.html +++ b/data/interfaces/default/newsletter_config.html @@ -206,58 +206,60 @@
Enable to save the newsletter file without sending it to any notification agent.
-Enable to send the newsletter as an HTML formatted Email. Disable to only send a subject and body message to a different notification agent.
- -
+ Select an existing Email notification agent or enter a new configuration below.
+ Note: Make sure HTML support is enabled for the Email notification agent.
+
+ Select an existing notification agent where the subject and body text will be sent.
+ Note: Self-hosted newsletters must be enabled under Newsletters to include a link to the newsletter.
+
- Select an existing notification agent where the subject and body text will be sent.
- Note: Self-hosted newsletters must be enabled under Newsletters to include a link to the newsletter.
-