piler/webui/view/theme/default/templates/policy/removeretention.tpl

30 lines
1.2 KiB
Smarty
Raw Normal View History

2012-02-20 14:20:19 +01:00
2013-04-05 10:16:33 +02:00
<div>
2012-02-20 14:20:19 +01:00
<?php if($confirmed){ ?>
2013-04-05 10:16:33 +02:00
<p><?php print $x; ?>.</p>
<p><a href="index.php?route=policy/retention"><?php print $text_back; ?></a></p>
2012-02-20 14:20:19 +01:00
<?php } else { ?>
2013-04-05 10:16:33 +02:00
<p><a href="index.php?route=policy/removeretention&amp;id=<?php print $id; ?>&amp;confirmed=1"><?php print $text_remove_rule; ?></a>:</p>
<p>
<?php
2013-11-11 11:58:47 +01:00
if($rule['domain']) { print $text_domain . ': ' . $rule['domain'] . ', '; }
2013-04-05 10:16:33 +02:00
if($rule['from']) { print $text_from . ': ' . $rule['from'] . ', '; }
if($rule['to']) { print $text_to . ': ' . $rule['to'] . ', '; }
if($rule['subject']) { print $text_subject . ': ' . $rule['subject'] . ', '; }
if($rule['size'] > 0) { print $text_size . ': ' . $rule['_size'] . ' ' . $rule['size'] . ', '; }
2013-11-11 11:58:47 +01:00
if($rule['attachment_name']) { print $text_attachment_name . ': ' . $rule['attachment_name'] . ', '; }
if($rule['attachment_type']) { print $text_attachment_type . ': ' . $rule['attachment_type'] . ', '; }
2013-04-05 10:16:33 +02:00
if($rule['attachment_size'] > 0) { print $text_attachment_size . ': ' . $rule['_attachment_size'] . ' ' . $rule['attachment_size'] . ' '; }
?>
</p>
2012-02-20 14:20:19 +01:00
2013-04-05 10:16:33 +02:00
<p><a href="index.php?route=policy/retention"><?php print $text_back; ?></a></p>
2012-02-20 14:20:19 +01:00
<?php } ?>
2013-04-05 10:16:33 +02:00
</div>
2012-02-20 14:20:19 +01:00