source: subversion/trunk/roundcubemail/skins/default/templates/compose.html @ 6045

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