]> git.donarmstrong.com Git - roundcube.git/blob - skins/default/templates/compose.html
Imported Upstream version 0.1
[roundcube.git] / skins / default / templates / compose.html
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">
3 <head>
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">
9 <!--
10
11 function rcmail_show_header_form(id, link)
12 {
13   var row, ns, ps;
14   if (row = document.getElementById(id))
15     row.style.display = (document.all && !window.opera) ? 'block' : 'table-row';
16   
17   if (link)
18   {
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);
23     
24     link.parentNode.removeChild(link);
25   }
26   
27   return false;
28 }
29
30 function rcmail_next_sibling(elm)
31 {
32   var ns = elm.nextSibling;
33   while (ns && ns.nodeType == 3)
34     ns = ns.nextSibling;
35   return ns;
36 }
37
38 function rcmail_prev_sibling(elm)
39 {
40   var ps = elm.previousSibling;
41   while (ps && ps.nodeType == 3)
42     ps = ps.previousSibling;
43   return ps;
44 }
45
46 //-->
47 </script>
48 </head>
49 <body>
50
51 <roundcube:include file="/includes/taskbar.html" />
52 <roundcube:include file="/includes/header.html" />
53
54 <form name="form" action="./" method="post">
55
56 <div id="messagetoolbar">
57 <table border="0" cellspacing="0" cellpadding="0"><tr>
58 <td>
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" />
64 </td>
65 <td id="priority-selector">
66   <label for="rcmcomposepriority"><roundcube:label name="priority" />:</label>&nbsp;<roundcube:object name="prioritySelector" form="form" id="rcmcomposepriority" />
67 </td>
68 <td id="receipt-selector">
69   <roundcube:object name="receiptCheckBox" form="form" id="rcmcomposereceipt" />&nbsp;<label for="rcmcomposereceipt"><roundcube:label name="returnreceipt" /></label>
70 </td>
71 </tr></table>
72 </div>
73
74 <div id="compose-container">
75 <table border="0" cellspacing="0" cellpadding="1" style="width:100%; height:99%;" summary="">
76 <tbody>
77 <tr>
78 <td>
79
80 <table border="0" cellspacing="0" cellpadding="1" id="compose-headers" summary="">
81 <tbody><tr>
82
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>
85
86 </tr><tr>
87
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>
90
91 </tr><tr id="compose-cc">
92
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>
95
96 </tr><tr id="compose-bcc">
97
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>
100
101 </tr><tr id="compose-replyto">
102
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>
105
106 </tr><tr>
107   
108 <td></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>
115 </td>
116
117 </tr><tr>
118
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>
121
122 </tr>
123 </tbody>
124 </table>
125
126 </td>
127
128 </tr><tr>
129
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" />
132
133 <table border="0" cellspacing="0" width="100%" summary=""><tbody>
134 <tr>
135 <td>
136 <roundcube:button type="input" command="send" class="button" label="sendmessage" />
137 <roundcube:button type="input" command="list" class="button" label="cancel" />
138 </td>
139 <td align="right">
140  <roundcube:label name="editortype" />:&nbsp;
141  <span class="radios-left"><roundcube:object name="editorSelector" tabindex="9" /></span>
142 </td>
143 </tr>
144 </tbody></table>
145
146 </td>
147
148 </tr>
149 </tbody>
150 </table>
151
152 </div>
153
154 <div id="compose-attachments">
155 <div id="attachment-title"><roundcube:label name="attachments" /></div>
156 <roundcube:object name="composeAttachmentList" deleteIcon="/images/icons/remove-attachment.png"/ >
157 <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" />
158 </div>
159
160 </form>
161
162 <roundcube:object name="composeAttachmentForm" id="attachment-form" />
163
164 <script type="text/javascript">
165 <!--
166
167 var cc_field = document.form._cc;
168 if (cc_field && cc_field.value!='')
169   rcmail_show_header_form('compose-cc', document.getElementById('addcclink'));
170 var bcc_field = document.form._bcc;
171 if (bcc_field && bcc_field.value!='')
172   rcmail_show_header_form('compose-bcc', document.getElementById('addbcclink'));
173
174 //-->
175 </script>
176
177
178 </body>
179 </html>