function getChatEmoticon($name, $ext = "gif") { return sprintf('<img src="%s" alt="%s" title="%s" width="22" height="22" />', Template::image() . "emoticons/" . $name . "." . $this->_ext, $name, $name); }