CoreFiles by mySites.guru
default.php35 lines, 960 bytes, from Joomla_4.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 3.9.0-beta4
md5
dc3983e724174a12e3988584dec9b675
sha1
d58a3901179caf839eaad24295c2db150443e831
sha256
657046fc2435f554ac5dd3d71745bafdb235bb44b06b20bb19c9b9b48b8d1e5a
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_articles_category
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Helper\ModuleHelper;
use Joomla\CMS\Language\Text;

if (!$list)
{
	return;
}

?>
<ul class="mod-articlescategory category-module mod-list">
	<?php if ($grouped) : ?>
		<?php foreach ($list as $groupName => $items) : ?>
		<li>
			<div class="mod-articles-category-group"><?php echo Text::_($groupName); ?></div>
			<ul>
				<?php require ModuleHelper::getLayoutPath('mod_articles_category', $params->get('layout', 'default') . '_items'); ?>
			</ul>
		</li>
		<?php endforeach; ?>
	<?php else : ?>
		<?php $items = $list; ?>
		<?php require ModuleHelper::getLayoutPath('mod_articles_category', $params->get('layout', 'default') . '_items'); ?>
	<?php endif; ?>
</ul>

The same content is in 5 releases, Joomla 4.0.0-beta to 4.0.0-beta5. See them all, or every version of this file.