diff --git a/pages/achievements.php b/pages/achievements.php index bbd545e4..d1913fe1 100644 --- a/pages/achievements.php +++ b/pages/achievements.php @@ -81,7 +81,6 @@ if (!$smarty->loadCache($cacheKey, $pageData, $filter)) // listview content $pageData['data'] = $acvList->getListviewData(); - $pageData['params'] = ['tabs' => false]; // if we are have different cats display field if ($acvList->hasDiffFields(['category'])) diff --git a/pages/classes.php b/pages/classes.php index 59821a22..19df622b 100644 --- a/pages/classes.php +++ b/pages/classes.php @@ -13,9 +13,7 @@ if (!$smarty->loadCache($cacheKey, $pageData)) $pageData = array( 'file' => 'class', 'data' => $classes->getListviewData(), - 'params' => array( - 'tabs' => false - ) + 'params' => [] ); $smarty->saveCache($cacheKey, $pageData); diff --git a/pages/currencies.php b/pages/currencies.php index fef33b79..ece2673d 100644 --- a/pages/currencies.php +++ b/pages/currencies.php @@ -26,9 +26,7 @@ if (!$smarty->loadCache($cacheKey, $pageData)) $pageData = array( 'file' => 'currency', 'data' => $money->getListviewData(), - 'params' => array( - 'tabs' => false - ) + 'params' => [] ); $money->addGlobalsToJscript($pageData); diff --git a/pages/events.php b/pages/events.php index c1f81abf..a46916d1 100644 --- a/pages/events.php +++ b/pages/events.php @@ -51,7 +51,7 @@ if (!$smarty->loadCache($cacheKey, $pageData)) 'file' => 'event', 'data' => $events->getListviewData(), 'deps' => $deps, - 'calendar' => false, // todo: fix it Felix! + 'calendar' => false, // todo (med): fix it Felix! 'params' => array( 'tabs' => '$myTabs' ) diff --git a/pages/itemsets.php b/pages/itemsets.php index 84b17067..2472f394 100644 --- a/pages/itemsets.php +++ b/pages/itemsets.php @@ -27,7 +27,6 @@ if (!$smarty->loadCache($cacheKey, $pageData)) // listview content $pageData['data'] = $itemsets->getListviewData(); - $pageData['params'] = ['tabs' => false]; // create note if search limit was exceeded if ($itemsets->getMatches() > $AoWoWconf['sqlLimit']) diff --git a/pages/pets.php b/pages/pets.php index 9b593797..34f386d8 100644 --- a/pages/pets.php +++ b/pages/pets.php @@ -26,7 +26,6 @@ if (!$smarty->loadCache($cacheKey, $pageData)) 'file' => 'pet', 'data' => $pets->getListviewData(), 'params' => array( - 'tabs' => false, 'visibleCols' => "$['abilities']" ) ); diff --git a/pages/races.php b/pages/races.php index 97499477..0da32a21 100644 --- a/pages/races.php +++ b/pages/races.php @@ -13,9 +13,7 @@ if (!$smarty->loadCache($cacheKey, $pageData)) $pageData = array( 'file' => 'race', 'data' => $races->getListviewData(), - 'params' => array( - 'tabs' => false - ) + 'params' => [] ); $smarty->saveCache($cacheKey, $pageData); diff --git a/pages/spells.php b/pages/spells.php index 32981f94..9580fe18 100644 --- a/pages/spells.php +++ b/pages/spells.php @@ -380,7 +380,6 @@ if (!$smarty->loadCache($cacheKey, $pageData, $filter)) $spells = new SpellList($conditions, true); $pageData['data'] = $spells->getListviewData(); - $pageData['params']['tabs'] = false; $spells->addGlobalsToJscript($pageData); diff --git a/pages/titles.php b/pages/titles.php index 5925aa96..b6c18902 100644 --- a/pages/titles.php +++ b/pages/titles.php @@ -25,9 +25,7 @@ if (!$smarty->loadCache($cacheKey, $pageData)) $pageData = array( 'file' => 'title', 'data' => $titles->getListviewData(), - 'params' => array( - 'tabs' => false - ) + 'params' => [] ); if ($titles->hasDiffFields(['category'])) diff --git a/template/bricks/listviews/achievement.tpl b/template/bricks/listviews/achievement.tpl index bf233152..e2914806 100644 --- a/template/bricks/listviews/achievement.tpl +++ b/template/bricks/listviews/achievement.tpl @@ -2,7 +2,6 @@ new Listview({ldelim} template:'achievement', {if !isset($params.id)}id:'achievements',{/if} - {if !isset($params.tabs)}tabs:tabsRelated,{/if} {if !isset($params.name)}name:LANG.tab_achievements,{/if} {if !isset($params.parent)}parent:'listview-generic',{/if} {foreach from=$params key=k item=v} diff --git a/template/bricks/listviews/calendar.tpl b/template/bricks/listviews/calendar.tpl index 42660b2b..01e3ea27 100644 --- a/template/bricks/listviews/calendar.tpl +++ b/template/bricks/listviews/calendar.tpl @@ -2,7 +2,6 @@ new Listview({ldelim} template:'holidaycal', {if !isset($params.id)}id:'calendar',{/if} - {if !isset($params.tabs)}tabs:tabsRelated,{/if} {if !isset($params.name)}name:LANG.tab_calendar,{/if} {if !isset($params.parent)}parent:'listview-generic',{/if} {foreach from=$params key=k item=v} diff --git a/template/bricks/listviews/class.tpl b/template/bricks/listviews/class.tpl index d9d8bcad..6754d0c1 100644 --- a/template/bricks/listviews/class.tpl +++ b/template/bricks/listviews/class.tpl @@ -2,7 +2,6 @@ new Listview({ldelim} template:'classs', {if !isset($params.id)}id:'classes',{/if} - {if !isset($params.tabs)}tabs:'listview-generic',{/if} {if !isset($params.name)}name:LANG.tab_classes,{/if} {if !isset($params.parent)}parent:'listview-generic',{/if} {foreach from=$params key=k item=v} diff --git a/template/bricks/listviews/currency.tpl b/template/bricks/listviews/currency.tpl index db4da77a..ecd9e306 100644 --- a/template/bricks/listviews/currency.tpl +++ b/template/bricks/listviews/currency.tpl @@ -2,7 +2,6 @@ new Listview({ldelim} template:'currency', {if !isset($params.id)}id:'currencies',{/if} - {if !isset($params.tabs)}tabs:'listview-generic',{/if} {if !isset($params.name)}name:LANG.tab_currencies,{/if} {if !isset($params.parent)}parent:'listview-generic',{/if} {foreach from=$params key=k item=v} diff --git a/template/bricks/listviews/event.tpl b/template/bricks/listviews/event.tpl index 148782c3..20af898c 100644 --- a/template/bricks/listviews/event.tpl +++ b/template/bricks/listviews/event.tpl @@ -2,7 +2,6 @@ new Listview({ldelim} template:'holiday', {if !isset($params.id)}id:'holidays',{/if} - {if !isset($params.tabs)}tabs:tabsRelated,{/if} {if !isset($params.name)}name:LANG.tab_holidays,{/if} {if !isset($params.parent)}parent:'listview-generic',{/if} {foreach from=$params key=k item=v} diff --git a/template/bricks/listviews/item.tpl b/template/bricks/listviews/item.tpl index 3cdfae9a..ed8d8e62 100644 --- a/template/bricks/listviews/item.tpl +++ b/template/bricks/listviews/item.tpl @@ -2,7 +2,6 @@ new Listview({ldelim} template:'item', {if !isset($params.id)}id:'items',{/if} - {if !isset($params.tabs)}tabs:'listview-generic',{/if} {if !isset($params.name)}name:LANG.tab_items,{/if} {if !isset($params.parent)}parent:'listview-generic',{/if} {foreach from=$params key=k item=v} diff --git a/template/bricks/listviews/itemset.tpl b/template/bricks/listviews/itemset.tpl index 70ef2ede..0a934b4a 100644 --- a/template/bricks/listviews/itemset.tpl +++ b/template/bricks/listviews/itemset.tpl @@ -2,7 +2,6 @@ new Listview({ldelim} template:'itemset', {if !isset($params.id)}id:'itemsets',{/if} - {if !isset($params.tabs)}tabs:'listview-generic',{/if} {if !isset($params.name)}name:LANG.tab_itemsets,{/if} {if !isset($params.parent)}parent:'listview-generic',{/if} {foreach from=$params key=k item=v} diff --git a/template/bricks/listviews/pet.tpl b/template/bricks/listviews/pet.tpl index b15eeae5..379a68b5 100644 --- a/template/bricks/listviews/pet.tpl +++ b/template/bricks/listviews/pet.tpl @@ -20,7 +20,6 @@ var _ = function(family) template:'pet', computeDataFunc: _, {if !isset($params.id)}id:'hunter-pets',{/if} - {if !isset($params.tabs)}tabs:'tabs-generic',{/if} {if !isset($params.name)}name:LANG.tab_pets,{/if} {if !isset($params.parent)}parent:'listview-generic',{/if} {foreach from=$params key=k item=v} diff --git a/template/bricks/listviews/quest.tpl b/template/bricks/listviews/quest.tpl index 40514189..806d05a0 100644 --- a/template/bricks/listviews/quest.tpl +++ b/template/bricks/listviews/quest.tpl @@ -2,7 +2,6 @@ new Listview({ldelim} template:'quest', {if !isset($params.id)}id:'quests',{/if} - {if !isset($params.tabs)}tabs:tabsRelated,{/if} {if !isset($params.name)}name:LANG.tab_quests,{/if} {if !isset($params.parent)}parent:'listview-generic',{/if} {foreach from=$params key=k item=v} diff --git a/template/bricks/listviews/race.tpl b/template/bricks/listviews/race.tpl index 344a2ba1..af52a7d8 100644 --- a/template/bricks/listviews/race.tpl +++ b/template/bricks/listviews/race.tpl @@ -2,7 +2,6 @@ new Listview({ldelim} template:'race', {if !isset($params.id)}id:'races',{/if} - {if !isset($params.tabs)}tabs:'listview-generic',{/if} {if !isset($params.name)}name:LANG.tab_races,{/if} {if !isset($params.parent)}parent:'listview-generic',{/if} {foreach from=$params key=k item=v} diff --git a/template/bricks/listviews/spell.tpl b/template/bricks/listviews/spell.tpl index 0ce1bc2c..0bf3de6a 100644 --- a/template/bricks/listviews/spell.tpl +++ b/template/bricks/listviews/spell.tpl @@ -2,7 +2,6 @@ new Listview({ldelim} template:'spell', {if !isset($params.id)}id:'spells',{/if} - {if !isset($params.tabs)}tabs:'listview-generic',{/if} {if !isset($params.name)}name:LANG.tab_spells,{/if} {if !isset($params.parent)}parent:'listview-generic',{/if} {foreach from=$params key=k item=v} diff --git a/template/bricks/listviews/title.tpl b/template/bricks/listviews/title.tpl index de92cbe5..9d533884 100644 --- a/template/bricks/listviews/title.tpl +++ b/template/bricks/listviews/title.tpl @@ -2,7 +2,6 @@ new Listview({ldelim} template:'title', {if !isset($params.id)}id:'titles',{/if} - {if !isset($params.tabs)}tabs:'listview-generic',{/if} {if !isset($params.name)}name:LANG.tab_titles,{/if} {if !isset($params.parent)}parent:'listview-generic',{/if} {foreach from=$params key=k item=v}