git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@732
7612ce4b-ef26-0410-bec9-
ea0150e637f0
$languages["it"]["CHARSET"] = "iso-8859-1";
$languages["cs"]["NAME"] = "Czech";
$languages["cs"]["CHARSET"] = "iso-8859-2";
+ $languages["es"]["NAME"] = "Spanish";
+ $languages["es"]["CHARSET"] = "iso-8859-1";
// Decodes a string to the internal encoding from the given charset
function charset_decode ($charset, $string) {
$body = eregi_replace ("([a-z]|[0-9]|_|\.|-)+\@([a-z]|[0-9]|_|-)+(\.([a-z]|[0-9]|_|-)+)*", "<a href=\"../src/compose.php?send_to=\\0\">\\0</a>", $body);
}
*/
- $body = eregi_replace ("([a-z]|[0-9]|_|\.|-)+\@([a-z]|[0-9]|_|-)+\.(\.|[a-z]|[0-9]|_|-)+", "<a href=\"../src/compose.php?send_to=\\0\">\\0</a>", $body);
+ $body = eregi_replace ("([a-z]|[0-9]|_|\.|-)+\@([a-z]|[0-9]|_|-)+(\.([a-z]|[A-Z])|[a-z]|[0-9]|_|-)+", "<a href=\"../src/compose.php?send_to=\\0\">\\0</a>", $body);
return $body;
}