just in time for valentines day - heart smiley <3

This commit is contained in:
Friendika 2011-02-13 17:24:42 -08:00
parent e32cda6542
commit ce8c6dfaf7
2 changed files with 2 additions and 1 deletions

View file

@ -1978,8 +1978,9 @@ function smilies($s) {
$a = get_app();
return str_replace(
array( ':-)', ';-)', ':-(', ':(', ':-P', ':-"', ':-x', ':-X', ':-D', '8-|', '8-O'),
array( '&lt;3', ':-)', ';-)', ':-(', ':(', ':-P', ':-"', ':-x', ':-X', ':-D', '8-|', '8-O'),
array(
'<img src="' . $a->get_baseurl() . '/images/smiley-heart.gif" alt="<3" />',
'<img src="' . $a->get_baseurl() . '/images/smiley-smile.gif" alt=":-)" />',
'<img src="' . $a->get_baseurl() . '/images/smiley-wink.gif" alt=";-)" />',
'<img src="' . $a->get_baseurl() . '/images/smiley-frown.gif" alt=":-(" />',

BIN
images/smiley-heart.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B