diff options
Diffstat (limited to 'skins/classic/templates/compose.html')
-rw-r--r-- | skins/classic/templates/compose.html | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/skins/classic/templates/compose.html b/skins/classic/templates/compose.html index 5e259e11c..b6dab2c4c 100644 --- a/skins/classic/templates/compose.html +++ b/skins/classic/templates/compose.html @@ -16,10 +16,10 @@ </style> </head> <roundcube:if condition="env:extwin" /> -<body class="extwin"> +<body class="extwin" onload="rcube_init_mail_ui()"> <roundcube:object name="message" id="message" /> <roundcube:else /> -<body> +<body onload="rcube_init_mail_ui()"> <roundcube:include file="/includes/taskbar.html" /> <roundcube:include file="/includes/header.html" /> <roundcube:endif /> @@ -44,7 +44,7 @@ <roundcube:button name="messageoptions" id="composemenulink" type="link" class="button messagemenu" title="messageoptions" onclick="rcmail_ui.show_popup('composemenu', true);return false" content=" " /> </div> -<roundcube:form name="form" method="post"> +<form name="form" action="./" method="post"> <div id="mainscreen"> @@ -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> @@ -197,9 +204,5 @@ <roundcube:object name="composeAttachmentForm" id="attachment-form" attachmentFieldSize="40" class="popupmenu" /> -<script type="text/javascript"> -rcube_init_mail_ui(); -</script> - </body> </html> |