芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/acancehyucatan.gob.mx/layouts/joomla/toolbar/standard.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Factory; extract($displayData, EXTR_OVERWRITE); /** * Layout variables * ----------------- * @var string $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 $message Confirmation message before run the task */ Factory::getDocument()->getWebAssetManager() ->useScript('core') ->useScript('webcomponent.toolbar-button'); $tagName = $tagName ?? 'button'; $taskAttr = ''; $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 (!empty($task)) { $taskAttr = ' task="' . $task . '"'; } elseif (!empty($onclick)) { $htmlAttributes .= ' onclick="' . $onclick . '"'; } ?>
>
< class="" >
>