lang
[phpmyadmin/crack.git] / server_links.inc.php3
blob37ae98409f87fa65164983a0449f3492b6746785
1 <?php
2 /* $Id$ */
3 // vim: expandtab sw=4 ts=4 sts=4:
6 /**
7 * Counts amount of navigation tabs
8 */
9 $server_links_count_tabs = 0;
12 /**
13 * Put something in $sub_part
15 if (!isset($sub_part)) {
16 $sub_part = '';
20 /**
21 * Prepares links
23 if ($is_superuser) {
24 $cfg['ShowMysqlInfo'] = TRUE;
25 $cfg['ShowMysqlVars'] = TRUE;
29 /**
30 * Displays a message
32 if (!empty($message)) {
33 PMA_showMessage($message);
37 /**
38 * Displays tab links
41 <table border="0" cellspacing="0" cellpadding="3" width="100%" class="tabs">
42 <tr>
43 <td width="8">&nbsp;</td>
44 <?php
45 echo PMA_printTab($strDatabases, 'server_databases.php3', $url_query);
46 if ($cfg['ShowMysqlInfo']) {
47 echo PMA_printTab($strStatus, 'server_status.php3', $url_query);
49 if ($cfg['ShowMysqlVars']) {
50 echo PMA_printTab($strServerTabVariables, 'server_variables.php3', $url_query);
52 if ($is_superuser) {
53 echo PMA_printTab($strPrivileges, 'server_privileges.php3', $url_query);
55 echo PMA_printTab($strServerTabProcesslist, 'server_processlist.php3', $url_query);
57 </tr>
58 </table>
59 <br />