Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Foellmann <foellmann@foe-services.de>2014-07-28 14:13:10 +0400
committerChristian Foellmann <foellmann@foe-services.de>2014-07-28 14:13:10 +0400
commit276394119dfbe117acd411a3862de597ba35a2ad (patch)
tree3dc394a15f459d6324e3452e15e9446e47fe3bd0 /libraries/display_change_password.lib.php
parentc8c2e72886de1b71f5abcaa295075da9666096b5 (diff)
UPDATE phpmyadmin 4.2.6 multilanguage
Diffstat (limited to 'libraries/display_change_password.lib.php')
-rw-r--r--libraries/display_change_password.lib.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/libraries/display_change_password.lib.php b/libraries/display_change_password.lib.php
index 3d068d4c2a..c93fcab6b1 100644
--- a/libraries/display_change_password.lib.php
+++ b/libraries/display_change_password.lib.php
@@ -29,10 +29,14 @@ function PMA_getHtmlForChangePassword($username, $hostname)
? 'onpropertychange'
: 'onchange';
+ $is_privileges = basename($_SERVER['SCRIPT_NAME']) === 'server_privileges.php';
+
$html = '<form method="post" id="change_password_form" '
. 'action="' . $GLOBALS['PMA_PHP_SELF'] . '" '
. 'name="chgPassword" '
- . 'class="ajax" >';
+ . 'class="ajax'
+ . ($is_privileges ? ' submenu-item' : '')
+ . '">';
$html .= PMA_URL_getHiddenInputs();
@@ -43,7 +47,9 @@ function PMA_getHtmlForChangePassword($username, $hostname)
. 'value="' . htmlspecialchars($hostname) . '" />';
}
$html .= '<fieldset id="fieldset_change_password">'
- . '<legend>' . __('Change password') . '</legend>'
+ . '<legend'
+ . ($is_privileges ? ' data-submenu-label="' . __('Change password') . '"' : '')
+ . '>' . __('Change password') . '</legend>'
. '<table class="data noclick">'
. '<tr class="odd">'
. '<td colspan="2">'