* Adding a <label> associated with the <input>

This commit is contained in:
Ævar Arnfjörð Bjarmason 2005-10-14 05:25:49 +00:00
parent da07c3eb19
commit c7d1b65a08

View file

@ -150,7 +150,7 @@ class SimpleCaptcha {
$out->addWikiText( wfMsg( "captcha-short" ) );
$out->addHTML( <<<END
<p><span id="$source">$test</span> = <input name="$dest" id="$dest" /></p>
<p><span id="$source"><label for="$dest">$test</label></span> = <input name="$dest" id="$dest" /></p>
END
);
}