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.

messagepreview.html 5.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. </head>
  7. <body class="iframe fullheight">
  8. <div id="messageheader" class="previewheader">
  9. <!-- record navigation -->
  10. <div id="countcontrols" role="toolbar" aria-labelledby="aria-label-messagetoolbar">
  11. <h2 id="aria-label-messagetoolbar" class="voice"><roundcube:label name="arialabelmessageactions" /></h2>
  12. <roundcube:if condition="env:optional_format=='text'" />
  13. <span class="buttongroup">
  14. <roundcube:button command="change-format" prop="html" type="link" class="button first changeformat html selected" innerClass="icon" title="changeformathtml" content="HTML" /><roundcube:button command="change-format" prop="text" type="link" class="button last changeformat text" classSel="button changeformat text pressed" innerClass="icon" title="changeformattext" content="Text" />
  15. </span>
  16. <roundcube:elseif condition="env:optional_format=='html'" />
  17. &nbsp;
  18. <span class="buttongroup">
  19. <roundcube:button command="change-format" prop="html" type="link" class="button first changeformat html" classSel="button changeformat html pressed" innerClass="icon" title="changeformathtml" content="HTML" /><roundcube:button command="change-format" prop="text" type="link" class="button last changeformat text selected" innerClass="icon" title="changeformattext" content="Text" />
  20. </span>
  21. <roundcube:endif />
  22. <roundcube:if condition="env:mailbox != config:drafts_mbox || env:message_context">
  23. &nbsp;
  24. <roundcube:button command="reply" type="link" class="button reply" classSel="button reply pressed" innerClass="icon" title="replytomessage" label="replytomessage" />
  25. <roundcube:button command="reply-all" type="link" class="button replyall" classSel="button replyall pressed" innerClass="icon" title="replytoallmessage" label="replytoallmessage" />
  26. <roundcube:button command="forward" type="link" class="button forward" classSel="button forward pressed" innerClass="icon" title="forwardmessage" label="forwardmessage" />
  27. <roundcube:endif />
  28. <roundcube:if condition="!env:message_context">
  29. &nbsp;
  30. <roundcube:button command="extwin" type="link" class="button extwin" classSel="button extwin pressed" innerClass="icon" title="openinextwin" label="openinextwin" />
  31. <roundcube:endif />
  32. </div>
  33. <h3 class="subject"><span onmouseover="rcube_webmail.long_subject_title(this)"><span class="voice"><roundcube:label name="subject" />: </span><roundcube:object name="messageHeaders" valueOf="subject" /></span></h3>
  34. <a href="#details" id="previewheaderstoggle" class="moreheaderstoggle" aria-expanded="false"><span class="iconlink" title="<roundcube:label name='togglemoreheaders' />"></span></a>
  35. <div id="contactphoto"><roundcube:object name="contactphoto" /></div>
  36. <table class="headers-table" id="preview-shortheaders"><tbody><tr>
  37. <roundcube:if condition="env:mailbox == config:drafts_mbox || env:mailbox == config:sent_mbox">
  38. <td class="header-title"><roundcube:label name="to" /></td>
  39. <td class="header from"><roundcube:object name="messageHeaders" valueOf="to" max="3" addicon="/images/addcontact.png" /></td>
  40. <roundcube:else />
  41. <td class="header-title"><roundcube:label name="from" /></td>
  42. <td class="header from"><roundcube:object name="messageHeaders" valueOf="from" addicon="/images/addcontact.png" /></td>
  43. <roundcube:endif />
  44. <td class="header-title"><roundcube:label name="date" /></td>
  45. <td class="header date"><span><roundcube:object name="messageHeaders" valueOf="date" /></span></td>
  46. </tr></tbody></table>
  47. <roundcube:object name="messageHeaders" id="preview-allheaders" class="headers-table" addicon="/images/addcontact.png" max="10" exclude="subject,replyto" />
  48. <roundcube:object name="messageFullHeaders" id="full-headers" />
  49. </div>
  50. <div id="messagepreview" role="main">
  51. <div class="rightcol" role="region" aria-labelledby="aria-label-messageattachments">
  52. <h2 id="aria-label-messageattachments" class="voice"><roundcube:label name="attachments" /></h2>
  53. <roundcube:object name="messageAttachments" id="attachment-list" class="attachmentslist" />
  54. </div>
  55. <div class="leftcol" role="region" aria-labelledby="aria-label-messagebody">
  56. <h2 id="aria-label-messagebody" class="voice"><roundcube:label name="arialabelmessagebody" /></h2>
  57. <roundcube:object name="messageObjects" id="message-objects" />
  58. <roundcube:object name="messageBody" id="messagebody" headertableclass="message-partheaders headers-table" />
  59. </div>
  60. </div>
  61. <div id="attachmentmenu" class="popupmenu" aria-hidden="true">
  62. <ul class="toolbarmenu" id="attachmentoptionsmenu" role="menu">
  63. <roundcube:button command="open-attachment" id="attachmenuopen" type="link-menuitem" label="open" class="icon" classAct="icon active" innerclass="icon extwin" />
  64. <roundcube:button command="download-attachment" id="attachmenudownload" type="link-menuitem" label="download" class="icon" classAct="icon active" innerclass="icon download" />
  65. <roundcube:container name="attachmentmenu" id="attachmentoptionsmenu" />
  66. </ul>
  67. </div>
  68. <roundcube:include file="/includes/footer.html" />
  69. </body>
  70. </html>