- allow for search by Id if json-searching

- changed, how achievement chains are saved (more obvious and probably faster)
- misc preparations for setup overhaul
This commit is contained in:
Sarjuuk
2014-01-05 16:34:46 +01:00
parent edaaba6139
commit c7c6028adf
16 changed files with 212 additions and 273 deletions

View File

@@ -8,16 +8,16 @@ $cacheKey = implode('_', [CACHETYPE_PAGE, TYPE_CLASS, -1, -1, User::$localeId]);
if (!$smarty->loadCache($cacheKey, $pageData))
{
$pageData = array(
'listviews' => []
);
$classes = new CharClassList();
$pageData['listviews'][] = array(
'file' => 'class',
'data' => $classes->getListviewData(),
'params' => []
$pageData = array(
'listviews' => array(
array(
'file' => 'class',
'data' => $classes->getListviewData(),
'params' => []
)
)
);
$smarty->saveCache($cacheKey, $pageData);