From 1cded85790206afe084e1baff371c543711b2b18 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Sat, 03 Dec 2005 11:54:12 -0500 Subject: [PATCH] Re-design of caching (new database table added\!); some bugfixes; Postgres support --- skins/default/templates/compose.html | 29 ++++++++++++++++++++--------- 1 files changed, 20 insertions(+), 9 deletions(-) diff --git a/skins/default/templates/compose.html b/skins/default/templates/compose.html index 26c9de5..0a3f874 100644 --- a/skins/default/templates/compose.html +++ b/skins/default/templates/compose.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>RoundCube|Mail :: <roundcube:label name="compose" /></title> -<link rel="stylesheet" type="text/css" href="/common.css" /> +<roundcube:include file="/includes/links.html" /> <link rel="stylesheet" type="text/css" href="/mail.css" /> <script type="text/javascript"> <!-- @@ -48,29 +48,29 @@ <table border="0" cellspacing="0" cellpadding="1" id="compose-headers" summary=""><tr> <td class="title"><roundcube:label name="from" /></td> -<td><roundcube:object name="composeHeaders" part="from" form="form" /></td> +<td><roundcube:object name="composeHeaders" part="from" form="form" tabindex="1" /></td> </tr><tr> <td class="title top"><roundcube:label name="to" /></td> -<td><roundcube:object name="composeHeaders" part="to" form="form" cols="80" rows="2" /></td> +<td><roundcube:object name="composeHeaders" part="to" form="form" cols="80" rows="2" tabindex="2" /></td> <td class="add-button"><a href="#" onclick="return rcmail_toggle_display('compose-cc')">[Cc]</a><br /> <a href="#" onclick="return rcmail_toggle_display('compose-bcc')">[Bcc]</a><br /></td> </tr><tr id="compose-cc"> <td class="title top"><roundcube:label name="cc" /></td> -<td><roundcube:object name="composeHeaders" part="cc" form="form" cols="80" rows="2" /></td> +<td><roundcube:object name="composeHeaders" part="cc" form="form" cols="80" rows="2" tabindex="3" /></td> </tr><tr id="compose-bcc"> <td class="title top"><roundcube:label name="bcc" /></td> -<td><roundcube:object name="composeHeaders" part="bcc" form="form" cols="80" rows="2" /></td> +<td><roundcube:object name="composeHeaders" part="bcc" form="form" cols="80" rows="2" tabindex="4" /></td> </tr><tr id="compose-replyto"> <td class="title top"><roundcube:label name="replyto" /></td> -<td><roundcube:object name="composeHeaders" part="replyto" form="form" size="80" /></td> +<td><roundcube:object name="composeHeaders" part="replyto" form="form" size="80" tabindex="5" /></td> <!-- </tr><tr> @@ -79,7 +79,7 @@ </tr><tr> <td class="title"><roundcube:label name="subject" /></td> -<td><roundcube:object name="composeSubject" id="compose-subject" form="form" /></td> +<td><roundcube:object name="composeSubject" id="compose-subject" form="form" tabindex="6" /></td> </tr></table> @@ -87,8 +87,9 @@ </tr><tr> -<td style="width:100%; height:100%;"> -<roundcube:object name="composeBody" id="compose-body" form="form" cols="80" rows="20" warp="virtual" /> +<td style="width:100%; height:95%; vertical-align:top;"> +<roundcube:object name="composeBody" id="compose-body" form="form" cols="80" rows="20" warp="virtual" tabindex="7" /><br /> +<roundcube:label name="charset" />: <roundcube:object name="charsetSelector" tabindex="8" /> </td> </tr></table> @@ -105,6 +106,16 @@ <roundcube:object name="composeAttachmentForm" id="attachment-form" /> +<script type="text/javascript"> +<!-- + +var cc_field = document.form._cc; +if (cc_field && cc_field.value!='') + rcmail_toggle_display('compose-cc'); + +//--> +</script> + <!-- <div id="attachment-form"> <roundcube:object name="composeAttachment" size="20" /><br /> -- Gitblit v1.9.1