From 9f07fa5d6c1a2e29691fac9772bc4e7cf980b9ff Mon Sep 17 00:00:00 2001 From: tokul Date: Fri, 15 Jul 2005 11:10:03 +0000 Subject: [PATCH] if 'js' => TRUE, javascript support is checked by src/options.php git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9781 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/newmail/functions.php | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/plugins/newmail/functions.php b/plugins/newmail/functions.php index c33b876b..39d37170 100644 --- a/plugins/newmail/functions.php +++ b/plugins/newmail/functions.php @@ -44,15 +44,13 @@ function newmail_optpage_register_block_function() { // Gets added to the user's OPTIONS page. global $optpage_blocks; - if ( checkForJavascript() ) { - /* Register Squirrelspell with the $optionpages array. */ - $optpage_blocks[] = array( - 'name' => _("NewMail Options"), - 'url' => sqm_baseuri() . 'plugins/newmail/newmail_opt.php', - 'desc' => _("This configures settings for playing sounds and/or showing popup windows when new mail arrives."), - 'js' => TRUE - ); - } + /* Register Squirrelspell with the $optionpages array. */ + $optpage_blocks[] = array( + 'name' => _("NewMail Options"), + 'url' => sqm_baseuri() . 'plugins/newmail/newmail_opt.php', + 'desc' => _("This configures settings for playing sounds and/or showing popup windows when new mail arrives."), + 'js' => TRUE + ); } /** -- 2.25.1