summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/quickstart/protected/pages/Controls/Captcha.page2
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TCaptcha/Home.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Captcha.page b/demos/quickstart/protected/pages/Controls/Captcha.page
index a0af13e5..8a6e8a81 100644
--- a/demos/quickstart/protected/pages/Controls/Captcha.page
+++ b/demos/quickstart/protected/pages/Controls/Captcha.page
@@ -20,7 +20,7 @@ The validation of the token is related with two properties: <tt>TestLimit</tt> (
</p>
<p>
-To specify the appearance of the generated token image, set <tt>TokenImageTheme</tt> to be an integer between 0 and 31. You may try the following example to see how this value affects the generated token image. The size of the generated token image is determined by <tt>TokenFontSize</tt>. In particular, the image width is proportional to the font size. You may also set <tt>Width</tt> to scale the generated image to your desired size, but the scaled image may not look good. By setting <tt>ChangingTokenBackground</tt> to true, the image background of the token will be variating even though the token is the same during postbacks.
+To specify the appearance of the generated token image, set <tt>TokenImageTheme</tt> to be an integer between 0 and 63. You may try the following example to see how this value affects the generated token image. The size of the generated token image is determined by <tt>TokenFontSize</tt>. In particular, the image width is proportional to the font size. You may also set <tt>Width</tt> to scale the generated image to your desired size, but the scaled image may not look good. By setting <tt>ChangingTokenBackground</tt> to true, the image background of the token will be variating even though the token is the same during postbacks.
</p>
<p>
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TCaptcha/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TCaptcha/Home.php
index 4d54ce87..6965bbbd 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TCaptcha/Home.php
+++ b/demos/quickstart/protected/pages/Controls/Samples/TCaptcha/Home.php
@@ -6,7 +6,7 @@ class Home extends TPage
{
if(!$this->IsPostBack)
{
- $this->CaptchaList->DataSource=range(0,31);
+ $this->CaptchaList->DataSource=range(0,63);
$this->CaptchaList->dataBind();
}
}