CoreFiles by mySites.guru
default_links.php23 lines, 651 bytes, from Joomla_4.0.2-Stable-Full_Package.zip
Raw History Compare with 4.0.1
md5
7eaf56ee6e417f8e42e7082e66b94a40
sha1
5acf152a3ef9027794552ed4c251511a49fd7f96
sha256
14b203becd260c698f7cf43fe9edc95cf82b12cc4eeb8c6783c442b2aa7a1e7d
<?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;

?>
<ol 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; ?>
</ol>

The same content is in 51 releases, Joomla 4.0.0-beta6 to 4.2.0-beta2. See them all, or every version of this file.