From daa52dac8c36d283f6f5dfae01e0cc47bf0d8f68 Mon Sep 17 00:00:00 2001 From: martin Date: Fri, 12 Apr 2002 13:20:50 +0000 Subject: [PATCH] Added :) smileys as well. --- lib/weblib.php | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.5