From 1f8459ebe8c95c2a4e5d3686d0d6e2539a7b8da2 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sat, 12 Jul 2008 18:01:16 +0000 Subject: [PATCH] Remove abook_take; see the Add Address plugin (third party) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13234 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/abook_take/README | 53 -------------------- plugins/abook_take/functions.php | 86 -------------------------------- plugins/abook_take/index.php | 19 ------- plugins/abook_take/setup.php | 46 ----------------- plugins/abook_take/take.php | 48 ------------------ 5 files changed, 252 deletions(-) delete mode 100755 plugins/abook_take/README delete mode 100644 plugins/abook_take/functions.php delete mode 100644 plugins/abook_take/index.php delete mode 100755 plugins/abook_take/setup.php delete mode 100644 plugins/abook_take/take.php diff --git a/plugins/abook_take/README b/plugins/abook_take/README deleted file mode 100755 index f5eee378..00000000 --- a/plugins/abook_take/README +++ /dev/null @@ -1,53 +0,0 @@ -Address Book Take - -If you would like to add the sender of a message you're reading to your -address book quickly and easily without cutting and pasting, then this -plugin simplifies the process. It scans the mail message you're reading -for any email address and lets you add it with a quick form. - - -Features -======== - -* Saves you the need to Cut & Paste -* Steals from the To, From, Reply-To, and CC fields -* Steals from the body of the message -* Address verification (pretty good) - - -Description -=========== - -By pulling down a list and selecting the address you want to add, you -are then presented with a familiar Add to Personal Address Book screen. -By filling out this form, you will then add the email address to your -personal address book. - -The user can decide if the box is shown, where it is shown on the bottom -of the Read screen, and whether or not to attempt to verify that the -address works. - -When trying to verify if the address works, it checks to see if the host -has any DNS record available. Usually this will work. - - -Future Work -=========== - -* Maybe grab the name, if available -* Search more headers (when they become available) -* Steal from the body of the message directly (when possible) -* When new domains are added, update the email verification function - - -Installation -============ - -Go back to the main directory, run configure and add the plugin. - - -Credits -======= - -This plugin has been originally developed by Tyler Akins and is now -maintained by the SquirrelMail Project Team. diff --git a/plugins/abook_take/functions.php b/plugins/abook_take/functions.php deleted file mode 100644 index ee3414e2..00000000 --- a/plugins/abook_take/functions.php +++ /dev/null @@ -1,86 +0,0 @@ -getAddress()); -} - -function abook_take_read() { - global $message; - - echo '
' . addForm(SM_PATH . 'plugins/abook_take/take.php') . - '
' . "\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 addSubmit(_("Take Address")) . - '
'; -} - -function abook_take_pref() { - global $username, $data_dir, $abook_take_verify; - - $abook_take_verify = getPref($data_dir, $username, 'abook_take_verify', false); -} - -function abook_take_options() { - global $optpage_data; - - $optpage_data['grps']['abook_take'] = _("Address Book Take"); - $optionValues = array(); - $optionValues[] = array( - 'name' => 'abook_take_verify', - 'caption' => _("Try to verify addresses"), - 'type' => SMOPT_TYPE_BOOLEAN, - 'refresh' => SMOPT_REFRESH_NONE - ); - $optpage_data['vals']['abook_take'] = $optionValues; -} diff --git a/plugins/abook_take/index.php b/plugins/abook_take/index.php deleted file mode 100644 index bd0a97ff..00000000 --- a/plugins/abook_take/index.php +++ /dev/null @@ -1,19 +0,0 @@ - \ No newline at end of file diff --git a/plugins/abook_take/setup.php b/plugins/abook_take/setup.php deleted file mode 100755 index 2751f76b..00000000 --- a/plugins/abook_take/setup.php +++ /dev/null @@ -1,46 +0,0 @@ -$addrs); - -abook_create_form(SM_PATH . 'src/addressbook.php','addaddr',_("Add to address book"),_("Add address"),$formdata); -echo ''; -?> - -- 2.25.1