* -----------
* Squirrelspell setup file, as defined by the SquirrelMail-1.2 API.
*
- * Copyright (c) 1999-2003 The SquirrelMail development team
+ * Copyright (c) 1999-2004 The SquirrelMail development team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
*
* @author Konstantin Riabitsev <icon@duke.edu> ($Author$)
* @version $Date$
+ * @package plugins
+ * @subpackage squirrelspell
*/
/**
function squirrelspell_optpage_register_block() {
global $optpage_blocks;
/**
- * soupNazi checks if this browser is capable of using the plugin.
+ * Check if this browser is capable of using the plugin
*/
- if (!soupNazi()) {
+ if (checkForJavascript()) {
/**
* The browser checks out.
* Register Squirrelspell with the $optionpages array.
* Check if this browser is capable of displaying SquirrelSpell
* correctly.
*/
- if (!soupNazi()) {
+ if (checkForJavascript()) {
/**
* Some people may choose to disable javascript even though their
* browser is capable of using it. So these freaks don't complain,