* Removed all of the absolute URL's.
[citadel.git] / webcit / paging.c
index 78fcdc1275b0863011c8f3d32b7407cb1bd186b9..89cd5b04e1ec96ace7057c8a87a865f530122be0 100644 (file)
@@ -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");
 
@@ -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"
                );
 
@@ -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 />");