[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/layouts/joomla/editors/ -> buttons.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Site
   5   * @subpackage  Layout
   6   *
   7   * @copyright   (C) 2014 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  
  15  $buttons = $displayData;
  16  
  17  ?>
  18  <div class="editor-xtd-buttons" role="toolbar" aria-label="<?php echo Text::_('JTOOLBAR'); ?>">
  19      <?php if ($buttons) : ?>
  20          <?php foreach ($buttons as $button) : ?>
  21              <?php echo $this->sublayout('button', $button); ?>
  22              <?php echo $this->sublayout('modal', $button); ?>
  23          <?php endforeach; ?>
  24      <?php endif; ?>
  25  </div>


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