removing smarty - part XII

- readded quest/quests, zones
- delayed filter-evaluation, also linked filterObj to page to be applied to cacheKey
- added check for modulo calculation with floats (fixes "0 years" - duarions)
Quests:
 * added category-locales
 * creating objectives shouldn't be quite as intensive anymore
This commit is contained in:
Sarjuuk
2014-07-03 21:49:09 +02:00
parent e0f4e9403a
commit 727d450923
25 changed files with 1735 additions and 1291 deletions

View File

@@ -29,8 +29,8 @@ class SkillsPage extends GenericPage
protected function generateContent()
{
$conditions = [];
if (User::isInGroup(U_GROUP_EMPLOYEE))
$conditions[] = ['categoryId', 12, '!']; // GENERIC (DND)
if (!User::isInGroup(U_GROUP_EMPLOYEE))
$conditions[] = ['categoryId', 12, '!']; // GENERIC (DND)
if ($this->category)
$conditions[] = ['typeCat', $this->category[0]];