From: tokul Date: Fri, 15 Jul 2005 11:10:03 +0000 (+0000) Subject: if 'js' => TRUE, javascript support is checked by src/options.php X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9f07fa5d6c1a2e29691fac9772bc4e7cf980b9ff;p=squirrelmail.git 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 --- 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 + ); } /**