' , __('phpMyAdmin Demo Server') , '
'; echo ''; printf( __( 'You are using the demo server. You can do anything here, but ' . 'please do not change root, debian-sys-maint and pma users. ' . 'More information is available at %s.' ), 'demo.phpmyadmin.net' ); echo '
'; echo '' , __('General settings') , '
'; echo '- ';
/**
* Displays the MySQL servers choice form
*/
if ($cfg['ServerDefault'] == 0
|| (! $cfg['NavigationDisplayServers']
&& (count($cfg['Servers']) > 1
|| ($server == 0 && count($cfg['Servers']) == 1)))
) {
echo '
- '; echo Util::getImage('s_host') , " " , Select::render(true, true); echo ' '; } /** * Displays the mysql server related links */ if ($server > 0) { include_once 'libraries/check_user_privileges.inc.php'; // Logout for advanced authentication if ($cfg['Server']['auth_type'] != 'config') { if ($cfg['ShowChgPassword']) { $conditional_class = 'ajax'; Core::printListItem( Util::getImage('s_passwd') . " " . __( 'Change password' ), 'li_change_password', 'user_password.php' . $common_url_query, null, null, 'change_password_anchor', "no_bullets", $conditional_class ); } } // end if echo '
- '; echo ' ' . "\n" . ' ' . "\n"; } // end of if ($server > 0) echo '
' , __('Appearance settings') , '
'; echo '- ';
// Displays language selection combo
$language_manager = LanguageManager::getInstance();
if (empty($cfg['Lang']) && $language_manager->hasChoice()) {
echo '
- '; echo Util::getImage('s_lang') , " " , $language_manager->getSelectorDisplay(); echo ' '; } // ThemeManager if available if ($GLOBALS['cfg']['ThemeManager']) { echo '
- '; echo Util::getImage('s_theme') , " " , ThemeManager::getInstance()->getHtmlSelectBox(); echo ' '; } echo '
- '; echo Config::getFontsizeForm(); echo ' '; echo '
- ';
Core::printListItem(
Util::getImage('b_tblops') . " " . __(
'More settings'
),
'li_user_preferences',
'prefs_manage.php' . $common_url_query,
null,
null,
null,
"no_bullets"
);
echo '
' , __('Database server') , '
'; echo '- ' , "\n";
Core::printListItem(
__('Server:') . ' ' . $server_info,
'li_server_info'
);
Core::printListItem(
__('Server type:') . ' ' . Util::getServerType(),
'li_server_type'
);
Core::printListItem(
__('Server connection:') . ' ' . Util::getServerSSL(),
'li_server_type'
);
Core::printListItem(
__('Server version:')
. ' '
. $GLOBALS['dbi']->getVersionString() . ' - ' . $GLOBALS['dbi']->getVersionComment(),
'li_server_version'
);
Core::printListItem(
__('Protocol version:') . ' ' . $GLOBALS['dbi']->getProtoInfo(),
'li_mysql_proto'
);
Core::printListItem(
__('User:') . ' ' . htmlspecialchars($mysql_cur_user_and_host),
'li_user_info'
);
echo '
- '; echo ' ' , __('Server charset:') , ' ' . ' '; $charset = Charsets::getServerCharset($GLOBALS['dbi']); $charsets = Charsets::getMySQLCharsetsDescriptions( $GLOBALS['dbi'], $GLOBALS['cfg']['Server']['DisableIS'] ); echo ' ' , (isset($charsets[$charset]) ? $charsets[$charset] : '') , ' (' . $charset, ')'; echo ' ' . ' ' . '
' , __('Web server') , '
'; echo '- ';
if ($GLOBALS['cfg']['ShowServerInfo']) {
Core::printListItem($_SERVER['SERVER_SOFTWARE'], 'li_web_server_software');
if ($server > 0) {
$client_version_str = $GLOBALS['dbi']->getClientInfo();
if (preg_match('#\d+\.\d+\.\d+#', $client_version_str)) {
$client_version_str = 'libmysql - ' . $client_version_str;
}
Core::printListItem(
__('Database client version:') . ' ' . $client_version_str,
'li_mysql_client_version'
);
$php_ext_string = __('PHP extension:') . ' ';
$extensions = Util::listPHPExtensions();
foreach ($extensions as $extension) {
$php_ext_string .= ' ' . $extension
. Util::showPHPDocu('book.' . $extension . '.php');
}
Core::printListItem(
$php_ext_string,
'li_used_php_extension'
);
$php_version_string = __('PHP version:') . ' ' . phpversion();
Core::printListItem(
$php_version_string,
'li_used_php_version'
);
}
}
if ($cfg['ShowPhpInfo']) {
Core::printListItem(
__('Show PHP information'),
'li_phpinfo',
'phpinfo.php' . $common_url_query,
null,
'_blank'
);
}
echo '
phpMyAdmin
'; echo '- ';
$class = null;
if ($GLOBALS['cfg']['VersionCheck']) {
$class = 'jsversioncheck';
}
Core::printListItem(
__('Version information:') . ' ' . PMA_VERSION . '',
'li_pma_version',
null,
null,
null,
null,
$class
);
Core::printListItem(
__('Documentation'),
'li_pma_docs',
Util::getDocuLink('index'),
null,
'_blank'
);
// does not work if no target specified, don't know why
Core::printListItem(
__('Official Homepage'),
'li_pma_homepage',
Core::linkURL('https://www.phpmyadmin.net/'),
null,
'_blank'
);
Core::printListItem(
__('Contribute'),
'li_pma_contribute',
Core::linkURL('https://www.phpmyadmin.net/contribute/'),
null,
'_blank'
);
Core::printListItem(
__('Get support'),
'li_pma_support',
Core::linkURL('https://www.phpmyadmin.net/support/'),
null,
'_blank'
);
Core::printListItem(
__('List of changes'),
'li_pma_changes',
'changelog.php' . Url::getCommon(),
null,
'_blank'
);
Core::printListItem(
__('License'),
'li_pma_license',
'license.php' . Url::getCommon(),
null,
'_blank'
);
echo '