diff --git a/htdocs/sql/libraries/server_links.inc.php b/htdocs/sql/libraries/server_links.inc.php new file mode 100755 --- /dev/null +++ b/htdocs/sql/libraries/server_links.inc.php @@ -0,0 +1,100 @@ += 40100) { + $tabs['charset']['icon'] = 's_asci.png'; + $tabs['charset']['link'] = 'server_collations.php'; + $tabs['charset']['text'] = $strCharsets; +} + +$tabs['engine']['icon'] = 'b_engine.png'; +$tabs['engine']['link'] = 'server_engines.php'; +$tabs['engine']['text'] = $strEngines; + +if ($is_superuser) { + $tabs['rights']['icon'] = 's_rights.png'; + $tabs['rights']['link'] = 'server_privileges.php'; + $tabs['rights']['text'] = $strPrivileges; +} + +if (! empty($binary_logs)) { + $tabs['binlog']['icon'] = 's_tbl.png'; + $tabs['binlog']['link'] = 'server_binlog.php'; + $tabs['binlog']['text'] = $strBinaryLog; +} +$tabs['process']['icon'] = 's_process.png'; +$tabs['process']['link'] = 'server_processlist.php'; +$tabs['process']['text'] = $strProcesses; + +$tabs['export']['icon'] = 'b_export.png'; +$tabs['export']['link'] = 'server_export.php'; +$tabs['export']['text'] = $strExport; + +$tabs['import']['icon'] = 'b_import.png'; +$tabs['import']['link'] = 'server_import.php'; +$tabs['import']['text'] = $strImport; + +echo PMA_getTabs($tabs); +unset($tabs); + + +/** + * Displays a message + */ +if (!empty($message)) { + PMA_showMessage($message); + unset($message); +} + +?> +