芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/hocabayucatan.gob.mx/layouts/joomla/button/transition-button.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; extract($displayData, EXTR_OVERWRITE); /** * Layout variables * ----------------- * @var string $icon * @var string $title * @var string $value * @var string $task * @var array $options */ $disabled = empty($options['transitions']) || !empty($options['disabled']); $id = $options['id']; $tipTitle = $options['tip_title']; $tipContent = $options['tip_content']; $checkboxName = $options['checkbox_name']; $task = $options['task']; ?>
onclick="Joomla.toggleAllNextElements(this, 'd-none')" >
escape($options['title'])), HTMLHelper::_('select.option', '-1', '--------', ['disable' => true]) ]; $transitions = array_merge($default, $options['transitions']); $attribs = [ 'id' => 'transition-select_' . (int) $row ?? '', 'list.attr' => [ 'class' => 'form-select form-select-sm w-auto', 'onchange' => "this.form.transition_id.value=this.value;Joomla.listItemTask('" . $checkboxName . $this->escape($row ?? '') . "', '" . $task . "')"] ]; echo HTMLHelper::_('select.genericlist', $transitions, '', $attribs); ?>