Got it!
authorArt Cancro <ajc@citadel.org>
Thu, 15 Apr 1999 00:03:05 +0000 (00:03 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 15 Apr 1999 00:03:05 +0000 (00:03 +0000)
13 files changed:
webcit/auth.c
webcit/child.h
webcit/graphics.c
webcit/mainmenu.c
webcit/messages.c
webcit/netconf.c
webcit/paging.c
webcit/roomops.c
webcit/siteconfig.c
webcit/sysmsgs.c
webcit/userlist.c
webcit/webcit.c
webcit/who.c

index 184c04cf84b5477d69d442f610f794a1b79cca1d..590f891c477cb444371932a52bf7852418532280 100644 (file)
@@ -36,7 +36,7 @@ void display_login(char *mesg)
        char buf[256];
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "_top");
+       output_headers(1);
 
        /* Da banner */
        wprintf("<CENTER><TABLE border=0 width=100%><TR><TD>\n");
@@ -89,7 +89,7 @@ void display_login(char *mesg)
        wprintf("<LI>You must use a browser that supports <i>cookies</i>.<BR>\n");
        wprintf("</EM></UL>\n");
 
-       wDumpContent(1);
+       wDumpContent(0);        /* No menu here; not logged in yet! */
 }
 
 
@@ -177,7 +177,7 @@ void do_welcome(void)
 
        if (noframes) {
                printf("HTTP/1.0 200 OK\n");
-               output_headers(1, "_top");
+               output_headers(1);
                wprintf("<CENTER><H1>");
                escputs(wc_username);
                wprintf("</H1>\n");
@@ -198,7 +198,7 @@ void do_logout(void)
        strcpy(wc_roomname, "");
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(2, "_top");      /* note "2" causes cookies to be unset */
+       output_headers(2);      /* note "2" causes cookies to be unset */
 
        wprintf("<CENTER>");
        serv_puts("MESG goodbye");
@@ -230,7 +230,7 @@ void validate(void)
        int a;
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        strcpy(buf, bstr("user"));
        if (strlen(buf) > 0)
@@ -309,7 +309,7 @@ void display_reg(int during_login)
        int a;
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
@@ -413,7 +413,7 @@ void display_changepw(void)
        char buf[256];
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
index 640ab36f9cffccec05293020aba8d0ed34830bf9..78cc8d621680c3a4c29c60019c51d024e0202fed 100644 (file)
@@ -26,7 +26,7 @@ void serv_printf(const char *format,...);
 char *bstr(char *key);
 char *urlesc(char *);
 void urlescputs(char *);
-void output_headers(int, char *);
+void output_headers(int);
 void wprintf(const char *format,...);
 void extract(char *dest, char *source, int parmnum);
 int extract_int(char *source, int parmnum);
index ed1d687dc7f87d18161023e48f9acce7dc3453a4..31887c8401f3bc2d96ebc2f80021e567db2d11d1 100644 (file)
@@ -20,7 +20,7 @@ void display_graphics_upload(char *description, char *check_cmd, char *uplurl)
                return;
        }
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Set/change %s</B>\n", description);
@@ -94,7 +94,7 @@ void select_floor_to_edit_pic(void)
        int a;
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
index c780ef4ef666d9d34ddd25bdb153dd510fe2a2ac..5c216f25c896d1422040cd54a0168bb33c187fd7 100644 (file)
@@ -201,7 +201,7 @@ void embed_advanced_menu(void)
 void display_main_menu(void)
 {
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
        embed_main_menu();
        wDumpContent(2);
 }
@@ -210,7 +210,7 @@ void display_main_menu(void)
 void display_advanced_menu(void)
 {
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
        embed_advanced_menu();
        embed_main_menu();
        wDumpContent(2);
@@ -223,7 +223,7 @@ void display_advanced_menu(void)
 void display_generic(void)
 {
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770077><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
@@ -265,7 +265,7 @@ void do_generic(void)
        serv_gets(buf);
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770077><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Server command results</B>\n");
index 9719518c18540a50f0cfa14d7446a11520968b13..4007bd2e962efbed8240314972b4300244f585b3 100644 (file)
@@ -221,7 +221,7 @@ void readloop(char *oper)
        int nummsgs;
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        wprintf("<CENTER><B>%s - ", wc_roomname);
        if (!strcmp(oper, "readnew")) {
@@ -265,7 +265,7 @@ void post_message(void)
        char buf[256];
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        strcpy(buf, bstr("sc"));
        if (strcasecmp(buf, "Save message")) {
@@ -325,7 +325,7 @@ void display_enter(void)
        struct tm *tm;
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        sprintf(buf, "ENT0 0|%s|0|0", bstr("recp"));
        serv_puts(buf);
@@ -388,7 +388,7 @@ void confirm_delete_msg(void)
        msgid = atol(bstr("msgid"));
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
@@ -420,7 +420,7 @@ void delete_msg(void)
        msgid = atol(bstr("msgid"));
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        if (!strcasecmp(bstr("yesno"), "Yes")) {
                sprintf(buf, "DELE %ld", msgid);
@@ -449,7 +449,7 @@ void confirm_move_msg(void)
        msgid = atol(bstr("msgid"));
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
@@ -497,7 +497,7 @@ void move_msg(void)
        msgid = atol(bstr("msgid"));
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        if (!strcasecmp(bstr("yesno"), "Move")) {
                sprintf(buf, "MOVE %ld|%s", msgid, bstr("target_room"));
index 7fa7ae602231596b96a1f155f1c2158cac97f842..010fec575e532ac728188923b62eba46332c7791 100644 (file)
@@ -23,7 +23,7 @@ void display_edit_node(void)
        strcpy(node, bstr("node"));
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=000077><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Edit share list for ");
@@ -68,7 +68,7 @@ void display_netconf(void)
        char node[256];
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Network configuration</B>\n");
@@ -112,7 +112,7 @@ void display_confirm_unshare(void)
        char sroom[256];
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Confirm unshare</B>\n");
@@ -140,7 +140,7 @@ void display_confirm_delete_node(void)
        char node[256];
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Confirm delete</B>\n");
@@ -169,7 +169,7 @@ void delete_node(void)
        serv_gets(buf);
        if (buf[0] == '1') {
                printf("HTTP/1.0 200 OK\n");
-               output_headers(1, "bottom");
+               output_headers(1);
                server_to_text();
                wprintf("<A HREF=\"/display_netconf\">Back to menu</A>\n");
                wDumpContent(1);
@@ -192,7 +192,7 @@ void unshare(void)
        serv_gets(buf);
        if (buf[0] == '1') {
                printf("HTTP/1.0 200 OK\n");
-               output_headers(1, "bottom");
+               output_headers(1);
                server_to_text();
                wprintf("<A HREF=\"/display_netconf\">Back to menu</A>\n");
                wDumpContent(1);
@@ -207,7 +207,7 @@ void display_add_node(void)
 {
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Add a new node</B>\n");
@@ -243,7 +243,7 @@ void add_node(void)
                serv_gets(buf);
                if (buf[0] == '1') {
                        printf("HTTP/1.0 200 OK\n");
-                       output_headers(1, "bottom");
+                       output_headers(1);
                        server_to_text();
                        wprintf("<A HREF=\"/display_netconf\">Back to menu</A>\n");
                        wDumpContent(1);
@@ -267,7 +267,7 @@ void display_share(void)
        strcpy(node, bstr("node"));
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Add a shared room</B>\n");
@@ -347,7 +347,7 @@ void share(void)
                serv_gets(buf);
                if (buf[0] == '1') {
                        printf("HTTP/1.0 200 OK\n");
-                       output_headers(1, "bottom");
+                       output_headers(1);
                        server_to_text();
                        wprintf("<A HREF=\"/display_netconf\">Back to menu</A>\n");
                        wDumpContent(1);
index 5cfbdddb9403f8741793806ea9983295ce872050..3fb54f9a7a13653664f62f70b7d14fa67b41afd2 100644 (file)
@@ -21,7 +21,7 @@ void display_page(void)
        char user[256];
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
@@ -71,7 +71,7 @@ void page_user(void)
        char buf[256];
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        strcpy(recp, bstr("recp"));
        strcpy(msgtext, bstr("msgtext"));
@@ -104,7 +104,7 @@ void do_chat(void)
 {
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=000077><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
index 974559fafd17e339c3e7d7c1ab65d2fb3a3be0e6..9acb7a42fbd4a4914656e8b342082e4c97284bf8 100644 (file)
@@ -115,7 +115,7 @@ void room_tree_list(struct roomlisting *rp)
 
        wprintf("<A HREF=\"/dotgoto&room=");
        urlescputs(rmname);
-       wprintf("\">");
+       wprintf("\" TARGET=\"top\">");
        escputs1(rmname, 1);
        if ((f & QR_DIRECTORY) && (f & QR_NETWORK))
                wprintf("}");
@@ -237,7 +237,7 @@ void list_all_rooms_by_floor(void)
        load_floorlist();
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        wprintf("<TABLE width=100% border><TR><TH>Floor</TH>");
        wprintf("<TH>Rooms with new messages</TH>");
@@ -284,7 +284,7 @@ void list_all_rooms_by_floor(void)
 void zapped_list(void)
 {
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Zapped (forgotten) rooms</B>\n");
@@ -329,7 +329,7 @@ void gotoroom(char *gname, int display_name)
 
        if (display_name) {
                printf("HTTP/1.0 200 OK\n");
-               output_headers(0, "top");
+               output_headers(0);
                wprintf("<HTML><HEAD></HEAD>\n<BODY ");
 
                /* automatically fire up a read-new-msgs in the bottom frame */
@@ -592,7 +592,7 @@ void display_editroom(void)
 
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=000077><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
@@ -895,7 +895,7 @@ void display_entroom(void)
                return;
        }
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=000077><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
@@ -977,7 +977,7 @@ void display_private(char *rname, int req_pass)
 {
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
@@ -1040,7 +1040,7 @@ void goto_private(void)
                return;
        }
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
        wprintf("%s\n", &buf[4]);
        wDumpContent(1);
        return;
@@ -1053,7 +1053,7 @@ void goto_private(void)
 void display_zap(void)
 {
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
@@ -1115,7 +1115,7 @@ void confirm_delete_room(void)
                return;
        }
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Confirm deletion of room</B>\n");
index 58848abd5e0d8edb787b6531303ac5f98e2fd824..929840e28c7fdd9ed8840d65c8361adefa2b7d13 100644 (file)
@@ -26,7 +26,7 @@ void display_siteconfig(void)
                return;
        }
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"<B>Site configuration");
index 2ba2e43fbcd1eaca44615c35f61121ed5774d434..b17abfc42a43041767052c036e2191c58538214f 100644 (file)
@@ -24,7 +24,7 @@ void display_edit(char *description, char *check_cmd,
                return;
        }
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
@@ -61,7 +61,7 @@ void save_edit(char *description, char *enter_cmd, int regoto)
 
        if (strcmp(bstr("sc"), "Save")) {
                printf("HTTP/1.0 200 OK\n");
-               output_headers(1, "bottom");
+               output_headers(1);
                wprintf("Cancelled.  %s was not saved.<BR>\n", description);
                wDumpContent(1);
                return;
@@ -79,7 +79,7 @@ void save_edit(char *description, char *enter_cmd, int regoto)
                gotoroom(wc_roomname, 1);
        } else {
                printf("HTTP/1.0 200 OK\n");
-               output_headers(1, "bottom");
+               output_headers(1);
                wprintf("%s has been saved.\n", description);
                wDumpContent(1);
        }
index 1f6642f924a095dcf72cba3d4212814a84800433..d710ca5e91ad7ed89a4d73d570fff94905349553 100644 (file)
@@ -37,7 +37,7 @@ void userlist(void)
                        bio = bptr;
                }
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        serv_puts("LIST");
        serv_gets(buf);
@@ -102,7 +102,7 @@ void showuser(void)
        int have_pic;
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
 
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
index 63e03dead367173d7fec37e41e9ab9d0b4d6b62d..3e439f57d329b58067a730ca9097aeedd596db06 100644 (file)
@@ -327,7 +327,7 @@ char *getz(char *buf)
  * If print_standard_html_head is nonzero, we also get some standard HTML
  * headers.  If it's set to 2, the session is considered to be closing.
  */
-void output_headers(int print_standard_html_head, char *target)
+void output_headers(int print_standard_html_head)
 {
 
        static char *unset = "; expires=28-May-1971 18:10:00 GMT";
@@ -336,9 +336,6 @@ void output_headers(int print_standard_html_head, char *target)
        printf("Server: %s\n", SERVER);
        printf("Connection: close\n");
 
-       /* if ((strlen(target) > 0) && (noframes == 0)) {
-               printf("Window-target: %s\n", target);
-       } */
        if (print_standard_html_head > 0) {
                printf("Pragma: no-cache\n");
                printf("Cache-Control: no-store\n");
@@ -412,7 +409,7 @@ void output_static(char *what)
        fp = fopen(buf, "rb");
        if (fp == NULL) {
                printf("HTTP/1.0 404 %s\n", strerror(errno));
-               output_headers(0, "");
+               output_headers(0);
                printf("Content-Type: text/plain\n");
                sprintf(buf, "%s: %s\n", what, strerror(errno));
                printf("Content-length: %d\n", strlen(buf));
@@ -420,7 +417,7 @@ void output_static(char *what)
                fwrite(buf, strlen(buf), 1, stdout);
        } else {
                printf("HTTP/1.0 200 OK\n");
-               output_headers(0, "");
+               output_headers(0);
 
                if (!strncasecmp(&what[strlen(what) - 4], ".gif", 4))
                        printf("Content-type: image/gif\n");
@@ -457,7 +454,7 @@ void output_image()
        if (buf[0] == '2') {
                bytes = extract_long(&buf[4], 0);
                printf("HTTP/1.0 200 OK\n");
-               output_headers(0, "");
+               output_headers(0);
                printf("Content-type: image/gif\n");
                printf("Content-length: %ld\n", (long) bytes);
                printf("\n");
@@ -480,7 +477,7 @@ void output_image()
                serv_gets(buf);
        } else {
                printf("HTTP/1.0 404 %s\n", strerror(errno));
-               output_headers(0, "");
+               output_headers(0);
                printf("Content-Type: text/plain\n");
                sprintf(buf, "Error retrieving image\n");
                printf("Content-length: %d\n", strlen(buf));
@@ -497,7 +494,7 @@ void output_image()
 void convenience_page(char *titlebarcolor, char *titlebarmsg, char *messagetext)
 {
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=%s><TR><TD>", titlebarcolor);
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>%s</B>\n", titlebarmsg);
@@ -865,7 +862,7 @@ void session_loop(char *browser_host)
        /* When all else fails... */
        else {
                printf("HTTP/1.0 200 OK\n");
-               output_headers(1, "");
+               output_headers(1);
 
                wprintf("TransactionCount is %d<BR>\n", TransactionCount);
                wprintf("You're in session %d<HR>\n", wc_session);
index 4fb70a56c144a656fa4bca9608c20f68de4b0cf2..62dbe1e72534788e288f4f6a526b5fb5da98567f 100644 (file)
@@ -32,7 +32,7 @@ void whobbs(void)
        int foundit;
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"<B>Users currently on ");
@@ -151,7 +151,7 @@ void terminate_session(void)
                }
        } else {
                printf("HTTP/1.0 200 OK\n");
-               output_headers(1, "bottom");
+               output_headers(1);
                wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
                wprintf("<FONT FACE=\"Arial,Helvetica,sans-serif\" SIZE=+1 COLOR=\"FFFFFF\"<B>Confirm session termination");
                wprintf("</B></FONT></TD></TR></TABLE>\n");
@@ -184,7 +184,7 @@ void edit_me(void)
        char buf[256];
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1, "bottom");
+       output_headers(1);
 
        if (!strcasecmp(bstr("sc"), "Change room name")) {
                serv_printf("RCHG %s", bstr("fake_roomname"));