added url parsing stuff
[squirrelmail.git] / functions / strings.php
index 44f1d12265a22808a31384c9bc5d3c844a2eabd4..44158c56ccf1c3562a0f49fe3ba26aee6244f22d 100644 (file)
@@ -92,6 +92,7 @@
    }
 
    function translateText($body, $wrap_at, $charset) {
+      include ("../functions/url_parser.php");
       /** Add any parsing you want to in here */
       $body = trim($body);
       $body_ary = explode("\n", $body);
             $line = "<TT><FONT COLOR=000000>$line</FONT></TT><BR>\n";
          }
 
+         $line = parseUrl ($line);
          $new_body[$i] = "$line";
       }
       $bdy = implode("\n", $new_body);