{* {else} {/if} {*//external css files *} {*//link to custom css file *} {if $settings.theme.custom_css} {/if} {*//set favorite icon *} {*//document title *} {$document_title} {*//remote javascript *} {*//web font loader *} {if $settings.theme.font_loader == 'true'} {if $settings.theme.font_retrieval != 'asynchronous'} {/if} {/if} {*//local javascript *} {*//message container *}
{*//domain selector *} {if $authenticated && $domain_selector_enabled}
{foreach $domains as $row} {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}
{/if} {*//qr code container for contacts *} {*//login page *} {if $login_page}

{$document_body}
{*//other pages *} {else} {if $settings.theme.menu_style == 'side' || $settings.theme.menu_style == 'inline' || $settings.theme.menu_style == 'static'} {$container_open} {if $settings.theme.menu_style == 'inline'}{$logo}{/if} {$menu} {if $settings.theme.menu_style == 'inline' || $settings.theme.menu_style == 'static'}
{/if} {if $settings.theme.menu_style == 'side'}{/if} {else} {*//default: fixed *} {$menu} {$container_open} {/if}
{$document_body}
{$container_close} {/if}