X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FLogEventsList.php;h=e73d0a671074e4a4a198163be0db7c93586f658b;hb=1ee019e728d5b7add2fc8352e6a8dce22d68161b;hp=f78da639e6942182fa9ab3c13bff463e7060db08;hpb=450814de00419a2a4662e41ce57b1c4d61096c75;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index f78da639e6..e73d0a6710 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -677,9 +677,10 @@ class LogEventsList { $logBody . $loglist->endLogEventsList(); } else { - if ( $showIfEmpty ) + if ( $showIfEmpty ) { $s = Html::rawElement( 'div', array( 'class' => 'mw-warning-logempty' ), wfMsgExt( 'logempty', array( 'parseinline' ) ) ); + } } if( $pager->getNumRows() > $pager->mLimit ) { # Show "Full log" link $urlParam = array(); @@ -706,7 +707,7 @@ class LogEventsList { $s .= ''; } - if ( $wrap!='' ) { // Wrap message in html + if ( $wrap != '' ) { // Wrap message in html $s = str_replace( '$1', $s, $wrap ); } @@ -992,7 +993,11 @@ class LogPager extends ReverseChronologicalPager { return $info; } - // Checks if $this->mConds has $field matched to a *single* value + /** + * Checks if $this->mConds has $field matched to a *single* value + * @param $field + * @return bool + */ protected function hasEqualsClause( $field ) { return ( array_key_exists( $field, $this->mConds ) &&