Commit d587a9fa authored by terry%mozilla.org's avatar terry%mozilla.org

Patch by Olaf Krische <krische@mbi-berlin.de> -- Fixed HTML typos.

parent 3aa7a6d7
...@@ -299,7 +299,7 @@ sub make_checkboxes { ...@@ -299,7 +299,7 @@ sub make_checkboxes {
$capitalized =~ tr/A-Z/a-z/; $capitalized =~ tr/A-Z/a-z/;
$capitalized =~ s/^(.?)(.*)/\u$1$2/; $capitalized =~ s/^(.?)(.*)/\u$1$2/;
if ($isregexp ? $item =~ $default : $default eq $item) { if ($isregexp ? $item =~ $default : $default eq $item) {
$popup .= "<INPUT NAME=$name TYPE=CHECKBOX VALUE=\"$item\" SELECTED>$capitalized<br>"; $popup .= "<INPUT NAME=$name TYPE=CHECKBOX VALUE=\"$item\" CHECKED>$capitalized<br>";
$found = 1; $found = 1;
} else { } else {
$popup .= "<INPUT NAME=$name TYPE=CHECKBOX VALUE=\"$item\">$capitalized<br>"; $popup .= "<INPUT NAME=$name TYPE=CHECKBOX VALUE=\"$item\">$capitalized<br>";
...@@ -308,7 +308,7 @@ sub make_checkboxes { ...@@ -308,7 +308,7 @@ sub make_checkboxes {
} }
} }
if (!$found && $default ne "") { if (!$found && $default ne "") {
$popup .= "<INPUT NAME=$name TYPE=CHECKBOX SELECTED>$default"; $popup .= "<INPUT NAME=$name TYPE=CHECKBOX CHECKED>$default";
} }
return $popup; return $popup;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment