X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fhtmlform%2Ffields%2FHTMLSizeFilterField.php;h=d1f628ceb564edc1e7a171c0d2d74c42ff00a087;hb=13dba84b6f006cbc1500c7c079d480df7ffe110e;hp=145a0ecdb20fe82cbf93216e7f46e7b6e89620bc;hpb=f1d64e2fc641673c0b3c15a591b522f4ce813be9;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/fields/HTMLSizeFilterField.php b/includes/htmlform/fields/HTMLSizeFilterField.php index 145a0ecdb2..d1f628ceb5 100644 --- a/includes/htmlform/fields/HTMLSizeFilterField.php +++ b/includes/htmlform/fields/HTMLSizeFilterField.php @@ -10,7 +10,7 @@ */ class HTMLSizeFilterField extends HTMLIntField { public function getSize() { - return isset( $this->mParams['size'] ) ? $this->mParams['size'] : 9; + return $this->mParams['size'] ?? 9; } public function getInputHTML( $value ) { @@ -27,7 +27,7 @@ class HTMLSizeFilterField extends HTMLIntField { $value >= 0, $attribs ); - $html .= ' ' . Xml::radioLabel( + $html .= "\u{00A0}" . Xml::radioLabel( $this->msg( 'maximum-size' )->text(), $this->mName . '-mode', 'max', @@ -35,8 +35,8 @@ class HTMLSizeFilterField extends HTMLIntField { $value < 0, $attribs ); - $html .= ' ' . parent::getInputHTML( $value ? abs( $value ) : '' ); - $html .= ' ' . $this->msg( 'pagesize' )->parse(); + $html .= "\u{00A0}" . parent::getInputHTML( $value ? abs( $value ) : '' ); + $html .= "\u{00A0}" . $this->msg( 'pagesize' )->parse(); return $html; }