CoreFiles by mySites.guru
default_links.php24 lines, 691 bytes, from Joomla_5.0.3-Stable-Full_Package.zip
Raw History Compare with 5.0.2
md5
874290e5615dfde9d84c04ba8f07be33
sha1
9bc54d909a96ee5379c1e3990ed353446f7268bc
sha256
bfc47f1029e5b02bdd7d85272fc61191971019e21ef5ce2d18dd2f4c785f23ed
<?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;

?>
<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 38 releases, Joomla 5.0.0-alpha1 to 5.1.4. See them all, or every version of this file.