[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_installer/tmpl/discover/ -> emptystate.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Administrator
   5   * @subpackage  com_installer
   6   *
   7   * @copyright   (C) 2021 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\Language\Text;
  14  use Joomla\CMS\Layout\LayoutHelper;
  15  use Joomla\CMS\Session\Session;
  16  
  17  $displayData = [
  18      'textPrefix' => 'COM_INSTALLER',
  19      'formURL'    => 'index.php?option=com_installer&task=discover.refresh',
  20      'helpURL'    => 'https://docs.joomla.org/Special:MyLanguage/Help4.x:Extensions:_Discover',
  21      'icon'       => 'icon-puzzle-piece install',
  22      'createURL'  => 'index.php?option=com_installer&task=discover.refresh&' . Session::getFormToken() . '=1',
  23      'content'    => Text::_('COM_INSTALLER_MSG_DISCOVER_DESCRIPTION'),
  24      'title'      => Text::_('COM_INSTALLER_EMPTYSTATE_DISCOVER_TITLE'),
  25      'btnadd'     => Text::_('COM_INSTALLER_EMPTYSTATE_DISCOVER_BUTTON_ADD'),
  26  ];
  27  
  28  echo LayoutHelper::render('joomla.content.emptystate', $displayData);


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