Some HTML/CSS changes to return to a more compact header of the messages with buttons
[citadel.git] / webcit / messages.c
index 2635365b21c7a3c98ac5fabcc1ae33d59cd0593a..fe088d85eb3f8156bf14dcd0dcd5f4dd120d6e96 100644 (file)
@@ -832,7 +832,6 @@ void read_message(long msgnum, int printable_view, char *section) {
                        format_type = atoi(&buf[5]);
                if (!strncasecmp(buf, "from=", 5)) {
                        strcpy(from, &buf[5]);
-                       wprintf("<br />");
                        wprintf(_("from "));
                        wprintf("<a href=\"showuser?who=");
 #ifdef HAVE_ICONV
@@ -900,7 +899,9 @@ void read_message(long msgnum, int printable_view, char *section) {
                }
                if (!strncasecmp(buf, "time=", 5)) {
                        fmt_date(now, atol(&buf[5]), 0);
+                       wprintf("<span>");
                        wprintf("%s ", now);
+                       wprintf("</span>");
                }
 
                if (!strncasecmp(buf, "part=", 5)) {