mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 13:27:05 +02:00
added an option to change the stored retention values
This commit is contained in:
@ -98,6 +98,9 @@
|
||||
<th><?php print $text_attachment_size; ?></th>
|
||||
<th><?php print $text_days; ?></th>
|
||||
<th> </th>
|
||||
<?php if(ENABLE_SAAS == 1) { ?>
|
||||
<th> </th>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
|
||||
<?php foreach($rules as $rule) { ?>
|
||||
@ -114,6 +117,9 @@
|
||||
<td><?php if($rule['attachment_size'] > 0) { print $rule['_attachment_size']; ?> <?php print $rule['attachment_size']; } ?></td>
|
||||
<td><?php print $rule['days']; ?></td>
|
||||
<td><a href="index.php?route=policy/removeretention&id=<?php print $rule['id']; ?>"><?php print $text_remove; ?></a></td>
|
||||
<?php if(ENABLE_SAAS == 1) { ?>
|
||||
<td><?php if($rule['domain']) { ?><a href="index.php?route=policy/updateretention&domain=<?php print $rule['domain']; ?>&days=<?php print $rule['days']; ?>"><?php print $text_update_retention_within_this_domain; ?></a><?php } else { ?> <?php } ?></td>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
|
@ -0,0 +1,9 @@
|
||||
|
||||
<div class="alert alert-<?php if($n > 0) { ?>success<?php } else { ?>error<?php } ?>">
|
||||
|
||||
<?php print $text_domain; ?>: <?php print $domain; ?><br />
|
||||
<?php print $text_retention_days; ?>: <?php print $days; ?><br />
|
||||
<?php print $text_updated_records; ?>: <?php print $n; ?>
|
||||
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user