2013-04-05 10:16:33 +02:00
|
|
|
<div id="restorebox">
|
|
|
|
<?php if(Registry::get('auditor_user') == 1 && count($rcpt) > 0) { ?>
|
|
|
|
<?php foreach($rcpt as $r) { ?>
|
|
|
|
<input type="checkbox" class="restorebox" id="rcpt_<?php print $r; ?>" name="rcpt_<?php print $r; ?>" value="1" /> <?php print $r; ?><br />
|
|
|
|
<?php } ?>
|
|
|
|
<br />
|
|
|
|
<input type="button" id="restore_button" name="restore_button" value="<?php print $text_restore; ?>" class="restore_to_mailbox_button" 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="restore_to_mailbox_button" onclick="$('#restorebox').hide();" />
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p>
|
2013-11-15 22:47:11 +01:00
|
|
|
<a class="messagelink" href="index.php?route=message/download&id=<?php print $id; ?>"><i class="icon-download"></i> <?php print $text_download_message; ?></a> |
|
2013-11-01 11:42:40 +01:00
|
|
|
<?php if(SMARTHOST || ENABLE_IMAP_AUTH == 1) { if(Registry::get('auditor_user') == 1) { ?>
|
2013-11-15 22:47:11 +01:00
|
|
|
<a class="messagelink" href="#" onclick="$('#restorebox').show();"><i class="icon-gift"></i> <?php print $text_restore_to_mailbox; ?></a> |
|
2013-04-05 10:16:33 +02:00
|
|
|
<?php } else { ?>
|
2013-11-15 22:47:11 +01:00
|
|
|
<a class="messagelink" href="#" onclick="Piler.restore_message(<?php print $id; ?>);"><i class="icon-gift"></i> <?php print $text_restore_to_mailbox; ?></a> |
|
2013-11-01 11:31:43 +01:00
|
|
|
<?php } } ?>
|
2013-11-15 22:47:11 +01:00
|
|
|
<a class="messagelink" href="#" onclick="Piler.view_headers(<?php print $id; ?>);"><i class="icon-envelope"></i> <?php print $text_view_headers; ?></a> |
|
|
|
|
<a class="messagelink" href="#" onclick="Piler.view_message(<?php print $id; ?>);"><i class="icon-envelope"></i> <?php print $text_view_message; ?></a>
|
2013-04-05 10:16:33 +02:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<pre><?php print $data; ?></pre>
|
|
|
|
|