rc1 -> cvs (for consistancy [did I spell that right?])
[squirrelmail.git] / functions / strings.php
index 4dea476e28fa63855e19343f7bb77f970524e01d..dcef5bd0c11200de57a3626f18b4b0f020335fd8 100644 (file)
 
    function translateText(&$body, $wrap_at, $charset) {
       global $where, $what; // from searching
+      global $color; // color theme
 
       include '../functions/url_parser.php';
       
              }
          }
          
-         if ($Quotes > 1)
-            $line = '<FONT COLOR="FF0000">'.$line.'</FONT>';
-         elseif ($Quotes)
-            $line = '<FONT COLOR="800000">'.$line.'</FONT>';
+         if ($Quotes > 1) {
+           if (! isset($color[14]))
+              $color[14] = '#FF0000';
+            $line = '<FONT COLOR="' . $color[14] . '">' . $line . '</FONT>';
+        } elseif ($Quotes) {
+           if (! isset($color[13]))
+              $color[13] = '#800000';
+            $line = '<FONT COLOR="' . $color[13] . '">' . $line . '</FONT>';
+        }
 
          $body_ary[$i] = $line;
       }
 
    /* SquirrelMail version number -- DO NOT CHANGE */
    global $version;
-   $version = '1.1.1 [cvs]';
+   $version = '1.2.0 [cvs]';
 
 
    function find_mailbox_name ($mailbox) {