From cc220bedc1f01535eaac23f6961135e2e7a6e310 Mon Sep 17 00:00:00 2001 From: slawkens Date: Thu, 1 Jan 2026 11:55:58 +0100 Subject: [PATCH] Remove setting: outfit_images_wrong_looktypes Is obsolete, the bug doesn't exist in latest outfit images --- system/compat/config.php | 1 - system/pages/highscores.php | 2 +- system/settings.php | 11 ----------- system/templates/characters.html.twig | 2 +- system/templates/forum.show_thread.html.twig | 2 +- system/templates/team.html.twig | 4 ++-- .../tibiacom/boxes/templates/highscores.html.twig | 2 +- 7 files changed, 6 insertions(+), 18 deletions(-) diff --git a/system/compat/config.php b/system/compat/config.php index 4fc3004a..59e9a5ed 100644 --- a/system/compat/config.php +++ b/system/compat/config.php @@ -21,7 +21,6 @@ $deprecatedConfig = [ 'visitors_counter_ttl', 'views_counter', 'outfit_images_url', - 'outfit_images_wrong_looktypes', 'item_images_url', 'account_country', 'towns', diff --git a/system/pages/highscores.php b/system/pages/highscores.php index 79d4feee..ea1a9fe6 100644 --- a/system/pages/highscores.php +++ b/system/pages/highscores.php @@ -249,7 +249,7 @@ foreach($highscores as $id => &$player) $player['link'] = getPlayerLink($player['name'], false); $player['flag'] = getFlagImage($player['country']); - $player['outfit'] = ''; + $player['outfit'] = ''; if ($skill != POT::SKILL__LEVEL) { if (isset($lastValue) && $lastValue == $player['value']) { diff --git a/system/settings.php b/system/settings.php index 96f24a8c..8dbbedf6 100644 --- a/system/settings.php +++ b/system/settings.php @@ -1482,17 +1482,6 @@ Sent by MyAAC,
'desc' => 'Set to animoutfit.php for animated outfit', 'default' => 'https://outfit-images.ots.me/latest/outfit.php', ], - 'outfit_images_wrong_looktypes' => [ - 'name' => 'Outfit Images Wrong Looktypes', - 'type' => 'text', - 'desc' => 'This looktypes needs to have different margin-top and margin-left because they are wrong positioned', - 'default' => '75, 126, 127, 266, 302', - 'callbacks' => [ - 'get' => function ($value) { - return array_map('trim', explode(',', $value)); - }, - ], - ], [ 'type' => 'section', 'title' => 'Monster Images' diff --git a/system/templates/characters.html.twig b/system/templates/characters.html.twig index 75e15b68..fda95625 100644 --- a/system/templates/characters.html.twig +++ b/system/templates/characters.html.twig @@ -17,7 +17,7 @@ {% endif %} {% if config.characters.outfit %} -
player outfit
+
player outfit
{% endif %} diff --git a/system/templates/forum.show_thread.html.twig b/system/templates/forum.show_thread.html.twig index 71812be7..537849b0 100644 --- a/system/templates/forum.show_thread.html.twig +++ b/system/templates/forum.show_thread.html.twig @@ -24,7 +24,7 @@ Page: {{ links_to_pages|raw }}
{% set i = i + 1 %} {% endif %} @@ -127,7 +127,7 @@ {% if setting('core.team_outfit') %} {% endif %} diff --git a/templates/tibiacom/boxes/templates/highscores.html.twig b/templates/tibiacom/boxes/templates/highscores.html.twig index c5eb5516..c1f8f1d6 100644 --- a/templates/tibiacom/boxes/templates/highscores.html.twig +++ b/templates/tibiacom/boxes/templates/highscores.html.twig @@ -46,7 +46,7 @@ {% for player in topPlayers %}
{% if setting('core.online_outfit') %} - player outfit + player outfit {% endif %} {{ player['rank'] }} - {{ player['name'] }}
{{ post.player_link|raw }}
{% if post.outfit is defined %} - player outfit + player outfit
{% endif %} diff --git a/system/templates/team.html.twig b/system/templates/team.html.twig index 7c7fe204..ec63320d 100644 --- a/system/templates/team.html.twig +++ b/system/templates/team.html.twig @@ -47,7 +47,7 @@ {% if setting('core.team_outfit') %}
- player outfit + player outfit
- player outfit + player outfit