Hide password change for Drizzle
This commit is contained in:

committed by
Michal Čihař

parent
d421c85a5c
commit
e264e9f112
25
main.php
25
main.php
@@ -85,19 +85,20 @@ if ($server > 0
|
|||||||
if ($server > 0) {
|
if ($server > 0) {
|
||||||
require_once './libraries/check_user_privileges.lib.php';
|
require_once './libraries/check_user_privileges.lib.php';
|
||||||
|
|
||||||
// Logout for advanced authentication
|
if (!PMA_DRIZZLE) {
|
||||||
if ($cfg['Server']['auth_type'] != 'config') {
|
// Logout for advanced authentication
|
||||||
if ($cfg['ShowChgPassword']) {
|
if ($cfg['Server']['auth_type'] != 'config') {
|
||||||
if ($GLOBALS['cfg']['AjaxEnable']) {
|
if ($cfg['ShowChgPassword']) {
|
||||||
$conditional_class = 'ajax';
|
if ($GLOBALS['cfg']['AjaxEnable']) {
|
||||||
} else {
|
$conditional_class = 'ajax';
|
||||||
$conditional_class = null;
|
} else {
|
||||||
|
$conditional_class = null;
|
||||||
|
}
|
||||||
|
PMA_printListItem(__('Change password'), 'li_change_password',
|
||||||
|
'./user_password.php?' . $common_url_query, null, null, 'change_password_anchor', null, $conditional_class);
|
||||||
}
|
}
|
||||||
PMA_printListItem(__('Change password'), 'li_change_password',
|
} // end if
|
||||||
'./user_password.php?' . $common_url_query, null, null, 'change_password_anchor', null, $conditional_class);
|
|
||||||
}
|
|
||||||
} // end if
|
|
||||||
if (PMA_DRIZZLE) {
|
|
||||||
echo ' <li id="li_select_mysql_collation">';
|
echo ' <li id="li_select_mysql_collation">';
|
||||||
echo ' <form method="post" action="index.php" target="_parent">' . "\n"
|
echo ' <form method="post" action="index.php" target="_parent">' . "\n"
|
||||||
. PMA_generate_common_hidden_inputs(null, null, 4, 'collation_connection')
|
. PMA_generate_common_hidden_inputs(null, null, 4, 'collation_connection')
|
||||||
|
Reference in New Issue
Block a user