mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
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:
@@ -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'].$_;
|
||||
|
||||
Reference in New Issue
Block a user