]> code.citadel.org Git - citadel.git/blobdiff - webcit/sysmsgs.c
* Started moving all of the global variables into a struct, to facilitate
[citadel.git] / webcit / sysmsgs.c
index 2ba2e43fbcd1eaca44615c35f61121ed5774d434..526068129cbb6abfb789d43713b0934097450436 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;
@@ -76,10 +76,10 @@ void save_edit(char *description, char *enter_cmd, int regoto)
        serv_puts("000");
 
        if (regoto) {
-               gotoroom(wc_roomname, 1);
+               smart_goto(WC->wc_roomname);
        } else {
                printf("HTTP/1.0 200 OK\n");
-               output_headers(1, "bottom");
+               output_headers(1);
                wprintf("%s has been saved.\n", description);
                wDumpContent(1);
        }