'int', 'allowIndividualSubmissions' => 'bool', 'allowPanelSubmissions' => 'bool', 'acceptSupplementaryReviewMaterials' => 'bool', 'copySubmissionAckPrimaryContact' => 'bool', 'copySubmissionAckSpecified' => 'bool', 'copySubmissionAckAddress' => 'string', 'cfpMessage' => 'string', 'presenterGuidelines' => 'string', 'submissionChecklist' => 'object', 'metaDiscipline' => 'bool', 'metaDisciplineExamples' => 'string', 'metaSubjectClass' => 'bool', 'metaSubjectClassTitle' => 'string', 'metaSubjectClassUrl' => 'string', 'metaSubject' => 'bool', 'metaSubjectExamples' => 'string', 'metaCoverage' => 'bool', 'metaCoverageGeoExamples' => 'string', 'metaCoverageChronExamples' => 'string', 'metaCoverageResearchSampleExamples' => 'string', 'metaType' => 'bool', 'metaTypeExamples' => 'string', 'enablePublicPaperId' => 'bool', 'enablePublicSuppFileId' => 'bool' ); $this->addCheck(new FormValidatorEmail($this, 'copySubmissionAckAddress', 'optional', 'user.profile.form.emailRequired')); parent::SchedConfSetupForm(2, $settings); } /** * Get the list of field names for which localized settings are used. * @return array */ function getLocaleFieldNames() { return array('cfpMessage', 'presenterGuidelines', 'submissionChecklist', 'metaDisciplineExamples', 'metaSubjectClassTitle', 'metaSubjectExamples', 'metaCoverageGeoExamples', 'metaCoverageChronExamples', 'metaCoverageResearchSampleExamples', 'metaTypeExamples'); } function display() { $schedConf = &Request::getSchedConf(); $templateMgr = &TemplateManager::getManager(); import('mail.MailTemplate'); $mail = &new MailTemplate('SUBMISSION_ACK'); if ($mail->isEnabled()) { $templateMgr->assign('submissionAckEnabled', true); } parent::display(); } } ?>