r38189 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38188‎ | r38189 | r38190 >
Date:15:53, 29 July 2008
Author:jhsoby
Status:old
Tags:
Comment:
Adding <label> in Gadgets extension
Modified paths:
  • /trunk/extensions/Gadgets/Gadgets.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Gadgets/Gadgets.php
@@ -174,7 +174,7 @@
175175 # when clicking a link in the describing text.
176176 $out->addHtml( "<div class='toggle'><input type='checkbox' value='1' " .
177177 "id=\"$tname\" name=\"wpOp$tname\"$checked$disabled />" .
178 - " <span class='toggletext'>$ttext</span></div>\n" );
 178+ " <span class='toggletext'><label for='$tname'>$ttext</label></span></div>\n" );
179179 }
180180 }
181181

Status & tagging log