- {elseif $settings.theme.domain_inactive_text_color_hover != '' && $row.domain_uuid != $domain_uuid}
-
- {else}
-
- {/if}
- {*//domain link *}
-
{$row.domain_name}
- {*//domain description *}
- {if $row.domain_description != ''}
- {*//active domain description text color *}
- {if $settings.theme.domain_active_desc_text_color != '' && $row.domain_uuid == $domain_uuid}
-
- {$row.domain_description}
- {*//inactive domains description text color *}
- {elseif $settings.theme.domain_inactive_desc_text_color != '' && $row.domain_uuid != $domain_uuid}
-
- {$row.domain_description}
- {*//default domain description text color *}
- {else}
-
- {$row.domain_description}
- {/if}
- {/if}
-
- {$ary_domain_names[]=$row.domain_name}
- {$ary_domain_descs[]=$row.domain_description|replace:'"':'\"'}
+ {if $row.domain_enabled}
+ {*//alternate background colors of inactive domains *}
+ {if $background_color == $domain_selector_background_color_1}
+ {$background_color=$domain_selector_background_color_2}
+ {else}
+ {$background_color=$domain_selector_background_color_1}
+ {/if}
+ {*//set active domain color *}
+ {if $domain_active_background_color != ''}
+ {if $row.domain_uuid == $domain_uuid}{$background_color=$domain_active_background_color}{/if}
+ {/if}
+ {*//active domain text hover color *}
+ {if $settings.theme.domain_active_text_color_hover != '' && $row.domain_uuid == $domain_uuid}
+
+ {elseif $settings.theme.domain_inactive_text_color_hover != '' && $row.domain_uuid != $domain_uuid}
+
+ {else}
+
+ {/if}
+ {*//domain link *}
+
{$row.domain_name}
+ {*//domain description *}
+ {if $row.domain_description != ''}
+ {*//active domain description text color *}
+ {if $settings.theme.domain_active_desc_text_color != '' && $row.domain_uuid == $domain_uuid}
+
- {$row.domain_description}
+ {*//inactive domains description text color *}
+ {elseif $settings.theme.domain_inactive_desc_text_color != '' && $row.domain_uuid != $domain_uuid}
+
- {$row.domain_description}
+ {*//default domain description text color *}
+ {else}
+
- {$row.domain_description}
+ {/if}
+ {/if}
+
+ {$ary_domain_names[]=$row.domain_name}
+ {$ary_domain_descs[]=$row.domain_description|replace:'"':'\"'}
+ {/if}
{/foreach}