X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fsquirrelspell%2Fsqspell_functions.php;h=66adcc59fb16e232c605908e1a5981d0833cb47b;hb=79dd8c728f29d35dc3f971cd936e164927002bde;hp=c9a738894b16c78e7add67160fcf22ae97ad93f7;hpb=6fe8a0dbeb36818b4eb0222574a47c20eb1b4043;p=squirrelmail.git diff --git a/plugins/squirrelspell/sqspell_functions.php b/plugins/squirrelspell/sqspell_functions.php index c9a73889..66adcc59 100644 --- a/plugins/squirrelspell/sqspell_functions.php +++ b/plugins/squirrelspell/sqspell_functions.php @@ -63,13 +63,12 @@ function squirrelspell_setup_function() { */ if (checkForJavascript()) { - global $oTemplate, $base_uri; - $nbsp = $oTemplate->fetch('non_breaking_space.tpl'); + global $oTemplate, $base_uri, $nbsp; $output = addButton(_("Check Spelling"), 'check_spelling', array('onclick' => 'window.open(\'' . $base_uri - . '/plugins/squirrelspell/sqspell_interface.php\', \'sqspell\', \'status=yes,width=550,height=370,resizable=yes\')')) . $nbsp; + . 'plugins/squirrelspell/sqspell_interface.php\', \'sqspell\', \'status=yes,width=550,height=370,resizable=yes\')')) . $nbsp; return array('compose_button_row' => $output); }