lower case tags
[citadel.git] / webcit / calendar_view.c
index 64283d3512b083d0efdd573a9866718f0ad75780..4d05750e617f403ad71e1ac7b42fc56f8bfce0fb 100644 (file)
@@ -79,7 +79,7 @@ void calendar_month_view_display_events(time_t thetime) {
                                        }
 
                                        wprintf("<FONT SIZE=-1>"
-                                               "<A HREF=\"/display_edit_event?msgnum=%ld&calview=%s&year=%s&month=%s&day=%s\">",
+                                               "<a href=\"/display_edit_event?msgnum=%ld&calview=%s&year=%s&month=%s&day=%s\">",
                                                WC->disp_cal[i].cal_msgnum,
                                                bstr("calview"),
                                                bstr("year"),
@@ -149,9 +149,9 @@ void calendar_month_view(int year, int month, int day) {
        wprintf("<TD ALIGN=CENTER>");
 
        localtime_r(&previous_month, &tm);
-       wprintf("<A HREF=\"readfwd?calview=month&year=%d&month=%d&day=1\">",
+       wprintf("<a href=\"readfwd?calview=month&year=%d&month=%d&day=1\">",
                (int)(tm.tm_year)+1900, tm.tm_mon + 1);
-       wprintf("<IMG ALIGN=MIDDLE SRC=\"/static/prevdate_32x.gif\" BORDER=0></A>\n");
+       wprintf("<IMG ALIGN=MIDDLE src=\"/static/prevdate_32x.gif\" BORDER=0></A>\n");
 
        wprintf("&nbsp;&nbsp;"
                "<FONT SIZE=+1 COLOR=\"#FFFFFF\">"
@@ -160,9 +160,9 @@ void calendar_month_view(int year, int month, int day) {
                "&nbsp;&nbsp;", months[month-1], year);
 
        localtime_r(&next_month, &tm);
-       wprintf("<A HREF=\"readfwd?calview=month&year=%d&month=%d&day=1\">",
+       wprintf("<a href=\"readfwd?calview=month&year=%d&month=%d&day=1\">",
                (int)(tm.tm_year)+1900, tm.tm_mon + 1);
-       wprintf("<IMG ALIGN=MIDDLE SRC=\"/static/nextdate_32x.gif\" BORDER=0></A>\n");
+       wprintf("<IMG ALIGN=MIDDLE src=\"/static/nextdate_32x.gif\" BORDER=0></A>\n");
 
        wprintf("</TD></TR></TABLE>\n");
 
@@ -192,7 +192,7 @@ void calendar_month_view(int year, int month, int day) {
                if ((i==0) || (tm.tm_mday == 1)) {
                        wprintf("%s ", months[tm.tm_mon]);
                }
-               wprintf("<A HREF=\"readfwd?calview=day&year=%d&month=%d&day=%d\">"
+               wprintf("<a href=\"readfwd?calview=day&year=%d&month=%d&day=%d\">"
                        "%d</A></B><br />",
                        tm.tm_year + 1900,
                        tm.tm_mon + 1,
@@ -280,7 +280,7 @@ void calendar_day_view_display_events(int year, int month,
                                        }
 
                                        wprintf("<FONT SIZE=-1>"
-                                               "<A HREF=\"/display_edit_event?msgnum=%ld&calview=day&year=%d&month=%d&day=%d\">",
+                                               "<a href=\"/display_edit_event?msgnum=%ld&calview=day&year=%d&month=%d&day=%d\">",
                                                WC->disp_cal[i].cal_msgnum,
                                                year, month, day
                                        );
@@ -361,7 +361,7 @@ void calendar_day_view(int year, int month, int day) {
        for (hour = daystart; hour <= dayend; ++hour) { /* could do HEIGHT=xx */
                wprintf("<TR HEIGHT=30><TD BGCOLOR=\"#CCCCDD\" ALIGN=MIDDLE "
                        "VALIGN=MIDDLE WIDTH=10%%>");
-               wprintf("<A HREF=\"/display_edit_event?msgnum=0"
+               wprintf("<a href=\"/display_edit_event?msgnum=0"
                        "&year=%d&month=%d&day=%d&hour=%d&minute=0\">",
                        year, month, day, hour
                );
@@ -408,9 +408,9 @@ void calendar_day_view(int year, int month, int day) {
 
        /* Left arrow */        
        wprintf("<TD ALIGN=CENTER>");
-       wprintf("<A HREF=\"readfwd?calview=day&year=%d&month=%d&day=%d\">",
+       wprintf("<a href=\"readfwd?calview=day&year=%d&month=%d&day=%d\">",
                yesterday.year, yesterday.month, yesterday.day);
-       wprintf("<IMG ALIGN=MIDDLE SRC=\"/static/prevdate_32x.gif\" BORDER=0></A>");
+       wprintf("<IMG ALIGN=MIDDLE src=\"/static/prevdate_32x.gif\" BORDER=0></A>");
        wprintf("</TD>");
 
        /* Today's date */
@@ -423,9 +423,9 @@ void calendar_day_view(int year, int month, int day) {
 
        /* Right arrow */
        wprintf("<TD ALIGN=CENTER>");
-       wprintf("<A HREF=\"readfwd?calview=day&year=%d&month=%d&day=%d\">",
+       wprintf("<a href=\"readfwd?calview=day&year=%d&month=%d&day=%d\">",
                tomorrow.year, tomorrow.month, tomorrow.day);
-       wprintf("<IMG ALIGN=MIDDLE SRC=\"/static/nextdate_32x.gif\""
+       wprintf("<IMG ALIGN=MIDDLE src=\"/static/nextdate_32x.gif\""
                " BORDER=0></A>\n");
        wprintf("</TD>");
 
@@ -653,12 +653,12 @@ void do_tasks_view(void) {
 
                p = icalcomponent_get_first_property(WC->disp_cal[i].cal,
                                                        ICAL_SUMMARY_PROPERTY);
-               wprintf("<A HREF=\"/display_edit_task?msgnum=%ld&taskrm=",
+               wprintf("<a href=\"/display_edit_task?msgnum=%ld&taskrm=",
                        WC->disp_cal[i].cal_msgnum );
                urlescputs(WC->wc_roomname);
                wprintf("\">");
                wprintf("<IMG ALIGN=MIDDLE "
-                       "SRC=\"/static/taskmanag_16x.gif\" BORDER=0>&nbsp;");
+                       "src=\"/static/taskmanag_16x.gif\" BORDER=0>&nbsp;");
                if (p != NULL) {
                        escputs((char *)icalproperty_get_comment(p));
                }