XHTML fixes
[squirrelmail.git] / plugins / squirrelspell / modules / init.mod
index c96022ff455e38c1066164457654c8daaf76c06e..6d384be3703862b9379b2daa911903a6c75cb60c 100644 (file)
@@ -4,7 +4,7 @@
  * ---------
  * Squirrelspell module
  *
- * Copyright (c) 1999-2002 The SquirrelMail development team
+ * Copyright (c) 1999-2003 The SquirrelMail development team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * Initial loading of the popup window interface.
@@ -21,8 +21,8 @@
  */
 $langs=sqspell_getSettings(null);
 $msg = '<form method="post">'
-  . '<input type="hidden" name="MOD" value="check_me">'
-  . '<input type="hidden" name="sqspell_text">'
+  . '<input type="hidden" name="MOD" value="check_me" />'
+  . '<input type="hidden" name="sqspell_text" />'
   . '<p align="center">';
 if (sizeof($langs)==1){ 
   /**
@@ -32,7 +32,7 @@ if (sizeof($langs)==1){
   $onload="sqspell_init(true)";
   $msg .= _("Please wait, communicating with the server...")
     . '</p>'
-    . "<input type=\"hidden\" name=\"sqspell_use_app\" value=\"$langs[0]\">";
+    . "<input type=\"hidden\" name=\"sqspell_use_app\" value=\"$langs[0]\" />";
 } else {
   /**
    * More than one dictionary. Let the user choose the dictionary first
@@ -45,12 +45,12 @@ if (sizeof($langs)==1){
   for ($i=0; $i<sizeof($langs); $i++){
     $msg .= "<option";
     if (!$i) {
-      $msg .= ' selected';
+      $msg .= ' selected="selected"';
     }
     $msg .= " value=\"$langs[$i]\"> " . _($langs[$i]) . "</option>\n";
   }  
   $msg .= ' </select>'
-    . '<input type="submit" value="' . _("Go") . '">'
+    . '<input type="submit" value="' . _("Go") . '" />'
     . '</p>';
 }
 $msg .="</form>\n";
@@ -61,6 +61,7 @@ sqspell_makeWindow($onload, _("SquirrelSpell Initiating"), "init.js", $msg);
  * Local variables:
  * mode: php
  * End:
+ * vim: syntax=php
  */
-    
-?>
+?>
\ No newline at end of file