' . "\n"; /** * Displays the mysql server related links */ if ( $server > 0 ) { require_once('./libraries/check_user_privileges.lib.php'); // why this? a non-priv user should be able to change his // password if the configuration permits //$cfg['ShowChgPassword'] = $is_superuser = PMA_isSuperuser(); $is_superuser = PMA_isSuperuser(); if ($cfg['Server']['auth_type'] == 'config') { $cfg['ShowChgPassword'] = FALSE; } } ?>
0 ) { // robbat2: Use the verbose name of the server instead of the hostname // if a value is set $server_info = ''; if (!empty($cfg['Server']['verbose'])) { $server_info .= $cfg['Server']['verbose']; $server_info .= ' ('; } $server_info .= PMA_DBI_get_host_info(); if (!empty($cfg['Server']['verbose'])) { $server_info .= ')'; } // loic1: skip this because it's not a so good idea to display sockets // used to everybody // if (!empty($cfg['Server']['socket']) && PMA_PHP_INT_VERSION >= 30010) { // $server_info .= ':' . $cfg['Server']['socket']; // } $mysql_cur_user_and_host = PMA_DBI_fetch_value('SELECT USER();'); echo '

MySQL - ' . PMA_MYSQL_STR_VERSION .'

' . "\n"; } else { // Case when no server selected echo '

MySQL

' . "\n"; } /** * Displays the MySQL servers choice form */ if (!$cfg['LeftDisplayServers'] && (count($cfg['Servers']) > 1 || $server == 0 && count($cfg['Servers']) == 1)) { include('./libraries/select_server.lib.php'); PMA_select_server(TRUE, FALSE); } if ( $server > 0 ) { echo ''; } // end of if ($server > 0) ?>
phpMyAdmin - ' . PMA_VERSION . '' . "\n"; echo '
here, otherwise it will not extend the outer div to the * full height of the inner divs */ ?>

' . $error . '' . "\n"; } } /** * Removed the "empty $cfg['PmaAbsoluteUri']" warning on 2005-08-23 * See https://sourceforge.net/tracker/index.php?func=detail&aid=1257134&group_id=23067&atid=377411 */ /** * Warning if using the default MySQL privileged account * modified: 2004-05-05 mkkeck */ if ($server != 0 && $cfg['Server']['user'] == 'root' && $cfg['Server']['password'] == '') { echo '
' . $strInsecureMySQL . '
' . "\n"; } /** * Warning for PHP 4.2.3 * modified: 2004-05-05 mkkeck */ if (PMA_PHP_INT_VERSION == 40203 && @extension_loaded('mbstring')) { echo '
' . $strPHP40203 . '
' . "\n"; } /** * Nijel: As we try to hadle charsets by ourself, mbstring overloads just * break it, see bug 1063821. */ if (@extension_loaded('mbstring') && @ini_get('mbstring.func_overload') > 1) { echo '
' . $strMbOverloadWarning . '
' . "\n"; } /** * Nijel: mbstring is used for handling multibyte inside parser, so it is good * to tell user something might be broken without it, see bug #1063149. */ if ($GLOBALS['using_mb_charset'] && !@extension_loaded('mbstring')) { echo '
' . $strMbExtensionMissing . '
' . "\n"; } /** * Warning for old PHP version * modified: 2004-05-05 mkkeck */ if (PMA_PHP_INT_VERSION < 40100) { echo '
' . sprintf($strUpgrade, 'PHP', '4.1.0') . '
' . "\n"; } /** * Warning for old MySQL version * modified: 2004-05-05 mkkeck */ // not yet defined before the server choice if (defined('PMA_MYSQL_INT_VERSION') && PMA_MYSQL_INT_VERSION < 32332) { echo '
' . sprintf($strUpgrade, 'MySQL', '3.23.32') . '
' . "\n"; } /** * prints list item for main page * * @param string $name displayed text * @param string $id id, used for css styles * @param string $url make item as link with $url as target * @param string $mysql_help_page display a link to MySQL's manual * @param string $target special target for $url */ function PMA_printListItem($name, $id = null, $url = null, $mysql_help_page = null, $target = null) { echo '
  • '; if (null !== $url) { echo ''; } echo $name; if (null !== $url) { echo '' . "\n"; } if (null !== $mysql_help_page) { echo PMA_showMySQLDocu('', $mysql_help_page); } echo '
  • '; } /** * Displays the footer */ require_once('./libraries/footer.inc.php'); ?>