CoreFiles by mySites.guru
horizontal.php30 lines, 815 bytes, from Joomla_4.2.2-Stable-Full_Package.zip
Raw History Compare with 4.2.1
md5
e288bd90bf8945fc15abc170950b05fa
sha1
24b7fed4d88ddfabf01789e9c8f77ddc0dac211a
sha256
2c4011d360080527b22cb4b4c73d552bd25982de5edc79af953cd7d24a09319a
<?php

/**
 * @package     Joomla.Site
 * @subpackage  mod_articles_news
 *
 * @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\Helper\ModuleHelper;

/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
$wa = $app->getDocument()->getWebAssetManager();
$wa->registerAndUseStyle('mod_modules', 'mod_articles_news/template.css');

if (empty($list)) {
    return;
}

?>
<ul class="mod-articlesnews-horizontal newsflash-horiz mod-list">
    <?php foreach ($list as $item) : ?>
        <li itemscope itemtype="https://schema.org/Article">
            <?php require ModuleHelper::getLayoutPath('mod_articles_news', '_item'); ?>
        </li>
    <?php endforeach; ?>
</ul>

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