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
85a81736769995f7220cc664acdcf2be
sha1
f86df500ffac382c65479cdc366e6737930d5e4d
sha256
395fb03492476a8ba6148b99884354603c56f99a6407ffbe3a5e58477576047c
<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_contact
 *
 * @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-contact-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.