mirror of
https://github.com/moodle/moodle.git
synced 2025-04-18 23:15:38 +02:00
Added :) smileys as well.
This commit is contained in:
parent
c4bb2bd0ee
commit
daa52dac8c
@ -282,6 +282,7 @@ function text_to_html($text) {
|
||||
|
||||
// Turn smileys into images.
|
||||
|
||||
$text = ereg_replace(":)", "<IMG ALT=smile SRC=$CFG->wwwroot/pix/s/smiley.gif>", $text);
|
||||
$text = ereg_replace(":-)", "<IMG ALT=smile SRC=$CFG->wwwroot/pix/s/smiley.gif>", $text);
|
||||
$text = ereg_replace(":-D", "<IMG ALT=grin SRC=$CFG->wwwroot/pix/s/biggrin.gif>", $text);
|
||||
$text = ereg_replace(";-)", "<IMG ALT=wink SRC=$CFG->wwwroot/pix/s/wink.gif>", $text);
|
||||
|
Loading…
x
Reference in New Issue
Block a user