CoreFiles by mySites.guru
default_titles.php24 lines, 743 bytes, from Joomla_5.4.8-Stable-Full_Package.zip
Raw History Compare with 5.4.7
md5
942915e11ef5a40a8070683b08c0c498
sha1
6b453848fa6d3a9f8e63e93052cc18365d598a84
sha256
91cfcf5c0e38fd1ac44a61cef1f7da936ee35dcaef256aa89b1f6361ad5de8cc
<?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 htmlspecialchars($item->title, ENT_QUOTES, 'UTF-8'); ?>
                </span>
            </a>
        </li>
    <?php endforeach; ?>
</ul>

The same content is in 15 releases, Joomla 5.4.4 to 6.0.4. See them all, or every version of this file.