mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-15 16:57:01 +02:00
added body option for the rules check
This commit is contained in:
@ -26,6 +26,12 @@
|
||||
<input type="text" class="text" name="subject" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="body"><?php print $text_body; ?>:</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="text" name="body" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="size"><?php print $text_size; ?>:</label>
|
||||
<div class="controls">
|
||||
@ -89,6 +95,7 @@
|
||||
<th><?php print $text_from; ?></th>
|
||||
<th><?php print $text_to; ?></th>
|
||||
<th><?php print $text_subject; ?></th>
|
||||
<th><?php print $text_body; ?></th>
|
||||
<th><?php print $text_spam; ?></th>
|
||||
<th><?php print $text_size; ?></th>
|
||||
<th><?php print $text_attachment_name; ?></th>
|
||||
@ -102,6 +109,7 @@
|
||||
<td><?php print $rule['from']; ?></td>
|
||||
<td><?php print $rule['to']; ?></td>
|
||||
<td><?php print $rule['subject']; ?></td>
|
||||
<td><?php print $rule['body']; ?></td>
|
||||
<td><?php if($rule['spam'] == -1) { print "-"; } else if($rule['spam'] == 0) { print $text_not_spam; } else { print $text_spam; } ?></td>
|
||||
<td><?php if($rule['size'] > 0) { print $rule['_size']; ?> <?php print $rule['size']; } ?></td>
|
||||
<td><?php print $rule['attachment_name']; ?></td>
|
||||
|
Reference in New Issue
Block a user