display link to mysql help page for specific engine

This commit is contained in:
Sebastian Mendel
2005-12-07 09:52:16 +00:00
parent 085bd0c36b
commit a5a8082232

View File

@@ -92,7 +92,7 @@ function PMA_generateEngineDetails($variables, $like = null) {
$dt_table .= ' ' . PMA_showHint($details['desc']) . "\n"; $dt_table .= ' ' . PMA_showHint($details['desc']) . "\n";
} }
$dt_table .= ' </td>' . "\n" $dt_table .= ' </td>' . "\n"
. ' <th>' . ' <th>'
. htmlspecialchars( empty($details['title']) . htmlspecialchars( empty($details['title'])
? $var : $details['title'] ) . "\n" ? $var : $details['title'] ) . "\n"
. ' </th>' . "\n" . ' </th>' . "\n"
@@ -195,6 +195,7 @@ if ( empty($_REQUEST['engine'])
? '<img class="icon" src="' . $pmaThemeImage . 'b_engine.png"' ? '<img class="icon" src="' . $pmaThemeImage . 'b_engine.png"'
.' width="16" height="16" alt="" />' : '' ) .' width="16" height="16" alt="" />' : '' )
. ' ' . htmlspecialchars($engine_plugin->getTitle()) . "\n" . ' ' . htmlspecialchars($engine_plugin->getTitle()) . "\n"
. ' ' . PMA_showMySQLDocu( '', $engine_plugin->getMysqlHelpPage() ) . "\n"
. '</h2>' . "\n\n"; . '</h2>' . "\n\n";
if (PMA_MYSQL_INT_VERSION >= 40102) { if (PMA_MYSQL_INT_VERSION >= 40102) {
echo '<p>' . "\n" echo '<p>' . "\n"
@@ -230,7 +231,7 @@ if ( empty($_REQUEST['engine'])
. '</p>' . "\n\n"; . '</p>' . "\n\n";
} }
unset($infoPages, $page_output); unset($infoPages, $page_output);
if (!empty($_REQUEST['page'])) { if (!empty($_REQUEST['page'])) {
$page_output = $engine_plugin->getPage($_REQUEST['page']); $page_output = $engine_plugin->getPage($_REQUEST['page']);
} }
if (!empty($page_output)) { if (!empty($page_output)) {