From 68ffd7d53625397a0e9bb75c4629b09d455c4937 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 1 Nov 2006 05:09:08 +0000 Subject: [PATCH] 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. --- webcit/sieve.c | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) 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; } -- 2.30.2