2 /* vim: set expandtab sw=4 ts=4 sts=4: */
6 * @package PhpMyAdmin-setup
9 if (!defined('PHPMYADMIN')) {
16 require_once './libraries/config/Form.class.php';
17 require_once './libraries/config/FormDisplay.class.php';
18 require_once './setup/lib/form_processing.lib.php';
20 require './libraries/config/setup.forms.php';
22 $formset_id = filter_input(INPUT_GET
, 'formset');
23 $mode = filter_input(INPUT_GET
, 'mode');
24 if (! isset($forms[$formset_id])) {
25 die(__('Incorrect formset, check $formsets array in setup/frames/form.inc.php'));
28 if (isset($GLOBALS['strConfigFormset_' . $formset_id])) {
29 echo '<h2>' . $GLOBALS['strConfigFormset_' . $formset_id] . '</h2>';
31 $form_display = new FormDisplay();
32 foreach ($forms[$formset_id] as $form_name => $form) {
33 $form_display->registerForm($form_name, $form);
35 process_formset($form_display);