]> code.citadel.org Git - citadel.git/commitdiff
* messages.c: the summary line for each message is now a SPAN instead of
authorArt Cancro <ajc@citadel.org>
Tue, 1 Nov 2005 03:30:52 +0000 (03:30 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 1 Nov 2005 03:30:52 +0000 (03:30 +0000)
  a DIV.  This was done because we needed the SPAN anyway to apply styles,
  and saves some space.

webcit/ChangeLog
webcit/messages.c

index 7b61a6a727b5c057eb922b7434fe31be94661ea4..0ba012aa15c5a3f8dc51b2a69ced7f35ef8b4539 100644 (file)
@@ -1,5 +1,10 @@
 $Id$
 
+Mon Oct 31 22:29:39 EST 2005 ajc
+* messages.c: the summary line for each message is now a SPAN instead of
+  a DIV.  This was done because we needed the SPAN anyway to apply styles,
+  and saves some space.
+
 Sun Oct 30 21:58:23 EST 2005 ajc
 * summary.c: fixed the date display.
 
index bcb7bcd3ab32ad481f950dfd68b0e769219b5612..9613368bea12bdf1b70f2a6fecd88f14592c913c 100644 (file)
@@ -1338,11 +1338,13 @@ ENDBODY:
 void display_summarized(int num) {
        char datebuf[64];
 
-       wprintf("<div id=\"m%ld\" style=\"font-weight:%s\" onClick=\" new Ajax.Updater('preview_pane', '/msg/%d', { method: 'get' } ); \" ",
+       wprintf("<span "
+               "id=\"m%ld\" style=\"float:left;width:100%%;font-weight:%s;background-color:#fff\" "
+               "onClick=\" new Ajax.Updater('preview_pane', '/msg/%d', { method: 'get' } ); \">",
                WC->summ[num].msgnum,
                (WC->summ[num].is_new ? "bold" : "normal"),
-               WC->summ[num].msgnum);
-       wprintf("><span style=\"float:left;width:100%%;background-color:#fff\">");
+               WC->summ[num].msgnum
+       );
 
        wprintf("<span style=\"float:left;width:50%%\">");
        escputs(WC->summ[num].subj);
@@ -1363,7 +1365,7 @@ void display_summarized(int num) {
        );
        wprintf("</span>");
 
-       wprintf("</span></div>\n");
+       wprintf("</span>\n");
 }