HTML->XHTML preparation (still *A LOT* to convert
[mailer.git] / inc / modules / admin / what-mem_add.php
index ff8ffde..7291af2 100644 (file)
@@ -137,15 +137,15 @@ if (!isset($_POST['ok']))
                }
        }
 
-       $OUT = "<SELECT class=\"admin_select\" name=\"sort\" size=\"1\">
-      <OPTION value=\"\">".IS_FIRST_MENU."</OPTION>";
+       $OUT = "<select class=\"admin_select\" name=\"sort\" size=\"1\">
+      <option value=\"\">".IS_FIRST_MENU."</option>";
        foreach ($below as $key => $m)
        {
                if (is_array($m))
                {
                        foreach ($m as $key2 => $m2)
                        {
-                               $OUT .= "      <OPTION value=\"".$m2."\">".$titles[$key][$key2];
+                               $OUT .= "      <option value=\"".$m2."\">".$titles[$key][$key2];
                                foreach ($menus as $k => $v)
                                {
                                        if (($v == $key) && (!is_array($v)))
@@ -153,15 +153,15 @@ if (!isset($_POST['ok']))
                                                $OUT .= " (".$titles[$k].")";
                                        }
                                }
-                               $OUT .= "</OPTION>\n";
+                               $OUT .= "</option>\n";
                        }
                }
                 else
                {
-                       $OUT .= "      <OPTION value=\"".$m."\">".$titles[$key]."</OPTION>\n";
+                       $OUT .= "      <option value=\"".$m."\">".$titles[$key]."</option>\n";
                }
        }
-       $OUT .= "</SELECT>";
+       $OUT .= "</select>";
 
        define('__BELOW_SELECTION' , $OUT);
        define('__WHAT_SELECTION'  , ADMIN_MAKE_MENU_SELECTION("member", "what", "name"));