From 827821796cc29b5eebb89e3ec375c7e8e9420418 Mon Sep 17 00:00:00 2001 From: xue <> Date: Thu, 30 Aug 2007 16:18:16 +0000 Subject: Added text shadow option. --- demos/quickstart/protected/pages/Controls/Captcha.page | 2 +- demos/quickstart/protected/pages/Controls/Samples/TCaptcha/Home.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'demos') 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: TestLimit (

-To specify the appearance of the generated token image, set TokenImageTheme 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 TokenFontSize. In particular, the image width is proportional to the font size. You may also set Width to scale the generated image to your desired size, but the scaled image may not look good. By setting ChangingTokenBackground 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 TokenImageTheme 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 TokenFontSize. In particular, the image width is proportional to the font size. You may also set Width to scale the generated image to your desired size, but the scaled image may not look good. By setting ChangingTokenBackground to true, the image background of the token will be variating even though the token is the same during postbacks.

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(); } } -- cgit v1.2.3