' . "\n" . '' . "\n" . '' . __('Storage Engine') . '' . "\n" . ' ' . __('Description') . '' . "\n" . '' . "\n" . '' . "\n" . '' . "\n"; /** * Listing the storage engines */ $odd_row = true; foreach (PMA_StorageEngine::getStorageEngines() as $engine => $details) { $html .= '' . "\n" . ' ' . "\n" . ' ' . htmlspecialchars($details['Engine']) . "\n" . ' ' . "\n" . ' ' . htmlspecialchars($details['Comment']) . '' . "\n" . '' . "\n"; $odd_row = !$odd_row; } unset($odd_row, $engine, $details); $html .= '' . "\n" . '' . "\n"; return $html; } /** * setup HTML for a given Storage Engine * * @return string */ function PMA_getHtmlForSpecifiedServerEngines() { /** * Displays details about a given Storage Engine */ $html = ''; $engine_plugin = PMA_StorageEngine::getEngine($_REQUEST['engine']); $html .= '

' . "\n" . PMA_Util::getImage('b_engine.png') . ' ' . htmlspecialchars($engine_plugin->getTitle()) . "\n" . ' ' . PMA_Util::showMySQLDocu($engine_plugin->getMysqlHelpPage()) . "\n" . '

' . "\n\n"; $html .= '

' . "\n" . ' ' . "\n" . ' ' . htmlspecialchars($engine_plugin->getComment()) . "\n" . ' ' . "\n" . '

' . "\n\n"; $infoPages = $engine_plugin->getInfoPages(); if (! empty($infoPages) && is_array($infoPages)) { $html .= '

' . "\n" . ' [' . "\n"; if (empty($_REQUEST['page'])) { $html .= ' ' . __('Variables') . '' . "\n"; } else { $html .= ' ' . __('Variables') . '' . "\n"; } foreach ($infoPages as $current => $label) { $html .= ' |' . "\n"; if (isset($_REQUEST['page']) && $_REQUEST['page'] == $current) { $html .= ' ' . $label . '' . "\n"; } else { $html .= ' ' . htmlspecialchars($label) . '' . "\n"; } } unset($current, $label); $html .= ' ]' . "\n" . '

' . "\n\n"; } unset($infoPages, $page_output); if (! empty($_REQUEST['page'])) { $page_output = $engine_plugin->getPage($_REQUEST['page']); } if (! empty($page_output)) { $html .= $page_output; } else { $html .= '

' . $engine_plugin->getSupportInformationMessage() . "\n" . '

' . "\n" . $engine_plugin->getHtmlVariables(); } return $html; } ?>