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.

mail.html 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  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. <style type="text/css">
  7. <roundcube:if condition="config:preview_pane == true" />
  8. #mailview-top { height: 270px; }
  9. #mailview-bottom { top: 284px; height: auto; display: block; }
  10. #mailpreviewframe { display: block; }
  11. <roundcube:endif />
  12. </style>
  13. </head>
  14. <body class="minwidth">
  15. <roundcube:include file="/includes/header.html" />
  16. <div id="mainscreen">
  17. <h1 class="voice"><roundcube:label name="mail" /></h1>
  18. <!-- toolbar -->
  19. <h2 id="aria-label-toolbar" class="voice"><roundcube:label name="arialabeltoolbar" /></h2>
  20. <div id="messagetoolbar" class="toolbar" role="toolbar" aria-labelledby="aria-label-toolbar">
  21. <roundcube:button command="checkmail" type="link" class="button checkmail disabled" classAct="button checkmail" classSel="button checkmail pressed" label="refresh" title="checkmail" />
  22. <roundcube:include file="/includes/mailtoolbar.html" />
  23. </div>
  24. <div id="messagesearchtools">
  25. <!-- search filter -->
  26. <div id="searchfilter">
  27. <label for="messagessearchfilter" class="voice"><roundcube:label name="arialabelmessagessearchfilter" /></label>
  28. <roundcube:object name="searchfilter" class="searchfilter decorated" id="messagessearchfilter" aria-controls="messagelist" />
  29. </div>
  30. <!-- search box -->
  31. <div id="quicksearchbar" class="searchbox" role="search" aria-labelledby="aria-label-searchform">
  32. <h2 id="aria-label-searchform" class="voice"><roundcube:label name="arialabelmailsearchform" /></h2>
  33. <label for="quicksearchbox" class="voice"><roundcube:label name="arialabelmailquicksearchbox" /></label>
  34. <roundcube:button command="menu-open" prop="searchmenu" id="searchmenulink" class="iconbutton searchoptions" title="searchmod" label="options" aria-haspopup="true" aria-expanded="false" aria-owns="searchmenu-menu" />
  35. <roundcube:object name="searchform" id="quicksearchbox" />
  36. <roundcube:button command="reset-search" id="searchreset" class="iconbutton reset" title="resetsearch" label="resetsearch" />
  37. <div id="searchmenu" class="popupmenu" data-editable="true">
  38. <h3 id="aria-label-searchmenu" class="voice"><roundcube:label name="searchmod" /></h3>
  39. <ul class="toolbarmenu" id="searchmenu-menu" role="menu" aria-labelledby="aria-label-searchmenu">
  40. <li role="menuitem"><label><input type="checkbox" name="s_mods[]" value="subject" id="s_mod_subject" onclick="UI.set_searchmod(this)" /> <span><roundcube:label name="subject" /></span></label></li>
  41. <li role="menuitem"><label><input type="checkbox" name="s_mods[]" value="from" id="s_mod_from" onclick="UI.set_searchmod(this)" /> <span><roundcube:label name="from" /></span></label></li>
  42. <li role="menuitem"><label><input type="checkbox" name="s_mods[]" value="to" id="s_mod_to" onclick="UI.set_searchmod(this)" /> <span><roundcube:label name="to" /></span></label></li>
  43. <li role="menuitem"><label><input type="checkbox" name="s_mods[]" value="cc" id="s_mod_cc" onclick="UI.set_searchmod(this)" /> <span><roundcube:label name="cc" /></span></label></li>
  44. <li role="menuitem"><label><input type="checkbox" name="s_mods[]" value="bcc" id="s_mod_bcc" onclick="UI.set_searchmod(this)" /> <span><roundcube:label name="bcc" /></span></label></li>
  45. <li role="menuitem"><label><input type="checkbox" name="s_mods[]" value="body" id="s_mod_body" onclick="UI.set_searchmod(this)" /> <span><roundcube:label name="body" /></span></label></li>
  46. <li role="menuitem"><label><input type="checkbox" name="s_mods[]" value="text" id="s_mod_text" onclick="UI.set_searchmod(this)" /> <span><roundcube:label name="msgtext" /></span></label></li>
  47. <li role="separator" class="separator"><label><roundcube:label name="date" /></label></li>
  48. <li role="menuitem"><roundcube:object name="searchinterval" id="s_interval" onchange="rcmail.set_searchinterval($(this).val())" /></li>
  49. <li role="separator" class="separator"><label><roundcube:label name="searchscope" /></label></li>
  50. <li role="menuitem"><label><input type="radio" name="s_scope" value="base" id="s_scope_base" onclick="UI.set_searchscope(this)" /> <span><roundcube:label name="currentfolder" /></span></label></li>
  51. <li role="menuitem"><label><input type="radio" name="s_scope" value="sub" id="s_scope_sub" onclick="UI.set_searchscope(this)" /> <span><roundcube:label name="subfolders" /></span></label></li>
  52. <li role="menuitem"><label><input type="radio" name="s_scope" value="all" id="s_scope_all" onclick="UI.set_searchscope(this)" /> <span><roundcube:label name="allfolders" /></span></label></li>
  53. </ul>
  54. </div>
  55. </div>
  56. </div>
  57. <div id="mainscreencontent">
  58. <div id="mailview-left">
  59. <!-- folders list -->
  60. <div id="mailboxcontainer" class="uibox listbox" role="navigation" aria-labelledby="aria-label-folderlist">
  61. <h2 id="aria-label-folderlist" class="voice"><roundcube:label name="arialabelfolderlist" /></h2>
  62. <div id="folderlist-content" class="scroller withfooter">
  63. <roundcube:object name="mailboxlist" id="mailboxlist" class="treelist listing folderlist" folder_filter="mail" unreadwrap="%s" />
  64. </div>
  65. <div id="folderlist-footer" class="boxfooter">
  66. <roundcube:button name="mailboxmenulink" id="mailboxmenulink" type="link" title="folderactions" class="listbutton groupactions" onclick="UI.toggle_popup('mailboxmenu',event);return false" innerClass="inner" content="&#9881;" aria-haspopup="true" aria-expanded="false" aria-owns="mailboxoptionsmenu" />
  67. <roundcube:if condition="env:quota" />
  68. <span class="voice"><roundcube:label name="quota"></span>
  69. <roundcube:object name="quotaDisplay" id="quotadisplay" class="countdisplay" display="text" />
  70. <roundcube:endif />
  71. </div>
  72. </div>
  73. </div>
  74. <div id="mailview-right" role="main">
  75. <roundcube:if condition="config:preview_pane == true" />
  76. <div id="mailview-top" class="uibox">
  77. <roundcube:else />
  78. <div id="mailview-top" class="uibox fullheight">
  79. <roundcube:endif />
  80. <!-- messagelist -->
  81. <div id="messagelistcontainer" class="boxlistcontent">
  82. <h2 id="aria-label-messagelist" class="voice"><roundcube:label name="arialabelmessagelist" /></h2>
  83. <roundcube:object name="messages"
  84. id="messagelist"
  85. class="records-table messagelist sortheader fixedheader"
  86. optionsmenuIcon="true"
  87. aria-labelledby="aria-label-messagelist" />
  88. </div>
  89. <div class="voice" role="note">
  90. <h3><roundcube:label name="helplistnavigation" /></h3>
  91. <pre>
  92. <roundcube:label name="helplistkeyboardnavigation" />
  93. <roundcube:label name="helplistkeyboardnavmessages" />
  94. </pre>
  95. </div>
  96. <!-- list footer -->
  97. <div id="messagelistfooter">
  98. <div id="listcontrols">
  99. <roundcube:button href="#list" command="set-listmode" prop="list" class="iconbutton listmode disabled" classAct="iconbutton listmode" id="maillistmode" title="list" content="List" />
  100. <roundcube:button href="#threads" command="set-listmode" prop="threads" class="iconbutton threadmode disabled" classAct="iconbutton threadmode" id="mailthreadmode" title="threads" content="Threads" />
  101. </div>
  102. <div id="listselectors">
  103. <a href="#select" id="listselectmenulink" class="menuselector" onclick="UI.toggle_popup('listselectmenu', event);return false" aria-haspopup="true" aria-expanded="false" aria-owns="listselectmenu-menu"><span class="handle"><roundcube:label name="select" /></span></a>
  104. <roundcube:if condition="env:threads" />
  105. &nbsp; <a href="#threads" id="threadselectmenulink" class="menuselector" onclick="UI.toggle_popup('threadselectmenu', event);return false" aria-haspopup="true" aria-expanded="false" aria-owns="threadselectmenu-menu"><span class="handle"><roundcube:label name="threads" /></span></a>
  106. <roundcube:endif />
  107. </div>
  108. <div id="countcontrols" class="pagenav dark">
  109. <roundcube:object name="messageCountDisplay" class="countdisplay" aria-live="polite" aria-relevant="text" />
  110. <span class="pagenavbuttons">
  111. <roundcube:button command="firstpage" type="link" class="button firstpage disabled" classAct="button firstpage" classSel="button firstpage pressed" innerClass="inner" title="firstpage" label="first" />
  112. <roundcube:button command="previouspage" type="link" class="button prevpage disabled" classAct="button prevpage" classSel="button prevpage pressed" innerClass="inner" title="previouspage" label="previous" />
  113. <input id="pagejumper" class="pagejumper" type="text" size="3" disabled="disabled" title="<roundcube:label name="currpage" />" />
  114. <roundcube:button command="nextpage" type="link" class="button nextpage disabled" classAct="button nextpage" classSel="button nextpage pressed" innerClass="inner" title="nextpage" label="next" />
  115. <roundcube:button command="lastpage" type="link" class="button lastpage disabled" classAct="button lastpage" classSel="button lastpage pressed" innerClass="inner" title="lastpage" label="last" />
  116. </span>
  117. </div>
  118. <roundcube:container name="listcontrols" id="listcontrols" />
  119. <a href="#preview" id="mailpreviewtoggle" class="iconbutton" title="<roundcube:label name='previewpane' />" role="button" tabindex="0"><roundcube:label name="previewpane" /></a>
  120. </div>
  121. </div><!-- end mailview-top -->
  122. <div id="mailview-bottom" class="uibox">
  123. <div id="mailpreviewframe" class="iframebox" role="complementary" aria-labelledby="aria-label-mailpreviewframe">
  124. <h2 id="aria-label-mailpreviewframe" class="voice"><roundcube:label name="arialabelmailpreviewframe" /></h2>
  125. <roundcube:object name="messagecontentframe" id="messagecontframe" style="width:100%; height:100%" frameborder="0" src="/watermark.html" title="arialabelmailpreviewframe" />
  126. </div>
  127. </div><!-- end mailview-bottom -->
  128. </div><!-- end mailview-right -->
  129. </div><!-- end mainscreencontent -->
  130. </div><!-- end mainscreen -->
  131. <div id="dragmessagemenu" class="popupmenu" aria-hidden="true">
  132. <ul class="toolbarmenu" role="menu">
  133. <roundcube:button command="move" type="link-menuitem" onclick="return rcmail.drag_menu_action('move')" label="move" classAct="active" />
  134. <roundcube:button command="copy" type="link-menuitem" onclick="return rcmail.drag_menu_action('copy')" label="copy" classAct="active" />
  135. </ul>
  136. </div>
  137. <div id="mailboxmenu" class="popupmenu" aria-hidden="true">
  138. <h3 id="aria-label-mailboxmenu" class="voice"><roundcube:label name="arialabelmailboxmenu" /></h3>
  139. <ul class="toolbarmenu" id="mailboxoptionsmenu" role="menu" aria-labelledby="aria-label-mailboxmenu">
  140. <roundcube:button command="expunge" type="link-menuitem" label="compact" classAct="active" />
  141. <roundcube:button command="purge" type="link-menuitem" label="empty" classAct="active" />
  142. <roundcube:button command="import-messages" type="link-menuitem" name="messageimport" classAct="active" label="importmessages" onclick="if(rcmail.command_enabled('import-messages'))UI.show_uploadform();return false" />
  143. <roundcube:button command="folders" task="settings" type="link-menuitem" label="managefolders" classAct="active" />
  144. <roundcube:container name="mailboxoptions" id="mailboxoptionsmenu" />
  145. </ul>
  146. </div>
  147. <div id="listselectmenu" class="popupmenu dropdown" aria-hidden="true">
  148. <h3 id="aria-label-listselectmenu" class="voice"><roundcube:label name="arialabellistselectmenu" /></h3>
  149. <ul id="listselectmenu-menu" class="toolbarmenu iconized" role="menu" aria-labelledby="aria-label-listselectmenu">
  150. <roundcube:button command="select-all" type="link-menuitem" label="all" class="icon" classAct="icon active" innerclass="icon mail" />
  151. <roundcube:button command="select-all" type="link-menuitem" prop="page" label="currpage" class="icon" classAct="icon active" innerclass="icon list" />
  152. <roundcube:button command="select-all" type="link-menuitem" prop="unread" label="unread" class="icon" classAct="icon active" innerclass="icon unread" />
  153. <roundcube:button command="select-all" type="link-menuitem" prop="flagged" label="flagged" class="icon" classAct="icon active" innerclass="icon flagged" />
  154. <roundcube:button command="select-all" type="link-menuitem" prop="invert" label="invert" class="icon" classAct="icon active" innerclass="icon invert" />
  155. <roundcube:button command="select-none" type="link-menuitem" label="none" class="icon" classAct="icon active" innerclass="icon cross" />
  156. </ul>
  157. </div>
  158. <div id="threadselectmenu" class="popupmenu dropdown" aria-hidden="true">
  159. <h3 id="aria-label-threadselectmenu" class="voice"><roundcube:label name="arialabelthreadselectmenu" /></h3>
  160. <ul id="threadselectmenu-menu" class="toolbarmenu" role="menu" aria-labelledby="aria-label-threadselectmenu">
  161. <roundcube:button command="expand-all" type="link-menuitem" label="expand-all" class="icon" classAct="icon active" innerclass="icon conversation" />
  162. <roundcube:button command="expand-unread" type="link-menuitem" label="expand-unread" class="icon" classAct="icon active" innerclass="icon conversation" />
  163. <roundcube:button command="collapse-all" type="link-menuitem" label="collapse-all" class="icon" classAct="icon active" innerclass="icon conversation" />
  164. </ul>
  165. </div>
  166. <div id="listoptions" class="propform popupdialog" role="dialog" aria-labelledby="aria-label-listoptions" aria-hidden="true">
  167. <h2 id="aria-label-listoptions" class="voice"><roundcube:label name="arialabelmessagelistoptions" /></h2>
  168. <roundcube:if condition="!in_array('list_cols', (array)config:dont_override)" />
  169. <fieldset class="floating">
  170. <legend><roundcube:label name="listcolumns" /></legend>
  171. <ul class="proplist">
  172. <li><label class="disabled"><input type="checkbox" name="list_col[]" value="threads" checked="checked" disabled="disabled" /> <span><roundcube:label name="threads" /></span></label></li>
  173. <li><label class="disabled"><input type="checkbox" name="list_col[]" value="subject" checked="checked" disabled="disabled" /> <span><roundcube:label name="subject" /></span></label></li>
  174. <li><label><input type="checkbox" name="list_col[]" value="fromto" /> <span><roundcube:label name="fromto" /></span></label></li>
  175. <li><label><input type="checkbox" name="list_col[]" value="from" /> <span><roundcube:label name="from" /></span></label></li>
  176. <li><label><input type="checkbox" name="list_col[]" value="to" /> <span><roundcube:label name="to" /></span></label></li>
  177. <li><label><input type="checkbox" name="list_col[]" value="replyto" /> <span><roundcube:label name="replyto" /></span></label></li>
  178. <li><label><input type="checkbox" name="list_col[]" value="cc" /> <span><roundcube:label name="cc" /></span></label></li>
  179. <li><label><input type="checkbox" name="list_col[]" value="date" /> <span><roundcube:label name="date" /></span></label></li>
  180. <li><label><input type="checkbox" name="list_col[]" value="size" /> <span><roundcube:label name="size" /></span></label></li>
  181. <li><label><input type="checkbox" name="list_col[]" value="status" /> <span><roundcube:label name="readstatus" /></span></label></li>
  182. <li><label><input type="checkbox" name="list_col[]" value="attachment" /> <span><roundcube:label name="attachment" /></span></label></li>
  183. <li><label><input type="checkbox" name="list_col[]" value="flag" /> <span><roundcube:label name="flag" /></span></label></li>
  184. <li><label><input type="checkbox" name="list_col[]" value="priority" /> <span><roundcube:label name="priority" /></span></label></li>
  185. </ul>
  186. </fieldset>
  187. <roundcube:endif />
  188. <roundcube:if condition="!in_array('message_sort_col', (array)config:dont_override)" />
  189. <fieldset class="floating">
  190. <legend><roundcube:label name="listsorting" /></legend>
  191. <ul class="proplist">
  192. <li><label><input type="radio" name="sort_col" value="" /> <span><roundcube:label name="nonesort" /></span></label></li>
  193. <li><label><input type="radio" name="sort_col" value="arrival" /> <span><roundcube:label name="arrival" /></span></label></li>
  194. <li><label><input type="radio" name="sort_col" value="date" /> <span><roundcube:label name="sentdate" /></span></label></li>
  195. <li><label><input type="radio" name="sort_col" value="subject" /> <span><roundcube:label name="subject" /></span></label></li>
  196. <li><label><input type="radio" name="sort_col" value="fromto" /> <span><roundcube:label name="fromto" /></span></label></li>
  197. <li><label><input type="radio" name="sort_col" value="from" /> <span><roundcube:label name="from" /></span></label></li>
  198. <li><label><input type="radio" name="sort_col" value="to" /> <span><roundcube:label name="to" /></span></label></li>
  199. <li><label><input type="radio" name="sort_col" value="cc" /> <span><roundcube:label name="cc" /></span></label></li>
  200. <li><label><input type="radio" name="sort_col" value="size" /> <span><roundcube:label name="size" /></span></label></li>
  201. </ul>
  202. </fieldset>
  203. <roundcube:endif />
  204. <roundcube:if condition="!in_array('message_sort_order', (array)config:dont_override)" />
  205. <fieldset class="floating">
  206. <legend><roundcube:label name="listorder" /></legend>
  207. <ul class="proplist">
  208. <li><label><input type="radio" name="sort_ord" value="ASC" /> <span><roundcube:label name="asc" /></span></label></li>
  209. <li><label><input type="radio" name="sort_ord" value="DESC" /> <span><roundcube:label name="desc" /></span></label></li>
  210. </ul>
  211. </fieldset>
  212. <roundcube:endif />
  213. <br style="clear:both" />
  214. <div class="formbuttons">
  215. <roundcube:button command="menu-save" id="listmenusave" type="input" class="button mainaction" label="save" />
  216. <roundcube:button command="menu-close" prop="messagelistmenu" id="listmenucancel" type="input" class="button" label="cancel" />
  217. </div>
  218. </div>
  219. <div id="upload-dialog" class="propform popupdialog" title="<roundcube:label name='importmessages' />" aria-hidden="true">
  220. <h2 id="aria-label-uploaddialog" class="voice"><roundcube:label name="arialabelmailimportdialog" /></h2>
  221. <roundcube:object name="messageimportform" id="uploadform" buttons="no" />
  222. <div class="formbuttons">
  223. <roundcube:button command="import-messages" type="input" class="button mainaction" label="upload" />
  224. <roundcube:button name="close" type="input" class="button" label="cancel" onclick="UI.show_uploadform()" />
  225. </div>
  226. </div>
  227. <roundcube:include file="/includes/footer.html" />
  228. </body>
  229. </html>