[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_templates/tmpl/template/ -> default_description.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Administrator
   5   * @subpackage  com_templates
   6   *
   7   * @copyright   (C) 2013 Open Source Matters, Inc. <https://www.joomla.org>
   8   * @license     GNU General Public License version 2 or later; see LICENSE.txt
   9   */
  10  
  11  defined('_JEXEC') or die;
  12  
  13  use Joomla\CMS\Application\ApplicationHelper;
  14  use Joomla\CMS\HTML\HTMLHelper;
  15  use Joomla\CMS\Language\Text;
  16  use Joomla\Component\Templates\Administrator\Helper\TemplatesHelper;
  17  
  18  ?>
  19  
  20  <div class="clearfix">
  21      <div class="float-start me-3 text-center">
  22          <?php echo HTMLHelper::_('templates.thumb', $this->template); ?>
  23          <?php echo HTMLHelper::_('templates.thumbModal', $this->template); ?>
  24      </div>
  25      <h2><?php echo ucfirst($this->template->element); ?></h2>
  26      <?php $client = ApplicationHelper::getClientInfo($this->template->client_id); ?>
  27      <p><?php $this->template->xmldata = TemplatesHelper::parseXMLTemplateFile($client->path, $this->template->element); ?></p>
  28      <p><?php echo Text::_($this->template->xmldata->get('description')); ?></p>
  29  </div>


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer