You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

compose.html 14KB

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