'b_tblops.png', 'Sql_queries' => 'b_sql.png', 'Left_frame' => 'b_select.png', 'Main_frame' => 'b_props.png', 'Import' => 'b_import.png', 'Export' => 'b_export.png'); echo '
'; // show "configuration saved" message and reload navigation frame if needed if (!empty($_GET['saved'])) { $message = PMA_Message::rawSuccess(__('Configuration has been saved')); $message->display(); } $forms_all_keys = PMA_read_userprefs_fieldnames($forms); $cf = ConfigFile::getInstance(); $cf->resetConfigData(); // start with a clean instance $cf->setAllowedKeys($forms_all_keys); $cf->updateWithGlobalConfig($GLOBALS['PMA_Config']); // todo: debug - remove $arr = $cf->getConfigArray(); $arr2 = array(); foreach ($arr as $k => $v) { $arr2[] = "$k " . var_export($v, true); } $arr2 = implode(', ', $arr2); $arr2 .= '