Upgraded the convenience_page() function to the new room_banner_override framework...
authorArt Cancro <ajc@uncensored.citadel.org>
Thu, 15 Mar 2012 21:34:27 +0000 (17:34 -0400)
committerArt Cancro <ajc@uncensored.citadel.org>
Thu, 15 Mar 2012 21:34:27 +0000 (17:34 -0400)
webcit/webcit.c

index 224a9d2208a5bc6e73785108b901999e75edc59a..a42f5ae83031d38d564c3347ce2b0137d47d4a08 100644 (file)
@@ -257,14 +257,13 @@ void http_transmit_thing(const char *content_type, int is_static)
 void convenience_page(const char *titlebarcolor, const char *titlebarmsg, const char *messagetext)
 {
        hprintf("HTTP/1.1 200 OK\n");
-       output_headers(1, 1, 2, 0, 0, 0);
-       wc_printf("<div id=\"banner\">\n");
+       output_headers(1, 1, 1, 0, 0, 0);
+       wc_printf("<div id=\"room_banner_override\">\n");
        wc_printf("<table width=100%% border=0 bgcolor=\"#%s\"><tr><td>", titlebarcolor);
        wc_printf("<span class=\"titlebar\">%s</span>\n", titlebarmsg);
        wc_printf("</td></tr></table>\n");
        wc_printf("</div>\n<div id=\"content\">\n");
        escputs(messagetext);
-
        wc_printf("<hr />\n");
        wDumpContent(1);
 }