projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
E_ALL is a moving target
[squirrelmail.git]
/
plugins
/
squirrelspell
/
setup.php
diff --git
a/plugins/squirrelspell/setup.php
b/plugins/squirrelspell/setup.php
index cceed86a9b5a4438f0ceeb8daabf06ab62c0204b..0bc135e1104caa738d4446eb951b4bbd76a6631b 100644
(file)
--- a/
plugins/squirrelspell/setup.php
+++ b/
plugins/squirrelspell/setup.php
@@
-1,21
+1,19
@@
<?php
<?php
+
/**
* setup.php
/**
* setup.php
- * -----------
- * Squirrelspell setup file, as defined by the SquirrelMail-1.2 API.
*
*
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * Squirrelspell setup file, as defined by the SquirrelMail-1.2 API.
*
*
- * @author Konstantin Riabitsev <icon@duke.edu>
+ * @author Konstantin Riabitsev <icon at duke.edu>
+ * @copyright 1999-2012 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
* @subpackage squirrelspell
* @todo remove sqspell_ prefix from main php scripts.
*/
* @version $Id$
* @package plugins
* @subpackage squirrelspell
* @todo remove sqspell_ prefix from main php scripts.
*/
-/** @ignore */
-if (! defined('SM_PATH')) define('SM_PATH','../../');
/**
* Standard SquirrelMail plugin initialization API.
/**
* Standard SquirrelMail plugin initialization API.
@@
-24,7
+22,7
@@
if (! defined('SM_PATH')) define('SM_PATH','../../');
*/
function squirrelmail_plugin_init_squirrelspell() {
global $squirrelmail_plugin_hooks;
*/
function squirrelmail_plugin_init_squirrelspell() {
global $squirrelmail_plugin_hooks;
- $squirrelmail_plugin_hooks['
compose_button_row']['squirrelspell'] =
+ $squirrelmail_plugin_hooks['
template_construct_compose_buttons.tpl']['squirrelspell'] =
'squirrelspell_setup';
$squirrelmail_plugin_hooks['optpage_register_block']['squirrelspell'] =
'squirrelspell_optpage_register_block';
'squirrelspell_setup';
$squirrelmail_plugin_hooks['optpage_register_block']['squirrelspell'] =
'squirrelspell_optpage_register_block';
@@
-56,7
+54,7
@@
function squirrelspell_optpage_register_block() {
*/
function squirrelspell_setup() {
include_once(SM_PATH . 'plugins/squirrelspell/sqspell_functions.php');
*/
function squirrelspell_setup() {
include_once(SM_PATH . 'plugins/squirrelspell/sqspell_functions.php');
- squirrelspell_setup_function();
+
return
squirrelspell_setup_function();
}
/**
}
/**
@@
-78,5
+76,3
@@
function squirrelspell_upgrade() {
function squirrelspell_version() {
return '0.5';
}
function squirrelspell_version() {
return '0.5';
}
-
-?>
\ No newline at end of file