芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/layouts.8/joomla/editors/buttons/button.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Uri\Uri; $button = $displayData; if ($button->get('name')) : $class = 'btn btn-secondary'; $class .= ($button->get('class')) ? ' ' . $button->get('class') : null; $class .= ($button->get('modal')) ? ' modal-button' : null; $href = '#' . strtolower($button->get('name')) . '_modal'; $link = ($button->get('link')) ? Uri::base() . $button->get('link') : null; $onclick = ($button->get('onclick')) ? ' onclick="' . $button->get('onclick') . '"' : ''; $title = ($button->get('title')) ? $button->get('title') : $button->get('text'); $icon = ($button->get('icon')) ? $button->get('icon') : $button->get('name'); ?>
get('modal') ? 'data-bs-toggle="modal"' : '' ?> title="" >
get('text'); ?>