From e12dc9996581da118867eee4c5f76e12f0beb033 Mon Sep 17 00:00:00 2001 From: chansizzle <14916599+chansizzle@users.noreply.github.com> Date: Thu, 12 Sep 2019 17:02:23 -0600 Subject: [PATCH] Update template.php (#4568) --- themes/default/template.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/themes/default/template.php b/themes/default/template.php index 882d15176f..2761ae4f71 100644 --- a/themes/default/template.php +++ b/themes/default/template.php @@ -448,7 +448,16 @@ echo "
\n"; echo "
"; } echo "".escape($domain['domain_name'])."\n"; - if ($domain['domain_description'] != '') { + //active domain description text color + if ($_SESSION['theme']['domain_active_desc_text_color']['text'] != '' && $domain['domain_description'] != '' && $domain['domain_uuid'] == $_SESSION['domain_uuid']) { + echo " - ".escape($domain['domain_description'])."\n"; + } + //inactive domains description text color + else if ($_SESSION['theme']['domain_inactive_desc_text_color']['text'] != '' && $domain['domain_description'] != '' && $domain['domain_uuid'] != $_SESSION['domain_uuid']) { + echo " - ".escape($domain['domain_description'])."\n"; + } + //default domain description text color + else { echo " - ".escape($domain['domain_description'])."\n"; } echo "
\n";