Happy 2014
[squirrelmail.git] / plugins / squirrelspell / modules / init.mod
index 6d384be3703862b9379b2daa911903a6c75cb60c..68e0dbc2132bee6b8b247ccb1716d5a5df934dd7 100644 (file)
@@ -1,30 +1,30 @@
 <?php
+
 /**
- * init.mod 
- * ---------
- * Squirrelspell module
+ * init.mod
  *
- * Copyright (c) 1999-2003 The SquirrelMail development team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * Squirrelspell module
  *
  * Initial loading of the popup window interface.
  *
- * $Id$
- *
- * @author Konstantin Riabitsev <icon@duke.edu> ($Author$)
- * @version $Date$
+ * @author Konstantin Riabitsev <icon at duke.edu>
+ * @copyright 1999-2013 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package plugins
+ * @subpackage squirrelspell
  */
 
 /**
- * See if we need to give user the option of choosing which dictionary 
+ * See if we need to give user the option of choosing which dictionary
  * s/he wants to use to spellcheck his message.
  */
-$langs=sqspell_getSettings(null);
+$langs=sqspell_getSettings();
 $msg = '<form method="post">'
   . '<input type="hidden" name="MOD" value="check_me" />'
   . '<input type="hidden" name="sqspell_text" />'
   . '<p align="center">';
-if (sizeof($langs)==1){ 
+if (sizeof($langs)==1){
   /**
    * Only one dictionary defined by the user. Submit the form
    * automatically.
@@ -48,7 +48,7 @@ if (sizeof($langs)==1){
       $msg .= ' selected="selected"';
     }
     $msg .= " value=\"$langs[$i]\"> " . _($langs[$i]) . "</option>\n";
-  }  
+  }
   $msg .= ' </select>'
     . '<input type="submit" value="' . _("Go") . '" />'
     . '</p>';
@@ -63,5 +63,3 @@ sqspell_makeWindow($onload, _("SquirrelSpell Initiating"), "init.js", $msg);
  * End:
  * vim: syntax=php
  */
-?>
\ No newline at end of file