name = Util::ucFirst(Lang::game('races')); } protected function generateContent() { $conditions = []; if (!User::isInGroup(U_GROUP_EMPLOYEE)) $conditions[] = [['cuFlags', CUSTOM_EXCLUDE_FOR_LISTVIEW, '&'], 0]; $races = new CharRaceList($conditions); if (!$races->error) { $this->lvTabs[] = array( 'file' => 'race', 'data' => $races->getListviewData(), 'params' => [] ); } } protected function generateTitle() { array_unshift($this->title, Util::ucFirst(Lang::game('races'))); } protected function generatePath() {} } ?>