* Add some more of the newer config settings to the site config screen
authorArt Cancro <ajc@citadel.org>
Wed, 14 Nov 2001 03:20:22 +0000 (03:20 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 14 Nov 2001 03:20:22 +0000 (03:20 +0000)
webcit/ChangeLog
webcit/siteconfig.c

index 004369c9e29aa9c0952f6d4889e2c82da474b6d8..5a2c0c853c74a50d5d41afc3d4c994b5308bee53 100644 (file)
@@ -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 <ajc@uncnsrd.mt-kisco.ny.us>
        * 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 <nicl@ulster.net>
+Thu Apr 16 12:00:00 EDT 1999 Nick Grossman <nick@ulster.net>
        Changed some output formatting (mainly <FONT> 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 <ajc@uncnsrd.mt-kisco.ny.us>
 
 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
        * webserver.c: warning fix
+
index 2e5c29527c86a32c2123f4865ca7548d1606f74d..50bf0a4e0f974c287fadf29d31f8542d0905dec4 100644 (file)
@@ -133,11 +133,7 @@ void display_siteconfig(void)
                        wprintf("<INPUT TYPE=\"text\" NAME=\"c_maxsessions\" MAXLENGTH=\"5\" VALUE=\"%s\">", buf);
                        wprintf("</TD></TR>\n");
                        break;
-               case 16:
-                       wprintf("<TR><TD>Server-to-server networking password</TD><TD>");
-                       wprintf("<INPUT TYPE=\"password\" NAME=\"c_net_password\" MAXLENGTH=\"19\" VALUE=\"%s\">", buf);
-                       wprintf("</TD></TR>\n");
-                       break;
+
                case 17:
                        wprintf("<TR><TD>Default user purge time (days)</TD><TD>");
                        wprintf("<INPUT TYPE=\"text\" NAME=\"c_userpurge\" MAXLENGTH=\"5\" VALUE=\"%s\">", buf);
@@ -183,6 +179,22 @@ void display_siteconfig(void)
                        wprintf("<INPUT TYPE=\"text\" NAME=\"c_smtp_port\" MAXLENGTH=\"5\" VALUE=\"%s\">", buf);
                        wprintf("</TD></TR>\n");
                        break;
+               case 27:
+                       wprintf("<TR><TD>Allow aides to zap (forget) rooms</TD><TD>");
+                       wprintf("<INPUT TYPE=\"checkbox\" NAME=\"c_aide_zap\" VALUE=\"yes\" %s>", ((atoi(buf) != 0) ? "CHECKED" : ""));
+                       wprintf("</TD></TR>\n");
+                       break;
+               case 28:
+                       wprintf("<TR><TD>IMAP listener port (-1 to disable)</TD><TD>");
+                       wprintf("<INPUT TYPE=\"text\" NAME=\"c_imap_port\" MAXLENGTH=\"5\" VALUE=\"%s\">", buf);
+                       wprintf("</TD></TR>\n");
+                       break;
+               case 29:
+                       wprintf("<TR><TD>Network run frequency (in seconds)</TD><TD>");
+                       wprintf("<INPUT TYPE=\"text\" NAME=\"c_net_freq\" MAXLENGTH=\"5\" VALUE=\"%s\">", buf);
+                       wprintf("</TD></TR>\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.");
 }