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/larry | |
parent | 9e26034801fe505a481d474e06bfc806cd548598 (diff) |
Hide MDN and DSN options in compose if disabled by admin (#1490221)
Diffstat (limited to 'skins/larry')
-rw-r--r-- | skins/larry/templates/compose.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/skins/larry/templates/compose.html b/skins/larry/templates/compose.html index 04a987f89..3e2eaac6a 100644 --- a/skins/larry/templates/compose.html +++ b/skins/larry/templates/compose.html @@ -146,10 +146,12 @@ <label for="rcmcomposepriority"><roundcube:label name="priority" /> <roundcube:object name="prioritySelector" form="form" id="rcmcomposepriority" tabindex="4" /></label> </span> + <roundcube:if condition="!in_array('mdn_default', (array)config:dont_override)" /> <span class="composeoption"> - <label><roundcube:object name="receiptCheckBox" form="form" id="rcmcomposereceipt" tabindex="4" /> <roundcube:label name="returnreceipt" /></label> + <label><roundcube:object name="mdnCheckBox" form="form" id="rcmcomposereceipt" tabindex="4" /> <roundcube:label name="returnreceipt" /></label> </span> - <roundcube:if condition="config:smtp_server != ''" /> + <roundcube:endif /> + <roundcube:if condition="config:smtp_server != '' and !in_array('dsn_default', (array)config:dont_override)" /> <span class="composeoption"> <label><roundcube:object name="dsnCheckBox" form="form" id="rcmcomposedsn" tabindex="4" /> <roundcube:label name="dsn" /></label> </span> |