Replacing tabs with spaces, trimming white space at EOL and newline at EOF
[squirrelmail.git] / plugins / squirrelspell / modules / lang_setup.mod
index 5a0c5c7dfc3632b6aa04b6955cd3af38f659ae17..d146ff609cd35582fc96a83c731ace5d7df6921a 100644 (file)
@@ -4,25 +4,25 @@
  * ---------------
  * Squirrelspell module
  *
- * Copyright (c) 1999-2002 The SquirrelMail development team
+ * Copyright (c) 1999-2004 The SquirrelMail development team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
- * 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.
  *
- * $Id$
- *
- * @author Konstantin Riabitsev <icon@duke.edu> ($Author$)
- * @version $Date$
+ * @author Konstantin Riabitsev <icon@duke.edu>
+ * @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>'
   . '<form method="post">'
-  . '<input type="hidden" name="MOD" value="lang_change">'
+  . '<input type="hidden" name="MOD" value="lang_change" />'
   . '<blockquote><p>';
 /**
  * Present a nice listing.
@@ -35,25 +35,26 @@ while (list($avail_lang, $junk) = each($SQSPELL_APP)){
   $msg .= "<input type=\"checkbox\" name=\"use_langs[]\" "
     . "value=\"$avail_lang\"";
   if (in_array($avail_lang, $langs)) {
-    $msg .= ' checked';
+    $msg .= ' checked="checked"';
   }
-  $msg .= '> ' . _($avail_lang) . "<br>\n";
+  $msg .= ' /> ' . _($avail_lang) . "<br />\n";
   $add .= "<option";
   if ($avail_lang==$langs[0]) {
-    $add .= ' selected';
+    $add .= ' selected="selected"';
   }
   $add .= " value=\"$avail_lang\" >" . _($avail_lang) . "</option>\n";
 }
 $msg .= "</p>\n" . $add . "</select>\n";
-$msg .= "</p></blockquote><p><input type=\"submit\" value=\" " 
-  . _("Make these changes") . " \"></p>";
-sqspell_makePage(_("Add International Dictionaries"), null, $msg); 
+$msg .= "</p></blockquote><p><input type=\"submit\" value=\" "
+  . _("Make these changes") . " \" /></p>";
+sqspell_makePage(_("Add International Dictionaries"), null, $msg);
 
 /**
  * For Emacs weenies:
  * Local variables:
  * mode: php
  * End:
+ * vim: syntax=php
  */
-?>
+
+?>
\ No newline at end of file