mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:37:02 +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>
|
||||
|
@ -15,6 +15,7 @@
|
||||
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['body']) { print $text_body . ': ' . $rule['body'] . ', '; }
|
||||
if($rule['size'] > 0) { print $text_size . ': ' . $rule['_size'] . ' ' . $rule['size'] . ', '; }
|
||||
if($rule['attachment_name']) { print $text_attachment_name . ': ' . $rule['attachment_name'] . ', '; }
|
||||
if($rule['attachment_type']) { print $text_attachment_type . ': ' . $rule['attachment_type'] . ', '; }
|
||||
|
@ -14,6 +14,7 @@
|
||||
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['body']) { print $text_body . ': ' . $rule['body'] . ', '; }
|
||||
if($rule['size'] > 0) { print $text_size . ': ' . $rule['_size'] . ' ' . $rule['size'] . ', '; }
|
||||
if($rule['attachment_name']) { print $text_attachment_name . ': ' . $rule['attachment_name'] . ', '; }
|
||||
if($rule['attachment_type']) { print $text_attachment_type . ': ' . $rule['attachment_type'] . ', '; }
|
||||
|
@ -36,6 +36,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">
|
||||
@ -104,6 +110,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>
|
||||
@ -124,6 +131,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>
|
||||
|
@ -23,6 +23,10 @@
|
||||
<div class="domaincell"><?php print $text_subject; ?>:</div>
|
||||
<div class="domaincell"><input type="text" name="subject" class="input-medium span5" /></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="domaincell"><?php print $text_body; ?>:</div>
|
||||
<div class="domaincell"><input type="text" name="body" class="input-medium span5" /></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="domaincell"><?php print $text_size; ?>:</div>
|
||||
<div class="domaincell">
|
||||
@ -87,6 +91,7 @@
|
||||
<div class="domaincell"><?php print $text_from; ?></div>
|
||||
<div class="domaincell"><?php print $text_to; ?></div>
|
||||
<div class="domaincell"><?php print $text_subject; ?></div>
|
||||
<div class="domaincell"><?php print $text_body; ?></div>
|
||||
<div class="domaincell"><?php print $text_spam; ?></div>
|
||||
<div class="domaincell"><?php print $text_size; ?></div>
|
||||
<div class="domaincell"><?php print $text_attachment_name; ?></div>
|
||||
@ -100,6 +105,7 @@
|
||||
<div class="domaincell"><?php print $rule['from']; ?></div>
|
||||
<div class="domaincell"><?php print $rule['to']; ?></div>
|
||||
<div class="domaincell"><?php print $rule['subject']; ?></div>
|
||||
<div class="domaincell"><?php print $rule['body']; ?></div>
|
||||
<div class="domaincell"><?php if($rule['spam'] == -1) { print "-"; } else if($rule['spam'] == 0) { print $text_not_spam; } else { print $text_spam; } ?></div>
|
||||
<div class="domaincell"><?php if($rule['size'] > 0) { print $rule['_size']; ?> <?php print $rule['size']; } ?></div>
|
||||
<div class="domaincell"><?php print $rule['attachment_name']; ?></div>
|
||||
|
@ -12,6 +12,7 @@ if($rule['domain']) { print $text_domain . ': ' . $rule['domain'] . ', '; }
|
||||
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['body']) { print $text_body . ': ' . $rule['body'] . ', '; }
|
||||
if($rule['size'] > 0) { print $text_size . ': ' . $rule['_size'] . ' ' . $rule['size'] . ', '; }
|
||||
if($rule['attachment_name']) { print $text_attachment_name . ': ' . $rule['attachment_name'] . ', '; }
|
||||
if($rule['attachment_type']) { print $text_attachment_type . ': ' . $rule['attachment_type'] . ', '; }
|
||||
|
@ -12,6 +12,7 @@ if($rule['domain']) { print $text_domain . ': ' . $rule['domain'] . ', '; }
|
||||
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['body']) { print $text_body . ': ' . $rule['body'] . ', '; }
|
||||
if($rule['size'] > 0) { print $text_size . ': ' . $rule['_size'] . ' ' . $rule['size'] . ', '; }
|
||||
if($rule['attachment_name']) { print $text_attachment_name . ': ' . $rule['attachment_name'] . ', '; }
|
||||
if($rule['attachment_type']) { print $text_attachment_type . ': ' . $rule['attachment_type'] . ', '; }
|
||||
|
@ -29,6 +29,10 @@
|
||||
<div class="domaincell"><?php print $text_subject; ?>:</div>
|
||||
<div class="domaincell"><input type="text" name="subject" class="input-medium span5" /></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="domaincell"><?php print $text_body; ?>:</div>
|
||||
<div class="domaincell"><input type="text" name="body" class="input-medium span5" /></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="domaincell"><?php print $text_size; ?>:</div>
|
||||
<div class="domaincell">
|
||||
@ -100,6 +104,7 @@
|
||||
<div class="domaincell"><?php print $text_from; ?></div>
|
||||
<div class="domaincell"><?php print $text_to; ?></div>
|
||||
<div class="domaincell"><?php print $text_subject; ?></div>
|
||||
<div class="domaincell"><?php print $text_body; ?></div>
|
||||
<div class="domaincell"><?php print $text_spam; ?></div>
|
||||
<div class="domaincell"><?php print $text_size; ?></div>
|
||||
<div class="domaincell"><?php print $text_attachment_name; ?></div>
|
||||
@ -120,6 +125,7 @@
|
||||
<div class="domaincell"><?php print $rule['from']; ?></div>
|
||||
<div class="domaincell"><?php print $rule['to']; ?></div>
|
||||
<div class="domaincell"><?php print $rule['subject']; ?></div>
|
||||
<div class="domaincell"><?php print $rule['body']; ?></div>
|
||||
<div class="domaincell"><?php if($rule['spam'] == -1) { print "-"; } else if($rule['spam'] == 0) { print $text_not_spam; } else { print $text_spam; } ?></div>
|
||||
<div class="domaincell"><?php if($rule['size'] > 0) { print $rule['_size']; ?> <?php print $rule['size']; } ?></div>
|
||||
<div class="domaincell"><?php print $rule['attachment_name']; ?></div>
|
||||
|
Reference in New Issue
Block a user