Edit File by line
/home/barbar84/www/wp-conte.../themes/Divi/includes/builder
File: functions.php
</li>
[7500] Fix | Delete
<li class="et_pb_options_tab_ab_stat_reads" data-analysis="reads">
[7501] Fix | Delete
<a href="#">%3$s</a>
[7502] Fix | Delete
</li>
[7503] Fix | Delete
<li class="et_pb_options_tab_ab_stat_bounces" data-analysis="bounces">
[7504] Fix | Delete
<a href="#">%4$s</a>
[7505] Fix | Delete
</li>
[7506] Fix | Delete
<li class="et_pb_options_tab_ab_stat_engagements" data-analysis="engagements">
[7507] Fix | Delete
<a href="#">%5$s</a>
[7508] Fix | Delete
</li>
[7509] Fix | Delete
<li class="et_pb_options_tab_ab_stat_shortcode_conversions" data-analysis="shortcode_conversions">
[7510] Fix | Delete
<a href="#">%13$s</a>
[7511] Fix | Delete
</li>
[7512] Fix | Delete
<li class="et_pb_ab_refresh_button">
[7513] Fix | Delete
<a href="#" class="et-pb-ab-refresh-stats" title="%11$s">
[7514] Fix | Delete
<span class="icon"></span><span class="label">%12$s</span>
[7515] Fix | Delete
</a>
[7516] Fix | Delete
</li>
[7517] Fix | Delete
</ul><!-- .et-pb-options-tabs-links -->
[7518] Fix | Delete
<div class="et-pb-ab-view-stats-content has-data">
[7519] Fix | Delete
%7$s
[7520] Fix | Delete
</div>
[7521] Fix | Delete
<div class="et-pb-ab-view-stats-content no-data">
[7522] Fix | Delete
<span class="icon">
[7523] Fix | Delete
<object type="image/svg+xml" data="%8$s/images/stats-no-data.svg"></object>
[7524] Fix | Delete
</span>
[7525] Fix | Delete
<h2>%9$s</h2>
[7526] Fix | Delete
<p>%10$s</p>
[7527] Fix | Delete
</div>
[7528] Fix | Delete
<div class="et_pb_prompt_buttons">
[7529] Fix | Delete
<input type="submit" class="et_pb_prompt_proceed" value="%14$s">
[7530] Fix | Delete
</div>
[7531] Fix | Delete
</script>',
[7532] Fix | Delete
esc_html__( 'Split Testing Statistics', 'et_builder' ),
[7533] Fix | Delete
esc_html__( 'Clicks', 'et_builder' ),
[7534] Fix | Delete
esc_html__( 'Reads', 'et_builder' ),
[7535] Fix | Delete
esc_html__( 'Bounces', 'et_builder' ),
[7536] Fix | Delete
esc_html__( 'Goal Engagement', 'et_builder' ), // 5
[7537] Fix | Delete
esc_html__( 'Conversions', 'et_builder' ),
[7538] Fix | Delete
et_core_esc_previously( $view_stats_tabs ),
[7539] Fix | Delete
esc_url( ET_BUILDER_URI ),
[7540] Fix | Delete
esc_html__( 'Statistics are being collected', 'et_builder' ),
[7541] Fix | Delete
esc_html__( 'Stats will be displayed upon sufficient data collection', 'et_builder' ), // 10
[7542] Fix | Delete
esc_attr__( 'Refresh Stats', 'et_builder' ),
[7543] Fix | Delete
esc_html__( 'Refresh Stats', 'et_builder' ),
[7544] Fix | Delete
esc_html__( 'Shortcode Conversions', 'et_builder' ),
[7545] Fix | Delete
esc_attr__( 'End Split Test &amp; Pick Winner', 'et_builder' )
[7546] Fix | Delete
);
[7547] Fix | Delete
[7548] Fix | Delete
// "Add Specialty Section" Button Template
[7549] Fix | Delete
printf(
[7550] Fix | Delete
'<script type="text/template" id="et-builder-add-specialty-section-button">
[7551] Fix | Delete
<a href="#" class="et-pb-section-add-specialty et-pb-add-specialty-template" data-is_template="true">%1$s</a>
[7552] Fix | Delete
</script>',
[7553] Fix | Delete
esc_html__( 'Add Specialty Section', 'et_builder' )
[7554] Fix | Delete
);
[7555] Fix | Delete
[7556] Fix | Delete
// Saved Entry Template.
[7557] Fix | Delete
echo '<script type="text/template" id="et-builder-saved-entry">
[7558] Fix | Delete
<a class="et_pb_saved_entry_item"><%= title %></a>
[7559] Fix | Delete
</script>';
[7560] Fix | Delete
[7561] Fix | Delete
// Font Family Select Template.
[7562] Fix | Delete
$font_marker = et_pb_is_allowed( 'custom_fonts_management' ) ? '<span class="et-pb-user-font-marker"></span>' : '';
[7563] Fix | Delete
[7564] Fix | Delete
$upload_button = et_pb_is_allowed( 'custom_fonts_management' ) ? sprintf( '<input type="button" class="button button-upload et-pb-font-upload-button" value="%1$s">', esc_html__( 'Upload', 'et_builder' ) ) : '';
[7565] Fix | Delete
[7566] Fix | Delete
printf(
[7567] Fix | Delete
'<script type="text/template" id="et-builder-google-fonts-options-items">
[7568] Fix | Delete
<li class="et-pb-option-subgroup et-pb-option-subgroup-uploaded">
[7569] Fix | Delete
<p class="et-pb-subgroup-title">%1$s</p>
[7570] Fix | Delete
<ul class="et-pb-option-subgroup-container">
[7571] Fix | Delete
<%% _.each(this.et_builder_template_options.user_fonts, function(font_data, font_name) { %%>
[7572] Fix | Delete
<li class="select-option-item select-option-item-custom-font select-option-item-<%%= font_name.replace( / /g, "_" ) %%>" data-value="<%%= font_name %%>"><%%= font_name %%>%2$s</li>
[7573] Fix | Delete
<%% }); %%>
[7574] Fix | Delete
</ul>
[7575] Fix | Delete
%3$s
[7576] Fix | Delete
</li>
[7577] Fix | Delete
%4$s
[7578] Fix | Delete
</script>',
[7579] Fix | Delete
esc_html__( 'Uploaded', 'et_builder' ),
[7580] Fix | Delete
et_core_intentionally_unescaped( $font_marker, 'fixed_string' ),
[7581] Fix | Delete
et_core_esc_previously( $upload_button ),
[7582] Fix | Delete
et_core_esc_previously( et_builder_get_google_font_items() )
[7583] Fix | Delete
);
[7584] Fix | Delete
[7585] Fix | Delete
// Font Icons Template.
[7586] Fix | Delete
printf(
[7587] Fix | Delete
'<script type="text/template" id="et-builder-font-icon-list-items">
[7588] Fix | Delete
%1$s
[7589] Fix | Delete
</script>',
[7590] Fix | Delete
et_core_esc_previously( et_pb_get_font_icon_list_items() )
[7591] Fix | Delete
);
[7592] Fix | Delete
[7593] Fix | Delete
// Histories Visualizer Item Template.
[7594] Fix | Delete
printf(
[7595] Fix | Delete
'<script type="text/template" id="et-builder-histories-visualizer-item-template">
[7596] Fix | Delete
<li id="et-pb-history-<%%= this.options.get( "timestamp" ) %%>" class="<%%= this.options.get( "current_active_history" ) ? "active" : "undo" %%>" data-timestamp="<%%= this.options.get( "timestamp" ) %%>">
[7597] Fix | Delete
<span class="datetime"><%%= this.options.get( "datetime" ) %%></span>
[7598] Fix | Delete
<span class="verb"> <%%= this.getVerb() %%></span>
[7599] Fix | Delete
<span class="noun"> <%%= this.getNoun() %%></span>
[7600] Fix | Delete
<%% if ( typeof this.getAddition === "function" && "" !== this.getAddition() ) { %%>
[7601] Fix | Delete
<span class="addition"> <%%= this.getAddition() %%></span>
[7602] Fix | Delete
<%% } %%>
[7603] Fix | Delete
</li>
[7604] Fix | Delete
</script>'
[7605] Fix | Delete
);
[7606] Fix | Delete
[7607] Fix | Delete
// Font Down Icons Template.
[7608] Fix | Delete
printf(
[7609] Fix | Delete
'<script type="text/template" id="et-builder-font-down-icon-list-items">
[7610] Fix | Delete
%1$s
[7611] Fix | Delete
</script>',
[7612] Fix | Delete
et_core_esc_previously( et_pb_get_font_down_icon_list_items() )
[7613] Fix | Delete
);
[7614] Fix | Delete
[7615] Fix | Delete
printf(
[7616] Fix | Delete
'<script type="text/template" id="et-builder-preview-icons-template">
[7617] Fix | Delete
<ul class="et-pb-preview-screensize-switcher">
[7618] Fix | Delete
<li><a href="#" class="et-pb-preview-mobile" data-width="375"><span class="label">%1$s</span></a></li>
[7619] Fix | Delete
<li><a href="#" class="et-pb-preview-tablet" data-width="768"><span class="label">%2$s</span></a></li>
[7620] Fix | Delete
<li><a href="#" class="et-pb-preview-desktop active"><span class="label">%3$s</span></a></li>
[7621] Fix | Delete
</ul>
[7622] Fix | Delete
</script>',
[7623] Fix | Delete
esc_html__( 'Mobile', 'et_builder' ),
[7624] Fix | Delete
et_builder_i18n( 'Tablet' ),
[7625] Fix | Delete
et_builder_i18n( 'Desktop' )
[7626] Fix | Delete
);
[7627] Fix | Delete
[7628] Fix | Delete
printf(
[7629] Fix | Delete
'<script type="text/template" id="et-builder-options-tabs-links-template">
[7630] Fix | Delete
<ul class="et-pb-options-tabs-links">
[7631] Fix | Delete
<%% _.each(this.et_builder_template_options.tabs.options, function(tab, index) { %%>
[7632] Fix | Delete
<li class="et_pb_options_tab_<%%= tab.slug %%><%%= \'1\' === index ? \' et-pb-options-tabs-links-active\' : \'\' %%>">
[7633] Fix | Delete
<a href="#"><%%= tab.label %%></a>
[7634] Fix | Delete
</li>
[7635] Fix | Delete
<%% }); %%>
[7636] Fix | Delete
</ul>
[7637] Fix | Delete
</script>'
[7638] Fix | Delete
);
[7639] Fix | Delete
[7640] Fix | Delete
printf(
[7641] Fix | Delete
'<script type="text/template" id="et-builder-mobile-options-tabs-template">
[7642] Fix | Delete
<div class="et_pb_mobile_settings_tabs et_pb_tabs_mobile">
[7643] Fix | Delete
<a href="#" class="et_pb_mobile_settings_tab et_pb_mobile_settings_active_tab" data-settings_tab="desktop">
[7644] Fix | Delete
%1$s
[7645] Fix | Delete
</a>
[7646] Fix | Delete
<a href="#" class="et_pb_mobile_settings_tab" data-settings_tab="tablet">
[7647] Fix | Delete
%2$s
[7648] Fix | Delete
</a>
[7649] Fix | Delete
<a href="#" class="et_pb_mobile_settings_tab" data-settings_tab="phone">
[7650] Fix | Delete
%3$s
[7651] Fix | Delete
</a>
[7652] Fix | Delete
</div>
[7653] Fix | Delete
</script>',
[7654] Fix | Delete
et_builder_i18n( 'Desktop' ),
[7655] Fix | Delete
et_builder_i18n( 'Tablet' ),
[7656] Fix | Delete
esc_html__( 'Smartphone', 'et_builder' )
[7657] Fix | Delete
);
[7658] Fix | Delete
[7659] Fix | Delete
printf(
[7660] Fix | Delete
'<script type="text/template" id="et-builder-hover-options-tabs-template">
[7661] Fix | Delete
<div class="et_pb_mobile_settings_tabs et_pb_tabs_hover et_pb_tabs_hover_only">
[7662] Fix | Delete
<a href="#" class="et_pb_mobile_settings_tab et_pb_mobile_settings_active_tab et_pb_hover" data-settings_tab="default">
[7663] Fix | Delete
%1$s
[7664] Fix | Delete
</a>
[7665] Fix | Delete
<a href="#" class="et_pb_mobile_settings_tab et_pb_hover" data-settings_tab="hover">
[7666] Fix | Delete
%2$s
[7667] Fix | Delete
</a>
[7668] Fix | Delete
</div>
[7669] Fix | Delete
</script>',
[7670] Fix | Delete
et_builder_i18n( 'Default' ),
[7671] Fix | Delete
esc_html__( 'Hover', 'et_builder' )
[7672] Fix | Delete
);
[7673] Fix | Delete
[7674] Fix | Delete
printf(
[7675] Fix | Delete
'<script type="text/template" id="et-builder-mobile-hover-options-tabs-template">
[7676] Fix | Delete
<div class="et_pb_mobile_settings_tabs et_pb_tabs_mobile et_pb_tabs_hover">
[7677] Fix | Delete
<a href="#" class="et_pb_mobile_settings_tab et_pb_mobile_settings_active_tab" data-settings_tab="desktop">
[7678] Fix | Delete
%1$s
[7679] Fix | Delete
</a>
[7680] Fix | Delete
<a href="#" class="et_pb_mobile_settings_tab et_pb_hover" data-settings_tab="hover">
[7681] Fix | Delete
%2$s
[7682] Fix | Delete
</a>
[7683] Fix | Delete
<a href="#" class="et_pb_mobile_settings_tab et_pb_mobile" data-settings_tab="tablet">
[7684] Fix | Delete
%3$s
[7685] Fix | Delete
</a>
[7686] Fix | Delete
<a href="#" class="et_pb_mobile_settings_tab et_pb_mobile" data-settings_tab="phone">
[7687] Fix | Delete
%4$s
[7688] Fix | Delete
</a>
[7689] Fix | Delete
</div>
[7690] Fix | Delete
</script>',
[7691] Fix | Delete
et_builder_i18n( 'Desktop' ),
[7692] Fix | Delete
esc_html__( 'Hover', 'et_builder' ),
[7693] Fix | Delete
et_builder_i18n( 'Tablet' ),
[7694] Fix | Delete
esc_html__( 'Smartphone', 'et_builder' )
[7695] Fix | Delete
);
[7696] Fix | Delete
[7697] Fix | Delete
printf(
[7698] Fix | Delete
'<script type="text/template" id="et-builder-hover-icon-template"><span class="et-pb-hover-settings-toggle" data-id="placeholder">
[7699] Fix | Delete
<svg width="18" height="18" viewBox="-2 -3 16 16">
[7700] Fix | Delete
<path d="M8.69 9.43l2.22-.84a.5.5 0 0 0 .19-.8L5.22 1.28A.7.7 0 0 0 4 1.75v8.73a.5.5 0 0 0 .68.47l2.14-.81 1 2.42a1 1 0 1 0 1.86-.75z"></path>
[7701] Fix | Delete
</svg>
[7702] Fix | Delete
<input type="hidden" id="placeholder"/>
[7703] Fix | Delete
</span></script>'
[7704] Fix | Delete
);
[7705] Fix | Delete
[7706] Fix | Delete
printf(
[7707] Fix | Delete
'<script type="text/template" id="et-builder-padding-option-template">
[7708] Fix | Delete
<label>
[7709] Fix | Delete
<%%= this.et_builder_template_options.padding.options.label %%>
[7710] Fix | Delete
<input type="text" class="et_custom_margin et_custom_margin_<%%= this.et_builder_template_options.padding.options.side %%><%%= this.et_builder_template_options.padding.options.class %%><%%= \'need_mobile\' === this.et_builder_template_options.padding.options.need_mobile ? \' et_pb_setting_mobile et_pb_setting_mobile_desktop et_pb_setting_mobile_active\' : \'\' %%>"<%%= \'need_mobile\' === this.et_builder_template_options.padding.options.need_mobile ? \' data-device="desktop"\' : \'\' %%> />
[7711] Fix | Delete
<%% if ( \'need_mobile\' === this.et_builder_template_options.padding.options.need_mobile ) { %%>
[7712] Fix | Delete
<input type="text" class="et_custom_margin et_pb_setting_mobile et_pb_setting_mobile_tablet et_custom_margin_<%%= this.et_builder_template_options.padding.options.side %%><%%= this.et_builder_template_options.padding.options.class %%>" data-device="tablet" />
[7713] Fix | Delete
<input type="text" class="et_custom_margin et_pb_setting_mobile et_pb_setting_mobile_phone et_custom_margin_<%%= this.et_builder_template_options.padding.options.side %%><%%= this.et_builder_template_options.padding.options.class %%>" data-device="phone" />
[7714] Fix | Delete
<%% } %%>
[7715] Fix | Delete
</label>
[7716] Fix | Delete
</script>'
[7717] Fix | Delete
);
[7718] Fix | Delete
[7719] Fix | Delete
printf(
[7720] Fix | Delete
'<script type="text/template" id="et-builder-yes_no_button-option-template">
[7721] Fix | Delete
<div class="et_pb_yes_no_button et_pb_off_state">
[7722] Fix | Delete
<span class="et_pb_value_text et_pb_on_value"><%%= this.et_builder_template_options.yes_no_button.options.on %%></span>
[7723] Fix | Delete
<span class="et_pb_button_slider"></span>
[7724] Fix | Delete
<span class="et_pb_value_text et_pb_off_value"><%%= this.et_builder_template_options.yes_no_button.options.off %%></span>
[7725] Fix | Delete
</div>
[7726] Fix | Delete
</script>'
[7727] Fix | Delete
);
[7728] Fix | Delete
[7729] Fix | Delete
print(
[7730] Fix | Delete
'<script type="text/template" id="et-builder-animation_buttons-option-template">
[7731] Fix | Delete
<div class="et_pb_animation_buttons">
[7732] Fix | Delete
<% _.each(this.et_builder_template_options.animation_buttons.options, function(option_title, option_name) { %>
[7733] Fix | Delete
<div class="et_animation_button">
[7734] Fix | Delete
<a href="#">
[7735] Fix | Delete
<span class="et_animation_button_title" data-value="<%= option_name %>"><%= option_title %></span>
[7736] Fix | Delete
<span class="et_animation_button_icon">
[7737] Fix | Delete
<div class="et-pb-icon">
[7738] Fix | Delete
<svg viewBox="0 0 28 28" preserveAspectRatio="xMidYMid meet" shapeRendering="geometricPrecision"><%= this.et_builder_template_options.options_icons[ "animation-" + option_name ] %></svg>
[7739] Fix | Delete
</div>
[7740] Fix | Delete
</span>
[7741] Fix | Delete
</a>
[7742] Fix | Delete
</div>
[7743] Fix | Delete
<% }); %>
[7744] Fix | Delete
</div>
[7745] Fix | Delete
</script>'
[7746] Fix | Delete
);
[7747] Fix | Delete
[7748] Fix | Delete
print(
[7749] Fix | Delete
'<script type="text/template" id="et-builder-background_tabs_nav-option-template">
[7750] Fix | Delete
<ul class="et_pb_background-tab-navs">
[7751] Fix | Delete
<% _.each(this.et_builder_template_options.background_tabs_nav.options, function(tab_nav_name, index) { %>
[7752] Fix | Delete
<li><a href="#" class="et_pb_background-tab-nav et_pb_background-tab-nav--<%= tab_nav_name %>" data-tab="<%= tab_nav_name %>" title="<%= tab_nav_name %>"><div class="et-pb-icon"><svg viewBox="0 0 28 28" preserveAspectRatio="xMidYMid meet" shapeRendering="geometricPrecision"><%= this.et_builder_template_options.options_icons[ "background-" + tab_nav_name ] %></svg></div></a></li>
[7753] Fix | Delete
<% }); %>
[7754] Fix | Delete
</ul>
[7755] Fix | Delete
</script>'
[7756] Fix | Delete
);
[7757] Fix | Delete
[7758] Fix | Delete
print(
[7759] Fix | Delete
'<script type="text/template" id="et-builder-background_gradient_buttons-option-template">
[7760] Fix | Delete
<div class="et-pb-option-preview et-pb-option-preview--empty">
[7761] Fix | Delete
<button class="et-pb-option-preview-button et-pb-option-preview-button--add">
[7762] Fix | Delete
<div class="et-pb-icon">
[7763] Fix | Delete
<svg viewBox="0 0 28 28" preserveAspectRatio="xMidYMid meet" shapeRendering="geometricPrecision"><%= this.et_builder_template_options.options_icons[ "add" ] %></svg>
[7764] Fix | Delete
</div>
[7765] Fix | Delete
</button>
[7766] Fix | Delete
<button class="et-pb-option-preview-button et-pb-option-preview-button--swap">
[7767] Fix | Delete
<div class="et-pb-icon">
[7768] Fix | Delete
<svg viewBox="0 0 28 28" preserveAspectRatio="xMidYMid meet" shapeRendering="geometricPrecision"><%= this.et_builder_template_options.options_icons[ "swap" ] %></svg>
[7769] Fix | Delete
</div>
[7770] Fix | Delete
</button>
[7771] Fix | Delete
<button class="et-pb-option-preview-button et-pb-option-preview-button--delete">
[7772] Fix | Delete
<div class="et-pb-icon">
[7773] Fix | Delete
<svg viewBox="0 0 28 28" preserveAspectRatio="xMidYMid meet" shapeRendering="geometricPrecision"><%= this.et_builder_template_options.options_icons[ "delete" ] %></svg>
[7774] Fix | Delete
</div>
[7775] Fix | Delete
</button>
[7776] Fix | Delete
</div>
[7777] Fix | Delete
</script>'
[7778] Fix | Delete
);
[7779] Fix | Delete
[7780] Fix | Delete
print(
[7781] Fix | Delete
'<script type="text/template" id="et-builder-option_preview_buttons-option-template">
[7782] Fix | Delete
<div class="et-pb-option-preview et-pb-option-preview--empty">
[7783] Fix | Delete
<button class="et-pb-option-preview-button et-pb-option-preview-button--add">
[7784] Fix | Delete
<div class="et-pb-icon">
[7785] Fix | Delete
<svg viewBox="0 0 28 28" preserveAspectRatio="xMidYMid meet" shapeRendering="geometricPrecision"><%= this.et_builder_template_options.options_icons[ "add" ] %></svg>
[7786] Fix | Delete
</div>
[7787] Fix | Delete
</button>
[7788] Fix | Delete
<button class="et-pb-option-preview-button et-pb-option-preview-button--edit">
[7789] Fix | Delete
<div class="et-pb-icon">
[7790] Fix | Delete
<svg viewBox="0 0 28 28" preserveAspectRatio="xMidYMid meet" shapeRendering="geometricPrecision"><%= this.et_builder_template_options.options_icons[ "setting" ] %></svg>
[7791] Fix | Delete
</div>
[7792] Fix | Delete
</button>
[7793] Fix | Delete
<button class="et-pb-option-preview-button et-pb-option-preview-button--delete">
[7794] Fix | Delete
<div class="et-pb-icon">
[7795] Fix | Delete
<svg viewBox="0 0 28 28" preserveAspectRatio="xMidYMid meet" shapeRendering="geometricPrecision"><%= this.et_builder_template_options.options_icons[ "delete" ] %></svg>
[7796] Fix | Delete
</div>
[7797] Fix | Delete
</button>
[7798] Fix | Delete
</div>
[7799] Fix | Delete
</script>'
[7800] Fix | Delete
);
[7801] Fix | Delete
[7802] Fix | Delete
printf(
[7803] Fix | Delete
'<script type="text/template" id="et-builder-multiple_buttons-option-template">
[7804] Fix | Delete
<div class="et_pb_multiple_buttons">
[7805] Fix | Delete
<%% _.each(this.et_builder_template_options.multiple_buttons.options, function(button_options, button_id) { %%>
[7806] Fix | Delete
<div class="et_builder_<%%= button_id %%>_button et_builder_multiple_buttons_button mce-widget mce-btn" data-value="<%%= button_id %%>">
[7807] Fix | Delete
<button type="button">
[7808] Fix | Delete
<%%= button_options.title %%>
[7809] Fix | Delete
</button>
[7810] Fix | Delete
</div>
[7811] Fix | Delete
<%% }); %%>
[7812] Fix | Delete
</div>
[7813] Fix | Delete
</script>'
[7814] Fix | Delete
);
[7815] Fix | Delete
[7816] Fix | Delete
printf(
[7817] Fix | Delete
'<script type="text/template" id="et-builder-font-weight-items">
[7818] Fix | Delete
<div class="et_pb_font_weight_container">
[7819] Fix | Delete
<label for="et_builder_font_weight">%1$s:</label>
[7820] Fix | Delete
<select class="et_builder_font_weight">
[7821] Fix | Delete
<%% _.each(this.et_builder_template_options.font_weights, function(font_weight_name, font_weight) { %%>
[7822] Fix | Delete
<option value="<%%= font_weight %%>"><%%= font_weight_name %%></option>
[7823] Fix | Delete
<%% }); %%>
[7824] Fix | Delete
<select>
[7825] Fix | Delete
</div>
[7826] Fix | Delete
</script>',
[7827] Fix | Delete
esc_html__( 'Font Weight', 'et_builder' )
[7828] Fix | Delete
);
[7829] Fix | Delete
[7830] Fix | Delete
printf(
[7831] Fix | Delete
'<script type="text/template" id="et-builder-font_buttons-option-template">
[7832] Fix | Delete
<div class="et_pb_font_style_container">
[7833] Fix | Delete
<label for="et_builder_font_style">%1$s:</label>
[7834] Fix | Delete
<%% _.each(this.et_builder_template_options.font_buttons.options, function(font_button) { %%>
[7835] Fix | Delete
<div class="et_builder_<%%= font_button %%>_font et_builder_font_style mce-widget mce-btn" data-button_name="<%%= font_button %%>">
[7836] Fix | Delete
<button type="button">
[7837] Fix | Delete
<i class="mce-ico mce-i-<%%= font_button %%>"></i>
[7838] Fix | Delete
</button>
[7839] Fix | Delete
</div>
[7840] Fix | Delete
<%% }); %%>
[7841] Fix | Delete
</div>
[7842] Fix | Delete
</script>',
[7843] Fix | Delete
esc_html__( 'Font Style', 'et_builder' )
[7844] Fix | Delete
);
[7845] Fix | Delete
[7846] Fix | Delete
printf(
[7847] Fix | Delete
'<script type="text/template" id="et-builder-font_line_styles-option-template">
[7848] Fix | Delete
<div class="et_pb_font_line_settings">
[7849] Fix | Delete
<div class="et_pb_font_line_color">
[7850] Fix | Delete
<label for="et_builder_font_style" data-underline_label="%5$s %7$s" data-strikethrough_label="%6$s %7$s">%1$s:</label>
[7851] Fix | Delete
[7852] Fix | Delete
<span class="et-pb-custom-color-button et-pb-choose-custom-color-button"><span>%4$s</span></span>
[7853] Fix | Delete
<div class="et-pb-custom-color-container et_pb_hidden">
[7854] Fix | Delete
<input class="et-pb-color-picker-hex et-pb-color-picker-hex-alpha" type="text" data-alpha="true" placeholder="%2$s" data-selected-value="" value="" />
[7855] Fix | Delete
<input class="et-pb-custom-color-picker et-pb-font-line-color-value" type="hidden" value="" />
[7856] Fix | Delete
</div>
[7857] Fix | Delete
</div>
[7858] Fix | Delete
<div class="et_pb_font_line_style">
[7859] Fix | Delete
<label for="et_builder_font_style" data-underline_label="%5$s %8$s" data-strikethrough_label="%6$s %8$s">%3$s:</label>
[7860] Fix | Delete
<select class="et_pb_font_line_style_select">
[7861] Fix | Delete
<option value="solid">solid</option>
[7862] Fix | Delete
<option value="double">double</option>
[7863] Fix | Delete
<option value="dotted">dotted</option>
[7864] Fix | Delete
<option value="dashed">dashed</option>
[7865] Fix | Delete
<option value="wavy">wavy</option>
[7866] Fix | Delete
</select>
[7867] Fix | Delete
</div>
[7868] Fix | Delete
</div>
[7869] Fix | Delete
</script>',
[7870] Fix | Delete
esc_html__( 'Line Color', 'et_builder' ),
[7871] Fix | Delete
esc_attr__( 'Hex Value', 'et_builder' ),
[7872] Fix | Delete
esc_attr__( 'Line Style', 'et_builder' ),
[7873] Fix | Delete
esc_attr__( 'Choose Custom Color', 'et_builder' ),
[7874] Fix | Delete
esc_attr__( 'Underline', 'et_builder' ),
[7875] Fix | Delete
esc_attr__( 'Strikethrough', 'et_builder' ),
[7876] Fix | Delete
esc_attr__( 'Color', 'et_builder' ),
[7877] Fix | Delete
esc_attr__( 'Style', 'et_builder' )
[7878] Fix | Delete
);
[7879] Fix | Delete
[7880] Fix | Delete
printf(
[7881] Fix | Delete
'<script type="text/template" id="et-builder-text-align-buttons-option-template">
[7882] Fix | Delete
<%% _.each(this.et_builder_template_options.text_align_buttons.options, function(text_align_button) { %%>
[7883] Fix | Delete
<%%
[7884] Fix | Delete
var text_align_button_classname = text_align_button === "justified" ? "justify" : text_align_button;
[7885] Fix | Delete
text_align_button_classname = text_align_button === "force_left" ? "left" : text_align_button_classname;
[7886] Fix | Delete
var text_align_button_type = this.et_builder_template_options.text_align_buttons.type;
[7887] Fix | Delete
%%>
[7888] Fix | Delete
<div class="et_builder_<%%= text_align_button %%>_text_align et_builder_text_align mce-widget mce-btn" data-value="<%%= text_align_button %%>">
[7889] Fix | Delete
<button type="button">
[7890] Fix | Delete
<i class="mce-ico align-<%%= text_align_button_type %%> mce-i-align<%%= text_align_button_classname %%>"></i>
[7891] Fix | Delete
</button>
[7892] Fix | Delete
</div>
[7893] Fix | Delete
<%% }); %%>
[7894] Fix | Delete
</script>'
[7895] Fix | Delete
);
[7896] Fix | Delete
[7897] Fix | Delete
printf(
[7898] Fix | Delete
'<script type="text/template" id="et-builder-select-option-template">
[7899] Fix | Delete
<%% _.each(this.et_builder_template_options.select.options.list, function(option_label, option_value) {
[7900] Fix | Delete
var data = "";
[7901] Fix | Delete
var option_label_updated = option_label;
[7902] Fix | Delete
[7903] Fix | Delete
if ( _.isObject( option_label ) ) {
[7904] Fix | Delete
if ( ! _.isUndefined( option_label["data"] ) ) {
[7905] Fix | Delete
var data_key_name = _.keys( option_label["data"] );
[7906] Fix | Delete
[7907] Fix | Delete
data = " data-" + _.escape( data_key_name[0] ) + "=\'" + _.escape( option_label["data"][ data_key_name[0] ] ) + "\'";
[7908] Fix | Delete
}
[7909] Fix | Delete
var option_label_updated = option_label["value"];
[7910] Fix | Delete
}
[7911] Fix | Delete
[7912] Fix | Delete
var select_name = this.et_builder_template_options.select.options.select_name.replace( "data.", "" );
[7913] Fix | Delete
var select_value = this.et_builder_template_options.select.data[ select_name ];
[7914] Fix | Delete
var select_value_escaped = _.escape( select_value );
[7915] Fix | Delete
var option_value_escaped = _.escape( option_value );
[7916] Fix | Delete
var default_value = this.et_builder_template_options.select.options.default;
[7917] Fix | Delete
var selected_attr = ! _.isUndefined( select_value ) && "" !== select_value && option_value_escaped === select_value_escaped || ( _.isUndefined( select_value ) && default_value !== "" && option_value_escaped === default_value ) ? \' selected="selected"\' : "";
[7918] Fix | Delete
%%>
[7919] Fix | Delete
<option <%%= data %%> value="<%%= option_value_escaped %%>" <%%= selected_attr %%>><%%= _.escape( option_label_updated ) %%></option>
[7920] Fix | Delete
<%% }); %%>
[7921] Fix | Delete
</script>'
[7922] Fix | Delete
);
[7923] Fix | Delete
[7924] Fix | Delete
printf(
[7925] Fix | Delete
'<script type="text/template" id="et-builder-failure-notice-template">
[7926] Fix | Delete
%1$s
[7927] Fix | Delete
</script>',
[7928] Fix | Delete
et_core_esc_previously( et_builder_get_failure_notification_modal() )
[7929] Fix | Delete
);
[7930] Fix | Delete
[7931] Fix | Delete
printf(
[7932] Fix | Delete
'<script type="text/template" id="et-builder-cache-notice-template">
[7933] Fix | Delete
%1$s
[7934] Fix | Delete
</script>',
[7935] Fix | Delete
et_core_esc_previously( et_builder_get_cache_notification_modal() )
[7936] Fix | Delete
);
[7937] Fix | Delete
[7938] Fix | Delete
printf(
[7939] Fix | Delete
'<script type="text/template" id="et-builder-page-creation-template">
[7940] Fix | Delete
%1$s
[7941] Fix | Delete
</script>',
[7942] Fix | Delete
et_core_esc_previously( et_builder_page_creation_modal() )
[7943] Fix | Delete
);
[7944] Fix | Delete
[7945] Fix | Delete
// Help Template.
[7946] Fix | Delete
printf(
[7947] Fix | Delete
'<script type="text/template" id="et-builder-help-template">
[7948] Fix | Delete
<h3 class="et-pb-settings-heading">%1$s</h3>
[7949] Fix | Delete
[7950] Fix | Delete
<ul class="et-pb-options-tabs-links et-pb-help-switcher">
[7951] Fix | Delete
<li class="et-pb-new-module et-pb-options-tabs-links-active" data-open_tab="et-pb-shortcuts-tab">
[7952] Fix | Delete
<a href="#">%2$s</a>
[7953] Fix | Delete
</li>
[7954] Fix | Delete
</ul>
[7955] Fix | Delete
[7956] Fix | Delete
<div class="et-pb-main-settings et-pb-main-settings-full et-pb-shortcuts-tab active-container"></div>
[7957] Fix | Delete
</script>',
[7958] Fix | Delete
esc_html__( 'Divi Builder Helper', 'et_builder' ),
[7959] Fix | Delete
esc_html__( 'Shortcuts', 'et_builder' )
[7960] Fix | Delete
);
[7961] Fix | Delete
[7962] Fix | Delete
do_action( 'et_pb_after_page_builder' );
[7963] Fix | Delete
}
[7964] Fix | Delete
[7965] Fix | Delete
/**
[7966] Fix | Delete
* Returns builder settings markup
[7967] Fix | Delete
*
[7968] Fix | Delete
* @param array $options builder settings' configuration.
[7969] Fix | Delete
* @return string builder settings' markup
[7970] Fix | Delete
*/
[7971] Fix | Delete
function et_pb_get_builder_settings_fields( $options ) {
[7972] Fix | Delete
$outputs = '';
[7973] Fix | Delete
$defaults = et_pb_get_builder_settings_configuration_default();
[7974] Fix | Delete
[7975] Fix | Delete
foreach ( $options as $option ) {
[7976] Fix | Delete
$option = wp_parse_args( $option, $defaults );
[7977] Fix | Delete
$type = $option['type'];
[7978] Fix | Delete
$field_list_class = $type;
[7979] Fix | Delete
$affecting = ! empty( $option['affects'] ) ? implode( '|', $option['affects'] ) : '';
[7980] Fix | Delete
[7981] Fix | Delete
if ( $option['depends_show_if'] ) {
[7982] Fix | Delete
$field_list_class .= ' et-pb-display-conditionally';
[7983] Fix | Delete
}
[7984] Fix | Delete
[7985] Fix | Delete
if ( isset( $option['class'] ) ) {
[7986] Fix | Delete
$field_list_class .= ' ' . $option['class'];
[7987] Fix | Delete
}
[7988] Fix | Delete
[7989] Fix | Delete
$outputs .= sprintf(
[7990] Fix | Delete
'<div class="et_pb_prompt_field_list et-pb-option-container %1$s" data-id="%2$s" data-type="%3$s" data-autoload="%4$s" data-affects="%5$s" data-visibility-dependency="%6$s">',
[7991] Fix | Delete
esc_attr( $field_list_class ),
[7992] Fix | Delete
esc_attr( $option['id'] ),
[7993] Fix | Delete
esc_attr( $type ),
[7994] Fix | Delete
esc_attr( $option['autoload'] ),
[7995] Fix | Delete
esc_attr( $affecting ),
[7996] Fix | Delete
esc_attr( $option['depends_show_if'] )
[7997] Fix | Delete
);
[7998] Fix | Delete
[7999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function