';
echo '' . $strActions . '';
/**
* Displays the mysql server related links
*/
if ($server > 0) {
require_once './libraries/check_user_privileges.lib.php';
$is_superuser = PMA_isSuperuser();
if ($cfg['Server']['auth_type'] == 'config') {
$cfg['ShowChgPassword'] = false;
}
}
if ($server > 0) {
echo '
';
echo '- ';
if ($cfg['ShowCreateDb']) {
echo '
- '; require './libraries/display_create_database.lib.php'; echo ' ' . "\n"; } /** * Change password * * @todo ? needs another message */ if ($cfg['ShowChgPassword']) { PMA_printListItem($strChangePassword, 'li_change_password', './user_password.php?' . $common_url_query); } // end if // Logout for advanced authentication if ($cfg['Server']['auth_type'] != 'config') { $http_logout = ($cfg['Server']['auth_type'] == 'http') ? '' . ($cfg['ReplaceHelpImg'] ? '
- '; require_once './libraries/select_server.lib.php'; PMA_select_server(true, true); echo ' '; } echo '

- ';
}
echo '
';
echo '' . $strInterface . '';
echo '
';
echo '- ';
// Displays language selection combo
if (empty($cfg['Lang'])) {
echo '
- '; require_once './libraries/display_select_lang.lib.php'; PMA_select_language(); echo ' '; } // added by Michael Keck
- '; echo $_SESSION['PMA_Theme_Manager']->getHtmlSelectBox(); echo ' '; } echo '
- '; echo PMA_Config::getFontsizeForm(); echo ' '; echo '
'; echo '
';
if ($server > 0) {
echo '' . $strMySQLServerInformation . '';
// 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 .= htmlspecialchars($cfg['Server']['verbose']);
if ($GLOBALS['cfg']['ShowServerInfo']) {
$server_info .= ' (';
}
}
if ($GLOBALS['cfg']['ShowServerInfo'] || empty($cfg['Server']['verbose'])) {
$server_info .= PMA_DBI_get_host_info();
}
if (! empty($cfg['Server']['verbose']) && $GLOBALS['cfg']['ShowServerInfo']) {
$server_info .= ')';
}
$mysql_cur_user_and_host = PMA_DBI_fetch_value('SELECT USER();');
// should we add the port info here?
$short_server_info = (!empty($GLOBALS['cfg']['Server']['verbose'])
? $GLOBALS['cfg']['Server']['verbose']
: $GLOBALS['cfg']['Server']['host']);
//echo '
';
}
if ($server > 0) {
echo '' . $short_server_info . '
' . "\n"; unset($short_server_info); } if ($server > 0) { echo '- ' . "\n";
if ($GLOBALS['cfg']['ShowServerInfo']) {
PMA_printListItem($strServer . ': ' . $server_info, 'li_server_info');
PMA_printListItem($strServerVersion . ': ' . PMA_MYSQL_STR_VERSION, 'li_server_version');
PMA_printListItem($strProtocolVersion . ': ' . PMA_DBI_get_proto_info(),
'li_mysql_proto');
PMA_printListItem($strUser . ': ' . htmlspecialchars($mysql_cur_user_and_host),
'li_user_info');
} else {
PMA_printListItem($strServerVersion . ': ' . PMA_MYSQL_STR_VERSION, 'li_server_version');
PMA_printListItem($strServer . ': ' . $server_info, 'li_server_info');
}
echo '
- '; echo ' ' . $strMySQLCharset . ': ' . ' ' . ' ' . $mysql_charsets_descriptions[$mysql_charset_map[strtolower($charset)]] . "\n" . ' (' . $mysql_charset_map[strtolower($charset)] . ')' . "\n" . ' ' . "\n" . ' ' . "\n" . '
- '; echo ' ' . "\n" . ' ' . "\n"; echo '
';
echo '' . $strWebServerInformation . '';
echo '
';
echo '- ';
PMA_printListItem($_SERVER['SERVER_SOFTWARE'], 'li_web_server_software');
PMA_printListItem($strMysqlClientVersion . ': ' . PMA_DBI_get_client_info(),
'li_mysql_client_version');
PMA_printListItem($strUsedPhpExtensions . ': ' . $GLOBALS['cfg']['Server']['extension'],
'li_used_php_extension');
}
if ($cfg['ShowPhpInfo']) {
PMA_printListItem($strShowPHPInfo, 'li_phpinfo', './phpinfo.php?' . $common_url_query);
}
echo '
';
echo '' . $strAboutphpMyAdmin . '';
echo '
here, otherwise it will not extend the outer div to the
* full height of the inner divs
*/
?>
- ';
PMA_printListItem($strVersionInformation . ': ' . PMA_VERSION, 'li_pma_version');
PMA_printListItem($strPmaDocumentation, 'li_pma_docs', 'Documentation.html', null, '_blank');
PMA_printListItem($strPmaWiki, 'li_pma_wiki', 'http://wiki.cihar.com', null, '_blank');
// does not work if no target specified, don't know why
PMA_printListItem($strHomepageOfficial, 'li_pma_homepage', 'http://www.phpMyAdmin.net/', null, '_blank');
?>
- [ChangeLog] [Subversion] [Lists]