From b6b7814e8bc37e19b61f09529b7d9244d3530385 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 29 Sep 2014 12:29:13 +0200 Subject: [PATCH] Add GeneralConfig page refs #7163 --- application/forms/Setup/GeneralConfigPage.php | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 application/forms/Setup/GeneralConfigPage.php diff --git a/application/forms/Setup/GeneralConfigPage.php b/application/forms/Setup/GeneralConfigPage.php new file mode 100644 index 000000000..d02a9b98f --- /dev/null +++ b/application/forms/Setup/GeneralConfigPage.php @@ -0,0 +1,35 @@ +setName('setup_application_config'); + } + + /** + * @see Form::createElements() + */ + public function createElements(array $formData) + { + $appForm = new ApplicationConfigForm(); + $this->addElement($appForm->createElements($formData)->getElement('global_modulePath')); + + $loggingForm = new LoggingConfigForm(); + $this->addElements($loggingForm->createElements($formData)->getElements()); + } +}