Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

display_html

This function will display the HTML buttons used various places in the system and let you use it in your Addons.
All input will be XHML valid.

display_html

Quote

display_html ( string $formname , string $textarea [ , bool $html [ , bool $colours [ , bool $images [ , string $folder ] ] ] ] )


Parameters
formname
The name of the form you are using the HTML buttons for

textarea
The name of the textarea which html will be inserted to.

html
Setting this to true will display the HTML buttons, set this to false to prevent them from displaying. Default is true.

colour
Setting this to true will display the HTML colours, set this to false to prevent them from displaying. Default is true.

images
Setting this to true will display the HTML images, set this to false to prevent them from displaying. Default is true.

folder
If you have $images set to true, use this to define what image folder you want to get images from.

Return Values
This will return a set of buttons with XHTML code.

Changelog
7.00.00 - XHTML valid code inserted

Notes
Consider using BBCode in stead of HTML if you can.


See also …


References