X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fsiteconfig.c;h=253e1a5763c57292979cbaad45e071ac9635aa38;hb=6f49b72635d2c113c126eab5579fc5f1a8928bc6;hp=a18bbd18e56602a5064b329de0d90d85454e15a0;hpb=6af728cfac4414a7b937d2b5658e03a75710c59b;p=citadel.git diff --git a/webcit/siteconfig.c b/webcit/siteconfig.c index a18bbd18e..253e1a576 100644 --- a/webcit/siteconfig.c +++ b/webcit/siteconfig.c @@ -1,849 +1,533 @@ /* - * $Id$ - * * Administrative screen for site-wide configuration + * + * Copyright (c) 1996-2014 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, version 3. + * + * 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. */ - #include "webcit.h" #include "webserver.h" -/* - * \brief display all configuration items - */ -void display_siteconfig(void) -{ - char buf[SIZ]; - int i, j; +CtxType CTX_SRVLOG = CTX_NONE; - char general[65536]; - char access[SIZ]; - char network[SIZ]; - char tuning[SIZ]; - char directory[SIZ]; - char purger[SIZ]; - char idxjnl[SIZ]; - char funambol[SIZ]; - char pop3[SIZ]; - - /** expire policy settings */ - int sitepolicy = 0; - int sitevalue = 0; - int mboxpolicy = 0; - int mboxvalue = 0; +HashList *ZoneHash = NULL; - output_headers(1, 1, 2, 0, 0, 0); - wprintf("
\n"); +ConstStr ExpirePolicyString = {CStrOf(roompolicy) }; - wprintf("");
-
- char *tabnames[] = {
- _("General"),
- _("Access"),
- _("Network"),
- _("Tuning"),
- _("Directory"),
- _("Auto-purger"),
- _("Indexing/Journaling"),
- _("Push Email"),
- _("Pop3")
- };
-
- sprintf(general, "%s");
- wprintf("", _("Save changes"));
- wprintf(" ");
- wprintf("\n", _("Cancel"));
- wprintf(" \n");
- wprintf(" |