X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fsieve.c;h=0db8f5ae0bca9b1cdc1ec4e0c26bb51ab867d5a5;hb=fd034bea666febed8eff22cf10f2b72b8b009665;hp=45324730bb1c6996aab3997dcce633f4b5242287;hpb=00d5940d52cd837d77cd8ca0a7ac6d6217df76f8;p=citadel.git diff --git a/webcit/sieve.c b/webcit/sieve.c index 45324730b..0db8f5ae0 100644 --- a/webcit/sieve.c +++ b/webcit/sieve.c @@ -1,29 +1,71 @@ -/* - * $Id: $ - */ -/** - * \defgroup Sieve view/edit sieve config - * \ingroup WebcitDisplayItems +/* + * Copyright (c) 1996-2011 by the citadel.org team + * + * This program is open source software. You can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/*@{*/ + #include "webcit.h" #define MAX_SCRIPTS 100 -#define MAX_RULES 25 +#define MAX_RULES 50 #define RULES_SCRIPT "__WebCit_Generated_Script__" -/** - * \brief view/edit sieve config + +/* + * dummy panel indicating to the user that the server doesn't support Sieve + */ +void display_no_sieve(void) { + + output_headers(1, 1, 2, 0, 0, 0); + + wc_printf("
\n"); + + wc_printf("\n");
+
+ wc_printf(_("This installation of Citadel was built without support for server-side mail filtering."
+ " Please contact your system administrator if you require this feature. ")); + + wc_printf(" |