<?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
$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);
* 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);
* End:
* vim: syntax=php
*/
-
-?>
\ No newline at end of file