10 messages in net.sourceforge.lists.courier-sqwebmail[sqwebmail] [PATCH] Simpler changing ...
FromSent OnAttachments
Marcin SemeniukMay 23, 2006 1:02 am.patch
Brian CandlerMay 24, 2006 12:44 am 
Mark ConstableMay 24, 2006 3:14 am 
Pawel TeczaMay 24, 2006 7:29 am 
Brian CandlerMay 24, 2006 8:21 am 
Pawel TeczaMay 29, 2006 3:48 am 
Sam VarshavchikMay 29, 2006 6:19 am 
Brian CandlerMay 29, 2006 1:42 pm 
Pawel TeczaMay 29, 2006 11:15 pm 
Marcin SemeniukJun 13, 2006 1:28 am 
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] [PATCH] Simpler changing of textarea for singature editingActions...
From:Marcin Semeniuk (m.se@net.icm.edu.pl)
Date:May 23, 2006 1:02:19 am
List:net.sourceforge.lists.courier-sqwebmail
Attachments:

Hello Sam,

I made simple patch, that moves definiton of textarea for editing signature, from pref.c to preferences.html.

BTW, don't you think that using styles in *.c files is better than using
hardcoded attributes (for example font names, colors, etc.) ?

best regards, Marcin Semeniuk

--- webmail/html/en-us/preferences.html_ORG 2006-05-09 10:42:28.000000000 +0200 +++ webmail/html/en-us/preferences.html 2006-05-09 10:41:50.000000000 +0200 @@ -168,7 +168,10 @@ <br /> Your signature:

- <p>[#t#]</p> + <p><textarea style="font-family: courier;" + cols="40" rows="4" name="signature" + wrap="off">[#t#]</textarea> + </p> </td> <td width="100%"></td> </tr> --- webmail/pref.c_ORG 2006-05-09 10:44:21.000000000 +0200 +++ webmail/pref.c 2006-05-09 10:44:45.000000000 +0200 @@ -482,8 +482,6 @@ char buf[256]; int n;

- printf("<textarea style=\"font-family: courier;\" cols=\"40\" rows=\"4\"
name=\"signature\" wrap=\"off\">"); - if ((fp=fopen(SIGNATURE, "r")) != NULL) { while ((n=fread(buf, 1, sizeof(buf)-1, fp)) > 0) @@ -493,7 +581,6 @@ } fclose(fp); } - printf("</textarea>"); }