/** * @param string $a_new_type * @return array */ protected function initCreationForms($a_new_type) { $forms = parent::initCreationForms($a_new_type); unset($forms[self::CFORM_IMPORT]); $forms[self::CFORM_NEW]->clearCommandButtons(); $forms[self::CFORM_NEW]->addCommandButton('create-save', $this->lng->txt($a_new_type . '_add')); $forms[self::CFORM_NEW]->addCommandButton('cancel', $this->lng->txt('cancel')); return $forms; }