This method mirrors the code found in the original smiley_text() so it should work the same way. However, since I wrote this code smiley_text() has been modified and uses a new $phpbb_path_helper object but I haven't mirrored those changes. See the [RFC topic](http://area51.phpbb.com/phpBB/viewtopic.php?f=108&t=44467) for discussion.