protected function remove_theme_form() { $form_id = $this->getFormID("remove_theme"); $form = new FormMaker(); $form->setID($form_id); $form->setClass("formular"); $form->addLabel("Vyber tému"); $form->addSelect('tema'); $form->addOption('tema', 'nazov', '---Vyber tému---', ''); foreach ($this->themes as $theme) { $form->addOption('tema', 'tema_' . $theme['id'], $theme['name'], $theme['id']); } $form->registerForm(); $form->showForm(); }