\n"; $abook_found_email[$hits[0]] = 1; } } return; } function abook_take_read_array($array) { foreach ($array as $item) abook_take_read_string($item->getAddress()); } function abook_take_read() { global $message; echo '
'."\n"; if (isset($message->rfc822_header->reply_to)) abook_take_read_array($message->rfc822_header->reply_to); if (isset($message->rfc822_header->from)) abook_take_read_array($message->rfc822_header->from); if (isset($message->rfc822_header->cc)) abook_take_read_array($message->rfc822_header->cc); if (isset($message->rfc822_header->to)) abook_take_read_array($message->rfc822_header->to); echo '' . '
'; } function abook_take_pref() { global $username, $data_dir, $abook_take_verify; $abook_take_verify = getPref($data_dir, $username, 'abook_take_verify'); } function abook_take_options() { global $abook_take_verify; echo '' . html_tag('td',_("Address Book Take:"),'right','','nowrap') . "\n" . ' ' . _("Try to verify addresses") . "\n"; } function abook_take_save() { global $username, $data_dir; if (sqgetGlobalVar('abook_take_abook_take_verify', $abook_take_abook_take_verify, SQ_POST)) setPref($data_dir, $username, 'abook_take_verify', '1'); else setPref($data_dir, $username, 'abook_take_verify', ''); } ?>