Revision 690
Added by thorn almost 17 years ago
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'); ?> = </td>
|
|
99 |
<td class="text_captcha"><?php include(WB_PATH.'/include/captcha/captchas/'.CAPTCHA_TYPE.'.php'); ?> = </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> = </td>
|
|
107 |
<td class="image_captcha"><img src="<?php echo WB_URL.'/include/captcha/captchas/'.CAPTCHA_TYPE.".php?t=$t"; ?>" alt="Captcha" /></td><td> = </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
CAPTCHA: Wrong text for calc_ttf-captcha.