reuploading files
[squirrelmail.git] / plugins / abook_take / functions.php
index b8042501897d6835a04eb87e56ba488866dc76a3..7294190e900bf9ffb6cd416bdfcb1e69a4dac3ce 100644 (file)
@@ -13,7 +13,7 @@
  * @subpackage abook_take
  */
 
-/* SquirrelMail required files. */
+/** SquirrelMail required files. */
 require_once(SM_PATH . 'functions/url_parser.php');
 require_once(SM_PATH . 'functions/forms.php');
 
@@ -39,7 +39,7 @@ function abook_take_read_string($str)
         $str = substr(strstr($str, $hits[0]), strlen($hits[0]));
         if (! isset($abook_found_email[$hits[0]]))
         {
-            echo addHidden('email[]', htmlspecialchars($hits[0]));
+            echo addHidden('email[]', $hits[0]);
             $abook_found_email[$hits[0]] = 1;
         }
     }
@@ -70,7 +70,7 @@ function abook_take_read()
         abook_take_read_array($message->rfc822_header->to);
 
     echo addSubmit(_("Take Address")) .
-         '</center>';
+         '</center></form>';
 }
 
 function abook_take_pref()
@@ -84,7 +84,7 @@ function abook_take_options()
 {
     global $abook_take_verify;
 
-    echo '<tr>' . html_tag('td',_("Address Book Take:"),'right','','nowrap') . "\n" .  '<td>' .
+    echo '<tr>' . html_tag('td',_("Address Book Take:"),'right','','style="white-space: nowrap;"') . "\n" .  '<td>' .
          addCheckbox('abook_take_abook_take_verify', $abook_take_verify) .
          _("Try to verify addresses") . "</td></tr>\n";
 }
@@ -99,4 +99,4 @@ function abook_take_save()
         setPref($data_dir, $username, 'abook_take_verify', '');
 }
 
-?>
+?>
\ No newline at end of file