projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updating to the newer option page format.
[squirrelmail.git]
/
plugins
/
abook_take
/
setup.php
diff --git
a/plugins/abook_take/setup.php
b/plugins/abook_take/setup.php
index e0f72d9214d58a8b9c1af4de12bba3b43a408229..2751f76b605d9bcbaa9131edb6c27555e22b0d39 100755
(executable)
--- a/
plugins/abook_take/setup.php
+++ b/
plugins/abook_take/setup.php
@@
-3,25
+3,17
@@
/**
* setup.php
*
/**
* setup.php
*
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
* Address Take -- steals addresses from incoming email messages. Searches
* the To, Cc, From and Reply-To headers, also searches the body of the
* message.
*
* Address Take -- steals addresses from incoming email messages. Searches
* the To, Cc, From and Reply-To headers, also searches the body of the
* message.
*
- * $Id$
+ * @copyright © 1999-2007 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
* @package plugins
* @subpackage abook_take
*/
* @package plugins
* @subpackage abook_take
*/
-/**
- * If SM_PATH isn't defined, define it. Required to include files.
- * @ignore
- */
-if (!defined('SM_PATH')) {
- define('SM_PATH','../../');
-}
/**
* Initialize the plugin
/**
* Initialize the plugin
@@
-32,8
+24,7
@@
function squirrelmail_plugin_init_abook_take()
$squirrelmail_plugin_hooks['read_body_bottom']['abook_take'] = 'abook_take_read_body_bottom';
$squirrelmail_plugin_hooks['loading_prefs']['abook_take'] = 'abook_take_loading_prefs';
$squirrelmail_plugin_hooks['read_body_bottom']['abook_take'] = 'abook_take_read_body_bottom';
$squirrelmail_plugin_hooks['loading_prefs']['abook_take'] = 'abook_take_loading_prefs';
- $squirrelmail_plugin_hooks['options_display_inside']['abook_take'] = 'abook_take_options_display_inside';
- $squirrelmail_plugin_hooks['options_display_save']['abook_take'] = 'abook_take_options_display_save';
+ $squirrelmail_plugin_hooks['optpage_loadhook_display']['abook_take'] = 'abook_take_optpage_loadhook_display';
}
function abook_take_read_body_bottom() {
}
function abook_take_read_body_bottom() {
@@
-48,16
+39,8
@@
function abook_take_loading_prefs() {
abook_take_pref();
}
abook_take_pref();
}
-function abook_take_opt
ions_display_inside
() {
+function abook_take_opt
page_loadhook_display
() {
include_once(SM_PATH . 'plugins/abook_take/functions.php');
abook_take_options();
}
include_once(SM_PATH . 'plugins/abook_take/functions.php');
abook_take_options();
}
-
-function abook_take_options_display_save() {
- include_once(SM_PATH . 'plugins/abook_take/functions.php');
-
- abook_take_save();
-}
-
-?>
\ No newline at end of file