<footer>
    &copy; <?= date('Y') ?>
    <?php $linksWebsiteFooter = function_exists('intranet_website_url') ? intranet_website_url() : ''; ?>
    <?php if ($linksWebsiteFooter !== ''): ?>
    <a href="<?= htmlspecialchars($linksWebsiteFooter, ENT_QUOTES, 'UTF-8') ?>">
        <?= htmlspecialchars(function_exists('intranet_brand_name') ? intranet_brand_name() : 'Intranet', ENT_QUOTES, 'UTF-8') ?>.
    </a>
    <?php else: ?>
        <?= htmlspecialchars(function_exists('intranet_brand_name') ? intranet_brand_name() : 'Intranet', ENT_QUOTES, 'UTF-8') ?>.
    <?php endif; ?>
    Todos los derechos reservados.
</footer>
