Hide Delivery Status Notification option when smtp_server is unset (#1489336)

pull/129/head
Aleksander Machniak 11 years ago
parent f7b2bfba09
commit f1fba2d7fb

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail CHANGELOG Roundcube Webmail
=========================== ===========================
- Hide Delivery Status Notification option when smtp_server is unset (#1489336)
- Make default font size for HTML messages configurable (request #118) - 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) - 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) - Fix XSS issue in addressbook group name field [CVE-2013-5646] (#1489333)

@ -960,6 +960,7 @@ $config['mdn_requests'] = 0;
$config['mdn_default'] = 0; $config['mdn_default'] = 0;
// Delivery Status Notification checkbox default state // Delivery Status Notification checkbox default state
// Note: This can be used only if smtp_server is non-empty
$config['dsn_default'] = 0; $config['dsn_default'] = 0;
// Place replies in the folder of the message being replied to // Place replies in the folder of the message being replied to

@ -178,16 +178,23 @@
<tr> <tr>
<td><label for="rcmcomposereceipt"><roundcube:label name="returnreceipt" />:</label></td> <td><label for="rcmcomposereceipt"><roundcube:label name="returnreceipt" />:</label></td>
<td><roundcube:object name="receiptCheckBox" form="form" id="rcmcomposereceipt" /></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><label for="rcmcomposedsn"><roundcube:label name="dsn" />:</label></td>
<td><roundcube:object name="dsnCheckBox" form="form" id="rcmcomposedsn" /></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><label for="rcmcomposepriority"><roundcube:label name="priority" />:</label></td>
<td><roundcube:object name="prioritySelector" form="form" id="rcmcomposepriority" /></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><label><roundcube:label name="savesentmessagein" />:</label></td>
<td><roundcube:object name="storetarget" maxlength="30" /></td> <td><roundcube:object name="storetarget" maxlength="30" /></td>
</tr><roundcube:endif /> </tr>
<roundcube:endif />
</table> </table>
</div> </div>

@ -140,9 +140,11 @@
<span class="composeoption"> <span class="composeoption">
<label><roundcube:object name="receiptCheckBox" form="form" id="rcmcomposereceipt" /> <roundcube:label name="returnreceipt" /></label> <label><roundcube:object name="receiptCheckBox" form="form" id="rcmcomposereceipt" /> <roundcube:label name="returnreceipt" /></label>
</span> </span>
<roundcube:if condition="config:smtp_server != ''" />
<span class="composeoption"> <span class="composeoption">
<label><roundcube:object name="dsnCheckBox" form="form" id="rcmcomposedsn" /> <roundcube:label name="dsn" /></label> <label><roundcube:object name="dsnCheckBox" form="form" id="rcmcomposedsn" /> <roundcube:label name="dsn" /></label>
</span> </span>
<roundcube:endif />
<roundcube:if condition="!config:no_save_sent_messages" /> <roundcube:if condition="!config:no_save_sent_messages" />
<span class="composeoption"> <span class="composeoption">
<label><roundcube:label name="savesentmessagein" /> <roundcube:object name="storetarget" maxlength="30" style="max-width:12em" /></label> <label><roundcube:label name="savesentmessagein" /> <roundcube:object name="storetarget" maxlength="30" style="max-width:12em" /></label>

Loading…
Cancel
Save