* netconf.c: widened some of the text entry fields
authorArt Cancro <ajc@citadel.org>
Tue, 1 Jun 2004 19:01:22 +0000 (19:01 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 1 Jun 2004 19:01:22 +0000 (19:01 +0000)
* webcit.h: bumped up the internal version number to 5.20

webcit/ChangeLog
webcit/README.txt
webcit/messages.c
webcit/netconf.c
webcit/webcit.h

index 2dffccba26d926f6d0889015ee24f47e3d24ddb0..b05525710693a0967e28c2ce25819881d26039b8 100644 (file)
@@ -1,4 +1,8 @@
 $Log$
+Revision 510.10  2004/06/01 19:01:22  ajc
+* netconf.c: widened some of the text entry fields
+* webcit.h: bumped up the internal version number to 5.20
+
 Revision 510.9  2004/06/01 18:44:20  ajc
 * Return to the old command-line usage (-s for https, service is either
   http or https but not both)
@@ -1842,4 +1846,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 eeb70f5a6013a6e2a45a898b2e54a081b2c1923f..4cf5ed2ee6c2c990f95a0f5adc301933f9dc8f22 100644 (file)
@@ -1,5 +1,5 @@
                       WEBCIT for the Citadel/UX System
-                               version 5.10
+                               version 5.20
  
    Copyright (C) 1996-2004 by the authors.  Portions written by:
        Art Cancro
index fc02aa1835b7a59fdb2728df52d6f59eb2ecede7..ec46c2fed99467c3afd34e16d0aa5e2013038d5a 100644 (file)
@@ -1524,7 +1524,7 @@ void display_enter(void)
                "<INPUT TYPE=\"submit\" NAME=\"sc\" VALUE=\"Cancel\"><BR>\n");
 
        wprintf("<SCRIPT language=\"JavaScript\" type=\"text/javascript\" "
-               "src=\"static/richtext.js\"></SCRIPT>\n"
+               "src=\"static/richtext_compressed.js\"></SCRIPT>\n"
                "<SCRIPT language=\"JavaScript\" type=\"text/javascript\">\n"
                "function submitForm() { \n"
                "  updateRTE('msgtext'); \n"
@@ -1541,11 +1541,13 @@ void display_enter(void)
                "</script> \n");
 
 /*
+ * Before we had the richedit widget, we did it this way...
+ *
        wprintf("<TEXTAREA NAME=\"msgtext\" wrap=soft ROWS=25 COLS=80 "
                "WIDTH=80>");
        escputs(bstr("msgtext"));
        wprintf("</TEXTAREA><BR>\n");
-*/
+ */
 
        /* Enumerate any attachments which are already in place... */
        for (att = WC->first_attachment; att != NULL; att = att->next) {
index 0131447cfb38e5307b3fc70c82a1b1cb0c844d8f..287a1a6881218f87bef3fa7dd8d9a407d92f27b7 100644 (file)
@@ -84,11 +84,11 @@ void display_add_node(void)
        wprintf("<FORM METHOD=\"POST\" ACTION=\"/edit_node\">\n");
        wprintf("<CENTER><TABLE border=0>\n");
        wprintf("<TR><TD>Node name</TD>");
-       wprintf("<TD><INPUT TYPE=\"text\" NAME=\"node\" MAXLENGTH=\"8\"></TD></TR>\n");
+       wprintf("<TD><INPUT TYPE=\"text\" NAME=\"node\" MAXLENGTH=\"16\"></TD></TR>\n");
        wprintf("<TR><TD>Shared secret</TD>");
-       wprintf("<TD><INPUT TYPE=\"password\" NAME=\"secret\" MAXLENGTH=\"8\"></TD></TR>\n");
+       wprintf("<TD><INPUT TYPE=\"password\" NAME=\"secret\" MAXLENGTH=\"16\"></TD></TR>\n");
        wprintf("<TR><TD>Host or IP</TD>");
-       wprintf("<TD><INPUT TYPE=\"text\" NAME=\"host\" MAXLENGTH=\"32\"></TD></TR>\n");
+       wprintf("<TD><INPUT TYPE=\"text\" NAME=\"host\" MAXLENGTH=\"64\"></TD></TR>\n");
        wprintf("<TR><TD>Port</TD>");
        wprintf("<TD><INPUT TYPE=\"text\" NAME=\"port\" MAXLENGTH=\"8\"></TD></TR>\n");
        wprintf("</TABLE><BR>");
@@ -130,11 +130,11 @@ void display_edit_node(void)
                                wprintf("<FORM METHOD=\"POST\" ACTION=\"/edit_node\">\n");
                                wprintf("<CENTER><TABLE border=0>\n");
                                wprintf("<TR><TD>Node name</TD>");
-                               wprintf("<TD><INPUT TYPE=\"text\" NAME=\"node\" MAXLENGTH=\"8\" VALUE=\"%s\"></TD></TR>\n", cnode);
+                               wprintf("<TD><INPUT TYPE=\"text\" NAME=\"node\" MAXLENGTH=\"16\" VALUE=\"%s\"></TD></TR>\n", cnode);
                                wprintf("<TR><TD>Shared secret</TD>");
-                               wprintf("<TD><INPUT TYPE=\"password\" NAME=\"secret\" MAXLENGTH=\"8\" VALUE=\"%s\"></TD></TR>\n", csecret);
+                               wprintf("<TD><INPUT TYPE=\"password\" NAME=\"secret\" MAXLENGTH=\"16\" VALUE=\"%s\"></TD></TR>\n", csecret);
                                wprintf("<TR><TD>Host or IP</TD>");
-                               wprintf("<TD><INPUT TYPE=\"text\" NAME=\"host\" MAXLENGTH=\"32\" VALUE=\"%s\"></TD></TR>\n", chost);
+                               wprintf("<TD><INPUT TYPE=\"text\" NAME=\"host\" MAXLENGTH=\"64\" VALUE=\"%s\"></TD></TR>\n", chost);
                                wprintf("<TR><TD>Port</TD>");
                                wprintf("<TD><INPUT TYPE=\"text\" NAME=\"port\" MAXLENGTH=\"8\" VALUE=\"%s\"></TD></TR>\n", cport);
                                wprintf("</TABLE><BR>");
index 10aabfa449b4a7071dbf579e7a714fa1be6d812d..e94d0efcfd9994882cc1af6decced2a330fd03fd 100644 (file)
 #define SLEEPING               180             /* TCP connection timeout */
 #define WEBCIT_TIMEOUT         900             /* WebCit session timeout */
 #define PORT_NUM               2000            /* port number to listen on */
-#define SERVER                 "WebCit v5.10"  /* who's in da house */
+#define SERVER                 "WebCit v5.20"  /* who's in da house */
 #define DEVELOPER_ID           0
 #define CLIENT_ID              4
-#define CLIENT_VERSION         510             /* This version of WebCit */
+#define CLIENT_VERSION         520             /* This version of WebCit */
 #define MINIMUM_CIT_VERSION    611             /* min required Citadel vers */
 #define DEFAULT_HOST           "localhost"     /* Default Citadel server */
 #define DEFAULT_PORT           "504"