Index: trunk/phase3/includes/specials/SpecialBlockip.php |
— | — | @@ -560,7 +560,7 @@ |
561 | 561 | global $wgUser; |
562 | 562 | $out->addHTML( Xml::element( 'h2', NULL, LogPage::logName( 'block' ) ) ); |
563 | 563 | $count = LogEventsList::showLogExtract( $out, 'block', $title->getPrefixedText(), '', 10 ); |
564 | | - if($count > 10){ |
| 564 | + if( $count > 10 ) { |
565 | 565 | $out->addHTML( $wgUser->getSkin()->link( |
566 | 566 | SpecialPage::getTitleFor( 'Log' ), |
567 | 567 | wfMsgHtml( 'blocklog-fulllog' ), |
— | — | @@ -569,6 +569,12 @@ |
570 | 570 | 'type' => 'block', |
571 | 571 | 'page' => $title->getPrefixedText() ) ) ); |
572 | 572 | } |
| 573 | + // Add suppression block entries if allowed |
| 574 | + if( $wgUser->isAllowed('hideuser') ) { |
| 575 | + $out->addHTML( Xml::element( 'h2', NULL, LogPage::logName( 'suppress' ) ) ); |
| 576 | + LogEventsList::showLogExtract( $out, 'suppress', $title->getPrefixedText(), '', |
| 577 | + 10, array('log_action' => array('block','reblock','unblock')) ); |
| 578 | + } |
573 | 579 | } |
574 | 580 | |
575 | 581 | /** |