]> code.citadel.org Git - citadel.git/blobdiff - webcit/paging.c
* Removed all of the absolute URL's.
[citadel.git] / webcit / paging.c
index c244070b2d5217b09d22248852f12309b817f71e..89cd5b04e1ec96ace7057c8a87a865f530122be0 100644 (file)
@@ -15,7 +15,7 @@ void display_page(void)
 
        strcpy(recp, bstr("recp"));
 
-        output_headers(1, 1, 2, 0, 0, 0, 0);
+        output_headers(1, 1, 2, 0, 0, 0);
         wprintf("<div id=\"banner\">\n"
                 "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
                 "<SPAN CLASS=\"titlebar\">");
@@ -32,7 +32,7 @@ void display_page(void)
        escputs(recp);
        wprintf("<br>\n");
 
-       wprintf("<FORM METHOD=\"POST\" ACTION=\"/page_user\">\n");
+       wprintf("<FORM METHOD=\"POST\" action=\"page_user\">\n");
 
        wprintf("<TABLE border=0 width=100%%><TR><TD>\n");
 
@@ -53,7 +53,7 @@ void display_page(void)
        wprintf("</TD></TR></TABLE><br />\n");
 
        wprintf("<INPUT TYPE=\"submit\" NAME=\"send_button\" VALUE=\"%s\">", _("Send message"));
-       wprintf("<br /><A HREF=\"javascript:window.close();\"%s</A>\n", _("Cancel"));
+       wprintf("<br /><a href=\"javascript:window.close();\"%s</A>\n", _("Cancel"));
 
        wprintf("</FORM></CENTER>\n");
        wprintf("</td></tr></table></div>\n");
@@ -69,7 +69,7 @@ void page_user(void)
        char buf[SIZ];
        char closewin[SIZ];
 
-        output_headers(1, 1, 2, 0, 0, 0, 0);
+        output_headers(1, 1, 2, 0, 0, 0);
         wprintf("<div id=\"banner\">\n"
                 "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
                 "<SPAN CLASS=\"titlebar\">");
@@ -104,7 +104,7 @@ void page_user(void)
        }
        
        if (!strcasecmp(closewin, "yes")) {
-               wprintf("<CENTER><A HREF=\"javascript:window.close();\">");
+               wprintf("<CENTER><a href=\"javascript:window.close();\">");
                wprintf(_("[ close window ]"));
                wprintf("</A></CENTER>\n");
        }
@@ -257,7 +257,7 @@ void chat_recv(void) {
        char cl_text[SIZ];
        char *output_data = NULL;
 
-       output_headers(0, 0, 0, 0, 0, 0, 0);
+       output_headers(0, 0, 0, 0, 0, 0);
 
        wprintf("Content-type: text/html; charset=utf-8\n");
        wprintf("\n");
@@ -317,7 +317,7 @@ void chat_recv(void) {
        if (end_chat_now) {
                close(WC->chat_sock);
                WC->chat_sock = (-1);
-               wprintf("<IMG SRC=\"/static/blank.gif\" onLoad=\"parent.window.close();\">\n");
+               wprintf("<img src=\"static/blank.gif\" onLoad=\"parent.window.close();\">\n");
        }
 
        if (strlen(output_data) > 0) {
@@ -327,7 +327,7 @@ void chat_recv(void) {
                }
 
                /* Output our fun to the other frame. */
-               wprintf("<IMG SRC=\"/static/blank.gif\" WIDTH=1 HEIGHT=1\n"
+               wprintf("<img src=\"static/blank.gif\" WIDTH=1 HEIGHT=1\n"
                        "onLoad=\" \n"
                );
 
@@ -405,7 +405,7 @@ void chat_send(void) {
        char send_this[SIZ];
        char buf[SIZ];
 
-       output_headers(0, 0, 0, 0, 0, 0, 0);
+       output_headers(0, 0, 0, 0, 0, 0);
        wprintf("Content-type: text/html; charset=utf-8\n");
        wprintf("\n");
        wprintf("<HTML>"
@@ -464,7 +464,7 @@ void chat_send(void) {
        WC->serv_sock = WC->chat_sock;
        WC->chat_sock = i;
 
-       wprintf("<FORM METHOD=\"POST\" ACTION=\"/chat_send\" NAME=\"chatsendform\">\n");
+       wprintf("<FORM METHOD=\"POST\" action=\"chat_send\" NAME=\"chatsendform\">\n");
        wprintf("<INPUT TYPE=\"text\" SIZE=\"80\" MAXLENGTH=\"%d\" "
                "NAME=\"send_this\">\n", SIZ-10);
        wprintf("<br />");