[dev] patch for message part header style

Vilius Sumskas vilius at lnk.lt
Wed Sep 22 02:17:08 PDT 2004


Hello,

some MIME message parts' headers were not consistent (not dashed, different grey
color, etc.). This patch fixes it.

Though, I still don't understand why in some cases we are using formatStatusMsg
and in some cases header style is defined in getMessage method?

-- 
   Best Regards,

   Vilius Sumskas
   LNK TV system administrator
   mob.: +370 614 75713
   www.lnk.lt
-------------- next part --------------
Index: Contents.php
===================================================================
RCS file: /repository/framework/MIME/MIME/Contents.php,v
retrieving revision 1.120
diff -u -r1.120 Contents.php
--- Contents.php	10 Sep 2004 03:27:07 -0000	1.120
+++ Contents.php	22 Sep 2004 09:06:53 -0000
@@ -307,7 +307,7 @@
         $partDisplayed = false;
 
         if ($oneframe) {
-            $msg .= '<style type="text/css">.onefr {border: 1px solid #000000; background-color: lightgrey; padding: 1px}</style>' . "\n";
+            $msg .= '<style type="text/css">.onefr {padding: 1px; border: 1px dashed #00c; background-color: #eef; font-color: #006}</style>' . "\n";
         }
 
         foreach ($this->_parts as $key => $value) {


More information about the dev mailing list