Server IP : 85.214.239.14 / Your IP : 52.14.67.34 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /var/www/wordpress/wp-content/themes/Divi/includes/builder/module/field/template/border/ |
Upload File : |
<?php require_once ET_BUILDER_DIR . 'module/field/template/Base.php'; class ET_Builder_Module_Field_Template_Border_Radius extends ET_Builder_Module_Field_Template_Base { public function render( $field, $render_helper ) { ob_start(); ?> <div class="et-pb-border-radius-wrap"> <div class="et-pb-border-radius-wrap-column"> <div class="et-pb-border-radius-top-left"> <input class="et-pb-border-radius-option-input" type="text" value="" data-corner="top-left" /> </div> <div class="et-pb-border-radius-bottom-left"> <input class="et-pb-border-radius-option-input" type="text" value="" data-corner="bottom-left" /> </div> </div> <div class="et-pb-border-radius-wrap-column"> <div class="et-pb-border-radius-preview"> <div class="et-pb-border-radius-wrap-link-button"> <a href="#" class=""> <?php echo et_core_esc_previously( $this->_render_icon( 'border-link' ) ); ?> </a> </div> </div> </div> <div class="et-pb-border-radius-wrap-column"> <div class="et-pb-border-radius-top-right"> <input class="et-pb-border-radius-option-input" type="text" value="" data-corner="top-right" /> </div> <div class="et-pb-border-radius-bottom-right"> <input class="et-pb-border-radius-option-input" type="text" value="" data-corner="bottom-right" /> </div> </div> </div> <span class="et-pb-reset-setting"></span> <?php $name = $render_helper->get_field_name( $field ); // Avoid underscore's _.template() being treated as PHP tags when PHP server's asp_tags is enabled $value_open_tag = '<%-'; $value_close_tag = '%>'; ?> <?php $attr_name = $render_helper->get_type() === 'child' ? 'data.' . esc_attr( $name ) : esc_attr( $name ); ?> <?php $default = isset( $field['default'] ) ? $field['default'] : 'on||||'; ?> <input id="<?php echo esc_attr( $name ); ?>" type="hidden" name="<?php echo esc_attr( $name ); ?>" data-default="<?php echo esc_attr( $default ); ?>" value="<?php echo et_core_intentionally_unescaped( $value_open_tag, 'fixed_string' ); ?> typeof( <?php echo esc_attr( $attr_name ); ?> ) !== 'undefined' ? <?php echo esc_attr( $attr_name ) . '.replace(/%91/g, "[").replace(/%93/g, "]").replace(/%22/g, "\"")'; ?> : '' <?php echo et_core_intentionally_unescaped( $value_close_tag, 'fixed_string' ); ?>" class="et-pb-main-setting" /> <?php return ob_get_clean(); } }