--- smileys.module.dist 2006-03-06 22:28:27.000000000 -0800
+++ smileys.module 2006-03-16 21:54:05.852571003 -0800
@@ -87,9 +87,9 @@
$alt = str_replace('\\', '\\\\', check_plain($smiley->description));
foreach ($acronyms as $a) {
if ($smiley->standalone)
- $text = eregi_replace("([ ,\.\?!:\(\)\r\n\<\>])". preg_quote($a) ."([ ,\.\?!:\(\)\r\n\<\>])", "\\1
image) ."\" title=\"". $alt ."\" alt=\"". $alt ."\" />\\2", $text);
+ $text = ereg_replace("([ ,\.\?!:\(\)\r\n\<\>])". preg_quote($a) ."([ ,\.\?!:\(\)\r\n\<\>])", "\\1
image) ."\" title=\"". $alt ."\" alt=\"". $alt ."\" />\\2", $text);
else
- $text = eregi_replace(preg_quote($a), '
', $text);
+ $text = ereg_replace(preg_quote($a), '
', $text);
}
}
$text = substr($text, 1, -1);