roundcubemail/plugins/emoticons/emoticons.php
function html_editor($args)
    {
        $rcube = rcube::get_instance();

        $this->load_config();

        if ($rcube->config->get('emoticons_compose', true)) {
            $args['extra_plugins'][] = 'emoticons';
            $args['extra_buttons'][] = 'emoticons';
        }

        return $args;
    }
function html_editor($args)
    {
        $rcube = rcube::get_instance();

        $this->load_config();

        if ($rcube->config->get('emoticons_compose', true)) {
            $args['extra_plugins'][] = 'emoticons';
            $args['extra_buttons'][] = 'emoticons';
        }

        return $args;
    }
function html_editor ( $ args ) { $ rcube = rcube :: get_instance ( ) ; $ this -> load_config ( ) ; if ( $ rcube -> config -> get ( 'emoticons_compose' , true ) ) { $ args [ 'extra_plugins' ] [ ] = 'emoticons' ; $ args [ 'extra_buttons' ] [ ] = 'emoticons' ; } return $ args ; }
'html_editor' hook handler, where we enable emoticons in TinyMCE
html_editor hook handler where we enable emoticons in TinyMCE