* 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);
"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>"
* 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);
"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 {
* 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"
);