diff --git a/templates/tibiacom/boxes/networks.php b/templates/tibiacom/boxes/networks.php index 7f1faee7..d0fa9dc1 100644 --- a/templates/tibiacom/boxes/networks.php +++ b/templates/tibiacom/boxes/networks.php @@ -1,5 +1,3 @@ display('networks.html.twig', array( - 'topPlayers' => getTopPlayers(5) -)); +$twig->display('networks.html.twig'); diff --git a/templates/tibiacom/boxes/templates/networks.html.twig b/templates/tibiacom/boxes/templates/networks.html.twig index c1b8c768..3e377d5a 100644 --- a/templates/tibiacom/boxes/templates/networks.html.twig +++ b/templates/tibiacom/boxes/templates/networks.html.twig @@ -1,22 +1,20 @@ +{% if config['network_facebook'] != '' or config['network_twitter'] != '' %}