X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fwebcit.c;h=22bd92a99f87051e8fade0f53db3c3c003ed947b;hb=fb6f6fa4ec4e3277e30d84326d48e6850822d318;hp=db30d48ee89d066fd40fe181501e7daa55219901;hpb=8c2d12e026dd60a3fa22112e739880b402f2b3f4;p=citadel.git
diff --git a/webcit/webcit.c b/webcit/webcit.c
index db30d48ee..22bd92a99 100644
--- a/webcit/webcit.c
+++ b/webcit/webcit.c
@@ -3,21 +3,10 @@
* persistent session to the Citadel server, handling HTTP WebCit requests as
* they arrive and presenting a user interface.
*
- * Copyright (c) 1996-2011 by the citadel.org team
+ * Copyright (c) 1996-2012 by the citadel.org team
*
* This program is open source software. You can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * modify it under the terms of the GNU General Public License, version 3.
*/
#define SHOW_ME_VAPPEND_PRINTF
@@ -31,7 +20,7 @@ StrBuf *csslocal = NULL;
HashList *HandlerHash = NULL;
void stuff_to_cookie(int unset_cookie);
-int GetConnected(void);
+extern int GetConnected(void);
void PutRequestLocalMem(void *Data, DeleteHashDataFunc DeleteIt)
@@ -144,12 +133,7 @@ void wDumpContent(int print_standard_html_footer)
*/
void output_headers( int do_httpheaders, /* 1 = output HTTP headers */
int do_htmlhead, /* 1 = output HTML
section and opener */
-
- int do_room_banner, /* 0=no, 1=yes,
- * 2 = I'm going to embed my own, so don't open the
- *
either.
- */
-
+ int do_room_banner, /* 1 = include the room banner and */
int unset_cookies, /* 1 = session is terminating, so unset the cookies */
int suppress_check, /* 1 = suppress check for instant messages */
int cache /* 1 = allow browser to cache this page */
@@ -200,40 +184,24 @@ void output_headers( int do_httpheaders, /* 1 = output HTTP headers */
if (do_htmlhead) {
begin_burst();
do_template("head");
-
- /* check for ImportantMessages (these display in a div overlaying the main screen) */
- if (StrLength(WCC->ImportantMsg) > 0) {
- wc_printf("