From f1fba2d7fb955c7897d9cb4a2dce9ec21e981214 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sat, 21 Sep 2013 11:39:02 +0200 Subject: [PATCH] Hide Delivery Status Notification option when smtp_server is unset (#1489336) --- CHANGELOG | 1 + config/defaults.inc.php | 1 + skins/classic/templates/compose.html | 15 +++++++++++---- skins/larry/templates/compose.html | 2 ++ 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 8d5870ce4..9db75cacc 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ CHANGELOG Roundcube Webmail =========================== +- Hide Delivery Status Notification option when smtp_server is unset (#1489336) - Make default font size for HTML messages configurable (request #118) - Display full attachment name using title attribute when name is too long to display (#1489320) - Fix XSS issue in addressbook group name field [CVE-2013-5646] (#1489333) diff --git a/config/defaults.inc.php b/config/defaults.inc.php index 97c8f3b25..314150f50 100644 --- a/config/defaults.inc.php +++ b/config/defaults.inc.php @@ -960,6 +960,7 @@ $config['mdn_requests'] = 0; $config['mdn_default'] = 0; // Delivery Status Notification checkbox default state +// Note: This can be used only if smtp_server is non-empty $config['dsn_default'] = 0; // Place replies in the folder of the message being replied to diff --git a/skins/classic/templates/compose.html b/skins/classic/templates/compose.html index 5e259e11c..7d8aa1e43 100644 --- a/skins/classic/templates/compose.html +++ b/skins/classic/templates/compose.html @@ -178,16 +178,23 @@ - + + + - + + + - + + + - + + diff --git a/skins/larry/templates/compose.html b/skins/larry/templates/compose.html index 806939a42..15c8e56ff 100644 --- a/skins/larry/templates/compose.html +++ b/skins/larry/templates/compose.html @@ -140,9 +140,11 @@ + +