]> code.citadel.org Git - citadel.git/blobdiff - webcit/messages.c
* Started changing some of the top-level tables from 100% width to 99%
[citadel.git] / webcit / messages.c
index a9327eee52e73426283cc6a2a0a2007376032718..4e6d28f991e0ccf99841ef287c61916bd61537fb 100644 (file)
@@ -369,7 +369,7 @@ void read_message(long msgnum) {
        }
 
        /* begin everythingamundo table */
-       wprintf("<table width=100% border=1 cellspacing=0 "
+       wprintf("<center><table width=99%% border=1 cellspacing=0 "
                "cellpadding=0><TR><TD>\n");
 
        /* begin message header table */
@@ -642,7 +642,7 @@ ENDBODY:
        wprintf("</TD></TR></TABLE>\n");
 
        /* end everythingamundo table */
-       wprintf("</TD></TR></TABLE><br />\n");
+       wprintf("</TD></TR></TABLE></center><br />\n");
 }
 
 
@@ -1276,14 +1276,10 @@ void readloop(char *oper)
         * messages, then display the selector bar
         */
        if (num_displayed > 1) {
-          if ((!is_tasks) && (!is_calendar) && (!is_addressbook) && (!is_notes) && (!is_singlecard)) {
-               wprintf("Reading #%d-%d of %d messages.",
-                       lowest_displayed, highest_displayed, nummsgs);
+          if ((!is_tasks) && (!is_calendar) && (!is_addressbook)
+             && (!is_notes) && (!is_singlecard)) {
 
-               if (is_summary) {
-                       wprintf("<INPUT TYPE=\"submit\" NAME=\"sc\" "
-                               "VALUE=\"Delete selected\">\n");
-               }
+               wprintf("Reading #", lowest_displayed, highest_displayed);
 
                wprintf("<SELECT NAME=\"whichones\" SIZE=\"1\" "
                        "OnChange=\"location.href=msgomatic.whichones.options"
@@ -1320,6 +1316,13 @@ void readloop(char *oper)
                        oper,
                        WC->msgarr[0]);
 
+               wprintf("</SELECT> of %d messages.", nummsgs);
+
+               if (is_summary) {
+                       wprintf("<INPUT TYPE=\"submit\" NAME=\"sc\" "
+                               "VALUE=\"Delete selected\">\n");
+               }
+
            }
        }
        if (is_summary) wprintf("</FORM>\n");