1<div id="message" data-role="page">
2 <?php echo $this->smartmobileHeader(array('backlink' => array('#', _("Mailbox")), 'logout' => true, 'title' => '&nbsp;')) ?>
3
4 <div data-role="content">
5  <div id="imp-message-headers" data-role="collapsible" data-iconpos="right" data-theme="b" data-content-theme="d">
6   <h4>
7    <span id="imp-message-from"></span>
8    <span id="imp-message-date"></span>
9   </h4>
10   <table id="imp-message-headers-full"><tbody></tbody></table>
11  </div>
12
13  <div id="imp-message-atc" data-role="collapsible" data-iconpos="right" data-content-theme="d">
14   <h4><span id="imp-message-atclabel"></span></h4>
15   <ul data-inset="true" data-role="listview" id="imp-message-atclist"></ul>
16  </div>
17
18  <div id="imp-message-body"></div>
19 </div>
20
21 <div class="ui-bar" data-role="footer" data-position="fixed">
22  <a href="#message-delete" id="imp-message-delete" data-icon="delete"><?php echo _("Delete") ?></a>
23<?php if ($this->canCompose): ?>
24  <a href="#message-reply" data-icon="back" data-rel="popup"><?php echo _("Reply...") ?></a>
25<?php endif; ?>
26  <a href="#message-more" data-rel="popup"><?php echo _("More...") ?></a>
27 </div>
28
29<?php if ($this->canCompose): ?>
30 <div data-role="popup" data-history="false" data-theme="a" id="message-reply">
31  <ul data-role="listview" data-inset="true">
32   <li data-icon="back">
33    <a href="#message-reply-auto"><?php echo _("Reply (Auto)") ?></a>
34   </li>
35   <li data-icon="back">
36    <a href="#message-reply-sender"><?php echo _("Reply to Sender") ?></a>
37   </li>
38   <li data-icon="back">
39    <a href="#message-reply-all"><?php echo _("Reply to All") ?></a>
40   </li>
41   <li data-icon="back">
42    <a href="#message-reply-list"><?php echo _("Reply to List") ?></a>
43   </li>
44  </ul>
45 </div>
46<?php endif; ?>
47
48 <div data-role="popup" data-history="false" data-theme="a" id="message-more">
49  <ul data-role="listview" data-inset="true">
50<?php if ($this->canCompose): ?>
51   <li data-icon="forward">
52    <a href="#message-forward"><?php echo _("Forward") ?></a>
53   </li>
54   <li data-icon="forward">
55    <a href="#message-redirect"><?php echo _("Redirect") ?></a>
56   </li>
57<?php endif; ?>
58<?php if ($this->canSpam): ?>
59   <li data-icon="alert">
60    <a href="#message-spam" id="imp-message-spam"><?php echo _("Spam") ?></a>
61   </li>
62<?php endif ?>
63<?php if ($this->canInnocent): ?>
64   <li data-icon="check">
65    <a href="#message-innocent" id="imp-message-innocent"><?php echo _("Innocent") ?></a>
66   </li>
67<?php endif ?>
68<?php if ($this->allowFolders): ?>
69   <li data-icon="plus">
70    <a href="#" id="imp-message-copymove" data-rel="dialog"><?php echo _("Copy/Move") ?></a>
71   </li>
72<?php endif; ?>
73   <li data-icon="arrow-l">
74    <a href="#message-prev" id="imp-message-prev"><?php echo _("Previous") ?></a>
75   </li>
76   <li data-icon="arrow-r">
77    <a href="#message-next" id="imp-message-next"><?php echo _("Next") ?></a>
78   </li>
79  </ul>
80 </div>
81
82<?php if ($this->canInnocent): ?>
83 <div data-role="popup" data-overlay-theme="a" data-history="false" id="imp-innocent-confirm">
84  <div data-role="header" class="ui-corner-top">
85  <h1><?php echo _("Report as Innocent") ?></h1>
86  </div>
87  <div data-role="content" class="ui-corner-bottom ui-content">
88   <h3 class="ui-title">
89    <?php echo _("Are you sure you wish to report this message as innocent?") ?>
90   </h3>
91   <a href="#" data-role="button" data-inline="true" data-rel="back" data-theme="c"><?php echo _("Cancel") ?></a>
92   <a href="#message-innocent-confirm" data-role="button" data-inline="true" data-theme="b"><?php echo _("Report") ?></a>
93  </div>
94 </div>
95<?php endif; ?>
96
97<?php if ($this->canSpam): ?>
98 <div data-role="popup" data-overlay-theme="a" data-history="false" id="imp-spam-confirm">
99  <div data-role="header" class="ui-corner-top">
100  <h1><?php echo _("Report as Spam") ?></h1>
101  </div>
102  <div data-role="content" class="ui-corner-bottom ui-content">
103   <h3 class="ui-title">
104    <?php echo _("Are you sure you wish to report this message as spam?") ?>
105   </h3>
106   <a href="#" data-role="button" data-inline="true" data-rel="back" data-theme="c"><?php echo _("Cancel") ?></a>
107   <a href="#message-spam-confirm" data-role="button" data-inline="true" data-theme="b"><?php echo _("Report") ?></a>
108  </div>
109 </div>
110<?php endif; ?>
111</div>
112