{extends file="widgets/base/widget.tpl"}

{strip}
    {if !empty($et_FooterCopyright.content) || !empty($meta_copyright) || $Einstellungen.global.global_zaehler_anzeigen === 'Y' || !empty($Einstellungen.global.global_fusszeilehinweis) || true}
        {block name="et-widget-container-inner"}
                <div class="et-footer-copyright-wrapper row" id="copyright">
                    {if !empty($et_FooterCopyright.content)}
                        <div class="col-12 et-footer-copyright-content">
                            {$et_FooterCopyright.content}
                        </div>
                    {/if}
                    {block name='layout-footer-copyright-copyright'}
                        {* Original JTL Copyright content *}
                        {if !empty($meta_copyright) || $Einstellungen.global.global_zaehler_anzeigen === 'Y' || !empty($Einstellungen.global.global_fusszeilehinweis)}
                            <div class="col-12 et-footer-copyright-jtl">
                                {if !empty($meta_copyright)}
                                    <span class="icon-mr-2">&copy; {$meta_copyright}</span>
                                {/if}
                                {if $Einstellungen.global.global_zaehler_anzeigen === 'Y'}
                                    {lang key='counter'}: {$Besucherzaehler}
                                {/if}
                                {if !empty($Einstellungen.global.global_fusszeilehinweis)}
                                    <span class="ml-2">{$Einstellungen.global.global_fusszeilehinweis}</span>
                                {/if}
                            </div>
                        {/if}
                    {/block}
                </div>
        {/block}
        {else}
        {block name="et-widget-container-class"}d-none{/block}
    {/if}
{/strip}