Add links to mysqldump documentation for some options.

This commit is contained in:
Michal Čihař
2008-09-03 11:54:58 +00:00
parent 2da4a403c3
commit 181eb71fae
4 changed files with 24 additions and 6 deletions

View File

@@ -272,7 +272,11 @@ function PMA_pluginGetOneOption($section, $plugin_name, $id, &$opt)
$ret .= 'UNKNOWN OPTION ' . $opt['type'] . ' IN IMPORT PLUGIN ' . $plugin_name . '!';
}
if (isset($opt['doc'])) {
$ret .= PMA_showMySQLDocu($opt['doc'][0], $opt['doc'][1]);
if (count($opt['doc'] == 3)) {
$ret .= PMA_showMySQLDocu($opt['doc'][0], $opt['doc'][1], false, $opt['doc'][2]);
} else {
$ret .= PMA_showMySQLDocu($opt['doc'][0], $opt['doc'][1]);
}
}
$ret .= "\n";
return $ret;