[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_scheduler/tmpl/select/ -> modal.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Administrator
   5   * @subpackage  com_scheduler
   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  /** The SelectView modal layout template. */
  12  
  13  // Restrict direct access
  14  defined('_JEXEC') or die;
  15  
  16  use Joomla\Component\Scheduler\Administrator\View\Select\HtmlView;
  17  
  18  /** @var  HtmlView  $this */
  19  
  20  // Is this needed?
  21  $this->modalLink = '&tmpl=component&view=select&layout=modal';
  22  
  23  // Wrap the default layout in a div.container-popup
  24  ?>
  25  <div class="container-popup">
  26      <?php $this->setLayout('default'); ?>
  27  
  28      <?php try {
  29          echo $this->loadTemplate();
  30      } catch (Exception $e) {
  31          die('Exception while loading template..');
  32      }
  33      ?>
  34  </div>


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