* @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