]> git.donarmstrong.com Git - roundcube.git/blob - skins/default/templates/compose.html
2dcf8b0c10642eba5e656541f43e6bc3c38fb13c
[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="/googiespell.css" />
7 <script type="text/javascript" src="/functions.js"></script>
8 <script type="text/javascript" src="/splitter.js"></script>
9 <style type="text/css">
10 #compose-attachments { width: <roundcube:exp expression="!empty(cookie:composesplitterv) ? cookie:composesplitterv-5 : 175" />px; }
11 #compose-container { left: <roundcube:exp expression="!empty(cookie:composesplitterv) ? cookie:composesplitterv+5 : 185" />px;
12 <roundcube:exp expression="browser:ie ? ('width: expression((parseInt(this.parentNode.offsetWidth)-'.(!empty(cookie:composesplitterv) ? cookie:composesplitterv+5 : 180).')+\\'px\\');') : ''" />
13 }
14 </style>
15 </head>
16 <body onload="rcube_init_mail_ui()">
17
18 <roundcube:include file="/includes/taskbar.html" />
19 <roundcube:include file="/includes/header.html" />
20
21 <form name="form" action="./" method="post">
22
23 <div id="messagetoolbar">
24     <roundcube:button command="list" type="link" class="button back" classAct="button back" classSel="button backSel" title="backtolist" content=" " />
25     <roundcube:button command="send" type="link" class="buttonPas send" classAct="button send" classSel="button sendSel" title="sendmessage" content=" " />
26     <roundcube:button command="spellcheck" type="link" class="buttonPas spellcheck" classAct="button spellcheck" classSel="button spellcheckSel" title="checkspelling" content=" " />
27     <roundcube:button name="addattachment" type="link" class="button attach" classAct="button attach" classSel="button attachSel" title="addattachment" onclick="rcmail_ui.show_popup('uploadmenu', true);return false" content=" " />
28     <roundcube:button command="insert-sig" type="link" class="buttonPas insertsig" classAct="button insertsig" classSel="button insertsigSel" title="insertsignature" content=" " />
29     <roundcube:button command="savedraft" type="link" class="buttonPas savedraft" classAct="button savedraft" classSel="button savedraftSel" title="savemessage" content=" " />
30     <roundcube:container name="toolbar" id="compose-toolbar" />
31     <roundcube:button name="messageoptions" id="composemenulink" type="link" class="button messagemenu" title="messageoptions" onclick="rcmail_ui.show_popup('composemenu', true);return false" content=" " />
32 </div>
33
34 <div id="mainscreen">
35
36 <div id="compose-attachments">
37 <div class="boxtitle"><roundcube:label name="attachments" /></div>
38 <div class="boxlistcontent">
39     <roundcube:object name="composeAttachmentList" deleteIcon="/images/icons/delete.png" cancelIcon="/images/icons/delete.png" loadingIcon="/images/display/loading_blue.gif" />
40 </div>
41 <div class="boxfooter">
42   <roundcube:button name="uploadmenulink" id="uploadmenulink" type="link" title="addattachment" class="button addgroup" onclick="rcmail_ui.show_popup('uploadmenu', true);return false" content=" " />
43 </div>
44 </div>
45
46 <script type="text/javascript">
47   var composesplitv = new rcube_splitter({id:'composesplitterv', p1: 'compose-attachments', p2: 'compose-container', orientation: 'v', relative: true, start: 175});
48   rcmail.add_onload('composesplitv.init()');
49 </script>
50
51 <div id="compose-container">
52     <div id="compose-headers-div" style="width: 100%;">
53         <table border="0" cellspacing="0" cellpadding="1" id="compose-headers">
54         <tr>
55             <td class="title"><label for="_from"><roundcube:label name="from" /></label></td>
56             <td class="editfield formlinks">
57                 <roundcube:object name="composeHeaders" part="from" form="form" id="_from" tabindex="1" />
58                 <a href="#identities" onclick="return rcmail.command('identities')"><roundcube:label name="editidents" /></a>
59             </td>
60         </tr><tr>
61             <td class="title top"><label for="_to"><roundcube:label name="to" /></label></td>
62             <td class="editfield"><roundcube:object name="composeHeaders" part="to" form="form" id="_to" cols="70" rows="2" tabindex="2" /></td>
63         </tr><tr id="compose-cc">
64             <td class="title top">
65                 <a href="#cc" onclick="return rcmail_ui.hide_header_form('cc');"><img src="/images/icons/minus.gif" alt="" title="<roundcube:label name='delete' />" /></a>
66                 <label for="_cc"><roundcube:label name="cc" /></label>
67             </td>
68             <td class="editfield"><roundcube:object name="composeHeaders" part="cc" form="form" id="_cc" cols="70" rows="2" tabindex="3" /></td>
69         </tr><tr id="compose-bcc">
70             <td class="title top">
71                 <a href="#bcc" onclick="return rcmail_ui.hide_header_form('bcc');"><img src="/images/icons/minus.gif" alt="" title="<roundcube:label name='delete' />" /></a>
72                 <label for="_bcc"><roundcube:label name="bcc" /></label>
73             </td>
74             <td colspan="2" class="editfield"><roundcube:object name="composeHeaders" part="bcc" form="form" id="_bcc" cols="70" rows="2" tabindex="4" /></td>
75         </tr><tr id="compose-replyto">
76             <td class="title top">
77                 <a href="#replyto" onclick="return rcmail_ui.hide_header_form('replyto');"><img src="/images/icons/minus.gif" alt="" title="<roundcube:label name='delete' />" /></a>
78                 <label for="_replyto"><roundcube:label name="replyto" /></label>
79             </td>
80             <td class="editfield"><roundcube:object name="composeHeaders" part="replyto" form="form" id="_replyto" size="70" tabindex="5" /></td>
81         </tr><tr id="compose-followupto">
82             <td class="title top">
83                 <a href="#followupto" onclick="return rcmail_ui.hide_header_form('followupto');"><img src="/images/icons/minus.gif" alt="" title="<roundcube:label name='delete' />" /></a>
84                 <label for="_followupto"><roundcube:label name="followupto" /></label>
85             </td>
86             <td class="editfield"><roundcube:object name="composeHeaders" part="followupto" form="form" id="_followupto" size="70" tabindex="7" /></td>
87         </tr><tr>
88             <td></td>
89             <td class="formlinks">
90                 <a href="#cc" onclick="return rcmail_ui.show_header_form('cc')" id="cc-link"><roundcube:label name="addcc" /></a>
91                 <span class="separator">|</span>
92                 <a href="#bcc" onclick="return rcmail_ui.show_header_form('bcc')" id="bcc-link"><roundcube:label name="addbcc" /></a>
93                 <span class="separator">|</span>
94                 <a href="#reply-to" onclick="return rcmail_ui.show_header_form('replyto')" id="replyto-link"><roundcube:label name="addreplyto" /></a>
95                 <span class="separator">|</span>
96                 <a href="#followup-to" onclick="return rcmail_ui.show_header_form('followupto')" id="followupto-link"><roundcube:label name="addfollowupto" /></a>
97             </td>
98         </tr><tr>
99             <td class="title"><label for="compose-subject"><roundcube:label name="subject" /></label></td>
100             <td class="editfield"><roundcube:object name="composeSubject" id="compose-subject" form="form" tabindex="8" /></td>
101         </tr>
102         </table>
103     </div>
104     <div id="compose-div">
105         <div class="boxlistcontent" style="overflow: hidden; top: 0">
106             <roundcube:object name="composeBody" id="compose-body" form="form" cols="70" rows="20" tabindex="9" />
107         </div>
108         <div class="boxfooter">
109             <div id="compose-buttons">
110                 <roundcube:button type="input" command="send" class="button mainaction" label="sendmessage" tabindex="10" />
111                 <roundcube:button type="input" command="list" class="button" label="cancel" tabindex="11" />
112             </div>
113             <div id="compose-editorfooter">
114                 <span id="spellcheck-control" style="margin-right:10px"></span>
115                 <span>
116                     <label><roundcube:label name="editortype" /></label>
117                     <roundcube:object name="editorSelector" editorid="compose-body" tabindex="12" />
118                 </span>
119             </div>
120         </div>
121     </div>
122 </div>
123
124 </div>
125
126 <div id="composeoptionsmenu" class="popupmenu">
127     <table>
128     <tr>
129         <td><label for="rcmcomposereceipt"><roundcube:label name="returnreceipt" />:</label></td>
130         <td><roundcube:object name="receiptCheckBox" form="form" id="rcmcomposereceipt" /></td>
131     </tr><tr>
132         <td><label for="rcmcomposedsn"><roundcube:label name="dsn" />:</label></td>
133         <td><roundcube:object name="dsnCheckBox" form="form" id="rcmcomposedsn" /></td>
134     </tr><tr>
135         <td><label for="rcmcomposepriority"><roundcube:label name="priority" />:</label></td>
136         <td><roundcube:object name="prioritySelector" form="form" id="rcmcomposepriority" /></td>
137     </tr><tr>
138         <td><label><roundcube:label name="savesentmessagein" />:</label></td>
139         <td><roundcube:object name="storetarget" maxlength="30" /></td>
140     </tr>
141     </table>
142 </div>
143
144 </form>
145
146 <roundcube:object name="composeAttachmentForm" id="attachment-form" attachmentFieldSize="40" class="popupmenu" />
147
148 </body>
149 </html>