mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:57:03 +02:00
added an option to limit message downloads
This commit is contained in:
@ -13,7 +13,9 @@
|
||||
<div class="messageheader">
|
||||
|
||||
<p>
|
||||
<?php if($can_download == 1) { ?>
|
||||
<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> |
|
||||
<?php } ?>
|
||||
<?php if(SMARTHOST || ENABLE_IMAP_AUTH == 1) { if(Registry::get('auditor_user') == 1) { ?>
|
||||
<a class="messagelink" href="#" onclick="$('#restorebox').show();"><i class="icon-reply"></i> <?php print $text_restore_to_mailbox; ?></a> |
|
||||
<?php } else { ?>
|
||||
|
@ -13,7 +13,9 @@
|
||||
<div class="messageheader">
|
||||
|
||||
<p>
|
||||
<?php if($can_download == 1) { ?>
|
||||
<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> |
|
||||
<?php } ?>
|
||||
<?php if(SMARTHOST || ENABLE_IMAP_AUTH == 1) { if(Registry::get('auditor_user') == 1) { ?>
|
||||
<a class="messagelink" href="#" onclick="$('#restorebox').show();"><i class="icon-reply"></i> <?php print $text_restore_to_mailbox; ?></a> |
|
||||
<?php } else { ?>
|
||||
|
@ -13,7 +13,9 @@
|
||||
<div class="messageheader">
|
||||
|
||||
<p>
|
||||
<?php if($can_download == 1) { ?>
|
||||
<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> |
|
||||
<?php } ?>
|
||||
<?php if(SMARTHOST || ENABLE_IMAP_AUTH == 1) { if(Registry::get('auditor_user') == 1) { ?>
|
||||
<a class="messagelink" href="#" onclick="$('#restorebox').show();"><i class="icon-reply"></i> <?php print $text_restore_to_mailbox; ?></a> |
|
||||
<?php } else { ?>
|
||||
|
@ -11,7 +11,9 @@
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<?php if($can_download == 1) { ?>
|
||||
<a class="messagelink" href="index.php?route=message/download&id=<?php print $id; ?>"><i class="icon-download"></i> <?php print $text_download_message; ?></a> |
|
||||
<?php } ?>
|
||||
<?php if(SMARTHOST || ENABLE_IMAP_AUTH == 1) { if(Registry::get('auditor_user') == 1) { ?>
|
||||
<a class="messagelink" href="#" onclick="$('#restorebox').show();"><i class="icon-gift"></i> <?php print $text_restore_to_mailbox; ?></a> |
|
||||
<?php } else { ?>
|
||||
|
@ -11,7 +11,9 @@
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<?php if($can_download == 1) { ?>
|
||||
<a class="messagelink" href="index.php?route=message/download&id=<?php print $id; ?>"><i class="icon-download"></i> <?php print $text_download_message; ?></a> |
|
||||
<?php } ?>
|
||||
<?php if(SMARTHOST || ENABLE_IMAP_AUTH == 1) { if(Registry::get('auditor_user') == 1) { ?>
|
||||
<a class="messagelink" href="#" onclick="$('#restorebox').show();"><i class="icon-gift"></i> <?php print $text_restore_to_mailbox; ?></a> |
|
||||
<?php } else { ?>
|
||||
|
@ -13,7 +13,9 @@
|
||||
<div class="messageheader">
|
||||
|
||||
<p>
|
||||
<?php if($can_download == 1) { ?>
|
||||
<a class="messagelink" href="index.php?route=message/download&id=<?php print $id; ?>"><i class="icon-download"></i> <?php print $text_download_message; ?></a> |
|
||||
<?php } ?>
|
||||
<?php if(SMARTHOST || ENABLE_IMAP_AUTH == 1) { if(Registry::get('auditor_user') == 1) { ?>
|
||||
<a class="messagelink" href="#" onclick="$('#restorebox').show();"><i class="icon-gift"></i> <?php print $text_restore_to_mailbox; ?></a> |
|
||||
<?php } else { ?>
|
||||
|
Reference in New Issue
Block a user