/**
* 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');
$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;
}
}
abook_take_read_array($message->rfc822_header->to);
echo addSubmit(_("Take Address")) .
- '</center>';
+ '</center></form>';
}
function abook_take_pref()
{
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";
}
setPref($data_dir, $username, 'abook_take_verify', '');
}
-?>
+?>
\ No newline at end of file