From 093a2262848e2d36156796bb12c678da79647126 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Thu, 3 Jan 2002 22:32:39 +0000 Subject: [PATCH] * templatized the "prompt for recipient" screen --- webcit/ChangeLog | 4 +++- webcit/messages.c | 28 +------------------------ webcit/static/README.txt | 10 ++++----- webcit/static/prompt_for_recipient.html | 12 +++++++++++ 4 files changed, 21 insertions(+), 33 deletions(-) create mode 100644 webcit/static/prompt_for_recipient.html diff --git a/webcit/ChangeLog b/webcit/ChangeLog index c03ca0b3e..37a12eb77 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,7 @@ $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 @@ -701,4 +704,3 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix - diff --git a/webcit/messages.c b/webcit/messages.c index 4bc642ba9..33794ddca 100644 --- a/webcit/messages.c +++ b/webcit/messages.c @@ -502,32 +502,6 @@ void post_message(void) - - - - -/* - * prompt for a recipient (to be called from display_enter() only) - */ -void prompt_for_recipient() -{ - - wprintf("
"); - wprintf("Send private e-mail\n"); - wprintf("
\n"); - - wprintf("
"); - wprintf("
\n"); - wprintf("Enter recipient: "); - wprintf("
\n"); - wprintf(""); - wprintf(""); - wprintf("
\n"); -} - - - /* * display the message entry screen */ @@ -549,7 +523,7 @@ void display_enter(void) if (strlen(bstr("recp")) > 0) { wprintf("%s
\n", &buf[4]); } - prompt_for_recipient(); + do_template("prompt_for_recipient.html"); goto DONE; } if (buf[0] != '2') { diff --git a/webcit/static/README.txt b/webcit/static/README.txt index a939960be..ff9953253 100644 --- a/webcit/static/README.txt +++ b/webcit/static/README.txt @@ -1,8 +1,8 @@ -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 diff --git a/webcit/static/prompt_for_recipient.html b/webcit/static/prompt_for_recipient.html new file mode 100644 index 000000000..38937db4f --- /dev/null +++ b/webcit/static/prompt_for_recipient.html @@ -0,0 +1,12 @@ + +
+Send private e-mail +
+ +
+
+Enter recipient: +
+ + +
-- 2.39.2