]> code.citadel.org Git - citadel.git/blobdiff - webcit/event.c
more recurring events editor tedium
[citadel.git] / webcit / event.c
index 55e4cc98a30f1858f34b782f0e56a452c5358fab..bb10286534fd4225a4747d6205cfa222b99108ba 100644 (file)
@@ -504,8 +504,10 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum,
        wprintf("</div>\n");                            /* end 'weekday_selector' div */
 
 
-       int which_rrmonthtype_is_preselected = 0;       /* FIXME set default correctly */
 
+
+
+       int which_rrmonthtype_is_preselected = 0;
        wprintf("<div id=\"monthday_selector\">");      /* begin 'monthday_selector' div */
 
        wprintf("<input type=\"radio\" name=\"rrmonthtype\" id=\"rrmonthtype_mday\" "
@@ -569,6 +571,27 @@ 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("<input type=\"radio\" name=\"rryeartype\" id=\"rrmonthtype_ymday\" "
+               "%s onChange=\"RecurrenceShowHide();\">",
+               ((which_rryeartype_is_preselected == 0) ? "checked" : "")
+       );
+       wprintf(_("every "));
+       wprintf("<span id=\"ymday\">%s</span><br />", _("year on this date"));
+
+       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 */
+
+
+
        wprintf("</td></tr>\n");