3 // vim: expandtab sw=4 ts=4 sts=4:
7 require_once('./libraries/common.lib.php');
8 PMA_checkParameters(array('is_superuser', 'url_query'));
11 * Counts amount of navigation tabs
13 $server_links_count_tabs = 0;
17 * Put something in $sub_part
19 if (!isset($sub_part)) {
28 $cfg['ShowMysqlInfo'] = TRUE;
29 $cfg['ShowMysqlVars'] = TRUE;
36 if (!empty($message)) {
37 PMA_showMessage($message);
45 <table border
="0" cellspacing
="0" cellpadding
="3" width
="100%" class="tabs">
47 <td width
="8"> 
;</td
>
49 echo PMA_printTab($strDatabases, 'server_databases.php', $url_query);
50 if ($cfg['ShowMysqlInfo']) {
51 echo PMA_printTab($strStatus, 'server_status.php', $url_query);
53 if ($cfg['ShowMysqlVars']) {
54 echo PMA_printTab($strServerTabVariables, 'server_variables.php', $url_query);
56 if (PMA_MYSQL_INT_VERSION
>= 40100) {
57 echo PMA_printTab($strCharsets, 'server_collations.php', $url_query);
60 echo PMA_printTab($strPrivileges, 'server_privileges.php', $url_query);
62 echo PMA_printTab($strServerTabProcesslist, 'server_processlist.php', $url_query);
63 echo PMA_printTab($strExport, 'server_export.php', $url_query);