CoreFiles by mySites.guru
default.php27 lines, 674 bytes, from Joomla_5.0.0-Stable-Full_Package.zip
Raw History Compare with 4.4.14
md5
6e3fecdbb529f4dd6f4a8ffeb7596004
sha1
3d6e8a02c88764d3df14d69ad18841638aad6d41
sha256
858c96297fea11a573c600649f4a0918b569ac7929f41fa59121b38c29a064bd
<?php

/**
 * @package     Joomla.Site
 * @subpackage  mod_related_items
 *
 * @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\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;

?>
<ul class="mod-relateditems relateditems mod-list">
<?php foreach ($list as $item) : ?>
<li>
    <a href="<?php echo $item->route; ?>">
        <?php if ($showDate) {
            echo HTMLHelper::_('date', $item->created, Text::_('DATE_FORMAT_LC4')) . ' - ';
        } ?>
        <?php echo $item->title; ?></a>
</li>
<?php endforeach; ?>
</ul>

The same content is in 57 releases, Joomla 4.2.0-beta3 to 5.0.0. See them all, or every version of this file.