Minor edit to sieve screen
authorArt Cancro <ajc@citadel.org>
Sun, 29 Oct 2006 18:47:13 +0000 (18:47 +0000)
committerArt Cancro <ajc@citadel.org>
Sun, 29 Oct 2006 18:47:13 +0000 (18:47 +0000)
webcit/sieve.c

index 4273654a390a264db6d3547b7c0ab7dbb69c3aa1..2f600811bed12d0e448919fb001b17dcd7c73731 100644 (file)
@@ -28,7 +28,33 @@ void display_sieve(void)
                "<table border=0 width=100%% bgcolor=\"#FFFFFF\">"
                "<tr><td valign=top>\n");
 
-       wprintf("FIXME there is nothing here yet.");
+
+       wprintf("<form method=\"post\" action=\"save_sieve\">\n");
+
+       wprintf("</form>\n");
+
+       wprintf(_("When new mail arrives: "));
+        wprintf("<select name=\"bigaction\" size=1>\n");
+
+       wprintf("<option value=\"0\">");
+       wprintf(_("Leave it in my inbox without filtering"));
+       wprintf("</option>\n");
+
+       wprintf("<option value=\"1\">");
+       wprintf(_("Filter it according to rules selected below"));
+       wprintf("</option>\n");
+
+       wprintf("<option value=\"2\">");
+       wprintf(_("Filter it through a manually edited script (advanced users only)"));
+       wprintf("</option>\n");
+
+       wprintf("</select>");
+
+       wprintf("<div align=\"center\"><br>");
+       wprintf("<input type=\"submit\" name=\"ok_button\" value=\"%s\">", _("Save changes"));
+       wprintf("&nbsp;");
+       wprintf("<input type=\"submit\" name=\"cancel_button\" value=\"%s\">\n", _("Cancel"));
+       wprintf("</div></form>\n");
 
        wprintf("</td></tr></table></div>\n");
        wDumpContent(1);