source: github/skins/larry/templates/compose.html

Last change on this file was d01f9fc, checked in by Aleksander Machniak <alec@…>, 4 months ago

Add option (disabled_actions) to disable UI elements/actions (#1489638)

  • Property mode set to 100644
File size: 13.6 KB
Line 
1<roundcube:object name="doctype" value="html5" />
2<html>
3<head>
4<title><roundcube:object name="pagetitle" /></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</head>
10<roundcube:if condition="env:extwin" /><body class="extwin"><roundcube:else /><body><roundcube:endif />
11
12<roundcube:include file="/includes/header.html" />
13
14<div id="mainscreen">
15
16<h1 class="voice"><roundcube:object name="pagetitle" /></h1>
17
18<!-- toolbar -->
19<h2 id="aria-label-toolbar" class="voice"><roundcube:label name="arialabeltoolbar" /></h2>
20<div id="messagetoolbar" class="toolbar fullwidth" role="toolbar" aria-labelledby="aria-label-toolbar">
21        <roundcube:button command="list" type="link" class="button back disabled" classAct="button back" label="cancel" condition="!env:extwin" tabindex="2" />
22        <roundcube:button command="close" type="link" class="button close disabled" classAct="button close" label="cancel" condition="env:extwin" tabindex="2" />
23        <span class="spacer"></span>
24        <roundcube:button command="send" type="link" class="button send disabled" classAct="button send" label="send" title="sendmessage" tabindex="2" />
25        <roundcube:button command="savedraft" type="link" class="button savedraft disabled" classAct="button savedraft" label="save" title="savemessage" tabindex="2" />
26        <span class="spacer"></span>
27        <roundcube:if condition="config:enable_spellcheck" />
28        <span class="dropbutton">
29                <roundcube:button command="spellcheck" type="link" class="button spellcheck disabled" classAct="button spellcheck" classSel="button spellcheck pressed" label="spellcheck" title="checkspelling" tabindex="2" />
30                <a href="#languages" class="dropbuttontip" id="spellmenulink" onclick="UI.toggle_popup('spellmenu',event);return false" aria-haspopup="true" aria-expanded="false" tabindex="2">Select Spell Language</a>
31        </span>
32        <roundcube:endif />
33        <roundcube:button name="addattachment" type="link" class="button attach" label="attach" title="addattachment" onclick="UI.show_uploadform(event);return false" aria-haspopup="true" aria-expanded="false"tabindex="2" />
34        <roundcube:button command="insert-sig" type="link" class="button insertsig disabled" classAct="button insertsig" label="signature" title="insertsignature" tabindex="2" />
35        <a href="#responses" class="button responses" label="responses" title="<roundcube:label name='insertresponse' />" id="responsesmenulink" unselectable="on" onmousedown="return false" onclick="UI.toggle_popup('responsesmenu',event);return false" tabindex="2" aria-haspopup="true" aria-expanded="false" aria-owns="textresponsesmenu"><roundcube:label name="responses" /></a>
36        <roundcube:container name="toolbar" id="compose-toolbar" />
37</div>
38
39<div id="mainscreencontent">
40
41<div id="composeview-left">
42
43<!-- inline address book -->
44<div id="compose-contacts" class="uibox listbox" role="region" aria-labelledby="aria-label-composecontacts">
45<h2 id="aria-label-composecontacts" class="boxtitle"><roundcube:label name="contacts" /></h2>
46        <div class="listsearchbox" role="search" aria-labelledby="aria-label-composequicksearch">
47                <h3 id="aria-label-composequicksearch" class="voice"><roundcube:label name="arialabelcontactquicksearch" /></h3>
48                <div class="searchbox">
49                        <label for="contactsearchbox" class="voice"><roundcube:label name="arialabelcontactsearchbox" /></label>
50                        <roundcube:object name="searchform" id="contactsearchbox" />
51                        <a id="searchmenulink" class="iconbutton searchicon"> </a>
52                        <roundcube:button command="reset-search" class="iconbutton reset" title="resetsearch" content=" " />
53                </div>
54        </div>
55        <roundcube:object name="addressbooks" id="directorylist" class="treelist listing" summary="ariasummarycomposecontacts" />
56        <div class="scroller withfooter" tabindex="-1">
57                <roundcube:object name="addresslist" id="contacts-table" class="listing iconized" noheader="true" role="listbox" />
58        </div>
59<div class="boxfooter">
60        <roundcube:button command="add-recipient" prop="to" type="link" title="to" class="listbutton addto disabled" classAct="listbutton addto" innerClass="inner" content="To+" /><roundcube:button command="add-recipient" prop="cc" type="link" title="cc" class="listbutton addcc disabled" classAct="listbutton addcc" innerClass="inner" content="Cc+" /><roundcube:button command="add-recipient" prop="bcc" type="link" title="bcc" class="listbutton addbcc disabled" classAct="listbutton addbcc" innerClass="inner" content="Bcc+" />
61</div>
62<div class="boxpagenav">
63        <roundcube:button command="firstpage" type="link" class="icon firstpage disabled" classAct="icon firstpage" title="firstpage" label="first" />
64        <roundcube:button command="previouspage" type="link" class="icon prevpage disabled" classAct="icon prevpage" title="previouspage" label="previous" />
65        <roundcube:button command="nextpage" type="link" class="icon nextpage disabled" classAct="icon nextpage" title="nextpage" label="next" />
66        <roundcube:button command="lastpage" type="link" class="icon lastpage disabled" classAct="icon lastpage" title="lastpage" label="last" />
67</div>
68</div>
69
70</div>
71
72<div id="composeview-right" role="main">
73
74<roundcube:form name="form" method="post" id="compose-content" class="uibox">
75
76<!-- message headers -->
77<div id="composeheaders" role="region" aria-labelledby="aria-label-composeheaders">
78<h2 id="aria-label-composeheaders" class="voice"><roundcube:label name="arialabelmessageheaders" /></h2>
79
80<a href="#options" id="composeoptionstoggle" class="moreheaderstoggle" title="<roundcube:label name='togglecomposeoptions' />" aria-exapnded="false"><span class="iconlink"></span></a>
81
82<table class="headers-table compose-headers">
83<tbody>
84        <tr>
85                <td class="title"><label for="_from"><roundcube:label name="from" /></label></td>
86                <td class="editfield">
87                        <roundcube:object name="composeHeaders" part="from" form="form" id="_from" tabindex="1" />
88                        <a href="#identities" onclick="return rcmail.command('identities')" class="iconlink edit" tabindex="0"><roundcube:label name="editidents" /></a>
89                </td>
90        </tr><tr>
91                <td class="title top"><label for="_to"><roundcube:label name="to" /></label></td>
92                <td class="editfield"><roundcube:object name="composeHeaders" part="to" form="form" id="_to" cols="70" rows="1" tabindex="1" aria-required="true" /></td>
93        </tr><tr id="compose-cc">
94                <td class="title top">
95                        <label for="_cc"><roundcube:label name="cc" /></label>
96                        <a href="#cc" onclick="return UI.hide_header_row('cc');" class="iconbutton cancel" title="<roundcube:label name='delete' />" tabindex="3"><roundcube:label name="delete" /> <roundcube:label name="cc" /></a>
97                </td>
98                <td class="editfield"><roundcube:object name="composeHeaders" part="cc" form="form" id="_cc" cols="70" rows="1" tabindex="1" /></td>
99        </tr><tr id="compose-bcc">
100                <td class="title top">
101                        <label for="_bcc"><roundcube:label name="bcc" /></label>
102                        <a href="#bcc" onclick="return UI.hide_header_row('bcc');" class="iconbutton cancel" title="<roundcube:label name='delete' />" tabindex="3"><roundcube:label name="delete" /> <roundcube:label name="bcc" /></a>
103                </td>
104                <td class="editfield"><roundcube:object name="composeHeaders" part="bcc" form="form" id="_bcc" cols="70" rows="1" tabindex="1" /></td>
105        </tr><tr id="compose-replyto">
106                <td class="title top">
107                        <label for="_replyto"><roundcube:label name="replyto" /></label>
108                        <a href="#replyto" onclick="return UI.hide_header_row('replyto');" class="iconbutton cancel" title="<roundcube:label name='delete' />" tabindex="3"><roundcube:label name="delete" /> <roundcube:label name="replyto" /></a>
109                </td>
110                <td class="editfield"><roundcube:object name="composeHeaders" part="replyto" form="form" id="_replyto" size="70" tabindex="1" /></td>
111        </tr><tr id="compose-followupto">
112                <td class="title top">
113                        <label for="_followupto"><roundcube:label name="followupto" /></label>
114                        <a href="#followupto" onclick="return UI.hide_header_row('followupto');" class="iconbutton cancel" title="<roundcube:label name='delete' />" tabindex="3"><roundcube:label name="delete" /> <roundcube:label name="followupto" /></a>
115                </td>
116                <td class="editfield"><roundcube:object name="composeHeaders" part="followupto" form="form" id="_followupto" size="70" tabindex="1" /></td>
117        </tr><tr>
118                <td></td>
119                <td class="formlinks">
120                        <a href="#cc" onclick="return UI.show_header_row('cc')" id="cc-link" class="iconlink add" tabindex="3"><roundcube:label name="addcc" /></a>
121                        <a href="#bcc" onclick="return UI.show_header_row('bcc')" id="bcc-link" class="iconlink add" tabindex="3"><roundcube:label name="addbcc" /></a>
122                        <a href="#reply-to" onclick="return UI.show_header_row('replyto')" id="replyto-link" class="iconlink add" tabindex="3"><roundcube:label name="addreplyto" /></a>
123                        <a href="#followup-to" onclick="return UI.show_header_row('followupto')" id="followupto-link" class="iconlink add" tabindex="3"><roundcube:label name="addfollowupto" /></a>
124                </td>
125        </tr><tr>
126                <td class="title"><label for="compose-subject"><roundcube:label name="subject" /></label></td>
127                <td class="editfield"><roundcube:object name="composeSubject" id="compose-subject" form="form" tabindex="1" /></td>
128        </tr>
129</tbody>
130</table>
131
132<div id="composebuttons" class="formbuttons">
133        <roundcube:button command="extwin" type="link" class="button extwin" classSel="button extwin pressed" innerClass="icon" title="openinextwin" label="openinextwin" condition="!env:extwin" />
134</div>
135
136<!-- (collapsable) message options -->
137<div id="composeoptions" role="region" aria-labelledby="aria-label-composeoptions">
138        <h2 id="aria-label-composeoptions" class="voice"><roundcube:label name="arialabelcomposeoptions" /></h2>
139        <roundcube:if condition="!in_array('htmleditor', (array)config:dont_override)" />
140        <span class="composeoption">
141                <label><roundcube:label name="editortype" />
142                        <roundcube:object name="editorSelector" editorid="composebody" tabindex="4" /></label>
143        </span>
144        <roundcube:endif />
145        <span class="composeoption">
146                <label for="rcmcomposepriority"><roundcube:label name="priority" />
147                        <roundcube:object name="prioritySelector" form="form" id="rcmcomposepriority" tabindex="4" /></label>
148        </span>
149        <span class="composeoption">
150                <label><roundcube:object name="receiptCheckBox" form="form" id="rcmcomposereceipt" tabindex="4" /> <roundcube:label name="returnreceipt" /></label>
151        </span>
152        <roundcube:if condition="config:smtp_server != ''" />
153        <span class="composeoption">
154                <label><roundcube:object name="dsnCheckBox" form="form" id="rcmcomposedsn" tabindex="4" /> <roundcube:label name="dsn" /></label>
155        </span>
156        <roundcube:endif />
157        <roundcube:if condition="!config:no_save_sent_messages" />
158        <span class="composeoption">
159                <label><roundcube:label name="savesentmessagein" /> <roundcube:object name="storetarget" maxlength="30" style="max-width:12em" tabindex="4" /></label>
160        </span>
161        <roundcube:endif />
162        <roundcube:container name="composeoptions" id="composeoptions" />
163</div>
164
165</div>
166
167<!-- message compose body -->
168<div id="composeview-bottom">
169        <div id="composebodycontainer">
170                <label for="composebody" class="voice"><roundcube:label name="arialabelmessagebody" /></label>
171                <roundcube:object name="composeBody" id="composebody" form="form" cols="70" rows="20" tabindex="1" />
172        </div>
173        <div id="compose-attachments" class="rightcol" role="region" aria-labelledby="aria-label-composeattachments">
174                <h2 id="aria-label-composeattachments" class="voice"><roundcube:label name="attachments" /></h2>
175                <div style="text-align:center; margin-bottom:20px">
176                        <roundcube:button name="addattachment" type="input" class="button" classSel="button pressed" label="addattachment" onclick="UI.show_uploadform(event);return false" tabindex="1" />
177                </div>
178                <roundcube:object name="composeAttachmentList" id="attachment-list" class="attachmentslist" tabindex="1" />
179                <roundcube:object name="fileDropArea" id="compose-attachments" />
180        </div>
181<!--
182        <div id="composeformbuttons" class="footerleft formbuttons floating">
183                <roundcube:button type="input" command="send" class="button mainaction" label="sendmessage" tabindex="11" />
184                <roundcube:button type="input" command="savedraft" class="button" label="savemessage" tabindex="12" />
185                <roundcube:button type="input" command="list" class="button" label="cancel" tabindex="13" />
186        </div>
187-->
188</div>
189
190</form>
191
192</div><!-- end mailview-right -->
193
194</div><!-- end mainscreencontent -->
195
196</div><!-- end mainscreen -->
197
198<div id="upload-dialog" class="propform popupdialog" title="<roundcube:label name='addattachment' />" aria-hidden="true">
199        <h2 id="aria-label-uploaddialog" class="voice"><roundcube:label name="arialabelattachmentuploadform" /></h2>
200        <roundcube:object name="composeAttachmentForm" id="uploadform" buttons="no" />
201        <div class="formbuttons">
202                <roundcube:button command="send-attachment" type="input" class="button mainaction" label="upload" />
203                <roundcube:button name="close" type="input" class="button" label="cancel" onclick="UI.show_uploadform()" />
204        </div>
205</div>
206
207<div id="spellmenu" class="popupmenu" aria-hidden="true"></div>
208
209<div id="responsesmenu" class="popupmenu" aria-hidden="true">
210        <h3 id="aria-label-responsesmenu" class="voice"><roundcube:label name="arialabelresponsesmenu" /></h3>
211        <ul class="toolbarmenu" id="textresponsesmenu" role="menu" aria-labelledby="aria-label-responsesmenu">
212                <li role="separator" class="separator" id=""><label><roundcube:label name="insertresponse" /></label></li>
213                <roundcube:object name="responseslist" id="responseslist" tagname="ul" itemclass="active" />
214                <li role="separator" class="separator"><label><roundcube:label name="manageresponses" /></label></li>
215                <roundcube:button command="save-response" type="link-menuitem" label="newresponse" classAct="active" unselectable="on" />
216                <roundcube:button command="responses" type="link-menuitem" label="editresponses" classAct="active" />
217        </ul>
218</div>
219
220<roundcube:include file="/includes/footer.html" />
221
222</body>
223</html>
Note: See TracBrowser for help on using the repository browser.