1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-11 21:15:09 +02:00

charset and badchars

This commit is contained in:
marj
2009-11-12 14:37:13 +00:00
parent 806d025085
commit 8961f87175
15 changed files with 194 additions and 226 deletions

View File

@@ -13,7 +13,7 @@ if($pref['make_clickable'])
else
{
list($p1,$p2) = explode("@",$code_text);
$email_text = (CHARSET != "utf-8" && CHARSET != "UTF-8") ? $p1."&copy;".$p2 : $p1."<EFBFBD>".$p2;
$email_text = (CHARSET != "utf-8" && CHARSET != "UTF-8") ? $p1."&copy;".$p2 : $p1."©".$p2;
return "<a rel='external' href='javascript:window.location=\"mai\"+\"lto:\"+\"".$p1."\"+\"@\"+\"".$p2."\";self.close();' onmouseover='window.status=\"mai\"+\"lto:\"+\"".$p1."\"+\"@\"+\"".$p2."\"; return true;' onmouseout='window.status=\"\";return true;'>".$email_text."</a>";
}
}