MediaWiki r38189 - Code Review

Jump to: navigation, search
Repository:MediaWiki
Revision:r38188‎ | r38189 (on ViewVC)‎ | r38190 >
Date:15:53, 29 July 2008
Author:jhsoby
Status:old
Tags:
Comment:
Adding <label> in Gadgets extension
Modified paths:

Diff [purge]

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

Status & tagging log

  • 15:29, 12 September 2011 Meno25 (Talk | contribs) changed the status of r38189 [removed: ok added: old]
Personal tools
Namespaces
Variants
Views
Actions
Site
Support
Download
Development
Communication
Toolbox