summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-10-24 12:24:37 +0200
committerAleksander Machniak <alec@alec.pl>2012-10-24 12:24:37 +0200
commite04e3144407b7a863999d8aeaf6c3a653219359f (patch)
treea384120c20254a15b831980970e51f0800f4f032 /skins
parente377ed30d204f6b7315df98443f20c6628cb9673 (diff)
Add option to disable saving sent mail in Sent folder - no_save_sent_messages (#1488686)
Diffstat (limited to 'skins')
-rw-r--r--skins/classic/templates/compose.html4
-rw-r--r--skins/larry/templates/compose.html2
2 files changed, 4 insertions, 2 deletions
diff --git a/skins/classic/templates/compose.html b/skins/classic/templates/compose.html
index 1e1403e18..23998ee0f 100644
--- a/skins/classic/templates/compose.html
+++ b/skins/classic/templates/compose.html
@@ -143,10 +143,10 @@
</tr><tr>
<td><label for="rcmcomposepriority"><roundcube:label name="priority" />:</label></td>
<td><roundcube:object name="prioritySelector" form="form" id="rcmcomposepriority" /></td>
- </tr><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>
+ </tr><roundcube:endif />
</table>
</div>
diff --git a/skins/larry/templates/compose.html b/skins/larry/templates/compose.html
index d29c1bd2a..ef49ece90 100644
--- a/skins/larry/templates/compose.html
+++ b/skins/larry/templates/compose.html
@@ -140,9 +140,11 @@
<span class="composeoption">
<label><roundcube:object name="dsnCheckBox" form="form" id="rcmcomposedsn" /> <roundcube:label name="dsn" /></label>
</span>
+ <roundcube:if condition="!config:no_save_sent_messages" />
<span class="composeoption">
<label><roundcube:label name="savesentmessagein" /> <roundcube:object name="storetarget" maxlength="30" style="max-width:12em" /></label>
</span>
+ <roundcube:endif />
<roundcube:container name="composeoptions" id="composeoptions" />
</div>
</div>