[ingo] Questions about .procmailrc (ingo rules)

Michael M Slusarz slusarz at horde.org
Tue Apr 25 09:44:57 PDT 2006


Quoting Jan Schneider <jan at horde.org>:

> Zitat von Shane Williams <broot at ischool.utexas.edu>:
>
>> I have to say, the "stop checking" option trips up a lot of people.
>> Our users' expectations are that filters will not pass a copy on to
>> further filters.  As such, I think it should be checked by default for
>> new rules (Actually, I think it should be reworded and the logic
>> flipped, so you have to check a box to pass a copy on down the line,
>> but I'm not in charge).
>>
>> There's probably some more elegant way to do this, but replacing
>> line 49 from templates/rule/footer.inc (this is in Ingo 1.1) with this
>> line:
>>
>> <input type="checkbox" name="stop" value="1"<?php if (!     
>> isset($actionID)) { echo 'checked="checked"';} else { echo     
>> ($rule['stop']) ? 'checked="checked"' : '' ;}?>> <?php echo _("Stop  
>>    checking if this rule matches?") ?>
>>
>> seems to do the trick without messing anything else up.  Someone
>> please let me know if I'm totally off-base on this.
>
> No, this is the correct solution for you want to achieve.
>
> I would like to hear other people's opinion whether this flag should
> be enabled by default.

I also thing this flag should be enabled by default.  Or, in the  
alternative, make the UI display "Continue applying filters?" or  
something similar, make the default No, and make the user have to  
actively select the option.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]


More information about the ingo mailing list