File manager - Edit - /home/ferretapmx/public_html/color.zip
Back
PK Q�\+k�� � advanced.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\Factory; extract($displayData); /** * Layout variables * ----------------- * @var string $autocomplete Autocomplete attribute for the field. * @var boolean $autofocus Is autofocus enabled? * @var string $class Classes for the input. * @var string $description Description of the field. * @var boolean $disabled Is this field disabled? * @var string $group Group the field belongs to. <fields> section in form XML. * @var boolean $hidden Is this field hidden in the form? * @var string $hint Placeholder for the field. * @var string $id DOM id of the field. * @var string $label Label of the field. * @var string $labelclass Classes to apply to the label. * @var boolean $multiple Does this field support multiple values? * @var string $name Name of the input field. * @var string $onchange Onchange attribute for the field. * @var string $onclick Onclick attribute for the field. * @var string $pattern Pattern (Reg Ex) of value of the form field. * @var boolean $readonly Is this field read only? * @var boolean $repeat Allows extensions to duplicate elements. * @var integer $size Size attribute of the input. * @var boolean $spellchec Spellcheck state for the form field. * @var string $validate Validation rules to apply. * @var string $value Value attribute of the field. * @var array $checkedOptions Options that will be set as checked. * @var boolean $hasValue Has this field a value assigned? * @var array $options Options available for this field. * @var array $checked Is this field checked? * @var array $position Position of input. * @var string $control The forms control. * @var string $dataAttribute Miscellaneous data attributes preprocessed for HTML output * @var array $dataAttributes Miscellaneous data attributes for eg, data-*. */ if ($validate !== 'color' && in_array($format, ['rgb', 'rgba'], true)) { $alpha = ($format === 'rgba'); $placeholder = $alpha ? 'rgba(0, 0, 0, 0.5)' : 'rgb(0, 0, 0)'; } else { $placeholder = '#rrggbb'; } $inputclass = ($keywords && ! in_array($format, ['rgb', 'rgba'], true)) ? ' keywords' : ' ' . $format; $class = ' class="form-control ' . trim('minicolors ' . $class) . ($validate === 'color' ? '' : $inputclass) . '"'; $control = $control ? ' data-control="' . $control . '"' : ''; $format = $format ? ' data-format="' . $format . '"' : ''; $keywords = $keywords ? ' data-keywords="' . $keywords . '"' : ''; $colors = $colors ? ' data-colors="' . $colors . '"' : ''; $validate = $validate ? ' data-validate="' . $validate . '"' : ''; $disabled = $disabled ? ' disabled' : ''; $readonly = $readonly ? ' readonly' : ''; $hint = strlen($hint) ? ' placeholder="' . $this->escape($hint) . '"' : ' placeholder="' . $placeholder . '"'; $onchange = $onchange ? ' onchange="' . $onchange . '"' : ''; $required = $required ? ' required' : ''; $autocomplete = !empty($autocomplete) ? ' autocomplete="' . $autocomplete . '"' : ''; // Force LTR input value in RTL, due to display issues with rgba/hex colors $direction = $lang->isRtl() ? ' dir="ltr" style="text-align:right"' : ''; /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = Factory::getApplication()->getDocument()->getWebAssetManager(); $wa->usePreset('minicolors') ->useScript('field.color-adv'); ?> <input type="text" name="<?php echo $name; ?>" id="<?php echo $id; ?>" value="<?php echo $this->escape($color); ?>"<?php echo $hint, $class, $position, $control, $readonly, $disabled, $required, $onchange, $autocomplete, $autofocus, $format, $keywords, $direction, $validate, $dataAttribute; ?>/> PK Q�\��"�� � slider.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * @var array $displayData Data for this field collected by ColorField */ extract($displayData); /** * Layout variables * ----------------- * @var string $autocomplete Autocomplete attribute for the field. * @var boolean $autofocus Is autofocus enabled? * @var string $class Classes for the input * @var boolean $disabled Is this field disabled? * @var string $display Which kind of slider should be displayed? * @var string $default Default value for this field * @var string $format Format of color value * @var string $hint Text for inputs placeholder * @var string $id ID of field and label * @var string $name Name of the input field * @var string $onchange Onchange attribute for the field * @var string $onclick Onclick attribute for the field * @var string $position Position of input * @var boolean $preview Should the selected value be displayed separately? * @var boolean $readonly Is this field read only? * @var boolean $required Is this field required? * @var string $saveFormat Format to save the color * @var integer $size Size attribute of the input * @var string $validate Validation rules to apply. * @var string $dataAttribute Miscellaneous data attributes preprocessed for HTML output * @var array $dataAttributes Miscellaneous data attributes for eg, data-*. */ if ($color === 'none' || is_null($color)) { $color = ''; } $alpha = $format === 'hsla' || $format === 'rgba' || $format === 'alpha'; $autocomplete = !empty($autocomplete) ? 'autocomplete="' . $autocomplete . '"' : ''; $autofocus = $autofocus ? ' autofocus' : ''; $color = ' data-color="' . $color . '"'; $class = $class ? ' class="' . $class . '"' : ''; $default = $default ? ' data-default="' . $default . '"' : ''; $disabled = $disabled ? ' disabled' : ''; $format = $format ? ' data-format="' . $format . '"' : ''; $hint = strlen($hint) ? ' placeholder="' . $this->escape($hint) . '"' : ''; $onchange = $onchange ? ' onchange="' . $onchange . '"' : ''; $onclick = $onclick ? ' onclick="' . $onclick . '"' : ''; $preview = $preview ? ' data-preview="' . $preview . '"' : ''; $readonly = $readonly ? ' readonly' : ''; $saveFormat = $saveFormat ? ' data-format="' . $saveFormat . '"' : ''; $size = $size ? ' size="' . $size . '"' : ''; $validate = $validate ? ' data-validate="' . $validate . '"' : ''; $displayValues = explode(',', $display); $allSliders = $display === 'full' || empty($display); /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = Factory::getApplication()->getDocument()->getWebAssetManager(); $wa->useScript('field.color-slider'); Text::script('JFIELD_COLOR_ERROR_CONVERT_HSL'); Text::script('JFIELD_COLOR_ERROR_CONVERT_HUE'); Text::script('JFIELD_COLOR_ERROR_NO_COLOUR'); Text::script('JFIELD_COLOR_ERROR_WRONG_FORMAT'); ?> <div class="color-slider-wrapper" <?php echo $class, $color, $default, $preview, $size, $dataAttribute; ?> > <!-- The data to save at the end (label created in form by Joomla) --> <input type="text" class="form-control color-input" id="<?php echo $id; ?>" name="<?php echo $name; ?>" <?php echo $disabled, $readonly, $required, $saveFormat, $validate; ?> > <!-- Shows value which is allowed to manipulate like 'hue' --> <label for="slider-input" class="visually-hidden"><?php echo Text::_('JFIELD_COLOR_LABEL_SLIDER_INPUT'); ?></label> <input type="text" class="form-control" id="slider-input" <?php echo $autocomplete, $disabled, $hint, $onchange, $onclick, $position, $readonly, $required, $format, $validate; ?> > <span class="form-control-feedback"></span> <?php if ($allSliders || in_array('hue', $displayValues)) : ?> <label for="hue-slider" class="visually-hidden"><?php echo Text::_('JFIELD_COLOR_LABEL_SLIDER_HUE'); ?></label> <input type="range" min="0" max="360" class="form-control color-slider" id="hue-slider" data-type="hue" <?php echo $autofocus, $disabled ?> > <?php endif ?> <?php if ($allSliders || in_array('saturation', $displayValues)) : ?> <label for="saturation-slider" class="visually-hidden"><?php echo Text::_('JFIELD_COLOR_LABEL_SLIDER_SATURATION'); ?></label> <input type="range" min="0" max="100" class="form-control color-slider" id="saturation-slider" data-type="saturation" <?php echo $autofocus, $disabled ?> > <?php endif ?> <?php if ($allSliders || in_array('light', $displayValues)) : ?> <label for="light-slider" class="visually-hidden"><?php echo Text::_('JFIELD_COLOR_LABEL_SLIDER_LIGHT'); ?></label> <input type="range" min="0" max="100" class="form-control color-slider" id="light-slider" data-type="light" <?php echo $autofocus, $disabled ?> > <?php endif ?> <?php if ($alpha && ($allSliders || in_array('alpha', $displayValues))) : ?> <label for="alpha-slider" class="visually-hidden"><?php echo Text::_('JFIELD_COLOR_LABEL_SLIDER_ALPHA'); ?></label> <input type="range" min="0" max="100" class="form-control color-slider" id="alpha-slider" data-type="alpha" <?php echo $autofocus, $disabled ?> > <?php endif ?> </div> PK Q�\4�7P P simple.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\Factory; use Joomla\CMS\Language\Text; extract($displayData); /** * Layout variables * ----------------- * @var string $autocomplete Autocomplete attribute for the field. * @var boolean $autofocus Is autofocus enabled? * @var string $class Classes for the input. * @var string $description Description of the field. * @var boolean $disabled Is this field disabled? * @var string $group Group the field belongs to. <fields> section in form XML. * @var boolean $hidden Is this field hidden in the form? * @var string $hint Placeholder for the field. * @var string $id DOM id of the field. * @var string $label Label of the field. * @var string $labelclass Classes to apply to the label. * @var boolean $multiple Does this field support multiple values? * @var string $name Name of the input field. * @var string $onchange Onchange attribute for the field. * @var string $onclick Onclick attribute for the field. * @var string $pattern Pattern (Reg Ex) of value of the form field. * @var boolean $readonly Is this field read only? * @var boolean $repeat Allows extensions to duplicate elements. * @var boolean $required Is this field required? * @var integer $size Size attribute of the input. * @var boolean $spellchec Spellcheck state for the form field. * @var string $validate Validation rules to apply. * @var string $value Value attribute of the field. * @var array $checkedOptions Options that will be set as checked. * @var boolean $hasValue Has this field a value assigned? * @var array $options Options available for this field. * @var array $checked Is this field checked? * @var array $position Position of input. * @var array $control The forms control. * @var array $colors The specified colors * @var string $dataAttribute Miscellaneous data attributes preprocessed for HTML output * @var array $dataAttributes Miscellaneous data attribute for eg, data-*. */ $class = ' class="form-select ' . trim($class) . '"'; $disabled = $disabled ? ' disabled' : ''; $readonly = $readonly ? ' readonly' : ''; Factory::getDocument()->getWebAssetManager() ->useStyle('webcomponent.field-simple-color') ->useScript('webcomponent.field-simple-color'); ?> <joomla-field-simple-color text-select="<?php echo Text::_('JFIELD_COLOR_SELECT'); ?>" text-color="<?php echo Text::_('JFIELD_COLOR_VALUE'); ?>" text-close="<?php echo Text::_('JLIB_HTML_BEHAVIOR_CLOSE'); ?>" text-transparent="<?php echo Text::_('JFIELD_COLOR_TRANSPARENT'); ?>"> <select name="<?php echo $name; ?>" id="<?php echo $id; ?>"<?php echo $disabled; ?><?php echo $readonly; ?><?php echo $dataAttribute; ?><?php echo $required; ?><?php echo $class; ?><?php echo $position; ?><?php echo $onchange; ?><?php echo $autofocus; ?> style="visibility:hidden;width:22px;height:1px"> <?php foreach ($colors as $i => $c) : ?> <option<?php echo ($c === $color ? ' selected="selected"' : ''); ?> value="<?php echo $c; ?>"></option> <?php endforeach; ?> </select> </joomla-field-simple-color> PK Q�\�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 Q�\+k�� � advanced.phpnu �[��� PK Q�\��"�� � 1 slider.phpnu �[��� PK Q�\4�7P P A) simple.phpnu �[��� PK Q�\�Sʉ� � �7 .htaccessnu �7��m PK ) �8
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings