I'd like to edit the Emoticate Event Plugin.
I want to use more emoticons than it makes sense to display on the comments form. What I would like to do is only show 10 emoticons and then a wider selection via a popup link.
Now, I know how to insert a target=blank link but I seem to not be able to figure out how to do that in the php script. This is how it looks now:
Code: Select all
if (!isset($this->smilies)) {
$ext = $this->get_config('extension', 'gif');
$this->smilies = array(
"\\*excited\\*" => serendipity_getTemplateFile('img/emoticons/excited.'.$ext),
"\\*angry\\*" => serendipity_getTemplateFile('img/emoticons/angry.'.$ext),
"\\*faint\\*" => serendipity_getTemplateFile('img/emoticons/faint.'.$ext),
"\\*fear\\*" => serendipity_getTemplateFile('img/emoticons/fear.'.$ext),
"\\*happy\\*" => serendipity_getTemplateFile('img/emoticons/happy.'.$ext),
"\\*love\\*" => serendipity_getTemplateFile('img/emoticons/love.'.$ext),
"\\*sad\\*" => serendipity_getTemplateFile('img/emoticons/sad.'.$ext),
"\\*shock\\*" => serendipity_getTemplateFile('img/emoticons/shock.'.$ext),
);
}
~eni