Files
server/usr/share/psa-horde/imp/templates/smartmobile/message.html.php
2026-01-07 20:52:11 +01:00

112 lines
4.2 KiB
PHP

<div id="message" data-role="page">
<?php echo $this->smartmobileHeader(array('backlink' => array('#', _("Mailbox")), 'logout' => true, 'title' => '&nbsp;')) ?>
<div data-role="content">
<div id="imp-message-headers" data-role="collapsible" data-iconpos="right" data-theme="b" data-content-theme="d">
<h4>
<span id="imp-message-from"></span>
<span id="imp-message-date"></span>
</h4>
<table id="imp-message-headers-full"><tbody></tbody></table>
</div>
<div id="imp-message-atc" data-role="collapsible" data-iconpos="right" data-content-theme="d">
<h4><span id="imp-message-atclabel"></span></h4>
<ul data-inset="true" data-role="listview" id="imp-message-atclist"></ul>
</div>
<div id="imp-message-body"></div>
</div>
<div class="ui-bar" data-role="footer" data-position="fixed">
<a href="#message-delete" id="imp-message-delete" data-icon="delete"><?php echo _("Delete") ?></a>
<?php if ($this->canCompose): ?>
<a href="#message-reply" data-icon="back" data-rel="popup"><?php echo _("Reply...") ?></a>
<?php endif; ?>
<a href="#message-more" data-rel="popup"><?php echo _("More...") ?></a>
</div>
<?php if ($this->canCompose): ?>
<div data-role="popup" data-history="false" data-theme="a" id="message-reply">
<ul data-role="listview" data-inset="true">
<li data-icon="back">
<a href="#message-reply-auto"><?php echo _("Reply (Auto)") ?></a>
</li>
<li data-icon="back">
<a href="#message-reply-sender"><?php echo _("Reply to Sender") ?></a>
</li>
<li data-icon="back">
<a href="#message-reply-all"><?php echo _("Reply to All") ?></a>
</li>
<li data-icon="back">
<a href="#message-reply-list"><?php echo _("Reply to List") ?></a>
</li>
</ul>
</div>
<?php endif; ?>
<div data-role="popup" data-history="false" data-theme="a" id="message-more">
<ul data-role="listview" data-inset="true">
<?php if ($this->canCompose): ?>
<li data-icon="forward">
<a href="#message-forward"><?php echo _("Forward") ?></a>
</li>
<li data-icon="forward">
<a href="#message-redirect"><?php echo _("Redirect") ?></a>
</li>
<?php endif; ?>
<?php if ($this->canSpam): ?>
<li data-icon="alert">
<a href="#message-spam" id="imp-message-spam"><?php echo _("Spam") ?></a>
</li>
<?php endif ?>
<?php if ($this->canInnocent): ?>
<li data-icon="check">
<a href="#message-innocent" id="imp-message-innocent"><?php echo _("Innocent") ?></a>
</li>
<?php endif ?>
<?php if ($this->allowFolders): ?>
<li data-icon="plus">
<a href="#" id="imp-message-copymove" data-rel="dialog"><?php echo _("Copy/Move") ?></a>
</li>
<?php endif; ?>
<li data-icon="arrow-l">
<a href="#message-prev" id="imp-message-prev"><?php echo _("Previous") ?></a>
</li>
<li data-icon="arrow-r">
<a href="#message-next" id="imp-message-next"><?php echo _("Next") ?></a>
</li>
</ul>
</div>
<?php if ($this->canInnocent): ?>
<div data-role="popup" data-overlay-theme="a" data-history="false" id="imp-innocent-confirm">
<div data-role="header" class="ui-corner-top">
<h1><?php echo _("Report as Innocent") ?></h1>
</div>
<div data-role="content" class="ui-corner-bottom ui-content">
<h3 class="ui-title">
<?php echo _("Are you sure you wish to report this message as innocent?") ?>
</h3>
<a href="#" data-role="button" data-inline="true" data-rel="back" data-theme="c"><?php echo _("Cancel") ?></a>
<a href="#message-innocent-confirm" data-role="button" data-inline="true" data-theme="b"><?php echo _("Report") ?></a>
</div>
</div>
<?php endif; ?>
<?php if ($this->canSpam): ?>
<div data-role="popup" data-overlay-theme="a" data-history="false" id="imp-spam-confirm">
<div data-role="header" class="ui-corner-top">
<h1><?php echo _("Report as Spam") ?></h1>
</div>
<div data-role="content" class="ui-corner-bottom ui-content">
<h3 class="ui-title">
<?php echo _("Are you sure you wish to report this message as spam?") ?>
</h3>
<a href="#" data-role="button" data-inline="true" data-rel="back" data-theme="c"><?php echo _("Cancel") ?></a>
<a href="#message-spam-confirm" data-role="button" data-inline="true" data-theme="b"><?php echo _("Report") ?></a>
</div>
</div>
<?php endif; ?>
</div>