CoreFiles by mySites.guru
default_links.php25 lines, 763 bytes, from Joomla_5.2.5-Stable-Full_Package.zip
Raw History Compare with 5.2.4
md5
676b890dcfe4fe1a261f58333bb3eda0
sha1
071a40a36b5d768d239b9d7fa5627b103568b84e
sha256
f41891ea1223709ae1db450cd7aa525d94d4ee3504168f554935f4836dc0fec2
<?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 $item->title; ?></a>
        </li>
    <?php endforeach; ?>
</ul>

The same content is in 77 releases, Joomla 5.2.0-alpha1 to 6.1.0-beta3. See them all, or every version of this file.