There are no empty/drop tabs anymore
This commit is contained in:
@@ -1660,10 +1660,7 @@ function PMA_generate_html_tab($tab, $url_params = array())
|
|||||||
|
|
||||||
// determine additionnal style-class
|
// determine additionnal style-class
|
||||||
if (empty($tab['class'])) {
|
if (empty($tab['class'])) {
|
||||||
if ($tab['text'] == __('Empty')
|
if (! empty($tab['active'])
|
||||||
|| $tab['text'] == __('Drop')) {
|
|
||||||
$tab['class'] = 'caution';
|
|
||||||
} elseif (! empty($tab['active'])
|
|
||||||
|| PMA_isValid($GLOBALS['active_page'], 'identical', $tab['link'])) {
|
|| PMA_isValid($GLOBALS['active_page'], 'identical', $tab['link'])) {
|
||||||
$tab['class'] = 'active';
|
$tab['class'] = 'active';
|
||||||
} elseif (is_null($tab['active']) && empty($GLOBALS['active_page'])
|
} elseif (is_null($tab['active']) && empty($GLOBALS['active_page'])
|
||||||
|
Reference in New Issue
Block a user