'id' => 'namespace',
'class' => 'namespaceselector',
)
- ) . ' ';
- $form .= Xml::checkLabel(
+ ) . "\n";
+ $form .= '<span class="mw-input-with-label">' . Xml::checkLabel(
$this->msg( 'invert' )->text(),
'invert',
'nsinvert',
$opts['invert'],
array( 'title' => $this->msg( 'tooltip-invert' )->text() )
- ) . ' ';
- $form .= Xml::checkLabel(
+ ) . "</span>\n";
+ $form .= '<span class="mw-input-with-label">' . Xml::checkLabel(
$this->msg( 'namespace_association' )->text(),
'associated',
'nsassociated',
$opts['associated'],
array( 'title' => $this->msg( 'tooltip-namespace_association' )->text() )
- ) . ' ';
+ ) . "</span>\n";
$form .= Xml::submitButton( $this->msg( 'allpagessubmit' )->text() ) . "</p>\n";
foreach ( $hiddenFields as $key => $value ) {
$form .= Html::hidden( $key, $value ) . "\n";
protected function showHideCheck( $options, $message, $name, $value ) {
$options[$name] = 1 - (int)$value;
- return Xml::checkLabel(
+ return '<span class="mw-input-with-label">' . Xml::checkLabel(
$this->msg( $message, '' )->text(),
$name,
$name,
(int)$value
- );
+ ) . '</span>';
}
/**