Add notes about the fact that the new custom date option needs a better UI
[squirrelmail.git] / plugins / abook_take / setup.php
CommitLineData
e8b140ab 1<?php
2
b755a6b1 3/**
4 * setup.php
5 *
b755a6b1 6 * Address Take -- steals addresses from incoming email messages. Searches
7 * the To, Cc, From and Reply-To headers, also searches the body of the
8 * message.
9 *
4b5049de 10 * @copyright &copy; 1999-2007 The SquirrelMail Project Team
4b4abf93 11 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
4f51df66 12 * @version $Id$
ea5f4b8e 13 * @package plugins
14 * @subpackage abook_take
b755a6b1 15 */
16
d55c0f66 17
ea5f4b8e 18/**
19 * Initialize the plugin
20 */
e8b140ab 21function squirrelmail_plugin_init_abook_take()
22{
b755a6b1 23 global $squirrelmail_plugin_hooks;
e8b140ab 24
70e61af6 25 $squirrelmail_plugin_hooks['read_body_bottom']['abook_take'] = 'abook_take_read_body_bottom';
26 $squirrelmail_plugin_hooks['loading_prefs']['abook_take'] = 'abook_take_loading_prefs';
e9e4a22b 27 $squirrelmail_plugin_hooks['optpage_loadhook_display']['abook_take'] = 'abook_take_optpage_loadhook_display';
e8b140ab 28}
29
70e61af6 30function abook_take_read_body_bottom() {
31 include_once(SM_PATH . 'plugins/abook_take/functions.php');
b755a6b1 32
70e61af6 33 abook_take_read();
e8b140ab 34}
35
70e61af6 36function abook_take_loading_prefs() {
37 include_once(SM_PATH . 'plugins/abook_take/functions.php');
e8b140ab 38
70e61af6 39 abook_take_pref();
e8b140ab 40}
41
e9e4a22b 42function abook_take_optpage_loadhook_display() {
70e61af6 43 include_once(SM_PATH . 'plugins/abook_take/functions.php');
b755a6b1 44
70e61af6 45 abook_take_options();
e8b140ab 46}