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