X7ROOT File Manager
Current Path:
/home/notabjze/narcev.com/layouts/joomla/toolbar
home
/
notabjze
/
narcev.com
/
layouts
/
joomla
/
toolbar
/
ðŸ“
..
📄
base.php
(406 B)
📄
basic.php
(2.57 KB)
📄
batch.php
(1.05 KB)
📄
containerclose.php
(268 B)
📄
containeropen.php
(676 B)
📄
dropdown.php
(1.96 KB)
📄
iconclass.php
(385 B)
📄
link.php
(1019 B)
📄
popup.php
(1.34 KB)
📄
separator.php
(826 B)
📄
standard.php
(2.13 KB)
📄
title.php
(576 B)
📄
versions.php
(1.72 KB)
Editing: popup.php
<?php /** * @package Joomla.Site * @subpackage Layout * * @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\Factory; use Joomla\Utilities\ArrayHelper; extract($displayData, EXTR_OVERWRITE); /** * Layout variables * ----------------- * @var int $id * @var string $name * @var string $doTask * @var string $class * @var string $text * @var string $btnClass * @var string $tagName * @var bool $listCheck * @var string $htmlAttributes */ Factory::getDocument()->getWebAssetManager() ->useScript('core') ->useScript('webcomponent.toolbar-button'); $tagName = $tagName ?? 'button'; $modalAttrs['data-bs-toggle'] = 'modal'; $modalAttrs['data-bs-target'] = '#' . $selector; $idAttr = !empty($id) ? ' id="' . $id . '"' : ''; $listAttr = !empty($listCheck) ? ' list-selection' : ''; ?> <joomla-toolbar-button <?php echo $idAttr . $listAttr; ?>> <<?php echo $tagName; ?> value="<?php echo $doTask; ?>" class="<?php echo $btnClass; ?>" <?php echo $htmlAttributes; ?> <?php echo ArrayHelper::toString($modalAttrs); ?> > <span class="<?php echo $class; ?>" aria-hidden="true"></span> <?php echo $text; ?> </<?php echo $tagName; ?>> </joomla-toolbar-button>
Upload File
Create Folder