]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.c
* Found and removed more absolute URL's.
[citadel.git] / webcit / webcit.c
index 3ec962f938b3f208b3c9dc4358ba228c1606d601..1eff37aa76b606c0ae7832387cbd1f3f00081df6 100644 (file)
@@ -433,7 +433,7 @@ void http_redirect(char *whichpage) {
        wprintf("URI: %s\r\n", whichpage);
        wprintf("Content-type: text/html; charset=utf-8\r\n\r\n");
        wprintf("<html><body>");
-       wprintf("Go <A HREF=\"%s\">here</A>.", whichpage);
+       wprintf("Go <a href=\"%s\">here</A>.", whichpage);
        wprintf("</body></html>\n");
 }
 
@@ -706,17 +706,17 @@ void url_do_template(void) {
  * Offer to make any page the user's "start page."
  */
 void offer_start_page(void) {
-       wprintf("<A HREF=\"/change_start_page?startpage=");
+       wprintf("<a href=\"change_start_page?startpage=");
        urlescputs(WC->this_page);
        wprintf("\"><FONT SIZE=-2 COLOR=\"#AAAAAA\">");
        wprintf(_("Make this my start page"));
        wprintf("</FONT></A>");
 /*
-       wprintf("<br/><a href=\"/rss?room=");
+       wprintf("<br/><a href=\"rss?room=");
        urlescputs(WC->wc_roomname);
        wprintf("\" title=\"RSS 2.0 feed for ");
        escputs(WC->wc_roomname);
-       wprintf("\"><img alt=\"RSS\" border=\"0\" src=\"/static/xml_button.gif\"/></a>\n");
+       wprintf("\"><img alt=\"RSS\" border=\"0\" src=\"static/xml_button.gif\"/></a>\n");
 */
 }
 
@@ -1342,13 +1342,13 @@ void session_loop(struct httprequest *req)
        } else if (!strcasecmp(action, "display_editpic")) {
                display_graphics_upload(_("your photo"),
                                        "UIMG 0|_userpic_",
-                                       "/editpic");
+                                       "editpic");
        } else if (!strcasecmp(action, "editpic")) {
                do_graphics_upload("UIMG 1|_userpic_");
        } else if (!strcasecmp(action, "display_editroompic")) {
                display_graphics_upload(_("the icon for this room"),
                                        "UIMG 0|_roompic_",
-                                       "/editroompic");
+                                       "editroompic");
        } else if (!strcasecmp(action, "editroompic")) {
                do_graphics_upload("UIMG 1|_roompic_");
        } else if (!strcasecmp(action, "delete_floor")) {
@@ -1362,7 +1362,7 @@ void session_loop(struct httprequest *req)
                        bstr("which_floor"));
                display_graphics_upload(_("the icon for this floor"),
                                        buf,
-                                       "/editfloorpic");
+                                       "editfloorpic");
        } else if (!strcasecmp(action, "editfloorpic")) {
                sprintf(buf, "UIMG 1|_floorpic_|%s",
                        bstr("which_floor"));
@@ -1424,8 +1424,6 @@ void session_loop(struct httprequest *req)
                create_user();
        } else if (!strcasecmp(action, "changeview")) {
                change_view();
-       } else if (!strcasecmp(action, "do_stuff_to_msgs")) {
-               do_stuff_to_msgs();
        } else if (!strcasecmp(action, "change_start_page")) {
                change_start_page();
        } else if (!strcasecmp(action, "display_floorconfig")) {