Bugfixes
authorgraf25 <graf25@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 31 Jan 2002 04:01:45 +0000 (04:01 +0000)
committergraf25 <graf25@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 31 Jan 2002 04:01:45 +0000 (04:01 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2302 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/squirrelspell/modules/check_me.mod
plugins/squirrelspell/setup.php

index d5991fdf83ea7ae43e94fcd5fe4dd04589becd36..65428a509dd9249e31a181e40d2dc47a4eb52c6b 100644 (file)
@@ -29,7 +29,7 @@
  */
 function SpellLink($jscode, $title, $link) {
   echo "<td><a href=\"javascript:$jscode\" "
-    . "title=\"$title\">$ln</a>"
+    . "title=\"$title\">$link</a>"
     . '</td>';
 }
 
index ff760f6c8b01a16d01e6a77eb38ba91e39620505..a09f68c1e4fbc513d22805ecf1f4e3dda24d3bdb 100644 (file)
@@ -73,14 +73,14 @@ function squirrelspell_setup() {
      * use document.write() so the "Check Spelling" button is not
      * displayed if js is off in the browser.
      */
-    echo '<script type="text/javascript">\n'
-      . '<!--\n'
+    echo "<script type=\"text/javascript\">\n"
+      . "<!--\n"
       . 'document.write("<input type=\"button\" value=\"'
       . _("Check Spelling") 
       . '\" onclick=\"window.open(\'../plugins/squirrelspell/sqspell_'
       . 'interface.php\', \'sqspell\', \'status=yes,width=550,height=370,'
-      . 'resizable=yes\')\">");\n'
-      . '//-->\n'
+      . 'resizable=yes\')\">");' . "\n"
+      . "//-->\n"
       . "</script>\n";
   }
 }