Revision 675
Added by thorn almost 17 years ago
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'); ?> = </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> = </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
Changed maxlength of captcha-fields - don't tell the bots how many chars we want to have.