mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-14 15:07:03 +02:00
added an option to change the stored retention values
This commit is contained in:
@ -96,6 +96,9 @@
|
||||
<div class="domaincell"><?php print $text_attachment_size; ?></div>
|
||||
<div class="domaincell"><?php print $text_days; ?></div>
|
||||
<div class="domaincell"> </div>
|
||||
<?php if(ENABLE_SAAS == 1) { ?>
|
||||
<div class="domaincell"> </div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<?php foreach($rules as $rule) { ?>
|
||||
@ -112,6 +115,9 @@
|
||||
<div class="domaincell"><?php if($rule['attachment_size'] > 0) { print $rule['_attachment_size']; ?> <?php print $rule['attachment_size']; } ?></div>
|
||||
<div class="domaincell"><?php print $rule['days']; ?></div>
|
||||
<div class="domaincell"><a href="index.php?route=policy/removeretention&confirmed=1&id=<?php print $rule['id']; ?>" onclick="if(confirm('<?php print $text_remove_rule; ?>: ' + '#<?php print $rule['id']; ?>')) return true; return false;"><?php print $text_remove; ?></a></div>
|
||||
<?php if(ENABLE_SAAS == 1) { ?>
|
||||
<div class="domaincell"><?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 } ?></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?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