* Removed all of the absolute URL's.
[citadel.git] / webcit / calendar.c
index 1836a2fea0a18fde001064d88da0c16f48e1a88d..e1453d4bfe8b6a7e3de26db3b2b0cbac1427de08 100644 (file)
@@ -84,7 +84,7 @@ void cal_process_object(icalcomponent *cal,
                    case ICAL_METHOD_REQUEST:
                        wprintf("<tr><td colspan=\"2\">\n"
                                "<img align=\"center\" "
-                               "src=\"/static/calarea_48x.gif\">"
+                               "src=\"static/calarea_48x.gif\">"
                                "&nbsp;&nbsp;"  
                                "<B>");
                        wprintf(_("Meeting invitation"));
@@ -93,7 +93,7 @@ void cal_process_object(icalcomponent *cal,
                    case ICAL_METHOD_REPLY:
                        wprintf("<TR><TD COLSPAN=2>\n"
                                "<IMG ALIGN=CENTER "
-                               "src=\"/static/calarea_48x.gif\">"
+                               "src=\"static/calarea_48x.gif\">"
                                "&nbsp;&nbsp;"  
                                "<B>");
                        wprintf(_("Attendee's reply to your invitation"));
@@ -102,7 +102,7 @@ void cal_process_object(icalcomponent *cal,
                    case ICAL_METHOD_PUBLISH:
                        wprintf("<TR><TD COLSPAN=2>\n"
                                "<IMG ALIGN=CENTER "
-                               "src=\"/static/calarea_48x.gif\">"
+                               "src=\"static/calarea_48x.gif\">"
                                "&nbsp;&nbsp;"  
                                "<B>");
                        wprintf(_("Published event"));
@@ -249,11 +249,11 @@ void cal_process_object(icalcomponent *cal,
                /* Display the Accept/Decline buttons */
                wprintf("<TR><TD>How would you like to respond to this invitation?</td>"
                        "<td><FONT SIZE=+1>"
-                       "<a href=\"/respond_to_request?msgnum=%ld&cal_partnum=%s&sc=Accept\">%s</a>"
+                       "<a href=\"respond_to_request?msgnum=%ld&cal_partnum=%s&sc=Accept\">%s</a>"
                        " | "
-                       "<a href=\"/respond_to_request?msgnum=%ld&cal_partnum=%s&sc=Tentative\">%s</a>"
+                       "<a href=\"respond_to_request?msgnum=%ld&cal_partnum=%s&sc=Tentative\">%s</a>"
                        " | "
-                       "<a href=\"/respond_to_request?msgnum=%ld&cal_partnum=%s&sc=Decline\">%s</a>"
+                       "<a href=\"respond_to_request?msgnum=%ld&cal_partnum=%s&sc=Decline\">%s</a>"
                        "</FONT></TD></TR>\n",
                        msgnum, cal_partnum, _("Accept"),
                        msgnum, cal_partnum, _("Tentative"),
@@ -277,9 +277,9 @@ void cal_process_object(icalcomponent *cal,
                wprintf("<TR><TD>"
                        "%s"
                        "</td><td><font size=+1>"
-                       "<a href=\"/handle_rsvp?msgnum=%ld&cal_partnum=%s&sc=Update\">%s</a>"
+                       "<a href=\"handle_rsvp?msgnum=%ld&cal_partnum=%s&sc=Update\">%s</a>"
                        " | "
-                       "<a href=\"/handle_rsvp?msgnum=%ld&cal_partnum=%s&sc=Ignore\">%s</a>"
+                       "<a href=\"handle_rsvp?msgnum=%ld&cal_partnum=%s&sc=Ignore\">%s</a>"
                        "</font>"
                        "</TD></TR>\n",
                        _("Click <i>Update</i> to accept this reply and update your calendar."),
@@ -372,7 +372,7 @@ void respond_to_request(void) {
                        "%s\n", &buf[4]);
        }
 
-       wprintf("<a href=\"/dotskip?room=");
+       wprintf("<a href=\"dotskip?room=");
        urlescputs(WC->wc_roomname);
        wprintf("\"><br />");
        wprintf(_("Return to messages"));
@@ -426,7 +426,7 @@ void handle_rsvp(void) {
                        "%s\n", &buf[4]);
        }
 
-       wprintf("<a href=\"/dotskip?room=");
+       wprintf("<a href=\"dotskip?room=");
        urlescputs(WC->wc_roomname);
        wprintf("\"><br />");
        wprintf(_("Return to messages"));
@@ -505,7 +505,7 @@ void display_edit_individual_task(icalcomponent *supplied_vtodo, long msgnum) {
        output_headers(1, 1, 2, 0, 0, 0);
        wprintf("<div id=\"banner\">\n"
                "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR>"
-               "<TD><img src=\"/static/taskmanag_48x.gif\"></TD>"
+               "<TD><img src=\"static/taskmanag_48x.gif\"></TD>"
                "<td><SPAN CLASS=\"titlebar\">");
        wprintf(_("Edit task"));
        wprintf("</SPAN>"
@@ -516,7 +516,7 @@ void display_edit_individual_task(icalcomponent *supplied_vtodo, long msgnum) {
        wprintf("<div id=\"fix_scrollbar_bug\">"
                "<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>");
        
-       wprintf("<FORM METHOD=\"POST\" action=\"/save_task\">\n");
+       wprintf("<FORM METHOD=\"POST\" action=\"save_task\">\n");
        wprintf("<INPUT TYPE=\"hidden\" NAME=\"msgnum\" VALUE=\"%ld\">\n",
                msgnum);