Visually highlight active initial in privs table
Signed-off-by: J.M <me@mynetx.net>
This commit is contained in:
parent
4ac53a14a7
commit
aa05823d92
@ -3174,8 +3174,11 @@ function PMA_getHtmlForDisplayTheInitials($array_initials)
|
|||||||
if (! empty($tmp_initial)) {
|
if (! empty($tmp_initial)) {
|
||||||
if ($initial_was_found) {
|
if ($initial_was_found) {
|
||||||
$html_output .= '<td>'
|
$html_output .= '<td>'
|
||||||
. '<a class="ajax"'
|
. '<a class="ajax'
|
||||||
. ' href="server_privileges.php'
|
. ((isset($_REQUEST['initial'])
|
||||||
|
&& $_REQUEST['initial'] === $tmp_initial
|
||||||
|
) ? ' active' : '')
|
||||||
|
. '" href="server_privileges.php'
|
||||||
. PMA_URL_getCommon(array('initial' => $tmp_initial))
|
. PMA_URL_getCommon(array('initial' => $tmp_initial))
|
||||||
. '">' . $tmp_initial
|
. '">' . $tmp_initial
|
||||||
. '</a>'
|
. '</a>'
|
||||||
|
|||||||
@ -134,6 +134,10 @@ a:hover {
|
|||||||
<?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'cccccc'); ?>
|
<?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'cccccc'); ?>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#initials_table a.active {
|
||||||
|
<?php echo $_SESSION['PMA_Theme']->getCssGradient('cccccc', 'ffffff'); ?>
|
||||||
|
}
|
||||||
|
|
||||||
dfn {
|
dfn {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user