Location: PHPKode > projects > CsWebmail > cswebmail-3.10/cswebmail-3.10/templates/Procmail_presentation.php
<?if(VALID_DOCUMENT != 1) die('what?');?>

<?if(!$this->anti_spam_rule && !$this->vacation_rule && !array_not_empty($this->prefs)){?>
<tr><td class="center" colspan="4">Empty</td></tr>
<?}else{?>
 
<tr><th colspan="2">Name</th><th colspan="2">Description</th></tr>

<?if($this->anti_spam_rule){?>
<tr>
  <td><input type="checkbox" name="key[]" value="<?=$this->anti_spam_rule->name?>"/></td>
  <td><?=$this->anti_spam_rule->name?></td>
  <td><?=$this->anti_spam_rule->description?></td>
  <td><a href="<?=$_SERVER['PHP_SELF']?>?action=filters-edit&amp;entry=<?=$this->anti_spam_rule->name?>">edit</a></td>
</tr>
<?}?>

<?if($this->vacation_rule){?>
<tr>
  <td><input type="checkbox" name="key[]" value="<?=$this->vacation_rule->name?>"/></td>
  <td><?=$this->vacation_rule->name?></td>
  <td><?=$this->vacation_rule->description?></td>
  <td><a href="<?=$_SERVER['PHP_SELF']?>?action=filters-edit&amp;entry=<?=$this->vacation_rule->name?>">edit</a></td>
</tr>
<?}?>

<tr><td colspan="4">&nbsp;</td></tr>

<?if(array_not_empty($this->prefs)){
  $count = count($this->prefs)-1;
  foreach($this->prefs as $key=>$rule){?>
<tr>
  <td><input type="checkbox" name="key[]" value="<?=$key?>" onclick="toggle_checkbox_row(this);"/></td>
  <td><?=$rule->name?></td>
  <td><?=$rule->description?></td>
  <td>
   <a href="<?=$_SERVER['PHP_SELF']?>?action=filters-edit&amp;entry=<?=$key?>">edit</a>
   <?if($key>0){?>
   <a href="<?=$_SERVER['PHP_SELF']?>?action=filters-move-up&amp;entry=<?=$key?>">&#8593;</a>
   <?}?>
   <?if($key<$count){?>
   <a href="<?=$_SERVER['PHP_SELF']?>?action=filters-move-down&amp;entry=<?=$key?>">&#8595;</a>
   <?}?>
  </td>
</tr>

<?}}?>

<?}?>
Return current item: CsWebmail