phpDoc fixes
[squirrelmail.git] / plugins / abook_take / functions.php
index b8042501897d6835a04eb87e56ba488866dc76a3..7b151571c43bd15db964da2a04e852dc9e85a917 100644 (file)
@@ -3,17 +3,17 @@
 /**
  * functions.php
  *
- * Copyright (c) 1999-2004 The SquirrelMail Project Team
+ * Copyright (c) 1999-2005 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * Functions for the Address Take plugin
  *
- * $Id$
+ * @version $Id$
  * @package plugins
  * @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