diff options
author | umherirrender <umherirrender_de.wp@web.de> | 2015-01-24 10:54:41 +0100 |
---|---|---|
committer | umherirrender <umherirrender_de.wp@web.de> | 2015-01-24 10:54:41 +0100 |
commit | 8446f9c3cbf2958103b4192775fd6200bee131a6 (patch) | |
tree | 67c08c5cc5db216588ab9982d1b2da667fe173a1 /includes/templates | |
parent | ecc2b2e765f637eeaa2911090727ed8592a2fa34 (diff) | |
download | mediawikicore-8446f9c3cbf2958103b4192775fd6200bee131a6.tar.gz mediawikicore-8446f9c3cbf2958103b4192775fd6200bee131a6.zip |
Usercreate: Move label of extraInput to right place
With change Ib585e32463765d7eb7d0be5dae54dc828ddd4ca9 the position of
the label for extraInput (from TitleBlacklist or AntiSpoof) was
misplaced outside of the label. This breaks clicking on the label to
check the box. It is also possible to have line break between check box
and label, which is unneeded there.
Bug: T87385
Follow-Up: Ib585e32463765d7eb7d0be5dae54dc828ddd4ca9
Change-Id: I8384621075c6a73cff7575af0380f90bc75e234d
Diffstat (limited to 'includes/templates')
-rw-r--r-- | includes/templates/Usercreate.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/templates/Usercreate.php b/includes/templates/Usercreate.php index b185cb382998..43bab0e933b8 100644 --- a/includes/templates/Usercreate.php +++ b/includes/templates/Usercreate.php @@ -217,8 +217,10 @@ class UsercreateTemplate extends BaseTemplate { <?php if ( !empty( $inputItem['value'] ) ) { echo 'checked="checked"'; } ?> - ><label for="<?php echo htmlspecialchars( $inputItem['name'] ); ?>"></label> - </div><?php $this->msgHtml( $inputItem['msg'] ); ?> + ><label for="<?php echo htmlspecialchars( $inputItem['name'] ); ?>"> + <?php $this->msgHtml( $inputItem['msg'] ); ?> + </label> + </div> <?php } else { // Not a checkbox. |