X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fsiteconfig.c;h=6a5eea83ba186cf3550e4b70b485c0c6527baa84;hb=5d92400e45323578f0b4372795269142127382ab;hp=fba65fc7f4401b63a69d1f17fe46a9225d58ef8d;hpb=d8abfc1ab880919a13cfc012427eab7ee0363334;p=citadel.git diff --git a/webcit/siteconfig.c b/webcit/siteconfig.c index fba65fc7f..6a5eea83b 100644 --- a/webcit/siteconfig.c +++ b/webcit/siteconfig.c @@ -1,738 +1,261 @@ /* * $Id$ + * + * Administrative screen for site-wide configuration */ -/** - * \defgroup AdminConfig Administrative screen for site-wide configuration - * \ingroup CitadelConfig - */ -/*@{*/ + #include "webcit.h" #include "webserver.h" -/** - * \brief display all configuration items - */ -void display_siteconfig(void) -{ - char buf[SIZ]; - int i, j; - - char general[65536]; - char access[SIZ]; - char network[SIZ]; - char tuning[SIZ]; - char directory[SIZ]; - char purger[SIZ]; - char idxjnl[SIZ]; - char funambol[SIZ]; - /** expire policy settings */ - int sitepolicy = 0; - int sitevalue = 0; - int mboxpolicy = 0; - int mboxvalue = 0; - - output_headers(1, 1, 2, 0, 0, 0); - wprintf("
\n"); - - wprintf("");
-
- char *tabnames[] = {
- _("General"),
- _("Access"),
- _("Network"),
- _("Tuning"),
- _("Directory"),
- _("Auto-purger"),
- _("Indexing/Journaling"),
- _("Push Email")
- };
-
- sprintf(general, "%s");
- wprintf("", _("Save changes"));
- wprintf(" ");
- wprintf("\n", _("Cancel"));
- wprintf(" \n");
- wprintf(" |