From e8d3ace22a24ecea2294370f1fd9e47575eff2cc Mon Sep 17 00:00:00 2001 From: Nate Date: Fri, 25 Oct 2019 07:33:38 -0600 Subject: [PATCH] Domain Selector: Display full description in tool tip. --- themes/default/template.php | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/themes/default/template.php b/themes/default/template.php index e0e5bbb88b..f0160b68f4 100644 --- a/themes/default/template.php +++ b/themes/default/template.php @@ -523,17 +523,19 @@ echo "
\n"; echo "
"; } echo "".escape($domain['domain_name'])."\n"; - //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"; + if ($domain['domain_description'] != '') { + //active domain description text color + if ($_SESSION['theme']['domain_active_desc_text_color']['text'] != '' && $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_uuid'] != $_SESSION['domain_uuid']) { + echo " - ".escape($domain['domain_description'])."\n"; + } + //default domain description text color + else { + echo " - ".escape($domain['domain_description'])."\n"; + } } echo "
\n"; $ary_domain_names[] = $domain['domain_name'];