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:
@@ -13,7 +13,7 @@ if($pref['make_clickable'])
|
||||
else
|
||||
{
|
||||
list($p1,$p2) = explode("@",$code_text);
|
||||
$email_text = (CHARSET != "utf-8" && CHARSET != "UTF-8") ? $p1."©".$p2 : $p1."<EFBFBD>".$p2;
|
||||
$email_text = (CHARSET != "utf-8" && CHARSET != "UTF-8") ? $p1."©".$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>";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user