diff --git a/resources/footer.php b/resources/footer.php index 75dc860e1d..cce827a2e1 100644 --- a/resources/footer.php +++ b/resources/footer.php @@ -149,6 +149,7 @@ //domain selector row background colors $view->assign('domain_selector_background_color_1', $_SESSION['theme']['domain_inactive_background_color'][0] != '' ? $_SESSION['theme']['domain_inactive_background_color'][0] : '#eaedf2'); $view->assign('domain_selector_background_color_2', $_SESSION['theme']['domain_inactive_background_color'][1] != '' ? $_SESSION['theme']['domain_inactive_background_color'][1] : '#ffffff'); + $view->assign('domain_active_background_color', $_SESSION['theme']['domain_active_background_color']['text'] != '' ? $_SESSION['theme']['domain_active_background_color']['text'] : '#eeffee'); //domain list $view->assign('domains', $_SESSION['domains']); //domain uuid diff --git a/themes/default/template.php b/themes/default/template.php index ebe04a9a3c..58e199b736 100644 --- a/themes/default/template.php +++ b/themes/default/template.php @@ -803,8 +803,6 @@ {*//set active domain color *} {if $domain_active_background_color != ''} {if $row.domain_uuid == $domain_uuid}{$background_color=$domain_active_background_color}{/if} - {else} - {if $row.domain_uuid == $domain_uuid}{$background_color='#eeffee'}{/if} {/if} {*//active domain text hover color *} {if $settings.theme.domain_active_text_color_hover != '' && $row.domain_uuid == $domain_uuid}