1 message in net.sourceforge.lists.courier-sqwebmail[sqwebmail] Unlinked DISPATT/DOWNATT ...
FromSent OnAttachments
Pawel TeczaApr 27, 2006 8:07 am.diff
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:[sqwebmail] Unlinked DISPATT/DOWNATT in preview modeActions...
From:Pawel Tecza (p.te@net.icm.edu.pl)
Date:Apr 27, 2006 8:07:05 am
List:net.sourceforge.lists.courier-sqwebmail
Attachments:

Hi! :D

I've noticed that the Sqwebmail displays unliked DISPATT/DOWNATT in preview mode. It's probably a tiny bug, not a feature. If so, my patch fixes it hiding DISPATT/DOWNATT in that mode.

Regards,

Pawel Tecza

--- courier-0.53.1/webmail/folder.c-orig 2006-04-27 16:15:04.000000000 +0200 +++ courier-0.53.1/webmail/folder.c 2006-04-27 16:26:07.000000000 +0200 @@ -2259,20 +2259,14 @@ printf("<a href=\""); output_mimeurl(id, "fetch"); printf("\" style=\"text-decoration: none\" target=\"_blank\">"); - } - - printf("%s%s&nbsp;/&nbsp;", getarg("DISPATT"), - is_preview_mode() ? "":"</a>"); - - if (!is_preview_mode()) - { + printf("%s</a>&nbsp;/&nbsp;", getarg("DISPATT")); printf("<a href=\""); output_mimeurl(id, "fetch"); printf("&amp;download=1\" style=\"text-decoration: none\">"); + printf("%s</a>", getarg("DOWNATT")); }

- printf("%s%s</div>\n", getarg("DOWNATT"), - is_preview_mode() ? "":"</a>"); + printf("</div>\n"); }

printf("</td></tr></table>\n");