More recurrence editor stuff
authorArt Cancro <ajc@citadel.org>
Tue, 14 Oct 2008 21:47:17 +0000 (21:47 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 14 Oct 2008 21:47:17 +0000 (21:47 +0000)
webcit/event.c

index 6c82bf611107877eb5258f8b24bc8f4e5e8e4cd1..0e853f75817d6ee16ff286fef70c8d5c877870a9 100644 (file)
@@ -574,8 +574,18 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum,
        int which_rryeartype_is_preselected = 0;        /* FIXME set default correctly */
        wprintf("<div id=\"yearday_selector\">");       /* begin 'yearday_selector' div */
 
-       wprintf("(X) every (99) (Octobuary)<br />");                    /* FIXME */
-       wprintf("(X) on the (Grelfth) (Funday) of (Octobuary)<br />");  /* FIXME */
+       wprintf("<input type=\"radio\" name=\"rryeartype\" id=\"rrmonthtype_ymday\" "
+               "%s onChange=\"RecurrenceShowHide();\">",
+               ((which_rryeartype_is_preselected == 0) ? "checked" : "")
+       );
+       wprintf("every (99) (Octobuary)<br />");                        /* FIXME */
+
+       wprintf("<input type=\"radio\" name=\"rryeartype\" id=\"rrmonthtype_ywday\" "
+               "%s onChange=\"RecurrenceShowHide();\">",
+               ((which_rrmonthtype_is_preselected == 1) ? "checked" : "")
+       );
+
+       wprintf("on the (Grelfth) (Funday) of (Octobuary)<br />");      /* FIXME */
 
        wprintf("</div>\n");                            /* end 'yearday_selector' div */