]> code.citadel.org Git - citadel.git/blobdiff - webcit/listsub.c
lower case tags
[citadel.git] / webcit / listsub.c
index cbcf5af772d762a18a4e19405e5816b10c7051c2..135644b3ebbbab622876f2f73c5c1505987fa9de 100644 (file)
@@ -50,10 +50,11 @@ void do_listsub(void)
         * Subscribe command
         */
        if (!strcasecmp(cmd, "subscribe")) {
-               serv_printf("SUBS subscribe|%s|%s|%s|%s/listsub",
+               serv_printf("SUBS subscribe|%s|%s|%s|%s://%s/listsub",
                        room,
                        email,
                        subtype,
+                       (is_https ? "https" : "http"),
                        WC->http_host
                );
                serv_getln(buf, sizeof buf);
@@ -77,7 +78,7 @@ void do_listsub(void)
                                "e-mailed to you and your subscription will "
                                "be confirmed.<br />\n"),
                                escaped_email, escaped_room);
-                       wprintf("<A HREF=\"/listsub\">%s</A></CENTER>\n", _("Go back..."));
+                       wprintf("<a href=\"/listsub\">%s</A></CENTER>\n", _("Go back..."));
                }
                else {
                        wprintf("<FONT SIZE=+1><B>ERROR: %s</B>"
@@ -91,9 +92,10 @@ void do_listsub(void)
         * Unsubscribe command
         */
        else if (!strcasecmp(cmd, "unsubscribe")) {
-               serv_printf("SUBS unsubscribe|%s|%s|%s/listsub",
+               serv_printf("SUBS unsubscribe|%s|%s|%s://%s/listsub",
                        room,
                        email,
+                       (is_https ? "https" : "http"),
                        WC->http_host
                );
                serv_getln(buf, sizeof buf);
@@ -113,7 +115,7 @@ void do_listsub(void)
                                "Please click on the link which is being "
                                "e-mailed to you and your unsubscription will "
                                "be confirmed.<br />\n"
-                               "<A HREF=\"/listsub\">Back...</A></CENTER>\n"
+                               "<a href=\"/listsub\">Back...</A></CENTER>\n"
                        );
                }
                else {
@@ -156,7 +158,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=\"POST\" action=\"/listsub\">\n"
                        "<TABLE BORDER=0>\n"
                );