Cleaned up some bad html
authorArt Cancro <ajc@citadel.org>
Mon, 6 Oct 2008 14:05:22 +0000 (14:05 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 6 Oct 2008 14:05:22 +0000 (14:05 +0000)
webcit/inetconf.c
webcit/mainmenu.c
webcit/messages.c
webcit/summary.c

index f865e7607fd9311df66604310591850584dbed34..92b76de22b9a91de1e90e190f414861dc9e15df7 100644 (file)
@@ -103,7 +103,7 @@ void display_inetconf(void)
        wprintf("<div id=\"content\" class=\"service\">\n");
 
        wprintf("<div class=\"fix_scrollbar_bug\">"
-               "<table border=0 width=100%% cellspacing=\"10px\" cellpadding=\"10px\"> "
+               "<table border=0 width=100%% cellspacing=\"10\" cellpadding=\"10\"> "
                "<tr><td valign=top width=50%%>\n");
        for (which=0; which<ic_max; ++which) {
                if (which == (ic_max / 2)) {
index d9337fda4cbb66a969a378666081fe2fc90fc9ee..4c1943817d985f9999d27fd803d5ed094932dd07 100644 (file)
@@ -19,7 +19,7 @@ void display_main_menu(void)
        output_headers(1, 1, 1, 0, 0, 0);
 
        wprintf("<div class=\"fix_scrollbar_bug\">"
-               "<table width=\"100%%\" cellspacing=\"10px\" cellpadding=\"0\">"
+               "<table width=\"100%%\" cellspacing=\"10\" cellpadding=\"0\">"
                "<tr><td colspan=\"2\" class=\"advanced\">\n");
 
        svput("BOXTITLE", WCS_STRING, _("Basic commands"));
index 29899788e53d1dea5f004515e1ed0af014dba149..d4036a13386df7b803d25f1703e1f97fe79a06c1 100644 (file)
@@ -2118,9 +2118,9 @@ void do_addrbook_view(struct addrbookent *addrbook, int num_ab) {
        
                wprintf("<td>");
 
-               wprintf("<a href=\"readfwd?startmsg=%ld&is_singlecard=1",
+               wprintf("<a href=\"readfwd?startmsg=%ld?is_singlecard=1",
                        addrbook[i].ab_msgnum);
-               wprintf("?maxmsgs=1&is_summary=0&alpha=%s\">", bstr("alpha"));
+               wprintf("?maxmsgs=1?is_summary=0?alpha=%s\">", bstr("alpha"));
                vcard_n_prettyize(addrbook[i].ab_name);
                escputs(addrbook[i].ab_name);
                wprintf("</a></td>\n");
@@ -2646,9 +2646,9 @@ void readloop(char *oper)
                        "<table cellspacing=0 style=\"width:100%%\">"
                        "<tr>"
                );
-               wprintf("<th width=%d%%>%s <a href=\"readfwd?startmsg=1&maxmsgs=9999999&is_summary=1&sortby=%s\"><img border=\"0\" src=\"%s\" /></a> </th>\n"
-                       "<th width=%d%%>%s <a href=\"readfwd?startmsg=1&maxmsgs=9999999&is_summary=1&sortby=%s\"><img border=\"0\" src=\"%s\" /></a> </th>\n"
-                       "<th width=%d%%>%s <a href=\"readfwd?startmsg=1&maxmsgs=9999999&is_summary=1&sortby=%s\"><img border=\"0\" src=\"%s\" /></a> \n"
+               wprintf("<th width=%d%%>%s <a href=\"readfwd?startmsg=1?maxmsgs=9999999?is_summary=1?sortby=%s\"><img border=\"0\" src=\"%s\" /></a> </th>\n"
+                       "<th width=%d%%>%s <a href=\"readfwd?startmsg=1?maxmsgs=9999999?is_summary=1?sortby=%s\"><img border=\"0\" src=\"%s\" /></a> </th>\n"
+                       "<th width=%d%%>%s <a href=\"readfwd?startmsg=1?maxmsgs=9999999?is_summary=1?sortby=%s\"><img border=\"0\" src=\"%s\" /></a> \n"
                        "&nbsp;"
                        "<input type=\"submit\" name=\"delete_button\" id=\"delbutton\" "
                        " onClick=\"CtdlDeleteSelectedMessages(event)\" "
index 2752cbd3a752a0e5cccc0fd8a384558a16f830dc..ffd840853bc1470c29ac33a6093d35ada8a8a3c0 100644 (file)
@@ -24,8 +24,8 @@ void output_date(void) {
 
 
 
-/**
- * \brief Dummy section
+/*
+ * Dummy section
  */
 void dummy_section(void) {
        svput("BOXTITLE", WCS_STRING, "(dummy&nbsp;section)");
@@ -35,8 +35,8 @@ void dummy_section(void) {
 }
 
 
-/**
- * \brief New messages section
+/*
+ * New messages section
  */
 void new_messages_section(void) {
        char buf[SIZ];
@@ -72,8 +72,8 @@ void new_messages_section(void) {
 }
 
 
-/**
- * \brief Task list section
+/*
+ * Task list section
  */
 void tasks_section(void) {
        int num_msgs = 0;
@@ -102,8 +102,8 @@ void tasks_section(void) {
 }
 
 
-/**
- * \brief Calendar section
+/*
+ * Calendar section
  */
 void calendar_section(void) {
        int num_msgs = 0;
@@ -130,8 +130,8 @@ void calendar_section(void) {
        }
 }
 
-/**
- * \brief Server info section (fluff, really)
+/*
+ * Server info section (fluff, really)
  */
 void server_info_section(void) {
        char message[512];
@@ -147,26 +147,19 @@ void server_info_section(void) {
        escputs(message);
 }
 
-/**
- * \brief summary of inner div????
+/*
+ * Now let's do three columns of crap.  All portals and all groupware
+ * clients seem to want to do three columns, so we'll do three
+ * columns too.  Conformity is not inherently a virtue, but there are
+ * a lot of really shallow people out there, and even though they're
+ * not people I consider worthwhile, I still want them to use WebCit.
  */
-
-
-
 void summary_inner_div(void) {
-       /**
-        * Now let's do three columns of crap.  All portals and all groupware
-        * clients seem to want to do three columns, so we'll do three
-        * columns too.  Conformity is not inherently a virtue, but there are
-        * a lot of really shallow people out there, and even though they're
-        * not people I consider worthwhile, I still want them to use WebCit.
-        */
-
        wprintf("<div class=\"fix_scrollbar_bug\">"
-               "<table width=\"100%%\" cellspacing=\"10px\" cellpadding=\"0\">"
+               "<table width=\"100%%\" cellspacing=\"10\" cellpadding=\"0\">"
                "<tr valign=top>");
 
-       /**
+       /*
         * Column One
         */
        wprintf("<td width=33%%>");
@@ -179,7 +172,7 @@ void summary_inner_div(void) {
        wprintf("</div></div></div>");
        wprintf("</td>");
 
-       /**
+       /*
         * Column Two 
         */
        wprintf("<td width=33%%>");
@@ -192,7 +185,7 @@ void summary_inner_div(void) {
        wprintf("</div></div></div>");
        wprintf("</td>");
 
-       /**
+       /*
         * Column Three
         */
        wprintf("<td width=33%%>");
@@ -207,7 +200,7 @@ void summary_inner_div(void) {
 
        wprintf("</tr><tr valign=top>");
 
-       /**
+       /*
         * Row Two - Column One
         */
        wprintf("<td colspan=2>");
@@ -220,7 +213,7 @@ void summary_inner_div(void) {
        wprintf("</div></div></div>");
        wprintf("</td>");
 
-       /**
+       /*
         * Row Two - Column Two
         */
        wprintf("<td width=33%%>");
@@ -234,15 +227,15 @@ void summary_inner_div(void) {
        wprintf("</td>");
 
 
-       /**
+       /*
         * End of columns
         */
        wprintf("</tr></table>");
 }
 
 
-/**
- * \brief Display this user's summary page
+/*
+ * Display this user's summary page
  */
 void summary(void) {
        char title[256];
@@ -263,7 +256,7 @@ void summary(void) {
         wprintf("</li></ul>");
         wprintf("</div>");
 
-       /**
+       /*
         * You guessed it ... we're going to refresh using ajax.
         * In the future we might consider updating individual sections of the summary
         * instead of the whole thing.
@@ -300,4 +293,3 @@ InitModule_SUMMARY
        WebcitAddUrlHandler(HKEY("summary_inner_div"), summary_inner_div, AJAX);
 }
 
-/*@}*/