cache two versions of page

- regular for normal users
- extended info for employees
search: format opensearch with json_encode instead of string concatenation
This commit is contained in:
Sarjuuk
2014-07-01 20:33:48 +02:00
parent 663597a7a0
commit 775b12d64c
12 changed files with 47 additions and 45 deletions

View File

@@ -190,7 +190,7 @@ class ObjectPage extends GenericPage
}
// AI
if (User::isInGroup(U_GROUP_STAFF))
if (User::isInGroup(U_GROUP_EMPLOYEE))
{
if ($_ = $this->subject->getField('ScriptName'))
$infobox[] = 'Script'.Lang::$main['colon'].$_;