diff options
author | Aleksander Machniak <alec@alec.pl> | 2015-01-09 11:25:53 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2015-01-09 11:25:53 +0100 |
commit | f6502176f894940aa95c634510dabb2591d1eeb0 (patch) | |
tree | 7f75990cd7bbd5ebbe04974e6806eeb3f2481161 /skins/classic | |
parent | 9e26034801fe505a481d474e06bfc806cd548598 (diff) |
Hide MDN and DSN options in compose if disabled by admin (#1490221)
Diffstat (limited to 'skins/classic')
-rw-r--r-- | skins/classic/templates/compose.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/skins/classic/templates/compose.html b/skins/classic/templates/compose.html index 1515eeb06..805032504 100644 --- a/skins/classic/templates/compose.html +++ b/skins/classic/templates/compose.html @@ -174,11 +174,13 @@ <div id="composeoptionsmenu" class="popupmenu"> <table> + <roundcube:if condition="!in_array('mdn_default', (array)config:dont_override)" /> <tr> <td><label for="rcmcomposereceipt"><roundcube:label name="returnreceipt" />:</label></td> - <td><roundcube:object name="receiptCheckBox" form="form" id="rcmcomposereceipt" /></td> + <td><roundcube:object name="mdnCheckBox" form="form" id="rcmcomposereceipt" /></td> </tr> - <roundcube:if condition="config:smtp_server != ''" /> + <roundcube:endif /> + <roundcube:if condition="config:smtp_server != '' and !in_array('dsn_default', (array)config:dont_override)" /> <tr> <td><label for="rcmcomposedsn"><roundcube:label name="dsn" />:</label></td> <td><roundcube:object name="dsnCheckBox" form="form" id="rcmcomposedsn" /></td> |