From: Art Cancro Date: Mon, 14 Nov 2005 03:46:33 +0000 (+0000) Subject: * Added missing HTTP headers for /listsub X-Git-Tag: v7.86~4465 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=ae7836a788b07db74d31b532c21090ad8de417f4 * Added missing HTTP headers for /listsub --- diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 145a37191..31bf3aa3c 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,5 +1,7 @@ $Id$ +* Added missing HTTP headers for /listsub + * Discovered the style -moz-user-select:none and applied it to the mailbox summary table, to prevent text select from ruining the appearance of our beautiful drag and drop function. diff --git a/webcit/listsub.c b/webcit/listsub.c index 66d03aac8..283005973 100644 --- a/webcit/listsub.c +++ b/webcit/listsub.c @@ -30,7 +30,14 @@ void do_listsub(void) strcpy(WC->wc_password, ""); strcpy(WC->wc_roomname, ""); - wprintf(""); + output_headers(1, 0, 0, 1, 1, 0); + begin_burst(); + + wprintf("<HTML><HEAD>\n" + "<meta name=\"MSSmartTagsPreventParsing\" content=\"TRUE\" />\n" + "<link href=\"static/webcit.css\" rel=\"stylesheet\" type=\"text/css\">\n" + "<TITLE>\n" + ); wprintf(_("List subscription")); wprintf("\n"); @@ -214,11 +221,7 @@ FORM: wprintf("
\n" } - /* - * Since this isn't part of a normal Citadel session, we bail right - * out without maintaining any state. - */ - /* wDumpContent(2); */ wprintf("\n"); + wDumpContent(0); end_webcit_session(); } diff --git a/webcit/webcit.c b/webcit/webcit.c index bd875ecd3..bdda202f6 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -383,7 +383,6 @@ void output_headers( int do_httpheaders, /* 1 = output HTTP headers } if (do_htmlhead) { - /* wprintf("\n"); */ begin_burst(); do_template("head"); }