CoreFiles by mySites.guru
default_links.php25 lines, 778 bytes, from Joomla_5.4.4-Stable-Full_Package.zip
Raw History Compare with 5.4.3
md5
5cde788bfa18cc887b515aee603ed803
sha1
d5fe1a991b8de851d77a69990cfbe69d6bde3d9d
sha256
3456fd6a5a383d759080bc4ac437b2b8fd3243339b1fe057f45a97fd39da6360
<?php

/**
 * @package     Joomla.Site
 * @subpackage  com_content
 *
 * @copyright   (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Router\Route;
use Joomla\Component\Content\Site\Helper\RouteHelper;

/** @var \Joomla\Component\Content\Site\View\Featured\HtmlView $this */
?>
<ul class="com-content-blog__links">
    <?php foreach ($this->link_items as $item) : ?>
        <li class="com-content-blog__link">
            <a href="<?php echo Route::_(RouteHelper::getArticleRoute($item->slug, $item->catid, $item->language)); ?>">
                <?php echo $this->escape($item->title); ?></a>
        </li>
    <?php endforeach; ?>
</ul>

The same content is in 40 releases, Joomla 5.4.4 to 6.2.1-rc1. See them all, or every version of this file.