diff --git a/templates/tibiacom/boxes/highscores.php b/templates/tibiacom/boxes/highscores.php index e46a3e81..808bb237 100644 --- a/templates/tibiacom/boxes/highscores.php +++ b/templates/tibiacom/boxes/highscores.php @@ -1,5 +1,16 @@ display('highscores.html.twig', array( - 'topPlayers' => getTopPlayers(5) + 'topPlayers' => $topPlayers )); diff --git a/templates/tibiacom/boxes/templates/highscores.html.twig b/templates/tibiacom/boxes/templates/highscores.html.twig index 50b98c1c..d1f455ee 100644 --- a/templates/tibiacom/boxes/templates/highscores.html.twig +++ b/templates/tibiacom/boxes/templates/highscores.html.twig @@ -45,9 +45,13 @@
{% for player in topPlayers %}
-     {{ player['rank'] }} - {{ player['name'] }} + {% if config.online_outfit %} + player outfit + {% endif %} + {{ player['rank'] }} - + {{ player['name'] }}
-       Level: ({{ player['level'] }}) + Level: ({{ player['level'] }})