]> code.citadel.org Git - citadel.git/blobdiff - webcit/listsub.c
Fix minor spacing problem in listsub HTML
[citadel.git] / webcit / listsub.c
index 80d65f7a4d169b3ada85019dd4d40b56f8283589..cadf60b4884c93c5e58df29ae1fd64742fc5f2bf 100644 (file)
@@ -1,16 +1,18 @@
 /*
  * $Id$
- *
- * Web forms for handling mailing list subscribe/unsubscribe requests.
- *
+ */
+/**
+ * \defgroup ListSubForms Web forms for handling mailing list subscribe/unsubscribe requests.
+ * \ingroup WebcitDisplayItems
  */
 
+/*@{*/
 #include "webcit.h"
 
 
 
-/*
- * List subscription handling
+/**
+ * \brief List subscription handling
  */
 void do_listsub(void)
 {
@@ -49,12 +51,12 @@ void do_listsub(void)
        strcpy(subtype, bstr("subtype"));
 
        wprintf("<CENTER>"
-               "<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>"
+               "<TABLE class=\"listsub_banner\"><TR><TD>"
                "<SPAN CLASS=\"titlebar\">");
        wprintf(_("List subscribe/unsubscribe"));
        wprintf("</SPAN></TD></TR></TABLE><br />\n");
 
-       /*
+       /**
         * Subscribe command
         */
        if (!strcasecmp(cmd, "subscribe")) {
@@ -96,7 +98,7 @@ void do_listsub(void)
                }
        }
 
-       /*
+       /**
         * Unsubscribe command
         */
        else if (!strcasecmp(cmd, "unsubscribe")) {
@@ -134,7 +136,7 @@ void do_listsub(void)
                }
        }
 
-       /* 
+       /**
         * Confirm command
         */
        else if (!strcasecmp(cmd, "confirm")) {
@@ -162,7 +164,7 @@ void do_listsub(void)
                wprintf("%s</CENTER><br />\n", &buf[4]);
        }
 
-       /*
+       /**
         * Any other (invalid) command causes the form to be displayed
         */
        else {
@@ -200,10 +202,10 @@ FORM:             wprintf("<FORM METHOD=\"POST\" action=\"listsub\">\n"
 
                wprintf("</TABLE>"
                        "(If subscribing) preferred format: "
-                       "<INPUT TYPE=\"radio\" NAME=\"subtype\""
-                       "VALUE=\"list\">One message at a time&nbsp; "
-                       "<INPUT TYPE=\"radio\" NAME=\"subtype\""
-                       "VALUE=\"digest\" CHECKED>Digest format&nbsp; "
+                       "<INPUT TYPE=\"radio\" NAME=\"subtype\" "
+                       "VALUE=\"list\" CHECKED>One message at a time&nbsp; "
+                       "<INPUT TYPE=\"radio\" NAME=\"subtype\" "
+                       "VALUE=\"digest\">Digest format&nbsp; "
                        "<br />\n"
                        "<INPUT TYPE=\"submit\" NAME=\"cmd\""
                        " VALUE=\"subscribe\">\n"
@@ -226,3 +228,7 @@ FORM:               wprintf("<FORM METHOD=\"POST\" action=\"listsub\">\n"
        wDumpContent(0);
        end_webcit_session();
 }
+
+
+
+/*@}*/