* @license http://www.gnu.org/licenses/gpl.html GNU GPL 2.0 * @version $Id: form.inc.php 11650 2008-10-14 10:31:07Z crackpl $ */ if (!defined('PHPMYADMIN')) { exit; } require_once './setup/lib/Form.class.php'; require_once './setup/lib/FormDisplay.class.php'; require_once './setup/lib/form_processing.lib.php'; $formsets = array( 'features' => array( 'forms' => array('Import_export', 'Security', 'Sql_queries', 'Other_core_settings')), 'left_frame' => array( 'forms' => array('Left_frame', 'Left_servers', 'Left_databases', 'Left_tables')), 'main_frame' => array( 'forms' => array('Startup', 'Browse', 'Edit', 'Tabs', 'Sql_box')), 'import' => array( 'forms' => array('Import_defaults')), 'export' => array( 'forms' => array('Export_defaults')) ); $formset_id = filter_input(INPUT_GET, 'formset'); $mode = filter_input(INPUT_GET, 'mode'); if (!isset($formsets[$formset_id])) { die('Incorrect formset, check $formsets array in setup/frames/form.inc.php'); } $formset = $formsets[$formset_id]; if (isset($GLOBALS['strSetupFormset_' . $formset_id])) { echo '