From f3ac97c9d897ec7f8753c10191a3baf2243b62a7 Mon Sep 17 00:00:00 2001
From: Omid Mottaghi <omidmottaghi@users.sourceforge.net>
Date: Wed, 27 Dec 2006 10:39:06 +0000
Subject: [PATCH] added a class to captcha-image-div. captcha MUST be LTR in
 all languages.

---
 .../serendipity_event_spamblock/serendipity_event_spamblock.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php b/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php
index 90d034b7..5b1d85d1 100644
--- a/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php
+++ b/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php
@@ -949,7 +949,7 @@ var $filter_defaults;
                                 $bgcolors = explode(',', $this->get_config('captcha_color', '255,0,255'));
                                 $hexval   = '#' . dechex(trim($bgcolors[0])) . dechex(trim($bgcolors[1])) . dechex(trim($bgcolors[2]));
                                 $this->random_string($max_char, $min_char);
-                                echo '<div style="background-color: ' . $hexval . '">';
+                                echo '<div class="serendipity_comment_captcha_image" style="background-color: ' . $hexval . '">';
                                 for ($i = 1; $i <= $max_char; $i++) {
                                     printf('<img src="%s" title="%s" alt="CAPTCHA ' . $i . '" class="captcha" />',
                                         $serendipity['baseURL'] . ($serendipity['rewrite'] == 'none' ? $serendipity['indexFile'] . '?/' : '') . 'plugin/captcha_' . $i . '_' . md5(time()),