$Id$
+Mon Nov 21 22:47:17 EST 2005 ajc
+* messages.c, webcit.css: message buttons (Reply, ReplyQuoted, etc.) are now
+ in a smaller font (new style "msgbuttons" defined in the stylesheet)
+* Reply and ReplyQuoted no longer generate an empty "Re:" subject if the
+ message being replied to has no subject.
+
Mon Nov 21 22:30:31 EST 2005 ajc
* create-pot.sh: now creates a new webcit.pot file and automatically merges
it into all *.po files, allowing an easy way for translators to access
/* start msg buttons */
if (!printable_view) {
- wprintf("<td align=right>\n");
+ wprintf("<td align=right><span class=\"msgbuttons\">\n");
/* Reply */
if ( (WC->wc_view == VIEW_MAILBOX) || (WC->wc_view == VIEW_BBS) ) {
}
wprintf("?recp=");
urlescputs(reply_to);
- wprintf("?subject=");
- if (strncasecmp(m_subject, "Re:", 3)) wprintf("Re:%20");
- urlescputs(m_subject);
+ if (strlen(m_subject) > 0) {
+ wprintf("?subject=");
+ if (strncasecmp(m_subject, "Re:", 3)) wprintf("Re:%20");
+ urlescputs(m_subject);
+ }
wprintf("\">[%s]</a> ", _("Reply"));
}
wprintf("?replyquote=%ld", msgnum);
wprintf("?recp=");
urlescputs(reply_to);
- wprintf("?subject=");
- if (strncasecmp(m_subject, "Re:", 3)) wprintf("Re:%20");
- urlescputs(m_subject);
+ if (strlen(m_subject) > 0) {
+ wprintf("?subject=");
+ if (strncasecmp(m_subject, "Re:", 3)) wprintf("Re:%20");
+ urlescputs(m_subject);
+ }
wprintf("\">[%s]</a> ", _("ReplyQuoted"));
}
}
wprintf("<a href=\"#\" onClick=\"window.open('printmsg/%ld', 'print%ld', 'toolbar=no,location=no,directories=no,copyhistory=no,status=yes,scrollbars=yes,resizable=yes,width=600,height=400'); \" >"
"[%s]</a>", msgnum, msgnum, _("Print"));
- wprintf("</td>");
+ wprintf("</span></td>");
}
wprintf("</TR></TABLE>\n");