1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

Merge pull request #312 from BillyBoy0823/master

Closes #311 Fix Emote Spacing
This commit is contained in:
Cameron
2013-05-16 12:35:03 -07:00

View File

@@ -36,6 +36,7 @@ function r_emote()
$value2 = substr($value, 0, strpos($value, " "));
$value = ($value2 ? $value2 : $value);
$value = ($value == '&|') ? ':((' : $value;
$value = " ".$value." ";
//TODO CSS class
$str .= "\n<a href=\"javascript:addtext('$value',true)\"><img src='$key' alt='' /></a> ";
}