芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/beyondbrightenterprise.com/layouts/joomla/toolbar/basic.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; Factory::getDocument()->getWebAssetManager() ->useScript('core') ->useScript('webcomponent.toolbar-button'); extract($displayData, EXTR_OVERWRITE); /** * Layout variables * ----------------- * @var int $id * @var string $onclick * @var string $class * @var string $text * @var string $btnClass * @var string $tagName * @var string $htmlAttributes * @var string $task The task which should be executed * @var bool $listCheck Boolean, whether selection from a list is needed * @var string $form CSS selector for a target form * @var bool $formValidation Whether the form need to be validated before run the task * @var string $dropdownItems The dropdown HTML * @var string $hasButtons * @var string $caretClass * @var string $toggleSplit */ $tagName = $tagName ?? 'button'; $taskAttr = ''; $title = ''; $idAttr = !empty($id) ? ' id="' . $id . '"' : ''; $listAttr = !empty($listCheck) ? ' list-selection' : ''; $formAttr = !empty($form) ? ' form="' . $this->escape($form) . '"' : ''; $validate = !empty($formValidation) ? ' form-validation' : ''; $msgAttr = !empty($message) ? ' confirm-message="' . $this->escape($message) . '"' : ''; if ($id === 'toolbar-help') { $title = ' title="' . Text::_('JGLOBAL_OPENS_IN_A_NEW_WINDOW') . '"'; } if (!empty($task)) { $taskAttr = ' task="' . $task . '"'; } elseif (!empty($onclick)) { $htmlAttributes .= ' onclick="' . $onclick . '"'; } $direction = Factory::getLanguage()->isRtl() ? 'dropdown-menu-end' : ''; ?>
> < class="" >
>