function themify_builder_tabs($field, $module_name, $styling = false) { $id = $field['id']; ?> <div class="themify_builder_tabs" id="themify_builder_tabs_<?php echo esc_attr($id); ?> "> <ul class="clearfix"> <?php foreach ($field['tabs'] as $key => $tab) { ?> <li><a href="#tf_<?php echo esc_attr($id . '_' . $key); ?> "> <?php echo esc_html($tab['label']); ?> </a></li> <?php } ?> </ul> <?php foreach ($field['tabs'] as $key => $tab) { ?> <div id="tf_<?php echo esc_attr($id . '_' . $key); ?> " class="themify_builder_tab"> <?php if ($styling) { themify_render_styling_settings($tab['fields']); } else { themify_builder_module_settings_field($tab['fields'], $module_name); } ?> </div> <?php } ?> </div> <?php }
<div id="themify_builder_options_setting" class="themify_builder_options_tab_content"> <?php if (count($module_settings) > 0) { themify_builder_module_settings_field($module_settings, $module->slug); } ?> </div> <?php if (count($styling_settings) > 0) { ?> <div id="themify_builder_options_styling" class="themify_builder_options_tab_content"> <?php themify_render_styling_settings($styling_settings); ?> <p> <a href="#" class="reset-module-styling" data-reset="module"> <i class="ti ti-close"></i> <?php _e('Reset Styling', 'themify'); ?> </a> </p> </div> <!-- /themify_builder_options_tab_content --> <?php } ?>
</a> </p> </div> <!-- /themify_builder_options_tab_content --> </div> <?php } ?> <?php if (count($animation_settings) > 0) { ?> <div id="themify_builder_options_animation" class="themify_builder_options_tab_wrapper"> <div class="themify_builder_options_tab_content"> <?php themify_render_styling_settings($animation_settings); ?> </div> <!-- /themify_builder_options_tab_content --> </div> <?php } ?> </form> <?php } elseif ($this->load_form == 'row') { ?> <?php