Support for phpMyAdmin documentation in plugin library.

This commit is contained in:
Michal Čihař
2010-07-21 10:10:06 +02:00
parent 38171b9e23
commit b1cf628bd7

View File

@@ -274,6 +274,8 @@ function PMA_pluginGetOneOption($section, $plugin_name, $id, &$opt)
if (isset($opt['doc'])) {
if (count($opt['doc']) == 3) {
$ret .= PMA_showMySQLDocu($opt['doc'][0], $opt['doc'][1], false, $opt['doc'][2]);
} elseif (count($opt['doc']) == 1) {
$ret .= PMA_showDocu($opt['doc'][0]);
} else {
$ret .= PMA_showMySQLDocu($opt['doc'][0], $opt['doc'][1]);
}