* Made the frames stuff less dependent on the HTML TARGET= directive
[citadel.git] / webcit / auth.c
index 66ae1803d03ea6239048e3f342762415eec6bad2..69d7f8c98cf8c77490a84b07d65927672b1b006f 100644 (file)
@@ -34,7 +34,7 @@ void display_login(char *mesg) {
        char buf[256];
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1);
+       output_headers(1, "_top");
 
        /* Da banner */
        wprintf("<CENTER><TABLE border=0 width=100%><TR><TD>\n");
@@ -167,7 +167,7 @@ void do_login(void) {
 
 void do_welcome(void) {
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1);
+       output_headers(1, "bottom");
        wprintf("<CENTER><H1>");
        escputs(wc_username);
        wprintf("</H1>\n");
@@ -192,7 +192,7 @@ void do_logout(void) {
        strcpy(wc_roomname, "");
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(2);      /* note the "2" which causes cookies to be unset */
+       output_headers(2, "_top");      /* note "2" causes cookies to be unset */
 
        wprintf("<CENTER>");    
        serv_puts("MESG goodbye");
@@ -222,7 +222,7 @@ void validate(void) {
        int a;
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1);
+       output_headers(1, "bottom");
 
        strcpy(buf,bstr("user"));
        if (strlen(buf)>0) if (strlen(bstr("axlevel"))>0) {
@@ -293,7 +293,7 @@ void display_reg(int during_login) {
        int a;
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1);
+       output_headers(1, "bottom");
 
         wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
         wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
@@ -391,7 +391,7 @@ void display_changepw(void) {
        char buf[256];
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1);
+       output_headers(1, "bottom");
 
         wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
         wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");