From: Art Cancro Date: Wed, 14 Aug 2002 20:00:32 +0000 (+0000) Subject: * form stuff X-Git-Tag: v7.86~6298 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=78dba3c3e029363fec6ccb8b5eed4a9864845a83 * form stuff --- diff --git a/webcit/listsub.c b/webcit/listsub.c index 1d9ce3362..2ff32b762 100644 --- a/webcit/listsub.c +++ b/webcit/listsub.c @@ -44,11 +44,37 @@ void do_listsub(void) strcpy(email, bstr("email")); strcpy(subtype, bstr("subtype")); - wprintf("cmd: %s
\n", cmd); - wprintf("room: %s
\n", room); - wprintf("token: %s
\n", token); - wprintf("email: %s
\n", email); - wprintf("subtype: %s
\n", subtype); + /* + * Subscribe command + */ + if (!strcasecmp(cmd, "xx")) { + } + + /* + * Any other (invalid) command causes the form to be displayed + */ + else { + wprintf("
" + "
" + "List subscribe/unsubscribe\n" + "

\n" + ); + + wprintf("\n" + "\n" + ); + + wprintf("" + "\n" + ); + + wprintf("
Name of listxx
" + "\n" + "
\n" + ); + } /* * Since this isn't part of a normal Citadel session, we bail right