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 "
";
}
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";