* Added "max message length" field in global config screen
authorArt Cancro <ajc@citadel.org>
Wed, 1 Sep 1999 01:06:11 +0000 (01:06 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 1 Sep 1999 01:06:11 +0000 (01:06 +0000)
webcit/ChangeLog
webcit/siteconfig.c

index 9a344151a23369717fce8cc7d3348da1b8473f07..a64c8a045bffc8b37b27186223fe42f6538e084c 100644 (file)
@@ -1,4 +1,7 @@
 $Log$
+Revision 1.99  1999/09/01 01:06:11  ajc
+* Added "max message length" field in global config screen
+
 Revision 1.98  1999/08/14 18:16:10  ajc
 * Fixed escputs() and its friends to properly handle ' (single quote) chars
 
@@ -284,4 +287,3 @@ 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 0b596a2984b0302f4d27442e288865be84b7aeb4..ac93a1aa92f744f10c2c30dc58aeee20e50c6f1b 100644 (file)
@@ -144,6 +144,11 @@ void display_siteconfig(void)
                        wprintf("<INPUT TYPE=\"text\" NAME=\"c_createax\" MAXLENGTH=\"1\" VALUE=\"%s\">", buf);
                        wprintf("</TD></TR>\n");
                        break;
+               case 21:
+                       wprintf("<TR><TD>Maximum message length</TD><TD>");
+                       wprintf("<INPUT TYPE=\"text\" NAME=\"c_maxmsglen\" MAXLENGTH=\"20\" VALUE=\"%s\">", buf);
+                       wprintf("</TD></TR>\n");
+                       break;
                }
        }
 
@@ -189,6 +194,7 @@ void siteconfig(void)
        serv_printf("%s", bstr("c_roompurge"));
        serv_printf("%s", bstr("c_logpages"));
        serv_printf("%d", bstr("c_createax"));
+       serv_printf("%d", bstr("c_maxmsglen"));
        serv_printf("000");
        display_success("System configuration has been updated.");
 }