X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;ds=sidebyside;f=webcit%2Fwebcit.c;h=98ae071dda84b8377a1f46cc086ae47f085a3b6b;hb=bf746185b226656e7ab10cb3e7f5c9706dbf4cc0;hp=bb36f989817eb26c53f2d03857a0f6fa6f3034bd;hpb=817c440213ff1009e236ba10e003b061d8a89168;p=citadel.git diff --git a/webcit/webcit.c b/webcit/webcit.c index bb36f9898..98ae071dd 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -194,25 +194,9 @@ 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("
\n" - ""); - StrEscAppend(WCC->WBuf, WCC->ImportantMsg, NULL, 0, 0); - wc_printf("
\n" - "
\n" - ); - StrBufAppendBufPlain(WCC->trailing_javascript, - HKEY("setTimeout('hide_imsg_popup()', 5000); \n"), - 0 - ); - FlushStrBuf(WCC->ImportantMsg); - } if ( (WCC->logged_in) && (!unset_cookies) ) { DoTemplate(HKEY("paging"), NULL, &NoCtx); } - if (do_room_banner == 1) { tmplput_roombanner(NULL, NULL); }