' . "\n" . PMA_Util::getImage('b_engine.png') . "\n" . __('Storage Engines') . "\n" . '' . "\n"; /** * Displays the table header */ echo '' . "\n" . '' . "\n" . '' . "\n" . ' ' . "\n" . '' . "\n" . '' . "\n" . '' . "\n"; /** * Listing the storage engines */ $odd_row = true; foreach (PMA_StorageEngine::getStorageEngines() as $engine => $details) { echo '' . "\n" . ' ' . "\n" . ' ' . "\n" . '' . "\n"; $odd_row = !$odd_row; } unset($odd_row, $engine, $details); echo '' . "\n" . '
' . __('Storage Engine') . '' . __('Description') . '
' . "\n" . ' ' . htmlspecialchars($details['Engine']) . "\n" . ' ' . htmlspecialchars($details['Comment']) . '
' . "\n"; } else { /** * Displays details about a given Storage Engine */ $engine_plugin = PMA_StorageEngine::getEngine($_REQUEST['engine']); echo '

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

' . "\n\n"; echo '

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

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

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

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

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

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