Project

General

Profile

« Previous | Next » 

Revision 675

Added by thorn almost 17 years ago

Changed maxlength of captcha-fields - don't tell the bots how many chars we want to have.

View differences:

trunk/CHANGELOG
16 16
08-Feb-2008 Christian Sommer
17 17
-	Removed admin module mail_filter
18 18
+	Added revised version of the output filter module
19
08-Feb-2008 Thomas Hornik
19
08-Feb-2008 Thomas Hornik
20
!	Changed maxlength of captcha-fields - don't tell the bots how many chars we want to have.
20 21
-	Removed unused function is_access_denied() from search
21 22
04-Feb-2008 Thomas Hornik
22 23
!	email-addresses are excluded from search-results page.
trunk/wb/include/captcha/captcha.php
97 97
			case 'calc_text': // calculation as text
98 98
				?><table class="captcha_table"><tr>
99 99
				<td class="text_captcha"><?php include(WB_PATH.'/include/captcha/captchas/calc_text.php'); ?>&nbsp;=&nbsp;</td>
100
				<td><input type="text" name="captcha" maxlength="5"  style="width:20px" /></td>
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 105
				?><table class="captcha_table"><tr>
106 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><input type="text" name="captcha" maxlength="5" style="width:20px" /></td>
107
				<td><input type="text" name="captcha" maxlength="10" style="width:20px" /></td>
108 108
				<td class="captcha_expl"><?php echo $MOD_CAPTCHA['VERIFICATION_INFO_RES']; ?></td>
109 109
				</tr></table><?php
110 110
				break;
......
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>
117
				<td><input type="text" name="captcha" maxlength="5" style="width:50px" /></td>
117
				<td><input type="text" name="captcha" maxlength="10" style="width:50px" /></td>
118 118
				<td class="captcha_expl"><?php echo $MOD_CAPTCHA['VERIFICATION_INFO_TEXT']; ?></td>
119 119
				</tr></table><?php
120 120
				break;

Also available in: Unified diff