$Log$
+Revision 528.29 2005/02/01 02:28:32 ajc
+* "time(NULL) mod 60" doesn't work for some reason, so it has been removed.
+ When defaulting a new event date/time to now, set the seconds to zero
+ manually.
+
Revision 528.28 2005/01/31 23:31:26 ajc
* Initial attempt at GroupDAV PROPFIND for folder enumeration. Hardcoded
to only show the Calendar> room. It kinda-sorta works with KOrganizer.
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
+
int i;
int sequence = 0;
- now = time(NULL) % 60; /* mod 60 to force :00 seconds */
+ now = time(NULL);
strcpy(organizer_string, "");
strcpy(attendee_string, "");
}
else {
localtime_r(&now, &tm_now);
- tm_now.tm_year = atoi(bstr("year")) - 1900;
- tm_now.tm_mon = atoi(bstr("month")) - 1;
- tm_now.tm_mday = atoi(bstr("day"));
+ lprintf(9, "NOW NOW NOW!!!! %ld\n", now);
+ if (strlen(bstr("year")) > 0) {
+ tm_now.tm_year = atoi(bstr("year")) - 1900;
+ tm_now.tm_mon = atoi(bstr("month")) - 1;
+ tm_now.tm_mday = atoi(bstr("day"));
+ }
if (strlen(bstr("hour")) > 0) {
tm_now.tm_hour = atoi(bstr("hour"));
tm_now.tm_min = atoi(bstr("minute"));
}
wprintf(
- "<li>"
+ "<li><div align=\"center\">"
"<A HREF=\"/display_customize_iconbar\" "
"TITLE=\"Customize this menu\" "
">customize this menu</A>"
- "</A></li>\n"
+ "</A></div></li>\n"
);
if (ib_citadel) if (ib_displayas != IB_TEXTONLY) wprintf(