]> code.citadel.org Git - citadel.git/commitdiff
* Add config.c_purge_hour to config screen
authorArt Cancro <ajc@citadel.org>
Wed, 30 Jul 2003 03:57:49 +0000 (03:57 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 30 Jul 2003 03:57:49 +0000 (03:57 +0000)
webcit/ChangeLog
webcit/siteconfig.c

index 15afc68728713bbbcd9c2e9703e4b8668fc4cca5..fa30694b13c2cd21b65a66c45d17360f6ddf3699 100644 (file)
@@ -1,4 +1,7 @@
 $Log$
+Revision 500.10  2003/07/30 03:57:49  ajc
+* Add config.c_purge_hour to config screen
+
 Revision 500.9  2003/07/06 22:06:59  ajc
 * When converting "anything that looks like a URL" to a real link, first
   make sure that it isn't already inside a link.  This fixes most of the
@@ -1527,4 +1530,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 239efb0571249dadddad14148d661fc86f3ff15e..762517cb3a7410c1582684efcd8c2d2897360f32 100644 (file)
@@ -202,6 +202,11 @@ void display_siteconfig(void)
                        wprintf("<INPUT TYPE=\"checkbox\" NAME=\"c_aide_mailboxes\" VALUE=\"yes\" %s>", ((atoi(buf) != 0) ? "CHECKED" : ""));
                        wprintf("</TD></TR>\n");
                        break;
+               case 32:
+                       wprintf("<TR><TD>Hour to run database auto-purge (0-23)</TD><TD>");
+                       wprintf("<INPUT TYPE=\"text\" NAME=\"c_purge_hour\" MAXLENGTH=\"2\" VALUE=\"%s\">", buf);
+                       wprintf("</TD></TR>\n");
+                       break;
                }
        }
 
@@ -260,6 +265,7 @@ void siteconfig(void)
        serv_printf("%s", bstr("c_net_freq"));
        serv_printf("%s", bstr("c_disable_newu"));
        serv_printf("%s", bstr("c_aide_mailboxes"));
+       serv_printf("%s", bstr("c_purge_hour"));
        serv_printf("000");
        display_success("System configuration has been updated.");
 }