Changeset 3175974
- Timestamp:
- 10/26/2024 07:38:55 AM (17 months ago)
- Location:
- the-pack-addon/trunk/includes
- Files:
-
- 4 edited
-
extension/inc/translate.php (modified) (2 diffs)
-
helper-functions.php (modified) (2 diffs)
-
widgets/element/contact_form/fields/input.php (modified) (1 diff)
-
widgets/element/contact_form/view.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
the-pack-addon/trunk/includes/extension/inc/translate.php
r3050466 r3175974 28 28 } 29 29 30 public static function before_render_options($element) 30 public static function before_render_options($element) 31 31 { 32 32 $settings = $element->get_settings_for_display(); … … 41 41 $element->add_render_attribute('_wrapper', 'data-rellax-vertical-scroll-axis',$settings['tp_v_axis']); 42 42 } 43 43 44 44 } 45 45 if (isset($settings['anim']) && $settings['anim']) { -
the-pack-addon/trunk/includes/helper-functions.php
r3156566 r3175974 16 16 } 17 17 } 18 18 19 function the_render_attribute($data,$value,$element){ 19 20 … … 175 176 176 177 function thepack_icon_svg($option, $class = '') 177 { 178 { 178 179 if ($option['library'] == 'svg') { 179 180 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 47 47 48 48 $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>'; 50 50 51 51 return $output; -
the-pack-addon/trunk/includes/widgets/element/contact_form/view.php
r3050466 r3175974 41 41 <?php echo '<form class="tp-contact-wrap ' . esc_attr($icon_pos) . '" data-xld =\'' . wp_json_encode($options) . '\' novalidate>'; ?> 42 42 <?php //phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped ?> 43 <?php echo thepack_build_html($content); ?>43 <?php echo $content; ?> 44 44 <div class='tp-form-btn'> 45 45 <?php //phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped ?>
Note: See TracChangeset
for help on using the changeset viewer.