* added skills listview-page

* removed some overzealous $WH.-insertions
* fixed logic error omiting jsGlobals with id: 1
This commit is contained in:
Sarjuuk
2013-08-07 19:52:17 +02:00
parent 5436ead926
commit 0b0fa39ff4
19 changed files with 428 additions and 80 deletions

View File

@@ -413,6 +413,7 @@ class Lang
public static $npc;
public static $pet;
public static $quest;
public static $skill;
public static $spell;
public static $title;
public static $zone;
@@ -781,7 +782,7 @@ class SmartyAoWoW extends Smarty
$this->initJSGlobal($type);
foreach ($ids as $k => $id) // filter already generated data, maybe we can save a lookup or two
if (isset($this->_tpl_vars['jsGlobals'][$type][$id]))
if (isset($this->_tpl_vars['jsGlobals'][$type][1][$id]))
unset($ids[$k]);
switch ($type)