Revision 676
Added by thorn over 17 years ago
| trunk/CHANGELOG | ||
|---|---|---|
| 17 | 17 |
- Removed admin module mail_filter |
| 18 | 18 |
+ Added revised version of the output filter module |
| 19 | 19 |
08-Feb-2008 Thomas Hornik |
| 20 |
! module news: set focus on captcha-field if user have to re-enter captcha |
|
| 20 | 21 |
! Changed maxlength of captcha-fields - don't tell the bots how many chars we want to have. |
| 21 | 22 |
- Removed unused function is_access_denied() from search |
| 22 | 23 |
04-Feb-2008 Thomas Hornik |
| trunk/wb/modules/news/comment_page.php | ||
|---|---|---|
| 79 | 79 |
<?php |
| 80 | 80 |
if(isset($_SESSION['captcha_error'])) {
|
| 81 | 81 |
echo '<font color="#FF0000">'.$_SESSION['captcha_error'].'</font><br />'; |
| 82 |
unset($_SESSION['captcha_error']); |
|
| 83 | 82 |
$_SESSION['captcha_retry_news'] = true; |
| 84 | 83 |
} |
| 85 | 84 |
// Captcha |
| ... | ... | |
| 92 | 91 |
</tr></table> |
| 93 | 92 |
<br /> |
| 94 | 93 |
<?php |
| 94 |
if(isset($_SESSION['captcha_error'])) {
|
|
| 95 |
unset($_SESSION['captcha_error']); |
|
| 96 |
?><script>document.comment.captcha.focus();</script><?php |
|
| 97 |
}?> |
|
| 98 |
<?php |
|
| 95 | 99 |
} |
| 96 | 100 |
?> |
| 97 | 101 |
<input type="submit" name="submit" value="<?php echo $TEXT['ADD']; ?> <?php echo $TEXT['COMMENT']; ?>" /> |
Also available in: Unified diff
module news: set focus on captcha-field if user have to re-enter captcha