Revision 1438
Added by DarkViper over 14 years ago
| captcha.php | ||
|---|---|---|
| 136 | 136 |
if($action=='all') {
|
| 137 | 137 |
switch(CAPTCHA_TYPE) {
|
| 138 | 138 |
case 'text': // text-captcha |
| 139 |
?><table class="captcha_table"><tr> |
|
| 139 |
?><table class="captcha_table" summary="captcha control"><tr>
|
|
| 140 | 140 |
<td class="text_captcha"> |
| 141 | 141 |
<?php include(WB_PATH.'/include/captcha/captchas/'.CAPTCHA_TYPE.'.php'); ?> |
| 142 | 142 |
</td> |
| ... | ... | |
| 146 | 146 |
</tr></table><?php |
| 147 | 147 |
break; |
| 148 | 148 |
case 'calc_text': // calculation as text |
| 149 |
?><table class="captcha_table"><tr> |
|
| 149 |
?><table class="captcha_table" summary="captcha control"><tr>
|
|
| 150 | 150 |
<td class="text_captcha"> |
| 151 | 151 |
<?php include(WB_PATH.'/include/captcha/captchas/'.CAPTCHA_TYPE.'.php'); ?> |
| 152 | 152 |
</td> |
| ... | ... | |
| 157 | 157 |
break; |
| 158 | 158 |
case 'calc_image': // calculation with image (old captcha) |
| 159 | 159 |
case 'calc_ttf_image': // calculation with varying background and ttf-font |
| 160 |
?><table class="captcha_table"><tr> |
|
| 160 |
?><table class="captcha_table" summary="captcha control"><tr>
|
|
| 161 | 161 |
<td class="image_captcha"> |
| 162 | 162 |
<?php echo "<iframe class=\"captcha_iframe\" width=\"$captcha_width\" height=\"$captcha_height\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" frameborder=\"0\" name=\"captcha_iframe_$sec_id\" src=\"". WB_URL ."/include/captcha/captcha.php?display_captcha_X986E21=1&s=$sec_id"; ?>"> |
| 163 | 163 |
<img src="<?php echo WB_URL.'/include/captcha/captchas/'.CAPTCHA_TYPE.".php?t=$t&s=$sec_id"; ?>" alt="Captcha" /> |
| ... | ... | |
| 171 | 171 |
// normal images |
| 172 | 172 |
case 'ttf_image': // captcha with varying background and ttf-font |
| 173 | 173 |
case 'old_image': // old captcha |
| 174 |
?><table class="captcha_table"><tr> |
|
| 174 |
?><table class="captcha_table" summary="captcha control"><tr>
|
|
| 175 | 175 |
<td class="image_captcha"> |
| 176 | 176 |
<?php echo "<iframe class=\"captcha_iframe\" width=\"$captcha_width\" height=\"$captcha_height\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" frameborder=\"0\" name=\"captcha_iframe_$sec_id\" src=\"". WB_URL ."/include/captcha/captcha.php?display_captcha_X986E21=1&s=$sec_id"; ?>"> |
| 177 | 177 |
<img src="<?php echo WB_URL.'/include/captcha/captchas/'.CAPTCHA_TYPE.".php?t=$t&s=$sec_id"; ?>" alt="Captcha" /> |
Also available in: Unified diff
little fixes for xhtml-validity in '/include/captcha/captcha.php'