]> git.donarmstrong.com Git - roundcube.git/blob - skins/default/templates/compose.html
Imported Upstream version 0.1~rc1~dfsg
[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_toggle_display(id)
12   {
13   var row, disp;
14   if (row = document.getElementById(id))
15     {
16     disp = (!row.style.display || row.style.display=='none') ? ((document.all && !window.opera) ? 'block' : 'table-row') : 'none';
17     row.style.display = disp;
18     }
19     
20   return false;
21   }
22
23 //-->
24 </script>
25 </head>
26 <body>
27
28 <roundcube:include file="/includes/taskbar.html" />
29 <roundcube:include file="/includes/header.html" />
30
31 <form name="form" action="./" method="post">
32
33 <div id="messagetoolbar">
34 <!--<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" />-->
35 <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" />
36 <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" />
37 <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" />
38 <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" />
39
40 <div id="priority-selector">
41 <label for="rcmcomposepriority"><roundcube:label name="priority" />:</label>&nbsp;<roundcube:object name="prioritySelector" form="form" id="rcmcomposepriority" />
42 </div>
43
44 <div id="receipt-selector">
45 <roundcube:object name="receiptCheckBox" form="form" id="rcmcomposereceipt" />&nbsp;<label for="rcmcomposereceipt"><roundcube:label name="returnreceipt" /></label>
46 </div>
47
48 </div>
49
50 <div id="compose-container">
51 <table border="0" cellspacing="0" cellpadding="1" style="width:100%; height:99%;" summary="">
52 <tbody>
53 <tr>
54 <td>
55
56 <table border="0" cellspacing="0" cellpadding="1" id="compose-headers" summary="">
57 <tbody><tr>
58
59 <td class="title"><label for="rcmcomposefrom"><roundcube:label name="from" /></label></td>
60 <td><roundcube:object name="composeHeaders" part="from" form="form" id="rcmcomposefrom" tabindex="1" /></td>
61
62 </tr><tr>
63
64 <td class="title top"><label for="rcmcomposeto"><roundcube:label name="to" /></label></td>
65 <td><roundcube:object name="composeHeaders" part="to" form="form" id="rcmcomposeto" cols="80" rows="2" tabindex="2" /></td>
66 <td class="add-button"><a href="#" onclick="return rcmail_toggle_display('compose-cc')">[Cc]</a><br />
67 <a href="#" onclick="return rcmail_toggle_display('compose-bcc')">[Bcc]</a><br /></td>
68
69 </tr><tr id="compose-cc">
70
71 <td class="title top"><label for="rcmcomposecc"><roundcube:label name="cc" /></label></td>
72 <td><roundcube:object name="composeHeaders" part="cc" form="form" id="rcmcomposecc" cols="80" rows="2" tabindex="3" /></td>
73
74 </tr><tr id="compose-bcc">
75
76 <td class="title top"><label for="rcmcomposebcc"><roundcube:label name="bcc" /></label></td>
77 <td><roundcube:object name="composeHeaders" part="bcc" form="form" id="rcmcomposebcc" cols="80" rows="2" tabindex="4" /></td>
78
79 </tr><tr id="compose-replyto">
80
81 <td class="title top"><label for="rcmcomposereplyto"><roundcube:label name="replyto" /></label></td>
82 <td><roundcube:object name="composeHeaders" part="replyto" form="form" id="rcmcomposereplyto" size="80" tabindex="5" /></td>
83
84 </tr><tr>
85
86 <td class="title"><label for="compose-subject"><roundcube:label name="subject" /></label></td>
87 <td><roundcube:object name="composeSubject" id="compose-subject" form="form" tabindex="6" /></td>
88
89 </tr>
90 </tbody>
91 </table>
92
93 </td>
94
95 </tr><tr>
96
97 <td style="width:100%; height:90%; vertical-align:top;">
98 <roundcube:object name="composeBody" id="compose-body" form="form" cols="80" rows="20" wrap="virtual" tabindex="7" />
99
100 <div>
101 <roundcube:button type="input" command="send" class="button" label="sendmessage" />
102 <roundcube:button type="input" command="list" class="button" label="cancel" />
103 </div>
104 </td>
105
106 </tr>
107 </tbody>
108 </table>
109
110 </div>
111
112 <div id="compose-attachments">
113 <div id="attachment-title"><roundcube:label name="attachments" /></div>
114 <roundcube:object name="composeAttachmentList" deleteIcon="/images/icons/remove-attachment.png"/ >
115 <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" />
116 </div>
117
118 </form>
119
120 <roundcube:object name="composeAttachmentForm" id="attachment-form" />
121
122 <script type="text/javascript">
123 <!--
124
125 var cc_field = document.form._cc;
126 if (cc_field && cc_field.value!='')
127   rcmail_toggle_display('compose-cc');
128 var bcc_field = document.form._bcc;
129 if (bcc_field && bcc_field.value!='')
130   rcmail_toggle_display('compose-bcc');
131
132 //-->
133 </script>
134
135
136 </body>
137 </html>