-<?php
+<?php
/**
- * forget_me_not.mod
+ * forget_me_not.mod
* ------------------
* Squirrelspell module
*
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This module saves the added words into the user dictionary. Called
- * after CHECK_ME module.
+ * after CHECK_ME module.
*
* @author Konstantin Riabitsev <icon@duke.edu>
* @version $Id$
* First time.
*/
$words_dic="# SquirrelSpell User Dictionary $SQSPELL_VERSION\n# Last "
- . "Revision: " . date("Y-m-d")
+ . "Revision: " . date("Y-m-d")
. "\n# LANG: $SQSPELL_APP_DEFAULT\n# $SQSPELL_APP_DEFAULT\n";
$words_dic .= $new_words . "# End\n";
} else {
*/
$langs=sqspell_getSettings($words);
$words_dic = "# SquirrelSpell User Dictionary $SQSPELL_VERSION\n# "
- . "Last Revision: " . date("Y-m-d") . "\n# LANG: " . join(", ", $langs)
+ . "Last Revision: " . date("Y-m-d") . "\n# LANG: " . join(", ", $langs)
. "\n";
for ($i=0; $i<sizeof($langs); $i++){
$lang_words=sqspell_getLang($words, $langs[$i]);
}
$words_dic .= "# End\n";
}
-
+
/**
* Write out the file
*/