1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
4 <title><roundcube:object name="productname" /> :: <roundcube:label name="compose" /></title>
5 <roundcube:include file="/includes/links.html" />
6 <link rel="stylesheet" type="text/css" href="/mail.css" />
7 <link rel="stylesheet" type="text/css" href="/googiespell.css" />
8 <script type="text/javascript">
11 function rcmail_show_header_form(id, link)
14 if (row = document.getElementById(id))
15 row.style.display = (document.all && !window.opera) ? 'block' : 'table-row';
19 if ((ns = rcmail_next_sibling(link)))
20 link.parentNode.removeChild(ns);
21 else if ((ps = rcmail_prev_sibling(link)))
22 link.parentNode.removeChild(ps);
24 link.parentNode.removeChild(link);
30 function rcmail_next_sibling(elm)
32 var ns = elm.nextSibling;
33 while (ns && ns.nodeType == 3)
38 function rcmail_prev_sibling(elm)
40 var ps = elm.previousSibling;
41 while (ps && ps.nodeType == 3)
42 ps = ps.previousSibling;
51 <roundcube:include file="/includes/taskbar.html" />
52 <roundcube:include file="/includes/header.html" />
54 <form name="form" action="./" method="post">
56 <div id="messagetoolbar">
57 <table border="0" cellspacing="0" cellpadding="0"><tr>
59 <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" />
60 <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" />
61 <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" />
62 <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" />
63 <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" />
65 <td id="priority-selector">
66 <label for="rcmcomposepriority"><roundcube:label name="priority" />:</label> <roundcube:object name="prioritySelector" form="form" id="rcmcomposepriority" />
68 <td id="receipt-selector">
69 <roundcube:object name="receiptCheckBox" form="form" id="rcmcomposereceipt" /> <label for="rcmcomposereceipt"><roundcube:label name="returnreceipt" /></label>
74 <div id="compose-container">
75 <table border="0" cellspacing="0" cellpadding="1" style="width:100%; height:99%;" summary="">
80 <table border="0" cellspacing="0" cellpadding="1" id="compose-headers" summary="">
83 <td class="title"><label for="rcmcomposefrom"><roundcube:label name="from" /></label></td>
84 <td><roundcube:object name="composeHeaders" part="from" form="form" id="rcmcomposefrom" tabindex="1" /></td>
88 <td class="title top"><label for="rcmcomposeto"><roundcube:label name="to" /></label></td>
89 <td><roundcube:object name="composeHeaders" part="to" form="form" id="rcmcomposeto" cols="80" rows="2" tabindex="2" /></td>
91 </tr><tr id="compose-cc">
93 <td class="title top"><label for="rcmcomposecc"><roundcube:label name="cc" /></label></td>
94 <td><roundcube:object name="composeHeaders" part="cc" form="form" id="rcmcomposecc" cols="80" rows="2" tabindex="3" /></td>
96 </tr><tr id="compose-bcc">
98 <td class="title top"><label for="rcmcomposebcc"><roundcube:label name="bcc" /></label></td>
99 <td><roundcube:object name="composeHeaders" part="bcc" form="form" id="rcmcomposebcc" cols="80" rows="2" tabindex="4" /></td>
101 </tr><tr id="compose-replyto">
103 <td class="title top"><label for="rcmcomposereplyto"><roundcube:label name="replyto" /></label></td>
104 <td><roundcube:object name="composeHeaders" part="replyto" form="form" id="rcmcomposereplyto" size="80" tabindex="5" /></td>
109 <td class="formlinks">
110 <a href="#cc" onclick="return rcmail_show_header_form('compose-cc', this);" id="addcclink"><roundcube:label name="addcc" /></a>
111 <span class="separator">|</span>
112 <a href="#bcc" onclick="return rcmail_show_header_form('compose-bcc', this);" id="addbcclink"><roundcube:label name="addbcc" /></a>
113 <span class="separator">|</span>
114 <a href="#reply-to" onclick="return rcmail_show_header_form('compose-replyto', this);" id="addreplytolink"><roundcube:label name="addreplyto" /></a>
119 <td class="title"><label for="compose-subject"><roundcube:label name="subject" /></label></td>
120 <td><roundcube:object name="composeSubject" id="compose-subject" form="form" tabindex="6" /></td>
130 <td style="width:100%; height:90%; vertical-align:top;">
131 <roundcube:object name="composeBody" id="compose-body" form="form" cols="80" rows="20" tabindex="7" />
133 <table border="0" cellspacing="0" width="100%" summary=""><tbody>
136 <roundcube:button type="input" command="send" class="button" label="sendmessage" />
137 <roundcube:button type="input" command="list" class="button" label="cancel" />
140 <roundcube:if condition="config:enable_htmleditor" />
141 <roundcube:label name="editortype" />:
142 <span class="radios-left"><roundcube:object name="editorSelector" tabindex="9" /></span>
156 <div id="compose-attachments">
157 <div id="attachment-title"><roundcube:label name="attachments" /></div>
158 <roundcube:object name="composeAttachmentList" deleteIcon="/images/icons/remove-attachment.png"/ >
159 <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" />
164 <roundcube:object name="composeAttachmentForm" id="attachment-form" />
166 <script type="text/javascript">
169 var cc_field = document.form._cc;
170 if (cc_field && cc_field.value!='')
171 rcmail_show_header_form('compose-cc', document.getElementById('addcclink'));
172 var bcc_field = document.form._bcc;
173 if (bcc_field && bcc_field.value!='')
174 rcmail_show_header_form('compose-bcc', document.getElementById('addbcclink'));