Happy 2015
[squirrelmail.git] / plugins / squirrelspell / modules / forget_me_not.mod
index c85dbea95a36c2247107b6f1dc4c0d12107e8957..a56b5394b10d48bb7279e777d7f70f51584a8bcd 100644 (file)
@@ -1,16 +1,16 @@
 <?php
+
 /**
  * forget_me_not.mod
- * ------------------
- * Squirrelspell module
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * Squirrelspell module
  *
  * This module saves the added words into the user dictionary. Called
  * after CHECK_ME module.
  *
- * @author Konstantin Riabitsev <icon@duke.edu>
+ * @author Konstantin Riabitsev <icon at duke.edu>
+ * @copyright 1999-2015 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage squirrelspell
@@ -40,7 +40,7 @@ if (empty($old_words)){
     $word_dic = $new_words;
 } else {
     foreach($new_words as $new_word) {
-        $old_words[].=$new_word;
+        $old_words[]=$new_word;
     }
     // make sure that dictionary contains only unique values
     $word_dic = array_unique($old_words);
@@ -54,7 +54,7 @@ sqspell_writeWords($word_dic,$sqspell_use_app);
  * display the splash screen, then close it automatically after 2 sec.
  */
 $onload = "setTimeout('self.close()', 2000)";
-$msg = '<form onsubmit="return false"><div align="center">'
+$msg = '<form onsubmit="return false"><div style="text-align: center;">'
    . '<input type="submit" value="  '
    . _("Close") . '  " onclick="self.close()" /></div></form>';
 sqspell_makeWindow($onload, _("Personal Dictionary Updated"), null, $msg);
@@ -66,5 +66,3 @@ sqspell_makeWindow($onload, _("Personal Dictionary Updated"), null, $msg);
  * End:
  * vim: syntax=php
  */
-
-?>
\ No newline at end of file