mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-10-31 07:22:26 +01:00 
			
		
		
		
	added an option to limit message restores
This commit is contained in:
		| @@ -16,7 +16,7 @@ | ||||
| <?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 { ?> | ||||
| <?php } else if($can_restore == 1) { ?> | ||||
|    <a class="messagelink" href="#" onclick="Piler.restore_message(<?php print $id; ?>);"><i class="icon-gift"></i> <?php print $text_restore_to_mailbox; ?></a> | | ||||
| <?php } } ?> | ||||
|    <a class="messagelink" href="#" onclick="Piler.view_message(<?php print $id; ?>);"><i class="icon-envelope"></i> <?php print $text_view_message; ?></a> | ||||
|   | ||||
| @@ -16,7 +16,7 @@ | ||||
| <?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 { ?> | ||||
| <?php } else if($can_restore == 1) { ?> | ||||
|    <a class="messagelink" href="#" onclick="Piler.restore_message(<?php print $id; ?>);"><i class="icon-gift"></i> <?php print $text_restore_to_mailbox; ?></a> | | ||||
| <?php } } ?> | ||||
|    <a class="messagelink" href="#" onclick="Piler.view_headers(<?php print $id; ?>);"><i class="icon-envelope"></i> <?php print $text_view_headers; ?></a> | | ||||
|   | ||||
| @@ -18,7 +18,7 @@ | ||||
|     <?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 { ?> | ||||
|     <?php } else if($can_restore == 1) { ?> | ||||
|        <a class="messagelink" href="#" onclick="Piler.restore_message(<?php print $id; ?>);"><i class="icon-gift"></i> <?php print $text_restore_to_mailbox; ?></a> | | ||||
|     <?php } } ?> | ||||
|        <a class="messagelink" href="#" onclick="Piler.view_headers(<?php print $id; ?>);"><i class="icon-envelope"></i> <?php print $text_view_headers; ?></a> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user