* Adding a <label> associated with the <input>
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Fri, 14 Oct 2005 05:25:49 +0000 (05:25 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Fri, 14 Oct 2005 05:25:49 +0000 (05:25 +0000)
ConfirmEdit.php

index d82e0237bb8f40b7b30e9d57c9ffec3e7c17dc1e..c475777fa56412c5ac745359f223a2540722629f 100644 (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
                        );
        }