From: Art Cancro Date: Wed, 1 Nov 2006 05:09:08 +0000 (+0000) Subject: Sieve screens now allow the user to choose 'no filters' X-Git-Tag: v7.86~3864 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=68ffd7d53625397a0e9bb75c4629b09d455c4937;hp=c3ba6c2aeda4ec0d55795ba564dfd21ba493630e;p=citadel.git Sieve screens now allow the user to choose 'no filters' or 'manually edited scripts', to edit the existing scripts, and to select a script. Still need to implement 'add new script', 'delete script', and the WebCit-managed-rules screen. --- diff --git a/webcit/sieve.c b/webcit/sieve.c index 3fdb54f25..cfaef63d2 100644 --- a/webcit/sieve.c +++ b/webcit/sieve.c @@ -210,27 +210,29 @@ void save_sieve(void) { bigaction = atoi(bstr("bigaction")); if (bigaction == 0) { - lprintf(9, "MSIV setactive||"); + serv_puts("MSIV setactive||"); + serv_getln(buf, sizeof buf); } else if (bigaction == 2) { - lprintf(9, "MSIV setactive|%s|", bstr("active_script")); + serv_printf("MSIV setactive|%s|", bstr("active_script")); + serv_getln(buf, sizeof buf); } if (num_scripts > 0) { for (i=0; iImportantMessage, "FIXME"); + strcpy(WC->ImportantMessage, _("Your changes have been saved.")); display_main_menu(); return; }