Project

General

Profile

« Previous | Next » 

Revision 690

Added by thorn almost 17 years ago

CAPTCHA: Wrong text for calc_ttf-captcha.

View differences:

trunk/CHANGELOG
10 10
# = Bugfix
11 11
! = Update/Change
12 12

  
13
------------------------------------- 2.7.0 -------------------------------------
13
------------------------------------- 2.7.0 -------------------------------------
14
10-Feb-2008 Thomas Hornik
15
#	CAPTCHA: Wrong text for calc_ttf-captcha. 
14 16
10-Feb-2008 Christian Sommer
15 17
!	added highlighting of active input elements to all WB backend areas; changed some colors
16 18
!	removed hover highlighting of input fields to avoid possible confusion
trunk/wb/include/captcha/captcha.php
88 88
			// one special case
89 89
			case 'text': // text-captcha
90 90
				?><table class="captcha_table"><tr>
91
				<td class="text_captcha"><?php include(WB_PATH.'/include/captcha/captchas/text.php'); ?></td>
91
				<td class="text_captcha"><?php include(WB_PATH.'/include/captcha/captchas/'.CAPTCHA_TYPE.'.php'); ?></td>
92 92
				<td><input type="text" name="captcha" maxlength="50"  style="width:150px" /></td>
93 93
				<td class="captcha_expl"><?php echo $MOD_CAPTCHA['VERIFICATION_INFO_QUEST']; ?></td>
94 94
				</tr></table><?php
......
96 96
			// two special cases
97 97
			case 'calc_text': // calculation as text
98 98
				?><table class="captcha_table"><tr>
99
				<td class="text_captcha"><?php include(WB_PATH.'/include/captcha/captchas/calc_text.php'); ?>&nbsp;=&nbsp;</td>
99
				<td class="text_captcha"><?php include(WB_PATH.'/include/captcha/captchas/'.CAPTCHA_TYPE.'.php'); ?>&nbsp;=&nbsp;</td>
100 100
				<td><input type="text" name="captcha" maxlength="10"  style="width:20px" /></td>
101 101
				<td class="captcha_expl"><?php echo $MOD_CAPTCHA['VERIFICATION_INFO_RES']; ?></td>
102 102
				</tr></table><?php
103 103
				break;
104 104
			case 'calc_image': // calculation with image (old captcha)
105
			case 'calc_ttf_image': // calculation with varying background and ttf-font
105 106
				?><table class="captcha_table"><tr>
106
				<td class="image_captcha"><img src="<?php echo WB_URL."/include/captcha/captchas/calc_image.php?t=$t"; ?>" alt="Captcha" /></td><td>&nbsp;=&nbsp;</td>
107
				<td class="image_captcha"><img src="<?php echo WB_URL.'/include/captcha/captchas/'.CAPTCHA_TYPE.".php?t=$t"; ?>" alt="Captcha" /></td><td>&nbsp;=&nbsp;</td>
107 108
				<td><input type="text" name="captcha" maxlength="10" style="width:20px" /></td>
108 109
				<td class="captcha_expl"><?php echo $MOD_CAPTCHA['VERIFICATION_INFO_RES']; ?></td>
109 110
				</tr></table><?php
110 111
				break;
111 112
			// normal images
112 113
			case 'ttf_image': // captcha with varying background and ttf-font
113
			case 'calc_ttf_image': // calculation with varying background and ttf-font
114 114
			case 'old_image': // old captcha
115 115
				?><table class="captcha_table"><tr>
116 116
				<td class="image_captcha"><img src="<?php echo WB_URL.'/include/captcha/captchas/'.CAPTCHA_TYPE.".php?t=$t"; ?>" alt="Captcha" /></td>

Also available in: Unified diff