diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-09-21 11:39:02 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-09-21 11:39:02 +0200 |
commit | f1fba2d7fb955c7897d9cb4a2dce9ec21e981214 (patch) | |
tree | 1e2f1a1c44f6ad2b0167a6a81462cf2be5e82dd0 /skins/classic/templates | |
parent | f7b2bfba092213af2f7101b18b96e957cbe0b217 (diff) |
Hide Delivery Status Notification option when smtp_server is unset (#1489336)
Diffstat (limited to 'skins/classic/templates')
-rw-r--r-- | skins/classic/templates/compose.html | 15 |
1 files changed, 11 insertions, 4 deletions
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 @@ <tr> <td><label for="rcmcomposereceipt"><roundcube:label name="returnreceipt" />:</label></td> <td><roundcube:object name="receiptCheckBox" form="form" id="rcmcomposereceipt" /></td> - </tr><tr> + </tr> + <roundcube:if condition="config:smtp_server != ''" /> + <tr> <td><label for="rcmcomposedsn"><roundcube:label name="dsn" />:</label></td> <td><roundcube:object name="dsnCheckBox" form="form" id="rcmcomposedsn" /></td> - </tr><tr> + </tr> + <roundcube:endif /> + <tr> <td><label for="rcmcomposepriority"><roundcube:label name="priority" />:</label></td> <td><roundcube:object name="prioritySelector" form="form" id="rcmcomposepriority" /></td> - </tr><roundcube:if condition="!config:no_save_sent_messages" /><tr> + </tr> + <roundcube:if condition="!config:no_save_sent_messages" /> + <tr> <td><label><roundcube:label name="savesentmessagein" />:</label></td> <td><roundcube:object name="storetarget" maxlength="30" /></td> - </tr><roundcube:endif /> + </tr> + <roundcube:endif /> </table> </div> |