docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 6.1Web Developer ManualEmit Tags
Copyright  2018, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com



<emit>
<emit atlas>
<emit captcha>
<emit cimg>
<emit dir>
<emit exec>
<emit fonts>
<emit imgs>
<emit js-dynamic-popup>
<emit js-hide-popup>
<emit languages>
<emit ldap>
<emit path>
<emit scopes>
<emit sources>
<emit spellcheck>
<emit sql>
<emit timerange>
<emit values>
<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.