2 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] Hardcoded color for s...
FromSent OnAttachments
Pawel TeczaFeb 5, 2007 6:22 am.patch
Pawel TeczaFeb 12, 2007 6:39 am.patch
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [sqwebmail] Hardcoded color for subfolderlistunread and subfoldercnt classesActions...
From:Pawel Tecza (pte@uw.edu.pl)
Date:Feb 12, 2007 6:39:45 am
List:net.sourceforge.lists.courier-sqwebmail
Attachments:

"Pawel Tecza" <pte@uw.edu.pl> writes:

Hello Sam,

I can't change color for subfolderlistunread and subfoldercnt CSS classes at Folders page in my sqwebmail.css file, because it's hardcoded in webmail sources.

Please apply my attached patch to fix that. I've removed the hardcoded HTML attributes, because there are unnecessary now. You added them to sqwebmail.css file many months ago.

Hi Sam,

I've just found one another place with hardcoded styles for the same CSS classes. I'm attaching the patch to my message.

My best regards,

Pawel

Index: webmail/folder.c =================================================================== RCS file: /cvsroot/courier/courier/webmail/folder.c,v retrieving revision 1.173 diff -u -r1.173 folder.c --- webmail/folder.c 10 Feb 2007 03:15:15 -0000 1.173 +++ webmail/folder.c 12 Feb 2007 14:32:55 -0000 @@ -4350,15 +4350,15 @@ printf("</a>"); if (nnew) { - printf(" <font class=\"folderlistunread\" style=\"color: #800000\"
size=\"-1\">"); + printf(" <span class=\"folderlistunread\">"); printf(unread_label, nnew); - printf("</font>"); + printf("</span>"); } printf("</td><td align=\"right\" valign=\"top\">");

if (!isunsubscribed) { - printf("<span class=\"foldercnt\" style=\"color:
#000000\">%d</span>&nbsp;&nbsp;", + printf("<span class=\"foldercnt\">%d</span>&nbsp;&nbsp;", nnew + nother); } else