$text = str_replace(" ", "", $text);
$text = str_replace(",", ";", $text);
$array = explode(";", $text);
+ for ($i = 0; $i < count ($array); $i++) {
+ $array[$i] = eregi_replace ("^.*\<", "", $array[$i]);
+ $array[$i] = eregi_replace ("\>.*$", "", $array[$i]);
+ }
return $array;
}
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);
for ($i = 0; $i < count($body_ary); $i++) {
}
/* SquirrelMail version number -- DO NOT CHANGE */
- $version = "0.4pre1";
+ $version = "0.4pre2";
function find_mailbox_name ($mailbox) {