$Log$
+Revision 400.79 2003/01/06 18:01:35 ajc
+* Begin handling of TRANSP property to show event times as free or
+ busy (not finished).
+
Revision 400.78 2003/01/05 21:02:14 ajc
* Summary page: three columns are now all the same width
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
+
}
}
}
+
wprintf("<TR><TD><B>Organizer</B></TD><TD>");
escputs(organizer_string);
if (organizer_is_me) {
wprintf("</TD></TR>\n");
- /* Attendees (do more with this later) */
+ /* Transparency */
+ wprintf("<TR><TD><B>Show time as:</B></TD><TD>");
+
+ p = icalcomponent_get_first_property(vevent, ICAL_TRANSP_PROPERTY);
+ if (p == NULL) {
+ /* No transparency found. Default to opaque (busy). */
+ p = icalproperty_new_transp(ICAL_TRANSP_OPAQUE);
+ if (p != NULL) {
+ icalcomponent_add_property(vevent, p);
+ }
+ }
+
+ wprintf("<INPUT TYPE=\"radio\" NAME=\"transp\" VALUE=\"transparent\"");
+ if (0) wprintf(" CHECKED");
+ wprintf(">Free ");
+
+ wprintf("<INPUT TYPE=\"radio\" NAME=\"transp\" VALUE=\"opaque\"");
+ if (0) wprintf(" CHECKED");
+ wprintf(">Busy");
+
+ wprintf("</TD></TR>\n");
+
+ /* Attendees */
wprintf("<TR><TD><B>Attendes</B><BR>"
"<FONT SIZE=-2>(Separate multiple attendees with commas)"
"</FONT></TD><TD>"