2013-04-05 10:16:33 +02:00
|
|
|
<div id="restorebox" class="alert alert-general">
|
2012-12-20 14:11:17 +01:00
|
|
|
<?php if(Registry::get('auditor_user') == 1 && count($rcpt) > 0) { ?>
|
|
|
|
<?php foreach($rcpt as $r) { ?>
|
2013-02-11 20:24:19 +01:00
|
|
|
<input type="checkbox" class="restorebox" id="rcpt_<?php print $r; ?>" name="rcpt_<?php print $r; ?>" value="1" /> <?php print $r; ?><br />
|
2012-12-20 14:11:17 +01:00
|
|
|
<?php } ?>
|
|
|
|
<br />
|
2013-04-05 10:16:33 +02:00
|
|
|
<input type="button" id="restore_button" name="restore_button" value="<?php print $text_restore; ?>" class="btn btn-primary" onclick="Piler.restore_message_for_recipients(<?php print $id; ?>, '<?php print $text_restored; ?>', '<?php print $text_select_recipients; ?>');" />
|
|
|
|
<input type="button" value="<?php print $text_cancel; ?>" class="btn btn-inverse" onclick="$('#restorebox').hide();" />
|
2012-12-20 14:11:17 +01:00
|
|
|
<?php } ?>
|
2012-02-08 23:14:28 +01:00
|
|
|
|
2012-12-20 14:11:17 +01:00
|
|
|
</div>
|
2012-02-08 23:14:28 +01:00
|
|
|
|
2013-04-05 10:16:33 +02:00
|
|
|
<div class="messageheader">
|
|
|
|
|
2012-02-08 23:14:28 +01:00
|
|
|
<p>
|
2013-04-05 10:16:33 +02:00
|
|
|
<a class="messagelink" href="index.php?route=message/download&id=<?php print $id; ?>"><i class="icon-cloud-download"></i> <?php print $text_download_message; ?></a> |
|
2012-12-20 14:11:17 +01:00
|
|
|
<?php if(Registry::get('auditor_user') == 1) { ?>
|
2013-04-05 10:16:33 +02:00
|
|
|
<a class="messagelink" href="#" onclick="$('#restorebox').show();"><i class="icon-reply"></i> <?php print $text_restore_to_mailbox; ?></a> |
|
2012-12-20 14:11:17 +01:00
|
|
|
<?php } else { ?>
|
2013-04-05 10:16:33 +02:00
|
|
|
<a class="messagelink" href="#" onclick="Piler.restore_message(<?php print $id; ?>);"><i class="icon-reply"></i> <?php print $text_restore_to_mailbox; ?></a> |
|
2012-12-20 14:11:17 +01:00
|
|
|
<?php } ?>
|
2013-04-05 10:16:33 +02:00
|
|
|
<a class="messagelink" href="#" onclick="Piler.view_message(<?php print $id; ?>);"><i class="icon-envelope"></i> <?php print $text_view_message; ?></a>
|
2013-07-12 11:14:09 +02:00
|
|
|
<?php if($message['has_journal'] == 1 && Registry::get('auditor_user') == 1 && SHOW_ENVELOPE_JOURNAL == 1) { ?>
|
|
|
|
| <a class="messagelink" href="#" onclick="Piler.view_journal(<?php print $id; ?>);"><i class="icon-envelope-alt"></i> <?php print $text_view_journal_envelope; ?></a>
|
|
|
|
<?php } ?>
|
|
|
|
|
2012-02-08 23:14:28 +01:00
|
|
|
</p>
|
|
|
|
|
2013-04-05 10:16:33 +02:00
|
|
|
</div>
|
|
|
|
|
2013-07-12 11:14:09 +02:00
|
|
|
<pre class="messagesmtpheaders"><?php print $message['headers']; ?></pre>
|
2012-02-08 23:14:28 +01:00
|
|
|
|