]> code.citadel.org Git - citadel.git/commitdiff
* Attempt at setting focus to msgtext area when entering a message.
authorArt Cancro <ajc@citadel.org>
Sat, 11 Aug 2001 04:24:39 +0000 (04:24 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 11 Aug 2001 04:24:39 +0000 (04:24 +0000)
webcit/ChangeLog
webcit/messages.c

index acac8b82fa52a7f8d425fd1f32ea13a5ad5afc65..af43f8566b38491bac6e69c67222689476dc48df 100644 (file)
@@ -1,4 +1,7 @@
 $Log$
+Revision 301.2  2001/08/11 04:24:39  ajc
+* Attempt at setting focus to msgtext area when entering a message.
+
 Revision 301.1  2001/08/02 03:42:03  ajc
 * Changed the wholist to work with the new masquerade semantics
 
@@ -606,3 +609,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 f2f5c1f838c0a826cdee2f2523308313b8788954..6f3b77d4e38e6e34bc555132cd56e26d88e42256 100644 (file)
@@ -539,7 +539,7 @@ void display_enter(void)
 
        output_headers(1);
 
-       wprintf("<FACE=\"Arial,Helvetica,sans-serif\">");
+       wprintf("<FONT FACE=\"Arial,Helvetica,sans-serif\">");
 
        sprintf(buf, "ENT0 0|%s|0|0", bstr("recp"));
        serv_puts(buf);
@@ -562,7 +562,10 @@ void display_enter(void)
        strcpy(buf, (char *) asctime(tm));
        buf[strlen(buf) - 1] = 0;
        strcpy(&buf[16], &buf[19]);
-       wprintf("</CENTER><FONT COLOR=\"440000\"><B> %s ", &buf[4]);
+       wprintf("</CENTER><FONT COLOR=\"440000\">\n"
+               "<IMG SRC=\"static/enter.gif\" ALIGN=MIDDLE ALT=\" \">");
+               /* "onLoad=workspace.msgtext.Focus(); >"); FIXME */
+       wprintf("<B> %s ", &buf[4]);
        wprintf("from %s ", WC->wc_username);
        if (strlen(bstr("recp")) > 0)
                wprintf("to %s ", bstr("recp"));