'b_tblops.png',
'Sql_queries' => 'b_sql.png',
'Navi_panel' => 'b_select.png',
'Main_panel' => 'b_props.png',
'Import' => 'b_import.png',
'Export' => 'b_export.png');
echo '
';
// show "configuration saved" message and reload navigation panel if needed
if (!empty($_GET['saved'])) {
PMA_Message::rawSuccess(__('Configuration has been saved'))->display();
}
/* debug code
$arr = $cf->getConfigArray();
$arr2 = array();
foreach ($arr as $k => $v) {
$arr2[] = "$k " . var_export($v, true);
}
$arr2 = implode(', ', $arr2);
$arr2 .= '
Blacklist: ' . (empty($cfg['UserprefsDisallow'])
? 'empty'
: implode(', ', $cfg['UserprefsDisallow']));
$msg = PMA_Message::notice('Settings: ' . $arr2);
$msg->display();
//*/
// warn about using session storage for settings
$cfgRelation = PMA_getRelationsParam();
if (! $cfgRelation['userconfigwork']) {
$msg = __('Your preferences will be saved for current session only. Storing them permanently requires %sphpMyAdmin configuration storage%s.');
$msg = PMA_sanitize(
sprintf($msg, '[doc@linked-tables]', '[/doc]')
);
PMA_Message::notice($msg)->display();
}