removing trailing ?> from function scripts
[squirrelmail.git] / plugins / squirrelspell / modules / lang_setup.mod
index 94868ce7bc376049f5e36e3be6ade086c6ad9f14..57d3d826cb1b65b989c1cde0f15681107be2d161 100644 (file)
@@ -1,23 +1,23 @@
 <?php
+
 /**
  * lang_setup.mod
- * ---------------
- * Squirrelspell module
  *
- * Copyright (c) 1999-2004 The SquirrelMail development team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * Squirrelspell module
  *
- * This module displays available dictionaries to the user and lets 
- * him/her choose which ones s/he wants to check messages with.     
+ * This module displays available dictionaries to the user and lets
+ * him/her choose which ones s/he wants to check messages with.
  *
- * @author Konstantin Riabitsev <icon@duke.edu>
+ * @author Konstantin Riabitsev <icon at duke.edu>
+ * @copyright &copy; 1999-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage squirrelspell
  */
-    
+
 global $SQSPELL_APP;
-    
+
 $msg = '<p>'
   . _("Please check any available international dictionaries which you would like to use when spellchecking:")
   . '</p>'
@@ -27,7 +27,7 @@ $msg = '<p>'
 /**
  * Present a nice listing.
  */
-$langs = sqspell_getSettings(null);
+$langs = sqspell_getSettings();
 $add = '<p>'
   . _("Make this dictionary my default selection:")
   . " <select name=\"lang_default\">\n";
@@ -45,9 +45,9 @@ while (list($avail_lang, $junk) = each($SQSPELL_APP)){
   $add .= " value=\"$avail_lang\" >" . _($avail_lang) . "</option>\n";
 }
 $msg .= "</p>\n" . $add . "</select>\n";
-$msg .= "</p></blockquote><p><input type=\"submit\" value=\" " 
+$msg .= "</p></blockquote><p><input type=\"submit\" value=\" "
   . _("Make these changes") . " \" /></p>";
-sqspell_makePage(_("Add International Dictionaries"), null, $msg); 
+sqspell_makePage(_("Add International Dictionaries"), null, $msg);
 
 /**
  * For Emacs weenies:
@@ -56,5 +56,3 @@ sqspell_makePage(_("Add International Dictionaries"), null, $msg);
  * End:
  * vim: syntax=php
  */
-?>
\ No newline at end of file