(this page is translated by Google; We're working hard on a human translation)
Class TexyEmoticonModule
He is responsible for replacing emoticons for pictures. By default, the module is off, turn it permits syntax emoticon :
$texy ->allowed[ 'emoticon' ] = TRUE ; Configuration
| variable | type | default | description |
|---|---|---|---|
| $ Icons | array | table of all the emoticons and the corresponding images | |
| $ Class | string | NULL | CSS class |
| $ Root | string | root files on the Web | |
| $ FileRoot | string | Root files on disk |
If you set values for $root and $fileRoot , use of the module TexyImageModule . Default smilies list is as follows:
$icons = array (
':-)' => 'smile.gif' ,
':-(' => 'sad.gif' ,
';-)' => 'wink.gif' ,
':-D' => 'biggrin.gif' ,
'8-O' => 'eek.gif' ,
'8-)' => 'cool.gif' ,
':-?' => 'confused.gif' ,
':-x' => 'mad.gif' ,
':-P' => 'razz.gif' ,
':-|' => 'neutral.gif' ,
); You can modify the direct intervention in the field:
$texy ->emoticonModule->icons[ ':-)' ] = 'smile.png' ;
unset ( $texy ->emoticonModule->icons[ ':-P' ]); Last smiley character may be repeated, then the key. :-) accept a smiley through :-))) .





