mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Template: Fix domain selector active background color.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user