$Log$
+Revision 322.2 2002/01/03 22:32:38 ajc
+* templatized the "prompt for recipient" screen
+
Revision 322.1 2001/12/28 09:43:05 error
* Client support for hostnames up to 63 characters
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
-
-
-
-
-
-/*
- * prompt for a recipient (to be called from display_enter() only)
- */
-void prompt_for_recipient()
-{
-
- wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=007700><TR><TD>");
- wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
- wprintf("<B>Send private e-mail</B>\n");
- wprintf("</FONT></TD></TR></TABLE>\n");
-
- wprintf("<CENTER>");
- wprintf("<FORM METHOD=\"POST\" ACTION=\"/display_enter\">\n");
- wprintf("Enter recipient: ");
- wprintf("<INPUT TYPE=\"text\" NAME=\"recp\" MAXLENGTH=\"64\"><BR>\n");
- wprintf("<INPUT TYPE=\"submit\" NAME=\"sc\" VALUE=\"Enter message\">");
- wprintf("<INPUT TYPE=\"submit\" NAME=\"sc\" VALUE=\"Cancel\">");
- wprintf("</FORM></CENTER>\n");
-}
-
-
-
/*
* display the message entry screen
*/
if (strlen(bstr("recp")) > 0) {
wprintf("<EM>%s</EM><BR>\n", &buf[4]);
}
- prompt_for_recipient();
+ do_template("prompt_for_recipient.html");
goto DONE;
}
if (buf[0] != '2') {
-The program in this directory comprises a Java-based chat client to be used
-with the WebCit client for Citadel/UX. Most of the code was lifted from an
-all-Java client I'm currently writing, but since we expect this one to work
-from the most popular browsers, everything has been tweaked in such a way as
-to make it run happily in a JDK 1.0.2 environment.
+The Java program in this directory comprises a Java-based chat client to be
+used with the WebCit client for Citadel/UX. Most of the code was lifted from
+an all-Java client I was writing at the time, but since we expect this one to
+work from the most popular browsers, everything has been tweaked in such a way
+as to make it run happily in a JDK 1.0.2 environment.
Since not everyone has a Java compiler on hand, I've supplied the binaries
as a courtesy. Since Java bytecode is universal, there should be no need to
--- /dev/null
+<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700>
+<TR><TD><FONT SIZE=+1 COLOR="FFFFFF">
+<B>Send private e-mail</B>
+</FONT></TD></TR></TABLE>
+
+<CENTER>
+<FORM METHOD="POST" ACTION="/display_enter">
+Enter recipient:
+<INPUT TYPE="text" NAME="recp" MAXLENGTH="64"><BR>
+<INPUT TYPE="submit" NAME="sc" VALUE="Enter message">
+<INPUT TYPE="submit" NAME="sc" VALUE="Cancel">
+</FORM></CENTER>