CoreFiles by mySites.guru
default_titles.php24 lines, 704 bytes, from Joomla_5.2.2-Stable-Full_Package.zip
Raw History Compare with 5.2.1
md5
67a84f6968e77c9d0946a729e39fa77a
sha1
2207115ec72ff898da65934904b3b62719a4efa4
sha256
735231f38933d64e1134d36246bb04ec6d9ea649b32d649360269c9fb6ce02ad
<?php

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

defined('_JEXEC') or die;

?>
<ul class="mod-articles mod-list">
    <?php foreach ($items as $item) : ?>
        <li itemscope itemtype="https://schema.org/Article">
            <a <?php echo $item->active ? 'class="' . $item->active . '" ' : ''; ?>href="<?php echo $item->link; ?>" itemprop="url">
                <span itemprop="name">
                    <?php echo $item->title; ?>
                </span>
            </a>
        </li>
    <?php endforeach; ?>
</ul>

The same content is in 67 releases, Joomla 5.2.0-rc2 to 6.1.0-alpha3. See them all, or every version of this file.