CoreFiles by mySites.guru
default.php33 lines, 853 bytes, from Joomla_4.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 3.9.0-beta4
md5
6766abc5b7077651f5a24ae26e90bf8c
sha1
8fce3f6c6d1729de4045b5f2aeb57e66ecb14708
sha256
3bf2566d9ee537634eb987346340f28f31e6d2f1415e1426acf3a6c97ae40dfb
<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_content
 *
 * @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-content-categories categories-list">
	<?php
		echo LayoutHelper::render('joomla.content.categories_default', $this);
		echo $this->loadTemplate('items');
	?>
</div>

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