From d0b973cf6aed4a7cb705f706624d25b31d19ed52 Mon Sep 17 00:00:00 2001
From: svncommit <devs@roundcube.net>
Date: Thu, 18 Sep 2008 07:54:14 -0400
Subject: [PATCH] Bind cookie gotten over HTTPS to HTTPS only (#1485336).

---
 skins/default/templates/compose.html |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/skins/default/templates/compose.html b/skins/default/templates/compose.html
index f45c63b..7f1e1d6 100644
--- a/skins/default/templates/compose.html
+++ b/skins/default/templates/compose.html
@@ -55,7 +55,7 @@
 
 <div id="messagetoolbar">
 <table border="0" cellspacing="0" cellpadding="0"><tr>
-<td>
+<td id="compose-toolbar">
   <roundcube:button command="list" image="/images/buttons/back_act.png" imageSel="/images/buttons/back_sel.png" imageAct="/images/buttons/back_act.png" width="32" height="32" title="backtolist" />
   <roundcube:button command="send" imageSel="/images/buttons/send_sel.png" imageAct="/images/buttons/send_act.png" imagePas="/images/buttons/send_pas.png" width="32" height="32" title="sendmessage" />
   <roundcube:button command="spellcheck" imageSel="/images/buttons/spellcheck_sel.png" imageAct="/images/buttons/spellcheck_act.png" imagePas="/images/buttons/spellcheck_pas.png" width="32" height="32" title="checkspelling" />
@@ -132,13 +132,16 @@
 
 <table border="0" cellspacing="0" width="100%" summary=""><tbody>
 <tr>
-<td>
-<roundcube:button type="input" command="send" class="button" label="sendmessage" />
-<roundcube:button type="input" command="list" class="button" label="cancel" />
+<td style="white-space: nowrap">
+<roundcube:button type="input" command="send" class="button mainaction" label="sendmessage" tabindex="8" />
+<roundcube:button type="input" command="list" class="button" label="cancel" tabindex="9" />
 </td>
-<td align="right">
+<td style="text-align:center; white-space: nowrap">
+  <label><roundcube:label name="savesentmessagein" />: <roundcube:object name="storetarget" maxlength="30" /></label>
+</td>
+<td style="text-align:right; white-space:nowrap">
  <roundcube:label name="editortype" />:&nbsp;
- <span class="radios-left"><roundcube:object name="editorSelector" tabindex="9" /></span>
+ <span class="radios-left"><roundcube:object name="editorSelector" tabindex="10" /></span>
 </td>
 </tr>
 </tbody></table>
@@ -164,10 +167,10 @@
 <script type="text/javascript">
 <!--
 
-var cc_field = document.form._cc;
+var cc_field = document.getElementById('rcmcomposecc');
 if (cc_field && cc_field.value!='')
   rcmail_show_header_form('compose-cc', document.getElementById('addcclink'));
-var bcc_field = document.form._bcc;
+var bcc_field = document.getElementById('rcmcomposebcc');
 if (bcc_field && bcc_field.value!='')
   rcmail_show_header_form('compose-bcc', document.getElementById('addbcclink'));
 

--
Gitblit v1.9.1