File manager - Edit - /home/ferretapmx/public_html/editors.zip
Back
PK "�\�[Na) ) buttons.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2014 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\Language\Text; $buttons = $displayData; ?> <div class="editor-xtd-buttons" role="toolbar" aria-label="<?php echo Text::_('JTOOLBAR'); ?>"> <?php if ($buttons) : ?> <?php foreach ($buttons as $button) : $options = (array) $button->get('options'); $legacyModal = $button->get('modal'); ?> <?php echo $this->sublayout('button', $button); ?> <?php echo $legacyModal ? $this->sublayout('modal', $button) : ''; ?> <?php endforeach; ?> <?php endif; ?> </div> PK "�\%� R� � buttons/modal.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2016 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\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Uri\Uri; /** @var \Joomla\CMS\Editor\Button\Button $button */ $button = $displayData; if (!$button->get('modal')) { return; } $class = ($button->get('class')) ? $button->get('class') : null; $class .= ($button->get('modal')) ? ' modal-button' : null; $href = '#' . $button->get('editor') . '_' . 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'); $options = $button->getOptions(); $confirm = ''; if (is_array($button->get('options')) && isset($options['confirmText']) && isset($options['confirmCallback'])) { $confirm = '<button type="button" class="btn btn-success" data-bs-dismiss="modal" onclick="' . $options['confirmCallback'] . '">' . $options['confirmText'] . ' </button>'; } if (null !== $button->get('id')) { $id = str_replace(' ', '', $button->get('id')); } else { $id = $button->get('editor') . '_' . strtolower($button->get('name')) . '_modal'; } // @todo: J4: Move Make buttons fullscreen on smaller devices per https://github.com/joomla/joomla-cms/pull/23091 // Create the modal echo HTMLHelper::_( 'bootstrap.renderModal', $id, [ 'url' => $link, 'title' => $title, 'height' => array_key_exists('height', $options) ? $options['height'] : '400px', 'width' => array_key_exists('width', $options) ? $options['width'] : '800px', 'bodyHeight' => array_key_exists('bodyHeight', $options) ? $options['bodyHeight'] : '70', 'modalWidth' => array_key_exists('modalWidth', $options) ? $options['modalWidth'] : '80', 'footer' => $confirm . '<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">' . Text::_('JLIB_HTML_BEHAVIOR_CLOSE') . '</button>' ] ); PK "�\[`ƈ� � buttons/button.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2014 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\CMS\Uri\Uri; /** @var \Joomla\CMS\Editor\Button\Button $button */ $button = $displayData; /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = Factory::getApplication()->getDocument()->getWebAssetManager(); $btnAsset = 'editor-button.' . $button->getButtonName(); // Enable the button assets if any if ($wa->assetExists('style', $btnAsset)) { $wa->useStyle($btnAsset); } if ($wa->assetExists('script', $btnAsset)) { $wa->useScript($btnAsset); } $class = 'btn btn-secondary'; $class .= $button->get('class') ? ' ' . $button->get('class') : null; $class .= $button->get('modal') ? ' modal-button' : null; $href = '#' . $button->get('editor') . '_' . strtolower($button->get('name', '')) . '_modal'; $link = $button->get('link'); $onclick = $button->get('onclick') ? ' onclick="' . $button->get('onclick') . '"' : ''; $title = $button->get('title') ? $button->get('title') : $button->get('text', ''); $icon = $button->get('icon'); $action = $button->get('action', ''); $options = (array) $button->get('options'); // Correct the link, check for legacy with & in it, and prepend a base Uri if ($link && $link[0] !== '#') { $link = str_contains($link, '&') ? htmlspecialchars_decode($link) : $link; $link = Uri::base(true) . '/' . $link; $options['src'] = $options['src'] ?? $link; } // Detect a legacy BS modal, and set action to "modal" for legacy buttons, when possible $legacyModal = $button->get('modal'); // Prepare default values for modal if ($action === 'modal') { $wa->useScript('joomla.dialog'); $legacyModal = false; $options['popupType'] = $options['popupType'] ?? 'iframe'; $options['textHeader'] = $options['textHeader'] ?? $title; $options['iconHeader'] = $options['iconHeader'] ?? 'icon-' . $icon; } $optStr = $options && $action ? json_encode($options, JSON_UNESCAPED_SLASHES) : ''; ?> <button type="button" data-joomla-editor-button-action="<?php echo $this->escape($action); ?>" data-joomla-editor-button-options="<?php echo $this->escape($optStr); ?>" class="xtd-button btn btn-secondary <?php echo $class; ?>" title="<?php echo $this->escape($title); ?>" <?php echo $onclick; ?> <?php echo $legacyModal ? 'data-bs-toggle="modal" data-bs-target="' . $href . '"' : '' ?>> <?php if ($icon) : ?> <span class="icon-<?php echo $icon; ?>" aria-hidden="true"></span> <?php endif; ?> <?php echo $button->get('text'); ?> </button> PK "�\�Sʉ� � buttons/.htaccessnu �7��m <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all </FilesMatch>PK "�\�Sʉ� � .htaccessnu �7��m <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all </FilesMatch>PK "�\�[Na) ) buttons.phpnu �[��� PK "�\%� R� � d buttons/modal.phpnu �[��� PK "�\[`ƈ� � � buttons/button.phpnu �[��� PK "�\�Sʉ� � � buttons/.htaccessnu �7��m PK "�\�Sʉ� � � .htaccessnu �7��m PK � �
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings