uawdijnntqw1x1x1
IP : 216.73.216.109
Hostname : premium160.web-hosting.com
Kernel : Linux premium160.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
batcwwjx
/
.
/
old
/
public_html
/
wp-content
/
plugins
/
clearfy
/
libs
/
.
/
factory
/
forms
/
controls
/
color.php
/
/
<?php /** * Color * * Main options: * name => a name of the control * value => a value to show in the control * default => a default value of the control if the "value" option is not specified * * @author Alex Kovalev <alex.kovalevv@gmail.com> * @copyright (c) 2018, Webcraftic Ltd * * @package core * @since 1.0.0 */ // Exit if accessed directly if( !defined('ABSPATH') ) { exit; } if( !class_exists('Wbcr_FactoryForms434_ColorControl') ) { class Wbcr_FactoryForms434_ColorControl extends Wbcr_FactoryForms434_Control { public $type = 'color'; /** * Shows the html markup of the control. * * @since 1.0.0 * @return void */ public function html() { $name = $this->getNameOnForm(); $value = esc_attr($this->getValue()); if( !$value ) { $value = '#1e8cbe'; } // the "pickerTarget" options allows to select element where the palette will be shown $picker_target = $this->getOption('pickerTarget'); if( !empty($picker_target) ) { $this->addHtmlData('picker-target', $picker_target); } ?> <div <?php $this->attrs() ?>> <div class="factory-background" <?php echo(!empty($value) ? 'style="background:' . $value . ';"' : ''); ?>></div> <div class="factory-pattern"></div> <input type="text" id="<?php echo $name; ?>" name="<?php echo $name; ?>" class="factory-input-text factory-color-hex" value="<?php echo $value; ?>"> </div> <?php } } }
/home/batcwwjx/./old/public_html/wp-content/plugins/clearfy/libs/./factory/forms/controls/color.php