CoreFiles by mySites.guru
default_description.php28 lines, 1,086 bytes, from Joomla_4.0.2-Stable-Full_Package.zip
Raw History Compare with 4.0.1
md5
f5e6f87448738088919018415e0c604a
sha1
016f007ba152ec39954912911f4293d1fd9e6771
sha256
38d2ed1a24f847afdfd1801f7cec99f8a998d2f3b3c541ae72ed59254163d39d
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_templates
 *
 * @copyright   (C) 2013 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\Application\ApplicationHelper;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\Component\Templates\Administrator\Helper\TemplatesHelper;

?>

<div class="clearfix">
	<div class="float-start me-3 text-center">
		<?php echo HTMLHelper::_('templates.thumb', $this->template->element, $this->template->client_id); ?>
		<?php echo HTMLHelper::_('templates.thumbModal', $this->template->element, $this->template->client_id); ?>
	</div>
	<h2><?php echo ucfirst($this->template->element); ?></h2>
	<?php $client = ApplicationHelper::getClientInfo($this->template->client_id); ?>
	<p><?php $this->template->xmldata = TemplatesHelper::parseXMLTemplateFile($client->path, $this->template->element); ?></p>
	<p><?php echo Text::_($this->template->xmldata->get('description')); ?></p>
</div>

The same content is in 26 releases, Joomla 4.0.0-beta7 to 4.1.0-alpha3. See them all, or every version of this file.