From 2e54f8d5817361004ff2df3287924e35a49231dc Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 14 Nov 2001 03:20:22 +0000 Subject: [PATCH] * Add some more of the newer config settings to the site config screen --- webcit/ChangeLog | 8 ++++++-- webcit/siteconfig.c | 28 ++++++++++++++++++++++------ 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 004369c9e..5a2c0c853 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,7 @@ $Log$ +Revision 301.8 2001/11/14 03:20:22 ajc +* Add some more of the newer config settings to the site config screen + Revision 301.7 2001/09/25 03:34:09 ajc * Fix for WebCit servers running on port 80: detect Windoze worm-of-the-week and bail out without bothering the Citadel server. @@ -110,7 +113,7 @@ Revision 213.5 2001/04/01 22:13:37 cough creation time. Revision 213.4 2001/02/15 01:21:55 ajc -* Applied a patch submitted by "cough" to add who-knows-room and +* Applied a patch submitted by Andru Luvisi to add who-knows-room and invite/kickout functionality. Revision 213.3 2001/01/25 23:10:00 ajc @@ -432,7 +435,7 @@ Sun Apr 18 23:42:54 EDT 1999 Art Cancro * Reworked a lot of the structure, made more HTML "embeddable" * Changed the noframes mode to display "fake" frames using tables -Thu Apr 16 12:00:00 EDT 1999 Nick Grossman +Thu Apr 16 12:00:00 EDT 1999 Nick Grossman Changed some output formatting (mainly tags). Changed who.c to use urlescputs() rather than escputs() in urls so GOTOs and User Profiles work when the string has a @@ -628,3 +631,4 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix + diff --git a/webcit/siteconfig.c b/webcit/siteconfig.c index 2e5c29527..50bf0a4e0 100644 --- a/webcit/siteconfig.c +++ b/webcit/siteconfig.c @@ -133,11 +133,7 @@ void display_siteconfig(void) wprintf("", buf); wprintf("\n"); break; - case 16: - wprintf("Server-to-server networking password"); - wprintf("", buf); - wprintf("\n"); - break; + case 17: wprintf("Default user purge time (days)"); wprintf("", buf); @@ -183,6 +179,22 @@ void display_siteconfig(void) wprintf("", buf); wprintf("\n"); break; + case 27: + wprintf("Allow aides to zap (forget) rooms"); + wprintf("", ((atoi(buf) != 0) ? "CHECKED" : "")); + wprintf("\n"); + break; + case 28: + wprintf("IMAP listener port (-1 to disable)"); + wprintf("", buf); + wprintf("\n"); + break; + case 29: + wprintf("Network run frequency (in seconds)"); + wprintf("", buf); + wprintf("\n"); + break; + } } @@ -223,7 +235,7 @@ void siteconfig(void) serv_printf("%s", bstr("c_bbs_city")); serv_printf("%s", bstr("c_sysadm")); serv_printf("%s", bstr("c_maxsessions")); - serv_printf("%s", bstr("c_net_password")); + serv_printf(""); /* networking password -- deprecated */ serv_printf("%s", bstr("c_userpurge")); serv_printf("%s", bstr("c_roompurge")); serv_printf("%s", bstr("c_logpages")); @@ -233,6 +245,10 @@ void siteconfig(void) serv_printf("%s", bstr("c_max_workers")); serv_printf("%s", bstr("c_pop3_port")); serv_printf("%s", bstr("c_smtp_port")); + serv_printf(""); /* moderation filter level -- not yet implemented */ + serv_printf("%s", ((!strcasecmp(bstr("c_aide_zap"), "yes") ? "1" : "0"))); + serv_printf("%s", bstr("c_imap_port")); + serv_printf("%s", bstr("c_net_freq")); serv_printf("000"); display_success("System configuration has been updated."); } -- 2.39.2