RoxenCMS 5.4Web Developer ManualEmit Tags

   

<emit>
<emit ac-identities>
<emit ac-identity-data>
<emit ac-identity-extras>
<emit ac-permissions>
<emit ac-zones>
<emit atlas>
<emit authors>
<emit captcha>
<emit category>
<emit category-document>
<emit cimg>
<emit dir>
<emit dir>(SB)
<emit event>
<emit event-dates>
<emit event-locations>
<emit exec>
<emit fonts>
<emit imgs>
<emit js-dynamic-popup>
<emit js-hide-popup>
<emit languages>
<emit ldap>
<emit path>
<emit poll>
<emit sb-dir>
<emit sb-file-languages>
<emit sb-languages>
<emit sb-log>
<emit sb-referring-pages>
<emit sb-search>
<emit sb-stationeries>
<emit sb-wizard>
<emit search-database-profiles>
<emit scopes>
<emit site-news>
<emit sources>
<emit spellcheck>
<emit sql>
<emit timerange>
<emit values>
<emit workflow>
<emit ws-dir>
<emit xml-db>

<emit source="captcha"></emit>

Provided by module: Tags: Captcha

Prepares a captcha and emits needed parameters.
<emit source='captcha'> <img src='&_.url;' height='&_.image-height;' width='&_.image-width;'/> <form> <input type='text' name='response' /> <input type='hidden' name='secret' value='&_.secret;' /> </form> </emit>


Attributes

background-color="color"

Captcha background color. If none of the "background-color" or "background-image" attributes are specified, a default background image will be used.


background-image="path"

Captcha background image. It's recommended that the image is larger than the captcha. The image offset will be randomized then. If none of the "background-color" or "background-image" attributes are specified, a default background image will be used.


color="color" (white)

Captcha text color.


font="string"

Selects which font to use. You can get a list of all available fonts by using the list fonts task in the administration interface. You can optionally specify a font size too: font='yikes! 35'


&_.image-height; (provided by Tags: Captcha)

The captcha image's height.


&_.image-width; (provided by Tags: Captcha)

The captcha image's width.


&_.secret; (provided by Tags: Captcha)

Encrypted (hashed) secret that can be sent to clients and should be used together with the captcha response for verification.


&_.url; (provided by Tags: Captcha)

URL to the captcha image.