From f2bbb87eefd39a17b6c13f259ea9e30f5d264c1f Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Thu, 20 Mar 2025 19:07:21 +0100 Subject: [PATCH] SpellDetailPage/Effects * readd lost markup used by EFFECT_PLAY_SOUND, EFFECT_PLAY_MUSIC and AURA_OVERRIDE_SPELLS, AURA_SCREEN_EFFECT --- pages/spell.php | 3 ++- template/pages/spell.tpl.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/spell.php b/pages/spell.php index 1fd66106..e8c6e87a 100644 --- a/pages/spell.php +++ b/pages/spell.php @@ -2279,7 +2279,8 @@ class SpellPage extends GenericPage 'icon' => $_icon, 'perfectItem' => $_perfItem, 'name' => $_header, - 'footer' => $_footer + 'footer' => $_footer, + 'markup' => $_markup ); } diff --git a/template/pages/spell.tpl.php b/template/pages/spell.tpl.php index 8a89ff84..918635b4 100644 --- a/template/pages/spell.tpl.php +++ b/template/pages/spell.tpl.php @@ -176,7 +176,7 @@ foreach ($this->effects as $i => $e): echo "
".implode("
", $e['footer'])."
\n"; endif; - if (isset($e['markup'])): + if ($e['markup']): echo '
';