From 50844277ca2ce9b98f5d732b07ffe7a4627ff72c Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Sat, 01 Jul 2006 08:38:38 -0400 Subject: [PATCH] Changed label and icon for attachment removal and some styles --- skins/default/templates/compose.html | 39 +++++++++++++++++++++++++++------------ 1 files changed, 27 insertions(+), 12 deletions(-) diff --git a/skins/default/templates/compose.html b/skins/default/templates/compose.html index aa28098..0ecfb8f 100644 --- a/skins/default/templates/compose.html +++ b/skins/default/templates/compose.html @@ -1,9 +1,10 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<title>RoundCube|Mail :: <roundcube:label name="compose" /></title> +<title><roundcube:object name="productname" /> :: <roundcube:label name="compose" /></title> <roundcube:include file="/includes/links.html" /> <link rel="stylesheet" type="text/css" href="/mail.css" /> +<link rel="stylesheet" type="text/css" href="/googiespell.css" /> <script type="text/javascript"> <!-- @@ -12,13 +13,20 @@ var row, disp; if (row = document.getElementById(id)) { - disp = (!row.style.display || row.style.display=='none') ? (document.all ? 'block' : 'table-row') : 'none'; + disp = (!row.style.display || row.style.display=='none') ? ((document.all && !window.opera) ? 'block' : 'table-row') : 'none'; row.style.display = disp; } return false; } +function rcmail_auto_save() + { + rcmail.command('savedraft','',this); + self.setTimeout('rcmail_auto_save()',300000); + } +self.setTimeout('rcmail_auto_save()',300000); + //--> </script> </head> @@ -27,16 +35,22 @@ <roundcube:include file="/includes/taskbar.html" /> <roundcube:include file="/includes/header.html" /> -<form name="form" method="post"> +<form name="form" action="./" method="post"> <div id="messagetoolbar"> -<roundcube:button command="list" image="/images/buttons/back_act.png" width="32" height="32" title="backtolist" /> -<roundcube:button command="send" imageAct="/images/buttons/send_act.png" imagePas="/images/buttons/send_pas.png" width="32" height="32" title="sendmessage" /> -<roundcube:button command="contacts" imageAct="/images/buttons/contacts_act.png" imagePas="/images/buttons/contacts_pas.png" width="32" height="32" title="addressbook" /> -<roundcube:button command="add-attachment" imageAct="/images/buttons/attach_act.png" imagePas="/images/buttons/attach_pas.png" width="32" height="32" title="addattachment" /> +<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="contacts" imageSel="/images/buttons/contacts_sel.png" imageAct="/images/buttons/contacts_act.png" imagePas="/images/buttons/contacts_pas.png" width="32" height="32" title="addressbook" />--> +<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" /> +<roundcube:button command="add-attachment" imageSel="/images/buttons/attach_sel.png" imageAct="/images/buttons/attach_act.png" imagePas="/images/buttons/attach_pas.png" width="32" height="32" title="addattachment" /> +<roundcube:button command="savedraft" imageSel="/images/buttons/drafts_sel.png" imageAct="/images/buttons/drafts_act.png" imagePas="/images/buttons/drafts_pas.png" width="32" height="32" title="savemessage" /> <div id="priority-selector"> <roundcube:label name="priority" />: <roundcube:object name="prioritySelector" form="form" /> +</div> + +<div id="receipt-selector"> +<roundcube:object name="receiptCheckBox" form="form" /> <roundcube:label name="returnreceipt" /> </div> </div> @@ -87,8 +101,9 @@ </tr><tr> -<td style="width:100%; height:100%; vertical-align:top;"> -<roundcube:object name="composeBody" id="compose-body" form="form" cols="80" rows="20" warp="virtual" tabindex="7" /> +<td style="width:100%; height:95%; vertical-align:top;"> +<roundcube:object name="composeBody" id="compose-body" form="form" cols="80" rows="20" wrap="virtual" tabindex="7" /><br /> +<roundcube:label name="charset" />: <roundcube:object name="charsetSelector" tabindex="8" /> </td> </tr></table> @@ -96,9 +111,9 @@ </div> <div id="compose-attachments"> -<div><roundcube:label name="attachments" /></div> -<roundcube:object name="composeAttachmentList" /> -<p><roundcube:button command="add-attachment" imagePas="/images/buttons/add_pas.png" imageAct="/images/buttons/add_act.png" width="23" height="18" title="addattachment" /> +<div id="attachment-title"><roundcube:label name="attachments" /></div> +<roundcube:object name="composeAttachmentList" deleteIcon="/images/icons/remove-attachment.png"/ > +<p><roundcube:button command="add-attachment" imagePas="/images/buttons/add_pas.png" imageSel="/images/buttons/add_sel.png" imageAct="/images/buttons/add_act.png" width="23" height="18" title="addattachment" /> </div> </form> -- Gitblit v1.9.1