Template: Fix domain selector active background color.
This commit is contained in:
@@ -149,6 +149,7 @@
|
|||||||
//domain selector row background colors
|
//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_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_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
|
//domain list
|
||||||
$view->assign('domains', $_SESSION['domains']);
|
$view->assign('domains', $_SESSION['domains']);
|
||||||
//domain uuid
|
//domain uuid
|
||||||
|
|||||||
@@ -803,8 +803,6 @@
|
|||||||
{*//set active domain color *}
|
{*//set active domain color *}
|
||||||
{if $domain_active_background_color != ''}
|
{if $domain_active_background_color != ''}
|
||||||
{if $row.domain_uuid == $domain_uuid}{$background_color=$domain_active_background_color}{/if}
|
{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}
|
{/if}
|
||||||
{*//active domain text hover color *}
|
{*//active domain text hover color *}
|
||||||
{if $settings.theme.domain_active_text_color_hover != '' && $row.domain_uuid == $domain_uuid}
|
{if $settings.theme.domain_active_text_color_hover != '' && $row.domain_uuid == $domain_uuid}
|
||||||
|
|||||||
Reference in New Issue
Block a user