Index: recaptcha_mailhide.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/recaptcha/Attic/recaptcha_mailhide.module,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 recaptcha_mailhide.module
--- recaptcha_mailhide.module	20 Aug 2007 04:05:35 -0000	1.1.2.1
+++ recaptcha_mailhide.module	24 Aug 2007 15:23:56 -0000
@@ -43,17 +43,17 @@
         require_once('recaptcha.inc');
         @(include_once('recaptcha/recaptchalib.php')) or _recaptcha_library_not_found();
         $form['filter_recaptcha'] = array('#type' => 'fieldset', '#title' => t('reCAPTCHA Mailhide Keys'), '#collapsible' => TRUE, '#collapsed' => FALSE);
-        $form['filter_recaptcha']["recaptcha_mailhide_public_key_$format"] = array(
+        $form['filter_recaptcha']['recaptcha_mailhide_public_key'] = array(
           '#type' => 'textfield',
           '#title' => t('Public Key'),
-          '#default_value' => variable_get("recaptcha_mailhide_public_key_$format", ''),
+          '#default_value' => variable_get('recaptcha_mailhide_public_key', ''),
           '#maxlength' => 50,
           '#description' => t('Your public Mailhide key obtained from <a href="@url" target="_blank">reCAPTCHA</a>.', array('@url' => 'http://mailhide.recaptcha.net/apikey')),
           );
-        $form['filter_recaptcha']["recaptcha_mailhide_private_key_$format"] = array(
+        $form['filter_recaptcha']['recaptcha_mailhide_private_key'] = array(
           '#type' => 'textfield',
           '#title' => t('Private Key'),
-          '#default_value' => variable_get("recaptcha_mailhide_private_key_$format", ''),
+          '#default_value' => variable_get('recaptcha_mailhide_private_key', ''),
           '#maxlength' => 50,
           '#description' => t('Your private Mailhide key obtained from <a href="@url" target="_blank">reCAPTCHA</a>.', array('@url' => 'http://mailhide.recaptcha.net/apikey')),
           );
@@ -64,8 +64,8 @@
       require_once('recaptcha.inc');
       global $recaptcha_mailhide_public_key, $recaptcha_mailhide_private_key;
       @(include_once('recaptcha/recaptchalib.php')) or _recaptcha_library_not_found();
-      $recaptcha_mailhide_public_key = variable_get("recaptcha_mailhide_public_key_$format", '');
-      $recaptcha_mailhide_private_key = variable_get("recaptcha_mailhide_private_key_$format", '');
+      $recaptcha_mailhide_public_key = variable_get('recaptcha_mailhide_public_key', '');
+      $recaptcha_mailhide_private_key = variable_get('recaptcha_mailhide_private_key', '');
       
       $text   = ' ' . $text . ' ';
       $text = preg_replace_callback("!(<p>|<li>|<br\s*/?>|[ \n\r\t\(])([A-Za-z0-9._-]+@[A-Za-z0-9._+-]+\.[A-Za-z]{2,4})([.,?]?)(?=(</p>|</li>|<br\s*/?>|[ \n\r\t\)]))!i", '_recaptcha_replace', $text);

