Author: michiel
Date: 2010-02-09 10:28:42 +0100 (Tue, 09 Feb 2010)
New Revision: 40919
Modified:
mmbase/branches/MMBase-1_9/applications/resources/src/main/resources/META-INF/tags/mm/resources/captcha.tagx
Log:
descriptions
Modified:
mmbase/branches/MMBase-1_9/applications/resources/src/main/resources/META-INF/tags/mm/resources/captcha.tagx
===================================================================
---
mmbase/branches/MMBase-1_9/applications/resources/src/main/resources/META-INF/tags/mm/resources/captcha.tagx
2010-02-09 09:18:23 UTC (rev 40918)
+++
mmbase/branches/MMBase-1_9/applications/resources/src/main/resources/META-INF/tags/mm/resources/captcha.tagx
2010-02-09 09:28:42 UTC (rev 40919)
@@ -3,26 +3,39 @@
xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0"
xmlns:jsp="http://java.sun.com/JSP/Page"
version="2.0">
- <jsp:directive.tag import="java.io.*,java.util.*,org.mmbase.datatypes.*" />
+ <jsp:directive.tag import="java.io.*,java.util.*,org.mmbase.datatypes.*"
+ description="Image based implementation of Turing test
('captcha')"
+ />
- <!-- Length of key to produce. The generated key will be stored in the
session attribute
- 'captchakey'
- The location of the generated image is in 'captchafilename'.
+
-->
- <jsp:directive.attribute name="length" type="java.lang.Integer" />
+ <jsp:directive.attribute name="length" type="java.lang.Integer"
+ description="Length of key to produce. The
generated key will be stored in the session attribute 'captchakey'
+ The location of the generated image is
in 'captchafilename'."
+ />
- <jsp:directive.attribute name="swirl" type="java.lang.Integer" />
+ <jsp:directive.attribute name="swirl" type="java.lang.Integer"
+ description="How much the image must be distorted.
0 is no distortion. Default is 30."
+ />
- <!-- If template attribute is used, current node is an image, and temlate is
used to generate the
- background of the captcha image. Defaults to a white back-ground. -->
- <jsp:directive.attribute name="template" type="java.lang.String" />
- <!-- When using template attribute, you may want to specifiy the fill color
to. Defaults to black -->
- <jsp:directive.attribute name="fill" type="java.lang.String" />
+ <jsp:directive.attribute name="template" type="java.lang.String"
+ description="If template attribute is used, current
node is an image, and temlate is used to generate the
+ background of the captcha image.
Defaults to a white back-ground. See also 'background' attribute."
+ />
- <jsp:directive.attribute name="background" type="java.lang.String" />
- <jsp:directive.attribute name="font" type="java.lang.String" />
+ <jsp:directive.attribute name="fill" type="java.lang.String"
+ description="When using template attribute, you may
want to specifiy the fill color to. Defaults to black."
+ />
+
+ <jsp:directive.attribute name="background" type="java.lang.String"
+ description="Background color to be used. Defaults
to white. Use 'transparent' for a transparent image."
+ />
+ <jsp:directive.attribute name="font" type="java.lang.String"
+ description="Font file to use to produce the text.
E.g. mm:fonts/arial.ttf (mm: is mean 'mmbase configuration directory')"
+ />
+
<!-- If the key is stated explicitely, no new key is generated, but this
given one is shown. -->
<jsp:directive.attribute name="key" type="java.lang.String" />
<jsp:scriptlet>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs