From 62d6692087c5d5e201757bf2a1ef3350ac5fecb7 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 2 Nov 2005 20:59:38 +0000 Subject: [PATCH] * Switched the mailbox summary back to a table. This is tabular data and it ought to be marked up as a table. We went to fixed width floating div's in order to use script.aculo.us 'draggable' but dragging the entire row ended up looking like crap, and it didn't appear that we would be able to drag outside the source div anyway. So we're going back to the table. --- webcit/ChangeLog | 7 +++++++ webcit/messages.c | 37 +++++++++++++++++-------------------- 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 541acc258..b22144bbd 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,5 +1,12 @@ $Id$ +Wed Nov 2 15:57:37 EST 2005 ajc +* Switched the mailbox summary back to a table. This is tabular data and it + ought to be marked up as a table. We went to fixed width floating div's in + order to use script.aculo.us 'draggable' but dragging the entire row ended + up looking like crap, and it didn't appear that we would be able to drag + outside the source div anyway. So we're going back to the table. + Wed Nov 2 15:07:21 EST 2005 ajc * "Read reverse" (or rather, an "oldest to newest / newest to oldest" setting) is now selectable in the message board view. diff --git a/webcit/messages.c b/webcit/messages.c index fef98dca3..f887b640f 100644 --- a/webcit/messages.c +++ b/webcit/messages.c @@ -1337,34 +1337,32 @@ ENDBODY: void display_summarized(int num) { char datebuf[64]; - wprintf("", WC->summ[num].msgnum, (WC->summ[num].is_new ? "bold" : "normal"), WC->summ[num].msgnum ); - wprintf(""); + wprintf(""); escputs(WC->summ[num].subj); - wprintf(""); + wprintf(""); - wprintf(""); + wprintf(""); escputs(WC->summ[num].from); - wprintf(""); + wprintf(""); - wprintf(""); + wprintf(""); fmt_date(datebuf, WC->summ[num].date, 1); /* brief */ escputs(datebuf); - wprintf(""); + wprintf(""); - wprintf(""); - wprintf("", + wprintf("", WC->summ[num].msgnum ); - wprintf(""); + wprintf(""); - wprintf("\n"); + wprintf("\n"); } @@ -2022,13 +2020,12 @@ void readloop(char *oper) "method=\"POST\" action=\"/do_stuff_to_msgs\">\n" "" - "
" - "%s %s" - "%s %s" - "%s %s" - "" - "" - "
\n" + "" + "" + "" + "" + "" + "\n" , _("Subject"), subjsort_button, _("Sender"), sendsort_button, @@ -2090,7 +2087,7 @@ void readloop(char *oper) } if (is_summary) { - wprintf("" + wprintf("
%s %s%s %s%s %s
" "\n"); /* end of 'fix_scrollbar_bug' div */ wprintf(""); /* end of 'message_list' div */ -- 2.39.2