Plugin Directory

Changeset 3175974


Ignore:
Timestamp:
10/26/2024 07:38:55 AM (17 months ago)
Author:
webangon
Message:

icon field update

Location:
the-pack-addon/trunk/includes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • the-pack-addon/trunk/includes/extension/inc/translate.php

    r3050466 r3175974  
    2828    }
    2929
    30     public static function before_render_options($element)
     30    public static function before_render_options($element) 
    3131    {
    3232        $settings = $element->get_settings_for_display();
     
    4141                $element->add_render_attribute('_wrapper', 'data-rellax-vertical-scroll-axis',$settings['tp_v_axis']);
    4242            }
    43            
     43             
    4444        }
    4545        if (isset($settings['anim']) && $settings['anim']) {
  • the-pack-addon/trunk/includes/helper-functions.php

    r3156566 r3175974  
    1616    }
    1717}
     18
    1819function the_render_attribute($data,$value,$element){
    1920
     
    175176
    176177function thepack_icon_svg($option, $class = '')
    177 {
     178{ 
    178179    if ($option['library'] == 'svg') {
    179180        return wp_get_attachment_image(esc_attr($option['value']['id']), 'full');
  • the-pack-addon/trunk/includes/widgets/element/contact_form/fields/input.php

    r2971025 r3175974  
    4747
    4848$output = '
    49     <div data-xld =\'' . wp_json_encode($data) . '\' class="item elementor-repeater-item-' . $element['_id'] . '">' . $icon . '<span class="tp-label">' . $element['field_label'] . '</span><input class="tp-input" name="' . $element['field_label'] . '" type="' . $field_tyle . '"  placeholder="' . $element['placeholder'] . '" ></div>';
     49   <div data-xld =\'' . wp_json_encode($data) . '\' class="item elementor-repeater-item-' . $element['_id'] . '">' . $icon . '<span class="tp-label">' . $element['field_label'] . '</span><input class="tp-input" name="' . $element['field_label'] . '" type="' . $field_tyle . '"  placeholder="' . $element['placeholder'] . '" ></div>';
    5050
    5151return $output;
  • the-pack-addon/trunk/includes/widgets/element/contact_form/view.php

    r3050466 r3175974  
    4141<?php echo '<form class="tp-contact-wrap ' . esc_attr($icon_pos) . '" data-xld =\'' . wp_json_encode($options) . '\' novalidate>'; ?>
    4242<?php //phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped ?>
    43 <?php echo thepack_build_html($content); ?>
     43<?php echo $content; ?>
    4444<div class='tp-form-btn'>
    4545    <?php //phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped ?>
Note: See TracChangeset for help on using the changeset viewer.