Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../themes/Divi/includes/builder
File: functions.php
<%% } %%>
[5500] Fix | Delete
[5501] Fix | Delete
%6$s
[5502] Fix | Delete
[5503] Fix | Delete
%7$s
[5504] Fix | Delete
[5505] Fix | Delete
%12$s
[5506] Fix | Delete
[5507] Fix | Delete
%11$s
[5508] Fix | Delete
[5509] Fix | Delete
<%% } %%>
[5510] Fix | Delete
[5511] Fix | Delete
<%% if ( this.hasOption( "preview" ) ) { %%>
[5512] Fix | Delete
<li><a class="et-pb-right-click-preview" href="#">%14$s</a></li>
[5513] Fix | Delete
<%% } %%>
[5514] Fix | Delete
</ul>
[5515] Fix | Delete
</script>',
[5516] Fix | Delete
et_core_esc_previously( $rename_module_menu ),
[5517] Fix | Delete
et_core_esc_previously( $enable_disable_menu ),
[5518] Fix | Delete
et_core_esc_previously( $lock_unlock_menu ),
[5519] Fix | Delete
et_builder_i18n( 'Expand' ),
[5520] Fix | Delete
esc_html__( 'Collapse', 'et_builder' ), //#5
[5521] Fix | Delete
et_core_esc_previously( $copy_module_menu ),
[5522] Fix | Delete
et_core_esc_previously( $paste_after_menu ),
[5523] Fix | Delete
et_core_esc_previously( $save_to_lib_menu ),
[5524] Fix | Delete
esc_html__( 'Undo', 'et_builder' ),
[5525] Fix | Delete
esc_html__( 'Redo', 'et_builder' ), //#10
[5526] Fix | Delete
et_core_esc_previously( $paste_menu_item ),
[5527] Fix | Delete
et_core_esc_previously( $paste_app_menu_item ),
[5528] Fix | Delete
et_core_esc_previously( et_pb_allowed_modules_list() ),
[5529] Fix | Delete
esc_html__( 'Preview', 'et_builder' ),
[5530] Fix | Delete
et_core_esc_previously( $start_ab_testing_menu ), // #15
[5531] Fix | Delete
et_core_esc_previously( $end_ab_testing_menu ),
[5532] Fix | Delete
et_core_esc_previously( $disable_global_menu )
[5533] Fix | Delete
);
[5534] Fix | Delete
[5535] Fix | Delete
// "Rename Module Admin Label" Modal Window Template
[5536] Fix | Delete
printf(
[5537] Fix | Delete
'<script type="text/template" id="et-builder-prompt-modal-rename_admin_label">
[5538] Fix | Delete
<div class="et_pb_prompt_modal">
[5539] Fix | Delete
<a href="#" class="et_pb_prompt_dont_proceed et-pb-modal-close">
[5540] Fix | Delete
<span>%1$s</span>
[5541] Fix | Delete
</a>
[5542] Fix | Delete
<div class="et_pb_prompt_buttons">
[5543] Fix | Delete
<br/>
[5544] Fix | Delete
<input type="submit" class="et_pb_prompt_proceed" value="%2$s" />
[5545] Fix | Delete
</div>
[5546] Fix | Delete
</div>
[5547] Fix | Delete
</script>',
[5548] Fix | Delete
et_builder_i18n( 'Cancel' ),
[5549] Fix | Delete
esc_attr__( 'Save', 'et_builder' )
[5550] Fix | Delete
);
[5551] Fix | Delete
[5552] Fix | Delete
// "Rename Module Admin Label" Modal Content Template
[5553] Fix | Delete
printf(
[5554] Fix | Delete
'<script type="text/template" id="et-builder-prompt-modal-rename_admin_label-text">
[5555] Fix | Delete
<h3>%1$s</h3>
[5556] Fix | Delete
<p>%2$s</p>
[5557] Fix | Delete
[5558] Fix | Delete
<input type="text" value="" id="et_pb_new_admin_label" class="regular-text" />
[5559] Fix | Delete
</script>',
[5560] Fix | Delete
esc_html__( 'Rename', 'et_builder' ),
[5561] Fix | Delete
esc_html__( 'Enter a new name for this module', 'et_builder' )
[5562] Fix | Delete
);
[5563] Fix | Delete
[5564] Fix | Delete
// Builder's Main Buttons
[5565] Fix | Delete
$save_to_lib_button = et_pb_is_allowed( 'divi_library' ) && et_pb_is_allowed( 'save_library' ) ? sprintf(
[5566] Fix | Delete
'<a href="#" class="et-pb-layout-buttons et-pb-layout-buttons-save" title="%1$s">
[5567] Fix | Delete
<span>%2$s</span>
[5568] Fix | Delete
</a>',
[5569] Fix | Delete
esc_attr__( 'Save to Library', 'et_builder' ),
[5570] Fix | Delete
esc_html__( 'Save to Library', 'et_builder' )
[5571] Fix | Delete
) : '';
[5572] Fix | Delete
[5573] Fix | Delete
$load_from_lib_button = et_pb_is_allowed( 'divi_library' ) && et_pb_is_allowed( 'load_layout' ) && et_pb_is_allowed( 'add_library' ) && et_pb_is_allowed( 'add_module' ) ? sprintf(
[5574] Fix | Delete
'<a href="#" class="et-pb-layout-buttons et-pb-layout-buttons-load" title="%1$s">
[5575] Fix | Delete
<span>%2$s</span>
[5576] Fix | Delete
</a>',
[5577] Fix | Delete
esc_attr__( 'Load From Library', 'et_builder' ),
[5578] Fix | Delete
esc_html__( 'Load Layout', 'et_builder' )
[5579] Fix | Delete
) : '';
[5580] Fix | Delete
[5581] Fix | Delete
$clear_layout_button = et_pb_is_allowed( 'add_module' ) ? sprintf(
[5582] Fix | Delete
'<a href="#" class="et-pb-layout-buttons et-pb-layout-buttons-clear" title="%1$s">
[5583] Fix | Delete
<span>%2$s</span>
[5584] Fix | Delete
</a>',
[5585] Fix | Delete
esc_attr__( 'Clear Layout', 'et_builder' ),
[5586] Fix | Delete
esc_html__( 'Clear Layout', 'et_builder' )
[5587] Fix | Delete
) : '';
[5588] Fix | Delete
[5589] Fix | Delete
// Builder's History Buttons
[5590] Fix | Delete
$history_button = sprintf(
[5591] Fix | Delete
'<a href="#" class="et-pb-layout-buttons et-pb-layout-buttons-history" title="%1$s">
[5592] Fix | Delete
<span class="icon"></span><span class="label">%2$s</span>
[5593] Fix | Delete
</a>',
[5594] Fix | Delete
esc_attr__( 'See History', 'et_builder' ),
[5595] Fix | Delete
esc_html__( 'See History', 'et_builder' )
[5596] Fix | Delete
);
[5597] Fix | Delete
[5598] Fix | Delete
$redo_button = sprintf(
[5599] Fix | Delete
'<a href="#" class="et-pb-layout-buttons et-pb-layout-buttons-redo" title="%1$s">
[5600] Fix | Delete
<span class="icon"></span><span class="label">%2$s</span>
[5601] Fix | Delete
</a>',
[5602] Fix | Delete
esc_attr__( 'Redo', 'et_builder' ),
[5603] Fix | Delete
esc_html__( 'Redo', 'et_builder' )
[5604] Fix | Delete
);
[5605] Fix | Delete
[5606] Fix | Delete
$undo_button = sprintf(
[5607] Fix | Delete
'<a href="#" class="et-pb-layout-buttons et-pb-layout-buttons-undo" title="%1$s">
[5608] Fix | Delete
<span class="icon"></span><span class="label">%2$s</span>
[5609] Fix | Delete
</a>',
[5610] Fix | Delete
esc_attr__( 'Undo', 'et_builder' ),
[5611] Fix | Delete
esc_html__( 'Undo', 'et_builder' )
[5612] Fix | Delete
);
[5613] Fix | Delete
[5614] Fix | Delete
// App View Stats Button
[5615] Fix | Delete
$view_ab_stats_button = sprintf(
[5616] Fix | Delete
'<a href="#" class="et-pb-layout-buttons et-pb-layout-buttons-view-ab-stats" title="%1$s">
[5617] Fix | Delete
<span class="icon"></span><span class="label">%2$s</span>
[5618] Fix | Delete
</a>',
[5619] Fix | Delete
esc_attr__( 'View Stats', 'et_builder' ),
[5620] Fix | Delete
esc_html__( 'View Stats', 'et_builder' )
[5621] Fix | Delete
);
[5622] Fix | Delete
[5623] Fix | Delete
// App Settings Button
[5624] Fix | Delete
$settings_button = sprintf(
[5625] Fix | Delete
'<a href="#" class="et-pb-layout-buttons et-pb-layout-buttons-settings" title="%1$s">
[5626] Fix | Delete
<span class="icon"></span><span class="label">%2$s</span>
[5627] Fix | Delete
</a>',
[5628] Fix | Delete
esc_attr__( 'Settings', 'et_builder' ),
[5629] Fix | Delete
esc_html__( 'Settings', 'et_builder' )
[5630] Fix | Delete
);
[5631] Fix | Delete
[5632] Fix | Delete
// App Template
[5633] Fix | Delete
printf(
[5634] Fix | Delete
'<script type="text/template" id="et-builder-app-template">
[5635] Fix | Delete
<div id="et_pb_layout_controls">
[5636] Fix | Delete
%1$s
[5637] Fix | Delete
%2$s
[5638] Fix | Delete
%3$s
[5639] Fix | Delete
%4$s
[5640] Fix | Delete
%5$s
[5641] Fix | Delete
%6$s
[5642] Fix | Delete
%7$s
[5643] Fix | Delete
%8$s
[5644] Fix | Delete
</div>
[5645] Fix | Delete
<div id="et-pb-histories-visualizer-overlay"></div>
[5646] Fix | Delete
<ol id="et-pb-histories-visualizer"></ol>
[5647] Fix | Delete
</script>',
[5648] Fix | Delete
et_core_esc_previously( $save_to_lib_button ),
[5649] Fix | Delete
et_core_esc_previously( $load_from_lib_button ),
[5650] Fix | Delete
et_core_esc_previously( $clear_layout_button ),
[5651] Fix | Delete
et_core_esc_previously( $history_button ),
[5652] Fix | Delete
et_core_esc_previously( $redo_button ),
[5653] Fix | Delete
et_core_esc_previously( $undo_button ),
[5654] Fix | Delete
et_core_esc_previously( $view_ab_stats_button ),
[5655] Fix | Delete
et_core_esc_previously( $settings_button )
[5656] Fix | Delete
);
[5657] Fix | Delete
[5658] Fix | Delete
// App Settings Buttons Template
[5659] Fix | Delete
$builder_button_ab_testing_conditional = '( typeof et_pb_ab_goal === "undefined" || et_pb_ab_goal === "off" || typeof et_pb_ab_subject !== "undefined" )';
[5660] Fix | Delete
[5661] Fix | Delete
$is_ab_active = isset( $post->ID ) && 'on' === get_post_meta( $post->ID, '_et_pb_use_ab_testing', true );
[5662] Fix | Delete
[5663] Fix | Delete
$view_stats_active_class = $is_ab_active ? 'active' : '';
[5664] Fix | Delete
[5665] Fix | Delete
$view_stats_button = et_pb_is_allowed( 'ab_testing' ) ? sprintf(
[5666] Fix | Delete
'<a href="#" class="et-pb-app-view-ab-stats-button %1$s" title="%2$s">
[5667] Fix | Delete
<span class="icon">
[5668] Fix | Delete
<object type="image/svg+xml" data="%3$s/images/stats.svg"></object>
[5669] Fix | Delete
</span>
[5670] Fix | Delete
<span class="label">%2$s</span>
[5671] Fix | Delete
</a>',
[5672] Fix | Delete
esc_attr( $view_stats_active_class ),
[5673] Fix | Delete
esc_attr__( 'View Split Testing Stats', 'et_builder' ),
[5674] Fix | Delete
esc_url( ET_BUILDER_URI )
[5675] Fix | Delete
) : '';
[5676] Fix | Delete
[5677] Fix | Delete
$portability_class = 'et-pb-app-portability-button';
[5678] Fix | Delete
[5679] Fix | Delete
if ( $is_ab_active ) {
[5680] Fix | Delete
$portability_class .= ' et-core-disabled';
[5681] Fix | Delete
}
[5682] Fix | Delete
[5683] Fix | Delete
$page_settings_button = et_pb_is_allowed( 'page_options' ) ? sprintf(
[5684] Fix | Delete
'<a href="#" class="et-pb-app-settings-button" title="%1$s">
[5685] Fix | Delete
<span class="icon">
[5686] Fix | Delete
<object type="image/svg+xml" data="%3$s/images/menu.svg"></object>
[5687] Fix | Delete
</span>
[5688] Fix | Delete
<span class="label">%2$s</span>
[5689] Fix | Delete
</a>',
[5690] Fix | Delete
esc_attr__( 'Settings', 'et_builder' ),
[5691] Fix | Delete
esc_html__( 'Settings', 'et_builder' ),
[5692] Fix | Delete
esc_url( ET_BUILDER_URI )
[5693] Fix | Delete
) : '';
[5694] Fix | Delete
[5695] Fix | Delete
printf(
[5696] Fix | Delete
'<script type="text/template" id="et-builder-app-settings-button-template">
[5697] Fix | Delete
%1$s
[5698] Fix | Delete
%2$s
[5699] Fix | Delete
%3$s
[5700] Fix | Delete
</script>',
[5701] Fix | Delete
et_core_esc_previously( $page_settings_button ),
[5702] Fix | Delete
et_core_esc_previously( et_builder_portability_link( 'et_builder', array( 'class' => $portability_class ) ) ),
[5703] Fix | Delete
et_core_esc_previously( $view_stats_button )
[5704] Fix | Delete
);
[5705] Fix | Delete
[5706] Fix | Delete
// do not display settings on global sections if not allowed for current user
[5707] Fix | Delete
$global_settings_logic = ! et_pb_is_allowed( 'edit_global_library' ) ? ' && typeof et_pb_global_module === "undefined"' : '';
[5708] Fix | Delete
[5709] Fix | Delete
$section_settings_button = sprintf(
[5710] Fix | Delete
'<%% if ( ( typeof et_pb_template_type === \'undefined\' || \'section\' === et_pb_template_type || \'\' === et_pb_template_type )%3$s ) { %%>
[5711] Fix | Delete
<a href="#" class="et-pb-settings et-pb-settings-section" title="%1$s"><span>%2$s</span></a>
[5712] Fix | Delete
<%% } %%>',
[5713] Fix | Delete
esc_attr__( 'Settings', 'et_builder' ),
[5714] Fix | Delete
esc_html__( 'Settings', 'et_builder' ),
[5715] Fix | Delete
et_core_esc_previously( $global_settings_logic )
[5716] Fix | Delete
);
[5717] Fix | Delete
[5718] Fix | Delete
$section_clone_button = sprintf(
[5719] Fix | Delete
'%3$s
[5720] Fix | Delete
<a href="#" class="et-pb-clone et-pb-clone-section" title="%1$s"><span>%2$s</span></a>
[5721] Fix | Delete
%4$s',
[5722] Fix | Delete
esc_attr__( 'Clone Section', 'et_builder' ),
[5723] Fix | Delete
esc_html__( 'Clone Section', 'et_builder' ),
[5724] Fix | Delete
'<% if ( ' . et_core_esc_previously( $builder_button_ab_testing_conditional ) . ' ) { %>',
[5725] Fix | Delete
'<% } %>'
[5726] Fix | Delete
);
[5727] Fix | Delete
$section_remove_button = sprintf(
[5728] Fix | Delete
'%3$s
[5729] Fix | Delete
<a href="#" class="et-pb-remove et-pb-remove-section" title="%1$s"><span>%2$s</span></a>
[5730] Fix | Delete
%4$s',
[5731] Fix | Delete
esc_attr__( 'Delete Section', 'et_builder' ),
[5732] Fix | Delete
esc_html__( 'Delete Section', 'et_builder' ),
[5733] Fix | Delete
'<% if ( ' . et_core_esc_previously( $builder_button_ab_testing_conditional ) . ' ) { %>',
[5734] Fix | Delete
'<% } %>'
[5735] Fix | Delete
);
[5736] Fix | Delete
$section_unlock_button = sprintf(
[5737] Fix | Delete
'<a href="#" class="et-pb-unlock" title="%1$s"><span>%2$s</span></a>',
[5738] Fix | Delete
esc_attr__( 'Unlock Section', 'et_builder' ),
[5739] Fix | Delete
esc_html__( 'Unlock Section', 'et_builder' )
[5740] Fix | Delete
);
[5741] Fix | Delete
// Section Template
[5742] Fix | Delete
$settings_controls = sprintf(
[5743] Fix | Delete
'<div class="et-pb-controls">
[5744] Fix | Delete
%1$s
[5745] Fix | Delete
[5746] Fix | Delete
<%% if ( typeof et_pb_template_type === \'undefined\' || ( \'section\' !== et_pb_template_type && \'row\' !== et_pb_template_type && \'module\' !== et_pb_template_type ) ) { %%>
[5747] Fix | Delete
%2$s
[5748] Fix | Delete
%3$s
[5749] Fix | Delete
<%% } %%>
[5750] Fix | Delete
[5751] Fix | Delete
<a href="#" class="et-pb-expand" title="%4$s"><span>%5$s</span></a>
[5752] Fix | Delete
%6$s
[5753] Fix | Delete
</div>',
[5754] Fix | Delete
et_pb_is_allowed( 'edit_module' ) && ( et_pb_is_allowed( 'general_settings' ) || et_pb_is_allowed( 'advanced_settings' ) || et_pb_is_allowed( 'custom_css_settings' ) ) ? et_core_esc_previously( $section_settings_button ) : '',
[5755] Fix | Delete
et_pb_is_allowed( 'add_module' ) ? et_core_esc_previously( $section_clone_button ) : '',
[5756] Fix | Delete
et_pb_is_allowed( 'add_module' ) ? et_core_esc_previously( $section_remove_button ) : '',
[5757] Fix | Delete
esc_attr__( 'Expand Section', 'et_builder' ),
[5758] Fix | Delete
esc_html__( 'Expand Section', 'et_builder' ),
[5759] Fix | Delete
et_pb_is_allowed( 'lock_module' ) ? et_core_esc_previously( $section_unlock_button ) : ''
[5760] Fix | Delete
);
[5761] Fix | Delete
$settings_controls = apply_filters( 'et_builder_section_settings_controls', $settings_controls );
[5762] Fix | Delete
[5763] Fix | Delete
$add_from_lib_section = et_pb_is_allowed( 'divi_library' ) && et_pb_is_allowed( 'add_library' ) ? sprintf(
[5764] Fix | Delete
'<span class="et-pb-section-add-saved">%1$s</span>',
[5765] Fix | Delete
esc_html__( 'Add From Library', 'et_builder' )
[5766] Fix | Delete
) : '';
[5767] Fix | Delete
[5768] Fix | Delete
$add_standard_section_button = sprintf(
[5769] Fix | Delete
'<span class="et-pb-section-add-main">%1$s</span>',
[5770] Fix | Delete
esc_html__( 'Standard Section', 'et_builder' )
[5771] Fix | Delete
);
[5772] Fix | Delete
$add_standard_section_button = apply_filters( 'et_builder_add_main_section_button', $add_standard_section_button );
[5773] Fix | Delete
[5774] Fix | Delete
$add_fullwidth_section_button = sprintf(
[5775] Fix | Delete
'<span class="et-pb-section-add-fullwidth">%1$s</span>',
[5776] Fix | Delete
esc_html__( 'Fullwidth Section', 'et_builder' )
[5777] Fix | Delete
);
[5778] Fix | Delete
$add_fullwidth_section_button = apply_filters( 'et_builder_add_fullwidth_section_button', $add_fullwidth_section_button );
[5779] Fix | Delete
[5780] Fix | Delete
$add_specialty_section_button = sprintf(
[5781] Fix | Delete
'<span class="et-pb-section-add-specialty">%1$s</span>',
[5782] Fix | Delete
esc_html__( 'Specialty Section', 'et_builder' )
[5783] Fix | Delete
);
[5784] Fix | Delete
$add_specialty_section_button = apply_filters( 'et_builder_add_specialty_section_button', $add_specialty_section_button );
[5785] Fix | Delete
[5786] Fix | Delete
$settings_add_controls = sprintf(
[5787] Fix | Delete
'<%% if ( typeof et_pb_template_type === \'undefined\' || ( \'section\' !== et_pb_template_type && \'row\' !== et_pb_template_type && \'module\' !== et_pb_template_type ) ) { %%>
[5788] Fix | Delete
<a href="#" class="et-pb-section-add">
[5789] Fix | Delete
%1$s
[5790] Fix | Delete
%2$s
[5791] Fix | Delete
%3$s
[5792] Fix | Delete
%4$s
[5793] Fix | Delete
</a>
[5794] Fix | Delete
<%% } %%>',
[5795] Fix | Delete
et_core_esc_previously( $add_standard_section_button ),
[5796] Fix | Delete
et_core_esc_previously( $add_fullwidth_section_button ),
[5797] Fix | Delete
et_core_esc_previously( $add_specialty_section_button ),
[5798] Fix | Delete
et_core_esc_previously( $add_from_lib_section )
[5799] Fix | Delete
);
[5800] Fix | Delete
$settings_add_controls = et_pb_is_allowed( 'add_module' ) ? apply_filters( 'et_builder_section_add_controls', $settings_add_controls ) : '';
[5801] Fix | Delete
[5802] Fix | Delete
$insert_first_row_button = et_pb_is_allowed( 'add_module' ) ? sprintf(
[5803] Fix | Delete
'<a href="#" class="et-pb-insert-row">
[5804] Fix | Delete
<span>%1$s</span>
[5805] Fix | Delete
</a>',
[5806] Fix | Delete
esc_html__( 'Insert Row(s)', 'et_builder' )
[5807] Fix | Delete
) : '';
[5808] Fix | Delete
[5809] Fix | Delete
$disable_sort_logic = ! et_pb_is_allowed( 'move_module' ) ? ' et-pb-disable-sort' : '';
[5810] Fix | Delete
[5811] Fix | Delete
$disable_global_sort_logic = ! et_pb_is_allowed( 'edit_global_library' )
[5812] Fix | Delete
? '<%= typeof et_pb_global_module !== \'undefined\' ? \' et-pb-disable-sort\' : \'\' %>'
[5813] Fix | Delete
: '';
[5814] Fix | Delete
[5815] Fix | Delete
printf(
[5816] Fix | Delete
'<script type="text/template" id="et-builder-section-template">
[5817] Fix | Delete
<div class="et-pb-right-click-trigger-overlay"></div>
[5818] Fix | Delete
%1$s
[5819] Fix | Delete
<div class="et-pb-section-content et-pb-data-cid%3$s%4$s<%%= typeof et_pb_template_type !== \'undefined\' && \'module\' === et_pb_template_type ? \' et_pb_hide_insert\' : \'\' %%>" data-cid="<%%= cid %%>" data-skip="<%%= typeof( et_pb_skip_module ) === \'undefined\' ? \'false\' : \'true\' %%>">
[5820] Fix | Delete
%5$s
[5821] Fix | Delete
</div>
[5822] Fix | Delete
%2$s
[5823] Fix | Delete
<div class="et-pb-locked-overlay et-pb-locked-overlay-section"></div>
[5824] Fix | Delete
<span class="et-pb-section-title"><%%= admin_label.replace( /%%22/g, "&quot;" ).replace( /%%91/g, "&#91;" ).replace( /%%93/g, "&#93;" ) %%></span>
[5825] Fix | Delete
</script>',
[5826] Fix | Delete
et_core_esc_previously( $settings_controls ),
[5827] Fix | Delete
et_core_esc_previously( $settings_add_controls ),
[5828] Fix | Delete
et_core_intentionally_unescaped( $disable_sort_logic, 'fixed_string' ),
[5829] Fix | Delete
et_core_intentionally_unescaped( $disable_global_sort_logic, 'fixed_string' ),
[5830] Fix | Delete
et_core_esc_previously( $insert_first_row_button )
[5831] Fix | Delete
);
[5832] Fix | Delete
[5833] Fix | Delete
$row_settings_button = sprintf(
[5834] Fix | Delete
'<%% if ( ( typeof et_pb_template_type === \'undefined\' || et_pb_template_type !== \'module\' )%3$s ) { %%>
[5835] Fix | Delete
<a href="#" class="et-pb-settings et-pb-settings-row" title="%1$s"><span>%2$s</span></a>
[5836] Fix | Delete
<%% } %%>',
[5837] Fix | Delete
esc_attr__( 'Settings', 'et_builder' ),
[5838] Fix | Delete
esc_html__( 'Settings', 'et_builder' ),
[5839] Fix | Delete
! et_pb_is_allowed( 'edit_global_library' ) ? ' && ( typeof et_pb_global_module === "undefined" || "" === et_pb_global_module ) && ( typeof et_pb_global_parent === "undefined" || "" === et_pb_global_parent )' : '' // do not display settings button on global rows if not allowed for current user
[5840] Fix | Delete
);
[5841] Fix | Delete
$row_clone_button = sprintf(
[5842] Fix | Delete
'%3$s
[5843] Fix | Delete
<a href="#" class="et-pb-clone et-pb-clone-row" title="%1$s"><span>%2$s</span></a>
[5844] Fix | Delete
%4$s',
[5845] Fix | Delete
esc_attr__( 'Clone Row', 'et_builder' ),
[5846] Fix | Delete
esc_html__( 'Clone Row', 'et_builder' ),
[5847] Fix | Delete
! et_pb_is_allowed( 'edit_global_library' ) ? '<% if ( ( typeof et_pb_global_parent === "undefined" || "" === et_pb_global_parent ) && '. $builder_button_ab_testing_conditional .' ) { %>' : '<% if ( ' . $builder_button_ab_testing_conditional . ' ) { %>', // do not display clone button on rows within global sections if not allowed for current user
[5848] Fix | Delete
'<% } %>'
[5849] Fix | Delete
);
[5850] Fix | Delete
$row_remove_button = sprintf(
[5851] Fix | Delete
'%3$s
[5852] Fix | Delete
<a href="#" class="et-pb-remove et-pb-remove-row" title="%1$s"><span>%2$s</span></a>
[5853] Fix | Delete
%4$s',
[5854] Fix | Delete
esc_attr__( 'Delete Row', 'et_builder' ),
[5855] Fix | Delete
esc_html__( 'Delete Row', 'et_builder' ),
[5856] Fix | Delete
! et_pb_is_allowed( 'edit_global_library' ) ? '<% if ( ( typeof et_pb_global_parent === "undefined" || "" === et_pb_global_parent ) && '. $builder_button_ab_testing_conditional .') { %>' : '<% if ( ' . $builder_button_ab_testing_conditional . ' ) { %>', // do not display clone button on rows within global sections if not allowed for current user
[5857] Fix | Delete
'<% } %>'
[5858] Fix | Delete
);
[5859] Fix | Delete
$row_change_structure_button = sprintf(
[5860] Fix | Delete
'%3$s
[5861] Fix | Delete
<a href="#" class="et-pb-change-structure" title="%1$s"><span>%2$s</span></a>
[5862] Fix | Delete
%4$s',
[5863] Fix | Delete
esc_attr__( 'Change Structure', 'et_builder' ),
[5864] Fix | Delete
esc_html__( 'Change Structure', 'et_builder' ),
[5865] Fix | Delete
! et_pb_is_allowed( 'edit_global_library' ) ? '<% if ( ( typeof et_pb_global_module === "undefined" || "" === et_pb_global_module ) && ( typeof et_pb_global_parent === "undefined" || "" === et_pb_global_parent ) ) { %>' : '', // do not display change structure button on global rows if not allowed for current user
[5866] Fix | Delete
! et_pb_is_allowed( 'edit_global_library' ) ? '<% } %>' : ''
[5867] Fix | Delete
);
[5868] Fix | Delete
$row_unlock_button = sprintf(
[5869] Fix | Delete
'<a href="#" class="et-pb-unlock" title="%1$s"><span>%2$s</span></a>',
[5870] Fix | Delete
esc_attr__( 'Unlock Row', 'et_builder' ),
[5871] Fix | Delete
esc_html__( 'Unlock Row', 'et_builder' )
[5872] Fix | Delete
);
[5873] Fix | Delete
// Row Template
[5874] Fix | Delete
$settings = sprintf(
[5875] Fix | Delete
'<div class="et-pb-controls">
[5876] Fix | Delete
%1$s
[5877] Fix | Delete
<%% if ( typeof et_pb_template_type === \'undefined\' || \'section\' === et_pb_template_type ) { %%>
[5878] Fix | Delete
%2$s
[5879] Fix | Delete
<%% }
[5880] Fix | Delete
[5881] Fix | Delete
if ( typeof et_pb_template_type === \'undefined\' || et_pb_template_type !== \'module\' ) { %%>
[5882] Fix | Delete
%4$s
[5883] Fix | Delete
<%% }
[5884] Fix | Delete
[5885] Fix | Delete
if ( typeof et_pb_template_type === \'undefined\' || \'section\' === et_pb_template_type ) { %%>
[5886] Fix | Delete
%3$s
[5887] Fix | Delete
<%% } %%>
[5888] Fix | Delete
[5889] Fix | Delete
<a href="#" class="et-pb-expand" title="%5$s"><span>%6$s</span></a>
[5890] Fix | Delete
%7$s
[5891] Fix | Delete
</div>',
[5892] Fix | Delete
et_pb_is_allowed( 'edit_module' ) && ( et_pb_is_allowed( 'general_settings' ) || et_pb_is_allowed( 'advanced_settings' ) || et_pb_is_allowed( 'custom_css_settings' ) ) ? $row_settings_button : '',
[5893] Fix | Delete
et_pb_is_allowed( 'add_module' ) ? $row_clone_button : '',
[5894] Fix | Delete
et_pb_is_allowed( 'add_module' ) ? $row_remove_button : '',
[5895] Fix | Delete
et_pb_is_allowed( 'edit_module' ) && ( et_pb_is_allowed( 'general_settings' ) || et_pb_is_allowed( 'advanced_settings' ) || et_pb_is_allowed( 'custom_css_settings' ) ) ? $row_change_structure_button : '',
[5896] Fix | Delete
esc_attr__( 'Expand Row', 'et_builder' ),
[5897] Fix | Delete
esc_html__( 'Expand Row', 'et_builder' ),
[5898] Fix | Delete
et_pb_is_allowed( 'lock_module' ) ? $row_unlock_button : ''
[5899] Fix | Delete
);
[5900] Fix | Delete
$settings = apply_filters( 'et_builder_row_settings_controls', $settings );
[5901] Fix | Delete
[5902] Fix | Delete
$row_class = sprintf(
[5903] Fix | Delete
'class="et-pb-row-content et-pb-data-cid%1$s%2$s <%%= typeof et_pb_template_type !== \'undefined\' && \'module\' === et_pb_template_type ? \' et_pb_hide_insert\' : \'\' %%>"',
[5904] Fix | Delete
! et_pb_is_allowed( 'move_module' ) ? ' et-pb-disable-sort' : '',
[5905] Fix | Delete
! et_pb_is_allowed( 'edit_global_library' )
[5906] Fix | Delete
? sprintf( '<%%= typeof et_pb_global_parent !== \'undefined\' || typeof et_pb_global_module !== \'undefined\' ? \' et-pb-disable-sort\' : \'\' %%>' )
[5907] Fix | Delete
: ''
[5908] Fix | Delete
);
[5909] Fix | Delete
[5910] Fix | Delete
$data_skip = 'data-skip="<%= typeof( et_pb_skip_module ) === \'undefined\' ? \'false\' : \'true\' %>"';
[5911] Fix | Delete
[5912] Fix | Delete
$add_row_button = et_pb_is_allowed( 'add_module' ) ? sprintf(
[5913] Fix | Delete
'<%% if ( ( typeof et_pb_template_type === \'undefined\' || \'section\' === et_pb_template_type )%2$s ) { %%>
[5914] Fix | Delete
<a href="#" class="et-pb-row-add">
[5915] Fix | Delete
<span>%1$s</span>
[5916] Fix | Delete
</a>
[5917] Fix | Delete
<%% } %%>',
[5918] Fix | Delete
esc_html__( 'Add Row', 'et_builder' ),
[5919] Fix | Delete
! et_pb_is_allowed( 'edit_global_library' ) ? ' && typeof et_pb_global_parent === "undefined"' : '' // do not display add row buton on global sections if not allowed for current user
[5920] Fix | Delete
) : '';
[5921] Fix | Delete
[5922] Fix | Delete
$insert_column_button = et_pb_is_allowed( 'add_module' ) ? sprintf(
[5923] Fix | Delete
'<a href="#" class="et-pb-insert-column">
[5924] Fix | Delete
<span>%1$s</span>
[5925] Fix | Delete
</a>',
[5926] Fix | Delete
esc_html__( 'Insert Column(s)', 'et_builder' )
[5927] Fix | Delete
) : '';
[5928] Fix | Delete
[5929] Fix | Delete
printf(
[5930] Fix | Delete
'<script type="text/template" id="et-builder-row-template">
[5931] Fix | Delete
<div class="et-pb-right-click-trigger-overlay"></div>
[5932] Fix | Delete
%1$s
[5933] Fix | Delete
<div data-cid="<%%= cid %%>" %2$s %3$s>
[5934] Fix | Delete
<div class="et-pb-row-container"></div>
[5935] Fix | Delete
%4$s
[5936] Fix | Delete
</div>
[5937] Fix | Delete
%5$s
[5938] Fix | Delete
<div class="et-pb-locked-overlay et-pb-locked-overlay-row"></div>
[5939] Fix | Delete
<span class="et-pb-row-title"><%%= admin_label.replace( /%%22/g, "&quot;" ).replace( /%%91/g, "&#91;" ).replace( /%%93/g, "&#93;" ) %%></span>
[5940] Fix | Delete
</script>',
[5941] Fix | Delete
et_core_esc_previously( $settings ),
[5942] Fix | Delete
et_core_intentionally_unescaped( $row_class, 'fixed_string' ),
[5943] Fix | Delete
et_core_intentionally_unescaped( $data_skip, 'fixed_string' ),
[5944] Fix | Delete
et_core_esc_previously( $insert_column_button ),
[5945] Fix | Delete
et_core_esc_previously( $add_row_button )
[5946] Fix | Delete
);
[5947] Fix | Delete
[5948] Fix | Delete
// Module Block Template
[5949] Fix | Delete
$clone_button = et_pb_is_allowed( 'add_module' ) ? sprintf(
[5950] Fix | Delete
'<%% if ( ( typeof et_pb_template_type === \'undefined\' || et_pb_template_type !== \'module\' )%3$s && _.contains(%4$s, module_type) && '. $builder_button_ab_testing_conditional .' ) { %%>
[5951] Fix | Delete
<a href="#" class="et-pb-clone et-pb-clone-module" title="%1$s">
[5952] Fix | Delete
<span>%2$s</span>
[5953] Fix | Delete
</a>
[5954] Fix | Delete
<%% } %%>',
[5955] Fix | Delete
esc_attr__( 'Clone Module', 'et_builder' ),
[5956] Fix | Delete
esc_html__( 'Clone Module', 'et_builder' ),
[5957] Fix | Delete
! et_pb_is_allowed( 'edit_global_library' ) ? ' && ( typeof et_pb_global_parent === "undefined" || "" === et_pb_global_parent )' : '',
[5958] Fix | Delete
et_pb_allowed_modules_list()
[5959] Fix | Delete
) : '';
[5960] Fix | Delete
$remove_button = et_pb_is_allowed( 'add_module' ) ? sprintf(
[5961] Fix | Delete
'<%% if ( ( typeof et_pb_template_type === \'undefined\' || et_pb_template_type !== \'module\' )%3$s && (_.contains(%4$s, module_type) || "removed" === component_status) && '. $builder_button_ab_testing_conditional .' ) { %%>
[5962] Fix | Delete
<a href="#" class="et-pb-remove et-pb-remove-module" title="%1$s">
[5963] Fix | Delete
<span>%2$s</span>
[5964] Fix | Delete
</a>
[5965] Fix | Delete
<%% } %%>',
[5966] Fix | Delete
esc_attr__( 'Remove Module', 'et_builder' ),
[5967] Fix | Delete
esc_html__( 'Remove Module', 'et_builder' ),
[5968] Fix | Delete
! et_pb_is_allowed( 'edit_global_library' ) ? ' && ( typeof et_pb_global_parent === "undefined" || "" === et_pb_global_parent )' : '',
[5969] Fix | Delete
et_pb_allowed_modules_list()
[5970] Fix | Delete
) : '';
[5971] Fix | Delete
$unlock_button = et_pb_is_allowed( 'lock_module' ) ? sprintf(
[5972] Fix | Delete
'<%% if ( typeof et_pb_template_type === \'undefined\' || et_pb_template_type !== \'module\' ) { %%>
[5973] Fix | Delete
<a href="#" class="et-pb-unlock" title="%1$s">
[5974] Fix | Delete
<span>%2$s</span>
[5975] Fix | Delete
</a>
[5976] Fix | Delete
<%% } %%>',
[5977] Fix | Delete
esc_html__( 'Unlock Module', 'et_builder' ),
[5978] Fix | Delete
esc_attr__( 'Unlock Module', 'et_builder' )
[5979] Fix | Delete
) : '';
[5980] Fix | Delete
$settings_button = et_pb_is_allowed( 'edit_module' ) && ( et_pb_is_allowed( 'general_settings' ) || et_pb_is_allowed( 'advanced_settings' ) || et_pb_is_allowed( 'custom_css_settings' ) ) ? sprintf(
[5981] Fix | Delete
'<%% if (%3$s _.contains( %4$s, module_type ) ) { %%>
[5982] Fix | Delete
<a href="#" class="et-pb-settings" title="%1$s">
[5983] Fix | Delete
<span>%2$s</span>
[5984] Fix | Delete
</a>
[5985] Fix | Delete
<%% } %%>',
[5986] Fix | Delete
esc_attr__( 'Module Settings', 'et_builder' ),
[5987] Fix | Delete
esc_html__( 'Module Settings', 'et_builder' ),
[5988] Fix | Delete
! et_pb_is_allowed( 'edit_global_library' ) ? ' ( typeof et_pb_global_parent === "undefined" || "" === et_pb_global_parent ) && ( typeof et_pb_global_module === "undefined" || "" === et_pb_global_module ) &&' : '',
[5989] Fix | Delete
et_pb_allowed_modules_list()
[5990] Fix | Delete
) : '';
[5991] Fix | Delete
[5992] Fix | Delete
printf(
[5993] Fix | Delete
'<script type="text/template" id="et-builder-block-module-template">
[5994] Fix | Delete
%1$s
[5995] Fix | Delete
%2$s
[5996] Fix | Delete
%3$s
[5997] Fix | Delete
%4$s
[5998] Fix | Delete
<span class="et-pb-module-title"><%%= admin_label.replace( /%%22/g, "&quot;" ).replace( /%%91/g, "&#91;" ).replace( /%%93/g, "&#93;" ) %%></span>
[5999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function