CoreFiles by mySites.guru
default.php31 lines, 862 bytes, from Joomla_4.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 3.9.0-beta4
md5
34dd9dcbd98c062f92513d6b276b9279
sha1
63e367a2cffcf757a554cb1c873ed382da839167
sha256
78b5a29ef77092314031ba210b1dfa8d53ddf6a48606244d7bc739c8a99dcf5f
<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_newsfeeds
 *
 * @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\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;

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

$this->document->getWebAssetManager()->registerAndUseScript(
	'com_categories.shared-categories-accordion',
	'com_categories/shared-categories-accordion.js',
	[],
	['defer' => true],
	['core']
);

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

No other release has this exact content. See every version of this file.