[ingo] Re: adding a default "stop" to Sieve rules
Liam Hoekenga
liamr at umich.edu
Fri Apr 8 08:32:01 PDT 2005
I haven't messed around with this in a few weeks. Still haven't got
anywhere. Any suggestions?
Liam
On Wed, 30 Mar 2005, liam hoekenga wrote:
> Our helpdesk has requested that when creating new rules in Ingo, that "Stop
> checking if this rule matches?" be checked by default.
>
> It looks like this is set in templates/rule/footer.php. I tried this..
>
> --- footer.inc- 2005-03-30 11:23:36.000000000 -0500
> +++ footer.inc 2005-03-30 11:24:07.000000000 -0500
> @@ -59,5 +59,5 @@
> <tr class="item1">
> <td align="left" style="padding:5px">
> - <input type="checkbox" name="stop" value="1"<?php echo ($rule['stop']) ?
> 'checked="checked"' : '' ?>> <?php echo _("Stop checking if this rule
> matches?") ?>
> + <input type="checkbox" name="stop" value="1"<?php echo (!$rule['stop']) ?
> '' : 'checked="checked"' ?>> <?php echo _("Stop checking if this rule matches?")
> ?>
> </td>
> <td width="40px" align="right">
>
> I'm guessing that this doesn't work because with a fresh rule $rule is probably
> unpopulated.
>
> So.. how do I set this default w/o breaking people's ability to uncheck this if
> they wish?
>
> Liam
> --
> Ingo mailing list - Join the hunt: http://horde.org/bounties/#ingo
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: ingo-unsubscribe at lists.horde.org
>
> !DSPAM:424ad3ef17401265549445!
>
>
>
>
More information about the ingo
mailing list