Update of /cvsroot/php-blog/serendipity/plugins/serendipity_event_spamblock
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17515/plugins/serendipity_event_spamblock
Modified Files:
Tag: branch-smarty
serendipity_event_spamblock.php
Log Message:
one last MFH for jannis ;)
Index: serendipity_event_spamblock.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php,v
retrieving revision 1.4.2.19
retrieving revision 1.4.2.20
diff -u -d -r1.4.2.19 -r1.4.2.20
--- serendipity_event_spamblock.php 7 Oct 2004 10:32:03 -0000 1.4.2.19
+++ serendipity_event_spamblock.php 26 Oct 2004 13:36:00 -0000 1.4.2.20
@@ -351,7 +351,7 @@
if ($show_captcha) {
echo '<div class="serendipity_commentDirection">';
if (!isset($serendipity['POST']['preview']) || strtolower($serendipity['POST']['captcha'] != strtolower($_SESSION['spamblock']['captcha']))) {
- echo '<br />' . PLUGIN_EVENT_SPAMBLOCK_CAPTCHAS_USERDESC . '<br /><label for="captcha">';
+ echo '<br />' . PLUGIN_EVENT_SPAMBLOCK_CAPTCHAS_USERDESC . '<br />';
if ($use_gd) {
printf('<img src="%s" title="%s" alt="CAPTCHA" class="captcha" />',
$serendipity['baseURL'] . ($serendipity['rewrite'] == 'none' ? $serendipity['indexFile'] . '?/' : '') . 'plugin/captcha_' . md5(time()),
@@ -370,8 +370,8 @@
}
echo '</div>';
}
- echo '</label><br />';
- echo PLUGIN_EVENT_SPAMBLOCK_CAPTCHAS_USERDESC3 . '<br /><input type="text" size="5" name="serendipity[captcha]" value="" id="captcha" />';
+ echo '<br /><label for="captcha">';
+ echo PLUGIN_EVENT_SPAMBLOCK_CAPTCHAS_USERDESC3 . '</label><br /><input type="text" size="5" name="serendipity[captcha]" value="" id="captcha" />';
} elseif (isset($serendipity['POST']['captcha'])) {
echo '<input type="hidden" name="serendipity[captcha]" value="' . htmlspecialchars($serendipity['POST']['captcha']) . '" />';
}
|