X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fspecials%2FSpecialListgrants.php;h=2c92410cbc75d8a5f6efb72856139f4786fd2f1e;hp=39c8ae8a93d01713429682c5f89c3344391671f2;hb=e758226c91935a1df2b6fd3ed1f18922d8bfb45b;hpb=3071f1fad720f1773864621158a0c59b73124896 diff --git a/includes/specials/SpecialListgrants.php b/includes/specials/SpecialListgrants.php index 39c8ae8a93..2c92410cbc 100644 --- a/includes/specials/SpecialListgrants.php +++ b/includes/specials/SpecialListgrants.php @@ -71,8 +71,14 @@ class SpecialListGrants extends SpecialPage { $id = \Sanitizer::escapeId( $grant ); $out->addHTML( \Html::rawElement( 'tr', [ 'id' => $id ], - "" . $this->msg( "grant-$grant" )->escaped() . "" . - "" . $grantCellHtml . '' + "" . + $this->msg( + "listgrants-grant-display", + \User::getGrantName( $grant ), + "" . $id . "" + )->parse() . + "" . + "" . $grantCellHtml . "" ) ); }