From: martin Date: Fri, 12 Apr 2002 13:20:50 +0000 (+0000) Subject: Added :) smileys as well. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=daa52dac8c36d283f6f5dfae01e0cc47bf0d8f68;p=moodle.git Added :) smileys as well. --- diff --git a/lib/weblib.php b/lib/weblib.php index 56590eb25b..eb0904483a 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -282,6 +282,7 @@ function text_to_html($text) { // Turn smileys into images. + $text = ereg_replace(":)", "smilewwwroot/pix/s/smiley.gif>", $text); $text = ereg_replace(":-)", "smilewwwroot/pix/s/smiley.gif>", $text); $text = ereg_replace(":-D", "grinwwwroot/pix/s/biggrin.gif>", $text); $text = ereg_replace(";-)", "winkwwwroot/pix/s/wink.gif>", $text);