X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fsiteconfig.c;h=f755b54f9f9a1626ffee39979c27604975230e71;hb=5d38a76f8f06640e3a3f097d584ac52336110f7c;hp=7a7288dee90c92b874d44dc8f8b3efbfff41a3b2;hpb=2362c3d4de86f20822ab81015222a196137fd20e;p=citadel.git diff --git a/webcit/siteconfig.c b/webcit/siteconfig.c index 7a7288dee..f755b54f9 100644 --- a/webcit/siteconfig.c +++ b/webcit/siteconfig.c @@ -1,849 +1,529 @@ /* - * $Id$ - * * Administrative screen for site-wide configuration + * + * Copyright (c) 1996-2012 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(" |