Файловый менеджер - Редактировать - /var/www/html/fieldset.zip
Ðазад
PK ! n/� � groups.phpnu �[��� <?php /** * @package Helix_Ultimate_Framework * @author JoomShaper <support@joomshaper.com> * @copyright Copyright (c) 2010 - 2021 JoomShaper * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ defined('_JEXEC') or die(); use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; extract($displayData); ?> <?php foreach ($groups as $key => $group): ?> <?php if ($key !== 'no-group'): ?> <div class="hu-group-wrap hu-group-<?php echo $key; ?> <?php echo $group['isActive'] ? 'active' : ''; ?>" <?php echo !empty($group['dependent']) ? 'data-dependon="' . $group['dependent'] . '"' : ''; ?>> <div class="hu-group-header-box"> <span class="hu-group-title"><?php echo Text::_('HELIX_ULTIMATE_GROUP_' . strtoupper($key)); ?></span> <span class="hu-group-toggle-icon fas fa-angle-right"></span> </div> <div class="hu-field-list <?php echo $group['isActive'] ? 'active-group' : ''; ?>" data-uid="<?php echo $fieldset_name . '-'. $key; ?>" <?php echo $group['isActive'] ? 'style="display:block;"' : ''; ?>> <?php echo LayoutHelper::render('cpanel.control-board.fieldset.fields', ['group' => $key, 'groupData' => $group], HELIX_LAYOUTS_PATH); ?> </div> </div> <?php else: ?> <div class="hu-no-group-wrap"> <?php echo LayoutHelper::render('cpanel.control-board.fieldset.fields', ['group' => $key, 'groupData' => $group], HELIX_LAYOUTS_PATH); ?> </div> <?php endif ?> <?php endforeach; ?> PK ! �tm�| | panel.phpnu �[��� <?php /** * @package Helix_Ultimate_Framework * @author JoomShaper <support@joomshaper.com> * @copyright Copyright (c) 2010 - 2021 JoomShaper * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ defined('_JEXEC') or die(); use Joomla\CMS\Layout\LayoutHelper; extract($displayData); $fields = $form->getFieldset($key); $activeGroup = isset($fieldset->activegroup) ? $fieldset->activegroup : ''; if (!empty($fields)) { $index = 0; foreach ($fields as $i => $field) { $subgroup = $field->getAttribute('helixsubgroup'); $group = $field->getAttribute('helixgroup') ? $field->getAttribute('helixgroup') : 'no-group'; if (isset($subgroup)) { $groups[$group]['subgroup-' . $subgroup][] = $field; } else { $groups[$group][] = $field; } $groups[$group]['isActive'] = false; $groups[$group]['dependent'] = $field->getAttribute('dependant', ''); if ($activeGroup === $group) { $groups[$group]['isActive'] = true; } } } $headerTitle = implode(' ', explode('_', $fieldset->name)); ?> <div class="hu-edit-panel <?php echo strtolower($fieldset->name); ?>-panel"> <div class="hu-panel-header"> <span><?php echo ucwords($headerTitle); ?></span> <button type="button" role="button" class="hu-btn hu-btn-round hu-btn-round-sm hu-panel-close" data-sidebarclass="<?php echo 'hu-fieldset-' . $fieldset->name; ?>"> <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" fill="none"><path d="M9.708.292a.999.999 0 00-1.413 0l-3.289 3.29L1.717.291A.999.999 0 00.305 1.705l3.289 3.289-3.29 3.289a.999.999 0 101.413 1.412l3.29-3.289 3.288 3.29a.999.999 0 001.413-1.413l-3.29-3.29 3.29-3.288a.999.999 0 000-1.413z"/></svg> </button> </div> <div class="hu-groups-container"> <?php echo LayoutHelper::render('cpanel.control-board.fieldset.groups', ['groups' => $groups, 'fieldset_name' => $fieldset->name], HELIX_LAYOUTS_PATH); ?> </div> </div>PK ! ��ӝ � icon.phpnu �[��� <?php /** * @package Helix_Ultimate_Framework * @author JoomShaper <support@joomshaper.com> * @copyright Copyright (c) 2010 - 2021 JoomShaper * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ defined('_JEXEC') or die(); use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Uri\Uri; extract($displayData); $iconsrc = Uri::root() . "plugins/system/helixultimate/assets/images/icons/{$fieldset->name}.svg"; ?> <div class="hu-fieldset hu-fieldset-<?php echo $fieldset->name; ?>"> <div class="hu-fieldset-header" data-fieldset="<?php echo strtolower($fieldset->name); ?>"> <div class="hu-fieldset-header-inner"> <img class="hu-option-icon" src="<?php echo $iconsrc; ?>" alt="<?php echo $fieldset->name; ?>" alt="<?php echo Text::_($fieldset->label); ?>" /> <span class="hu-option-title"><?php echo Text::_($fieldset->label); ?></span> </div> </div> </div>PK ! �W��� � fields.phpnu �[��� <?php /** * @package Helix_Ultimate_Framework * @author JoomShaper <support@joomshaper.com> * @copyright Copyright (c) 2010 - 2021 JoomShaper * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ defined('_JEXEC') or die(); use HelixUltimate\Framework\Platform\Settings; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; extract($displayData); ?> <?php foreach ($groupData as $key => $data): ?> <?php if (\is_numeric($key)): ?> <?php echo LayoutHelper::render('cpanel.control-board.fieldset.field', ['field' => $data, 'group' => $group], HELIX_LAYOUTS_PATH); ?> <?php elseif (preg_match("#^subgroup-.+$#", $key)): ?> <?php $masterLabel = $data[0]->getAttribute('masterlabel'); $masterLabel = isset($masterLabel) ? Text::_($masterLabel) : ''; $masterDescription = $data[0]->getAttribute('masterdesc'); $masterDescription = isset($masterDescription) ? Text::_($masterDescription) : ''; $masterClass = $data[0]->getAttribute('masterclass'); $masterClass = isset($masterClass) ? $masterClass : 'row hu-align-items-center'; $masterHasSeparator = $data[0]->getAttribute('masterseparator'); $masterHasSeparator = isset($masterHasSeparator) && ($masterHasSeparator === 'true' || $masterHasSeparator === 'on') ? ' hu-field-separator': ''; ?> <!-- if master label provider for the subgroup --> <?php if (!empty($masterLabel)): ?> <div class="control-group master-label-group"> <div class="control-label"> <label for=""><?php echo $masterLabel; ?></label> <?php if (!empty($masterDescription)): ?> <span class="hu-help-icon hu-ml-2 fas fa-info-circle"></span> <p class="hu-control-help"><?php echo $masterDescription; ?></p> <?php endif ?> </div> </div> <?php endif ?> <div class="hu-subgroup <?php echo $masterClass . $masterHasSeparator; ?>"> <?php foreach ($data as $subgroup => $field): ?> <?php $classes = $field->getAttribute('subclasses'); $classes = isset($classes) ? $classes : 'col'; ?> <div class="<?php echo $classes; ?>"> <?php echo LayoutHelper::render('cpanel.control-board.fieldset.field', ['field' => $field, 'group' => $group], HELIX_LAYOUTS_PATH); ?> </div> <?php endforeach ?> </div> <?php endif ?> <?php endforeach ?>PK ! ��� � field.phpnu �[��� <?php /** * @package Helix_Ultimate_Framework * @author JoomShaper <support@joomshaper.com> * @copyright Copyright (c) 2010 - 2021 JoomShaper * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ defined('_JEXEC') or die(); use HelixUltimate\Framework\Platform\Helper; use HelixUltimate\Framework\Platform\Settings; use HelixUltimate\Framework\System\JoomlaBridge; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; extract($displayData); ?> <?php /** * Apply chosen for the multiple select field for J3! * @TODO: apply chosen for J4 multiple select. */ if (JoomlaBridge::getVersion('major') < 4) { HTMLHelper::_('formbehavior.chosen', 'select[multiple]'); } $showon = $field->getAttribute('showon'); $attribs = ''; if ($showon) { $attribs .= ' data-showon=\'' . json_encode(Settings::parseShowOnConditions($showon)) . '\''; } $setvalue = ''; if (\is_array($field->value) || \is_object($field->value)) { $setvalue = json_encode($field->value); } else { $setvalue = $field->value; } $track = $field->getAttribute('track'); $hasTrack = true; if (!empty($track)) { $hasTrack = !($track === 'false' || $track === 'off'); } $hideLabel = $field->getAttribute('hideLabel', false); $description = Text::_($field->getAttribute('description', '')); $type = $field->getAttribute('type', 'text'); $multiple = $field->getAttribute('multiple'); $multiple = isset($multiple) && ($multiple === 'true' || $multiple === 'on'); $separator = $field->getAttribute('separator'); $separator = isset($separator) && ($separator === 'true' || $separator === 'on') ? true : false; // Enable disable on $enableOn = $field->getAttribute('enableon', ''); if ($enableOn) { $attribs .= ' data-enableon="' . $enableOn . '"'; } $checkboxStyle = $field->getAttribute('style', 'switch'); $className = $field->getAttribute('className', ''); // Group Class $group_class = (($group) ? 'group-style-' . $group : ''); if ($type === 'checkbox') { $group_class .= ($checkboxStyle === 'plain') ? ' hu-style-checkbox': ' hu-style-switcher'; } $group_class .= $separator ? ' hu-field-separator': ''; $group_class .= !empty($className) ? ' ' . $className : ''; $listStyle = $field->getAttribute('style'); $display = $field->getAttribute('display', ''); $invalidDataFields = ['before_head', 'after_body', 'before_body', 'custom_css', 'custom_js']; $isValidDataField = !\in_array($field->name, $invalidDataFields); ?> <div class="<?php echo $group_class; ?>" <?php echo $attribs; ?>> <div class="control-group"> <div class="control-group-inner<?php echo $display === 'inline' ? ' hu-inline-group' : ''; ?>"> <?php if ($type === 'checkbox' && $checkboxStyle === 'plain'): ?> <label class="control-label"> <div class="controls <?php echo $hasTrack ? 'trackable' : ''; ?>" data-safepoint='<?php echo $isValidDataField ? $setvalue : ''; ?>' data-currpoint='<?php echo $isValidDataField ? $setvalue : ''; ?>' data-selector="#<?php echo $field->id; ?>"> <?php echo $field->input; ?> </div> <?php if (!$field->getAttribute('hideLabel', false)): ?> <?php echo Text::_(Helper::CheckNull($field->getAttribute('label'))); ?> <!-- if description exists then show the help icon --> <?php if (!empty($description)): ?> <span class="hu-help-icon hu-ml-2 fas fa-info-circle"></span> <?php endif ?> <?php endif; ?> </label> <?php else: ?> <?php if (!$field->getAttribute('hideLabel', false)): ?> <label class="control-label"> <?php echo Text::_(Helper::CheckNull($field->getAttribute('label'))); ?> <!-- if description exists then show the help icon --> <?php if (!empty($description)): ?> <span class="hu-help-icon hu-ml-2 fas fa-info-circle"></span> <?php endif ?> </label> <!-- if description exists and type is not the checkbox then show the help text above of the input field. --> <?php if (!empty($description) && $type !== 'checkbox' && $display !== 'inline'): ?> <div class="hu-control-help"><?php echo $description; ?></div> <?php endif; ?> <?php endif; ?> <div class="controls <?php echo $hasTrack ? 'trackable' : ''; ?>" data-safepoint='<?php echo $isValidDataField ? $setvalue : ''; ?>' data-currpoint='<?php echo $isValidDataField ? $setvalue : ''; ?>' data-selector="#<?php echo $field->id; ?>"> <?php echo $field->input; ?> </div> <?php endif; ?> </div> <!-- if description exists and type is checkbox then show the help text next to the input field. --> <?php if (!empty($description) && ($type === 'checkbox' || $display === 'inline')): ?> <p class="hu-control-help"><?php echo $description; ?></p> <?php endif; ?> </div> </div>PK ! n/� � groups.phpnu �[��� PK ! �tm�| | � panel.phpnu �[��� PK ! ��ӝ � � icon.phpnu �[��� PK ! �W��� � t fields.phpnu �[��� PK ! ��� � � field.phpnu �[��� PK n �-
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка