CoreFiles by mySites.guru
default.php29 lines, 883 bytes, from Joomla_4.4.2-Stable-Full_Package.zip
Raw History Compare with 4.4.1
md5
d6087320f120e7feee85969e824096d8
sha1
8863282d1af63bf1f652075e7102f8ed752ec412
sha256
caa44bf942a1e181cdbe9934885887716fca20d7288acbb64e413e227471017f
<?php

/**
 * @package     Joomla.Site
 * @subpackage  com_newsfeeds
 *
 * @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\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;

// Add strings for translations in Javascript.
Text::script('JGLOBAL_EXPAND_CATEGORIES');
Text::script('JGLOBAL_COLLAPSE_CATEGORIES');

/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
$wa = $this->document->getWebAssetManager();
$wa->getRegistry()->addExtensionRegistryFile('com_categories');
$wa->useScript('com_categories.shared-categories-accordion');

?>
<div class="com-newsfeeds-categories categories-list">
    <?php echo LayoutHelper::render('joomla.content.categories_default', $this); ?>
    <?php echo $this->loadTemplate('items'); ?>
</div>

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