Home « Server software «
Documentation: smileys/smileys.php
class Smileys - The library of smileys
Smileys are these little icons that we are using to briefly report on our feeling.To add a new smiley on this system, you will have:
- to prepare a new icon file
- to name it
- to update smileys.php to bind the name to the file
- to update the page below to show it working
This script is a reference file of this system.
Voir aussi:
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com
- GnapZ
- Lucrecius
Testeurs:
- Agnes
parse_match() - Called from within a preg_replace_callback() in Smileys::render_smileys()
function parse_match($matches)
- $matches -
render_smileys() - Transform some text to load related images
function render_smileys($text)
- $text - string the input text
- returns the tansformed text