adding php pspell support. If it breaks - blame me.
[squirrelmail.git] / plugins / squirrelspell / sqspell_functions.php
index 9489dc6697e7ffb2661e482ead7c0649464fa639..9653cff06ca9076c5dd0fcfc43d001d569647f6a 100644 (file)
@@ -218,8 +218,10 @@ function sqspell_makeWindow($onload, $title, $scriptsrc, $body){
           html_tag( 'tr', "\n" .
               html_tag( 'td', 'SquirrelSpell ' . squirrelspell_version(), 'center', $color[9] )
           ) ,
-      '', '', 'width="100%" border="0" cellpadding="2"' )
-    . "</body>\n</html>\n";
+      '', '', 'width="100%" border="0" cellpadding="2"' );
+
+  global $oTemplate;
+  $oTemplate->display('footer.tpl');
 }
 
 /**
@@ -898,4 +900,3 @@ function sqspell_handle_crypt_panic($lang=false) {
  * @deprecated
  */
 $SQSPELL_VERSION="v0.3.8";
-?>
\ No newline at end of file