CoreFiles by mySites.guru
default_description.php28 lines, 1,012 bytes, from Joomla_4.1.2-Stable-Full_Package.zip
Raw History Compare with 4.1.1
md5
68264db8ba2dceefc74d355878966906
sha1
5a288473e4514acc8b5a1084969e56f6608c754e
sha256
29fe9a791a3cdd258eaeea970ba5a63398136d05560d320e36d2e5938ccae373
<?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); ?>
		<?php echo HTMLHelper::_('templates.thumbModal', $this->template); ?>
	</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 24 releases, Joomla 4.1.0-beta1 to 4.2.0-beta2. See them all, or every version of this file.