]> code.citadel.org Git - citadel.git/blobdiff - webcit/listsub.c
* Repaired all my b0rken COLOR tags
[citadel.git] / webcit / listsub.c
index 40b87a162e6a020e108519a9f4d3fc58b666f587..118a0598c38ca5d8109dd57a455d92ef3630c648 100644 (file)
@@ -49,9 +49,8 @@ void do_listsub(void)
        strcpy(subtype, bstr("subtype"));
 
        wprintf("<CENTER>"
-               "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=000077><TR><TD>"
-               "<FONT SIZE=+1 COLOR=\"FFFFFF\""
-               "<B>List subscribe/unsubscribe</B>\n"
+               "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#000077\"><TR><TD>"
+               "<SPAN CLASS=\"titlebar\">List subscribe/unsubscribe</SPAN>\n"
                "</TD></TR></TABLE><BR>\n"
        );
 
@@ -81,7 +80,8 @@ void do_listsub(void)
                                "without your consent.<BR><BR>"
                                "Please click on the link which is being "
                                "e-mailed to you and your subscription will "
-                               "be confirmed.<BR></CENTER>\n"
+                               "be confirmed.<BR>\n"
+                               "<A HREF=\"/listsub\">Back...</A></CENTER>\n"
                        );
                }
                else {
@@ -117,7 +117,8 @@ void do_listsub(void)
                                "lists without your consent.<BR><BR>"
                                "Please click on the link which is being "
                                "e-mailed to you and your unsubscription will "
-                               "be confirmed.<BR></CENTER>\n"
+                               "be confirmed.<BR>\n"
+                               "<A HREF=\"/listsub\">Back...</A></CENTER>\n"
                        );
                }
                else {
@@ -141,7 +142,17 @@ void do_listsub(void)
                        wprintf("<CENTER><H1>Confirmation successful!</H1>");
                }
                else {
-                       wprintf("<CENTER><H1>Confirmation failed.</H1>");
+                       wprintf("<CENTER><H1>Confirmation failed.</H1>"
+                               "This could mean one of two things:<UL>\n"
+                               "<LI>You waited too long to confirm your "
+                               "subscribe/unsubscribe request (the "
+                               "confirmation link is only valid for three "
+                               "days)\n<LI>You have <i>already</i> "
+                               "successfully confirmed your "
+                               "subscribe/unsubscribe request and are "
+                               "attempting to do it again.</UL>\n"
+                               "The error returned by the server was: "
+                       );
                }
                wprintf("%s</CENTER><BR>\n", &buf[4]);
        }
@@ -150,7 +161,7 @@ void do_listsub(void)
         * Any other (invalid) command causes the form to be displayed
         */
        else {
-FORM:          wprintf("<FORM METHOD=\"POST\" ACTION=\"/listsub\">\n"
+FORM:          wprintf("<FORM METHOD=\"GET\" ACTION=\"/listsub\">\n"
                        "<TABLE BORDER=0>\n"
                );