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: class-et-builder-element.php
current_background_color_gradient_direction_radial_bottom = typeof et_pb_background_color_gradient_direction_radial_%1$s !== \'undefined\' && \'bottom\' === et_pb_background_color_gradient_direction_radial_%1$s ? \' selected="selected"\' : \'\';
[18500] Fix | Delete
current_background_color_gradient_direction_radial_bottom_left = typeof et_pb_background_color_gradient_direction_radial_%1$s !== \'undefined\' && \'bottom left\' === et_pb_background_color_gradient_direction_radial_%1$s ? \' selected="selected"\' : \'\';
[18501] Fix | Delete
current_background_color_gradient_direction_radial_left = typeof et_pb_background_color_gradient_direction_radial_%1$s !== \'undefined\' && \'left\' === et_pb_background_color_gradient_direction_radial_%1$s ? \' selected="selected"\' : \'\';
[18502] Fix | Delete
current_background_color_gradient_start_position = typeof et_pb_background_color_gradient_start_position_%1$s !== \'undefined\' ? et_pb_background_color_gradient_start_position_%1$s : \'%5$s\';
[18503] Fix | Delete
current_background_color_gradient_end_position = typeof et_pb_background_color_gradient_end_position_%1$s !== \'undefined\' ? et_pb_background_color_gradient_end_position_%1$s : \'%6$s\';
[18504] Fix | Delete
current_background_color_gradient_overlays_image = typeof et_pb_background_color_gradient_overlays_image_%1$s !== \'undefined\' && \'on\' === et_pb_background_color_gradient_overlays_image_%1$s ? \' selected="selected"\' : \'\';
[18505] Fix | Delete
current_background_video_mp4 = typeof et_pb_background_video_mp4_%1$s !== \'undefined\' ? et_pb_background_video_mp4_%1$s : \'\';
[18506] Fix | Delete
current_background_video_webm = typeof et_pb_background_video_webm_%1$s !== \'undefined\' ? et_pb_background_video_webm_%1$s : \'\';
[18507] Fix | Delete
current_background_video_width = typeof et_pb_background_video_width_%1$s !== \'undefined\' ? et_pb_background_video_width_%1$s : \'\';
[18508] Fix | Delete
current_background_video_height = typeof et_pb_background_video_height_%1$s !== \'undefined\' ? et_pb_background_video_height_%1$s : \'\';
[18509] Fix | Delete
current_allow_played_pause = typeof et_pb_allow_player_pause_%1$s !== \'undefined\' && \'on\' === et_pb_allow_player_pause_%1$s ? \' selected="selected"\' : \'\';
[18510] Fix | Delete
current_background_video_pause_outside_viewport = typeof et_pb_background_video_pause_outside_viewport_%1$s !== \'undefined\' && \'off\' === et_pb_background_video_pause_outside_viewport_%1$s ? \' selected="selected"\' : \'\';
[18511] Fix | Delete
current_value_parallax = typeof et_pb_parallax_%1$s !== \'undefined\' && \'on\' === et_pb_parallax_%1$s ? \' selected="selected"\' : \'\';
[18512] Fix | Delete
current_value_parallax_method = typeof et_pb_parallax_method_%1$s !== \'undefined\' && \'on\' !== et_pb_parallax_method_%1$s ? \' selected="selected"\' : \'\';
[18513] Fix | Delete
break; ',
[18514] Fix | Delete
esc_attr( $i ),
[18515] Fix | Delete
esc_attr( ET_Global_Settings::get_value( 'all_background_gradient_start' ) ),
[18516] Fix | Delete
esc_attr( ET_Global_Settings::get_value( 'all_background_gradient_end' ) ),
[18517] Fix | Delete
esc_attr( ET_Global_Settings::get_value( 'all_background_gradient_direction' ) ),
[18518] Fix | Delete
esc_attr( ET_Global_Settings::get_value( 'all_background_gradient_start_position' ) ), // #5
[18519] Fix | Delete
esc_attr( ET_Global_Settings::get_value( 'all_background_gradient_end_position' ) )
[18520] Fix | Delete
);
[18521] Fix | Delete
}
[18522] Fix | Delete
[18523] Fix | Delete
return $output;
[18524] Fix | Delete
}
[18525] Fix | Delete
[18526] Fix | Delete
function generate_column_vars_padding() {
[18527] Fix | Delete
$output = '';
[18528] Fix | Delete
for ( $i = 1; $i < 4; $i++ ) {
[18529] Fix | Delete
$output .= sprintf(
[18530] Fix | Delete
'case %1$s :
[18531] Fix | Delete
current_value_pt = typeof et_pb_padding_top_%1$s !== \'undefined\' ? et_pb_padding_top_%1$s : \'\',
[18532] Fix | Delete
current_value_pr = typeof et_pb_padding_right_%1$s !== \'undefined\' ? et_pb_padding_right_%1$s : \'\',
[18533] Fix | Delete
current_value_pb = typeof et_pb_padding_bottom_%1$s !== \'undefined\' ? et_pb_padding_bottom_%1$s : \'\',
[18534] Fix | Delete
current_value_pl = typeof et_pb_padding_left_%1$s !== \'undefined\' ? et_pb_padding_left_%1$s : \'\',
[18535] Fix | Delete
current_value_padding_tablet = typeof et_pb_padding_%1$s_tablet !== \'undefined\' ? et_pb_padding_%1$s_tablet : \'\',
[18536] Fix | Delete
current_value_padding_phone = typeof et_pb_padding_%1$s_phone !== \'undefined\' ? et_pb_padding_%1$s_phone : \'\',
[18537] Fix | Delete
last_edited_padding_field = typeof et_pb_padding_%1$s_last_edited !== \'undefined\' ? et_pb_padding_%1$s_last_edited : \'\',
[18538] Fix | Delete
has_tablet_padding = typeof et_pb_padding_%1$s_tablet !== \'undefined\' ? \'yes\' : \'no\',
[18539] Fix | Delete
has_phone_padding = typeof et_pb_padding_%1$s_phone !== \'undefined\' ? \'yes\' : \'no\';
[18540] Fix | Delete
break; ',
[18541] Fix | Delete
esc_attr( $i )
[18542] Fix | Delete
);
[18543] Fix | Delete
}
[18544] Fix | Delete
[18545] Fix | Delete
return $output;
[18546] Fix | Delete
}
[18547] Fix | Delete
[18548] Fix | Delete
function generate_columns_settings_background() {
[18549] Fix | Delete
$output = sprintf(
[18550] Fix | Delete
'<%% var columns = typeof columns_layout !== \'undefined\' ? columns_layout.split(",") : [],
[18551] Fix | Delete
counter = 1;
[18552] Fix | Delete
_.each( columns, function ( column_type ) {
[18553] Fix | Delete
var current_value_bg,
[18554] Fix | Delete
current_value_bg_img,
[18555] Fix | Delete
current_value_parallax,
[18556] Fix | Delete
current_value_parallax_method,
[18557] Fix | Delete
current_background_size_cover,
[18558] Fix | Delete
current_background_size_contain,
[18559] Fix | Delete
current_background_size_initial,
[18560] Fix | Delete
current_background_position_topleft,
[18561] Fix | Delete
current_background_position_topcenter,
[18562] Fix | Delete
current_background_position_topright,
[18563] Fix | Delete
current_background_position_centerleft,
[18564] Fix | Delete
current_background_position_center,
[18565] Fix | Delete
current_background_position_centerright,
[18566] Fix | Delete
current_background_position_bottomleft,
[18567] Fix | Delete
current_background_position_bottomcenter,
[18568] Fix | Delete
current_background_position_bottomright,
[18569] Fix | Delete
current_background_repeat_repeat,
[18570] Fix | Delete
current_background_repeat_repeatx,
[18571] Fix | Delete
current_background_repeat_repeaty,
[18572] Fix | Delete
current_background_repeat_space,
[18573] Fix | Delete
current_background_repeat_round,
[18574] Fix | Delete
current_background_repeat_norepeat,
[18575] Fix | Delete
current_background_blend_normal,
[18576] Fix | Delete
current_background_blend_multiply,
[18577] Fix | Delete
current_background_blend_screen,
[18578] Fix | Delete
current_background_blend_overlay,
[18579] Fix | Delete
current_background_blend_darken,
[18580] Fix | Delete
current_background_blend_lighten,
[18581] Fix | Delete
current_background_blend_colordodge,
[18582] Fix | Delete
current_background_blend_colorburn,
[18583] Fix | Delete
current_background_blend_hardlight,
[18584] Fix | Delete
current_background_blend_softlight,
[18585] Fix | Delete
current_background_blend_difference,
[18586] Fix | Delete
current_background_blend_exclusion,
[18587] Fix | Delete
current_background_blend_hue,
[18588] Fix | Delete
current_background_blend_saturation,
[18589] Fix | Delete
current_background_blend_color,
[18590] Fix | Delete
current_background_blend_luminosity,
[18591] Fix | Delete
current_use_background_color_gradient,
[18592] Fix | Delete
current_background_color_gradient_start,
[18593] Fix | Delete
current_background_color_gradient_end,
[18594] Fix | Delete
current_background_color_gradient_type,
[18595] Fix | Delete
current_background_color_gradient_direction,
[18596] Fix | Delete
current_background_color_gradient_direction_radial_center,
[18597] Fix | Delete
current_background_color_gradient_direction_radial_top_left,
[18598] Fix | Delete
current_background_color_gradient_direction_radial_top,
[18599] Fix | Delete
current_background_color_gradient_direction_radial_top_right,
[18600] Fix | Delete
current_background_color_gradient_direction_radial_right,
[18601] Fix | Delete
current_background_color_gradient_direction_radial_bottom_right,
[18602] Fix | Delete
current_background_color_gradient_direction_radial_bottom,
[18603] Fix | Delete
current_background_color_gradient_direction_radial_bottom_left,
[18604] Fix | Delete
current_background_color_gradient_direction_radial_left,
[18605] Fix | Delete
current_background_color_gradient_start_position,
[18606] Fix | Delete
current_background_color_gradient_end_position,
[18607] Fix | Delete
current_background_color_gradient_overlays_image,
[18608] Fix | Delete
current_background_video_mp4,
[18609] Fix | Delete
current_background_video_webm,
[18610] Fix | Delete
current_background_video_width,
[18611] Fix | Delete
current_background_video_height,
[18612] Fix | Delete
current_allow_played_pause,
[18613] Fix | Delete
current_background_video_pause_outside_viewport;
[18614] Fix | Delete
switch ( counter ) {
[18615] Fix | Delete
%1$s
[18616] Fix | Delete
}
[18617] Fix | Delete
%%>',
[18618] Fix | Delete
$this->generate_column_vars_bg()
[18619] Fix | Delete
);
[18620] Fix | Delete
[18621] Fix | Delete
$tab_navs = sprintf(
[18622] Fix | Delete
'<ul class="et_pb_background-tab-navs">
[18623] Fix | Delete
<li>
[18624] Fix | Delete
<a href="#" class="et_pb_background-tab-nav et_pb_background-tab-nav--color" data-tab="color" title="%1$s">
[18625] Fix | Delete
%5$s
[18626] Fix | Delete
</a>
[18627] Fix | Delete
</li><li>
[18628] Fix | Delete
<a href="#" class="et_pb_background-tab-nav et_pb_background-tab-nav--gradient" data-tab="gradient" title="%2$s">
[18629] Fix | Delete
%6$s
[18630] Fix | Delete
</a>
[18631] Fix | Delete
</li><li>
[18632] Fix | Delete
<a href="#" class="et_pb_background-tab-nav et_pb_background-tab-nav--image" data-tab="image" title="%3$s">
[18633] Fix | Delete
%7$s
[18634] Fix | Delete
</a>
[18635] Fix | Delete
</li><li>
[18636] Fix | Delete
<a href="#" class="et_pb_background-tab-nav et_pb_background-tab-nav--video" data-tab="video" title="%4$s">
[18637] Fix | Delete
%8$s
[18638] Fix | Delete
</a>
[18639] Fix | Delete
</li>
[18640] Fix | Delete
</ul>',
[18641] Fix | Delete
et_builder_i18n( 'Color' ),
[18642] Fix | Delete
esc_html__( 'Gradient', 'et_builder' ),
[18643] Fix | Delete
et_builder_i18n( 'Image' ),
[18644] Fix | Delete
esc_html__( 'Video', 'et_builder' ),
[18645] Fix | Delete
$this->get_icon( 'background-color' ),
[18646] Fix | Delete
$this->get_icon( 'background-gradient' ),
[18647] Fix | Delete
$this->get_icon( 'background-image' ),
[18648] Fix | Delete
$this->get_icon( 'background-video' )
[18649] Fix | Delete
);
[18650] Fix | Delete
[18651] Fix | Delete
$tab_color = sprintf(
[18652] Fix | Delete
'<div class="et_pb_background-tab et_pb_background-tab--color" data-tab="color">
[18653] Fix | Delete
<div class="et_pb_background-option et_pb_background-option--background_color et-pb-option et-pb-option--background_color et-pb-option--has-preview">
[18654] Fix | Delete
<label for="et_pb_background_color">%1$s: </label>
[18655] Fix | Delete
<div class="et-pb-option-container et-pb-option-container--color-alpha">
[18656] Fix | Delete
<div class="et-pb-option-preview et-pb-option-preview--empty">
[18657] Fix | Delete
<button class="et-pb-option-preview-button et-pb-option-preview-button--add">
[18658] Fix | Delete
%2$s
[18659] Fix | Delete
</button>
[18660] Fix | Delete
<button class="et-pb-option-preview-button et-pb-option-preview-button--edit">
[18661] Fix | Delete
%3$s
[18662] Fix | Delete
</button>
[18663] Fix | Delete
<button class="et-pb-option-preview-button et-pb-option-preview-button--delete">
[18664] Fix | Delete
%4$s
[18665] Fix | Delete
</button>
[18666] Fix | Delete
</div>
[18667] Fix | Delete
<input id="et_pb_background_color_<%%= counter %%>" class="et-pb-color-picker-hex et-pb-color-picker-hex-alpha et-pb-color-picker-hex-has-preview" type="text" data-alpha="true" placeholder="%5$s" data-selected-value="" value="<%%= current_value_bg %%>">
[18668] Fix | Delete
</div>
[18669] Fix | Delete
</div>
[18670] Fix | Delete
</div>',
[18671] Fix | Delete
esc_html__( 'Background Color', 'et_builder' ),
[18672] Fix | Delete
$this->get_icon( 'add' ),
[18673] Fix | Delete
$this->get_icon( 'setting' ),
[18674] Fix | Delete
$this->get_icon( 'delete' ),
[18675] Fix | Delete
esc_html__( 'Hex Value', 'et_builder' )
[18676] Fix | Delete
);
[18677] Fix | Delete
[18678] Fix | Delete
$tab_gradient = sprintf(
[18679] Fix | Delete
'<div class="et_pb_background-tab et_pb_background-tab--gradient" data-tab="gradient">
[18680] Fix | Delete
<div class="et-pb-option-preview et-pb-option-preview--empty">
[18681] Fix | Delete
<button class="et-pb-option-preview-button et-pb-option-preview-button--add">
[18682] Fix | Delete
%1$s
[18683] Fix | Delete
</button>
[18684] Fix | Delete
<button class="et-pb-option-preview-button et-pb-option-preview-button--swap">
[18685] Fix | Delete
%2$s
[18686] Fix | Delete
</button>
[18687] Fix | Delete
<button class="et-pb-option-preview-button et-pb-option-preview-button--delete">
[18688] Fix | Delete
%3$s
[18689] Fix | Delete
</button>
[18690] Fix | Delete
</div>
[18691] Fix | Delete
<div class="et_pb_background-option et_pb_background-option--use_background_color_gradient et_pb_background-template--use_color_gradient et-pb-option et-pb-option--use_background_color_gradient">
[18692] Fix | Delete
<label for="et_pb_use_background_color_gradient_<%%= counter %%>">%4$s: </label>
[18693] Fix | Delete
<div class="et-pb-option-container et-pb-option-container--yes_no_button">
[18694] Fix | Delete
<div class="et_pb_yes_no_button_wrapper ">
[18695] Fix | Delete
<div class="et_pb_yes_no_button et_pb_off_state">
[18696] Fix | Delete
<span class="et_pb_value_text et_pb_on_value">%5$s</span>
[18697] Fix | Delete
<span class="et_pb_button_slider"></span>
[18698] Fix | Delete
<span class="et_pb_value_text et_pb_off_value">%6$s</span>
[18699] Fix | Delete
</div>
[18700] Fix | Delete
<select name="et_pb_use_background_color_gradient_<%%= counter %%>" id="et_pb_use_background_color_gradient_<%%= counter %%>" class="et-pb-main-setting regular-text et-pb-affects" data-affects="background_color_gradient_start_<%%= counter %%>, background_color_gradient_end_<%%= counter %%>, background_color_gradient_start_position_<%%= counter %%>, background_color_gradient_end_position_<%%= counter %%>, background_color_gradient_type_<%%= counter %%>, background_color_gradient_overlays_image_<%%= counter %%>" data-default="off">
[18701] Fix | Delete
<option value="off">%6$s</option>
[18702] Fix | Delete
<option value="on" <%%= current_use_background_color_gradient %%>>%5$s</option>
[18703] Fix | Delete
</select>
[18704] Fix | Delete
</div><span class="et-pb-reset-setting"></span>
[18705] Fix | Delete
</div>
[18706] Fix | Delete
</div>
[18707] Fix | Delete
<div class="et_pb_background-option et_pb_background-option--background_color_gradient_start et_pb_background-template--color_gradient_start et-pb-option et-pb-option--background_color_gradient_start" data-depends_show_if="on">
[18708] Fix | Delete
<label for="et_pb_background_color_gradient_start_<%%= counter %%>">%7$s: </label>
[18709] Fix | Delete
<div class="et-pb-option-container et-pb-option-container--color-alpha">
[18710] Fix | Delete
<div class="wp-picker-container">
[18711] Fix | Delete
<input id="et_pb_background_color_gradient_start_<%%= counter %%>" class="et-pb-color-picker-hex et-pb-color-picker-hex-alpha et-pb-main-setting" type="text" data-alpha="true" placeholder="%8$s" data-selected-value="<%%= current_background_color_gradient_start %%>" value="<%%= current_background_color_gradient_start %%>" data-default-color="%26$s" data-default="%26$s">
[18712] Fix | Delete
</div>
[18713] Fix | Delete
<span class="et-pb-reset-setting"></span>
[18714] Fix | Delete
</div>
[18715] Fix | Delete
</div>
[18716] Fix | Delete
<div class="et_pb_background-option et_pb_background-option--background_color_gradient_end et_pb_background-template--color_gradient_end et-pb-option et-pb-option--background_color_gradient_end" data-depends_show_if="on">
[18717] Fix | Delete
<label for="et_pb_background_color_gradient_end_<%%= counter %%>">%9$s: </label>
[18718] Fix | Delete
<div class="et-pb-option-container et-pb-option-container--color-alpha">
[18719] Fix | Delete
<div class="wp-picker-container">
[18720] Fix | Delete
<input id="et_pb_background_color_gradient_end_<%%= counter %%>" class="et-pb-color-picker-hex et-pb-color-picker-hex-alpha et-pb-main-setting" type="text" data-alpha="true" placeholder="%8$s" data-selected-value="<%%= current_background_color_gradient_end %%>" value="<%%= current_background_color_gradient_end %%>" data-default-color="%27$s" data-default="%27$s">
[18721] Fix | Delete
</div>
[18722] Fix | Delete
<span class="et-pb-reset-setting"></span>
[18723] Fix | Delete
</div>
[18724] Fix | Delete
</div>
[18725] Fix | Delete
<div class="et_pb_background-option et_pb_background-option--background_color_gradient_type et_pb_background-template--color_gradient_type et-pb-option et-pb-option--background_color_gradient_type" data-depends_show_if="on">
[18726] Fix | Delete
<label for="et_pb_background_color_gradient_type_<%%= counter %%>">%10$s: </label>
[18727] Fix | Delete
<div class="et-pb-option-container et-pb-option-container--select">
[18728] Fix | Delete
<select name="et_pb_background_color_gradient_type_<%%= counter %%>" id="et_pb_background_color_gradient_type_<%%= counter %%>" class="et-pb-main-setting et-pb-affects" data-affects="background_color_gradient_direction_<%%= counter %%>, background_color_gradient_direction_radial_<%%= counter %%>" data-default="linear">
[18729] Fix | Delete
<option value="linear">%11$s</option>
[18730] Fix | Delete
<option value="radial" <%%= current_background_color_gradient_type %%>>%12$s</option>
[18731] Fix | Delete
</select>
[18732] Fix | Delete
<span class="et-pb-reset-setting"></span>
[18733] Fix | Delete
</div>
[18734] Fix | Delete
</div>
[18735] Fix | Delete
<div class="et_pb_background-option et_pb_background-option--background_color_gradient_direction et_pb_background-template--color_gradient_direction et-pb-option et-pb-option--background_color_gradient_direction" data-depends_show_if="linear">
[18736] Fix | Delete
<label for="et_pb_background_color_gradient_direction_<%%= counter %%>">%13$s: </label>
[18737] Fix | Delete
<div class="et-pb-option-container et-pb-option-container--range">
[18738] Fix | Delete
<input type="range" class="et-pb-main-setting et-pb-range et-pb-fixed-range" data-default="180" value="<%%= current_background_color_gradient_direction %%>" min="0" max="360" step="1">
[18739] Fix | Delete
<input id="et_pb_background_color_gradient_direction_<%%= counter %%>" type="text" class="regular-text et-pb-validate-unit et-pb-range-input" value="<%%= current_background_color_gradient_direction %%>" data-default="180deg">
[18740] Fix | Delete
<span class="et-pb-reset-setting"></span>
[18741] Fix | Delete
</div>
[18742] Fix | Delete
</div>
[18743] Fix | Delete
<div class="et_pb_background-option et_pb_background-option--background_color_gradient_direction_radial et_pb_background-template--color_gradient_direction_radial et-pb-option et-pb-option--background_color_gradient_direction_radial" data-depends_show_if="radial">
[18744] Fix | Delete
<label for="et_pb_background_color_gradient_direction_radial_<%%= counter %%>">%14$s: </label>
[18745] Fix | Delete
<div class="et-pb-option-container et-pb-option-container--select">
[18746] Fix | Delete
<select name="et_pb_background_color_gradient_direction_radial_<%%= counter %%>" id="et_pb_background_color_gradient_direction_radial_<%%= counter %%>" class="et-pb-main-setting" data-default="center">
[18747] Fix | Delete
<option value="center" <%%= current_background_color_gradient_direction_radial_center %%>>%15$s</option>
[18748] Fix | Delete
<option value="top left" <%%= current_background_color_gradient_direction_radial_top_left %%>>%16$s</option>
[18749] Fix | Delete
<option value="top" <%%= current_background_color_gradient_direction_radial_top %%>>%17$s</option>
[18750] Fix | Delete
<option value="top right" <%%= current_background_color_gradient_direction_radial_top_right %%>>%18$s</option>
[18751] Fix | Delete
<option value="right" <%%= current_background_color_gradient_direction_radial_right %%>>%19$s</option>
[18752] Fix | Delete
<option value="bottom right" <%%= current_background_color_gradient_direction_radial_bottom_right %%>>%20$s</option>
[18753] Fix | Delete
<option value="bottom" <%%= current_background_color_gradient_direction_radial_bottom %%>>%21$s</option>
[18754] Fix | Delete
<option value="bottom left" <%%= current_background_color_gradient_direction_radial_bottom_left %%>>%22$s</option>
[18755] Fix | Delete
<option value="left" <%%= current_background_color_gradient_direction_radial_left %%>>%23$s</option>
[18756] Fix | Delete
</select>
[18757] Fix | Delete
<span class="et-pb-reset-setting"></span>
[18758] Fix | Delete
</div>
[18759] Fix | Delete
</div>
[18760] Fix | Delete
<div class="et_pb_background-option et_pb_background-option--background_color_gradient_start_position et_pb_background-template--color_gradient_start_position et-pb-option et-pb-option--background_color_gradient_start_position" data-depends_show_if="on">
[18761] Fix | Delete
<label for="et_pb_background_color_gradient_start_position_<%%= counter %%>">%24$s: </label>
[18762] Fix | Delete
<div class="et-pb-option-container et-pb-option-container--range">
[18763] Fix | Delete
<input type="range" class="et-pb-main-setting et-pb-range et-pb-fixed-range" data-default="0" value="<%%= parseInt( current_background_color_gradient_start_position.trim() ) %%>" min="0" max="100" step="1">
[18764] Fix | Delete
<input id="et_pb_background_color_gradient_start_position_<%%= counter %%>" type="text" class="regular-text et-pb-validate-unit et-pb-range-input" value="<%%= current_background_color_gradient_start_position %%>" data-default="0%%">
[18765] Fix | Delete
<span class="et-pb-reset-setting"></span>
[18766] Fix | Delete
</div>
[18767] Fix | Delete
</div>
[18768] Fix | Delete
<div class="et_pb_background-option et_pb_background-option--background_color_gradient_end_position et_pb_background-template--color_gradient_end_position et-pb-option et-pb-option--background_color_gradient_end_position" data-depends_show_if="on">
[18769] Fix | Delete
<label for="et_pb_background_color_gradient_end_position_<%%= counter %%>">%25$s: </label>
[18770] Fix | Delete
<div class="et-pb-option-container et-pb-option-container--range">
[18771] Fix | Delete
<input type="range" class="et-pb-main-setting et-pb-range et-pb-fixed-range" data-default="100" value="<%%= parseInt( current_background_color_gradient_end_position.trim() ) %%>" min="0" max="100" step="1">
[18772] Fix | Delete
<input id="et_pb_background_color_gradient_end_position_<%%= counter %%>" type="text" class="regular-text et-pb-validate-unit et-pb-range-input" value="<%%= current_background_color_gradient_end_position %%>" data-default="100%%">
[18773] Fix | Delete
<span class="et-pb-reset-setting"></span>
[18774] Fix | Delete
</div>
[18775] Fix | Delete
</div>
[18776] Fix | Delete
<div class="et_pb_background-option et_pb_background-option--background_color_gradient_overlays_image et_pb_background-template--use_color_gradient et-pb-option et-pb-option--background_color_gradient_overlays_image">
[18777] Fix | Delete
<label for="et_pb_background_color_gradient_overlays_image_<%%= counter %%>">%35$s: </label>
[18778] Fix | Delete
<div class="et-pb-option-container et-pb-option-container--yes_no_button">
[18779] Fix | Delete
<div class="et_pb_yes_no_button_wrapper ">
[18780] Fix | Delete
<div class="et_pb_yes_no_button et_pb_off_state">
[18781] Fix | Delete
<span class="et_pb_value_text et_pb_on_value">%5$s</span>
[18782] Fix | Delete
<span class="et_pb_button_slider"></span>
[18783] Fix | Delete
<span class="et_pb_value_text et_pb_off_value">%6$s</span>
[18784] Fix | Delete
</div>
[18785] Fix | Delete
<select name="et_pb_background_color_gradient_overlays_image_<%%= counter %%>" id="et_pb_background_color_gradient_overlays_image_<%%= counter %%>" class="et-pb-main-setting regular-text" data-depends_show_if="on" data-default="off">
[18786] Fix | Delete
<option value="off">%6$s</option>
[18787] Fix | Delete
<option value="on" <%%= current_background_color_gradient_overlays_image %%>>%5$s</option>
[18788] Fix | Delete
</select>
[18789] Fix | Delete
</div><span class="et-pb-reset-setting"></span>
[18790] Fix | Delete
</div>
[18791] Fix | Delete
</div>
[18792] Fix | Delete
[18793] Fix | Delete
</div>',
[18794] Fix | Delete
$this->get_icon( 'add' ),
[18795] Fix | Delete
$this->get_icon( 'swap' ),
[18796] Fix | Delete
$this->get_icon( 'delete' ),
[18797] Fix | Delete
esc_html__( 'Background Gradient', 'et_builder' ),
[18798] Fix | Delete
et_builder_i18n( 'On' ), // #5
[18799] Fix | Delete
et_builder_i18n( 'Off' ),
[18800] Fix | Delete
esc_html__( 'Gradient Start', 'et_builder' ),
[18801] Fix | Delete
esc_html__( 'Hex Value', 'et_builder' ),
[18802] Fix | Delete
esc_html__( 'Gradient End', 'et_builder' ),
[18803] Fix | Delete
esc_html__( 'Gradient Type', 'et_builder' ), // #10
[18804] Fix | Delete
et_builder_i18n( 'Linear' ),
[18805] Fix | Delete
et_builder_i18n( 'Radial' ),
[18806] Fix | Delete
esc_html__( 'Gradient Direction', 'et_builder' ),
[18807] Fix | Delete
esc_html__( 'Radial Direction', 'et_builder' ),
[18808] Fix | Delete
et_builder_i18n( 'Center' ), // #15
[18809] Fix | Delete
et_builder_i18n( 'Top Left' ),
[18810] Fix | Delete
et_builder_i18n( 'Top' ),
[18811] Fix | Delete
et_builder_i18n( 'Top Right' ),
[18812] Fix | Delete
et_builder_i18n( 'Right' ),
[18813] Fix | Delete
et_builder_i18n( 'Bottom Right' ), // #20
[18814] Fix | Delete
et_builder_i18n( 'Bottom' ),
[18815] Fix | Delete
et_builder_i18n( 'Bottom Left' ),
[18816] Fix | Delete
et_builder_i18n( 'Left' ),
[18817] Fix | Delete
esc_html__( 'Start Position', 'et_builder' ),
[18818] Fix | Delete
esc_html__( 'End Position', 'et_builder' ), // #25
[18819] Fix | Delete
esc_attr( ET_Global_Settings::get_value( 'all_background_gradient_start' ) ),
[18820] Fix | Delete
esc_attr( ET_Global_Settings::get_value( 'all_background_gradient_end' ) ),
[18821] Fix | Delete
esc_attr( ET_Global_Settings::get_value( 'all_background_gradient_type' ) ),
[18822] Fix | Delete
esc_attr( ET_Global_Settings::get_value( 'all_background_gradient_direction' ) ),
[18823] Fix | Delete
esc_attr( ET_Global_Settings::get_value( 'all_background_gradient_direction_radial' ) ), // #30
[18824] Fix | Delete
esc_attr( ET_Global_Settings::get_value( 'all_background_gradient_start_position' ) ),
[18825] Fix | Delete
esc_attr( intval( ET_Global_Settings::get_value( 'all_background_gradient_start_position' ) ) ),
[18826] Fix | Delete
esc_attr( ET_Global_Settings::get_value( 'all_background_gradient_end_position' ) ),
[18827] Fix | Delete
esc_attr( intval( ET_Global_Settings::get_value( 'all_background_gradient_end_position' ) ) ),
[18828] Fix | Delete
esc_html__( 'Place Gradient Above Background Image', 'et_builder' ) // #35
[18829] Fix | Delete
);
[18830] Fix | Delete
[18831] Fix | Delete
$select_background_size = sprintf(
[18832] Fix | Delete
'<select name="et_pb_background_size_<%%= counter %%>" id="et_pb_background_size_<%%= counter %%>" class="et-pb-main-setting" data-default="cover">
[18833] Fix | Delete
<option value="cover"<%%= current_background_size_cover %%>>%1$s</option>
[18834] Fix | Delete
<option value="contain"<%%= current_background_size_contain %%>>%2$s</option>
[18835] Fix | Delete
<option value="initial"<%%= current_background_size_initial %%>>%3$s</option>
[18836] Fix | Delete
</select>',
[18837] Fix | Delete
esc_html__( 'Cover', 'et_builder' ),
[18838] Fix | Delete
esc_html__( 'Fit', 'et_builder' ),
[18839] Fix | Delete
esc_html__( 'Actual Size', 'et_builder' )
[18840] Fix | Delete
);
[18841] Fix | Delete
[18842] Fix | Delete
$select_background_position = sprintf(
[18843] Fix | Delete
'<select name="et_pb_background_position_<%%= counter %%>" id="et_pb_background_position_<%%= counter %%>" class="et-pb-main-setting" data-default="center">
[18844] Fix | Delete
<option value="top_left"<%%= current_background_position_topleft %%>>%1$s</option>
[18845] Fix | Delete
<option value="top_center"<%%= current_background_position_topcenter %%>>%2$s</option>
[18846] Fix | Delete
<option value="top_right"<%%= current_background_position_topright %%>>%3$s</option>
[18847] Fix | Delete
<option value="center_left"<%%= current_background_position_centerleft %%>>%4$s</option>
[18848] Fix | Delete
<option value="center"<%%= current_background_position_center %%>>%5$s</option>
[18849] Fix | Delete
<option value="center_right"<%%= current_background_position_centerright %%>>%6$s</option>
[18850] Fix | Delete
<option value="bottom_left"<%%= current_background_position_bottomleft %%>>%7$s</option>
[18851] Fix | Delete
<option value="bottom_center"<%%= current_background_position_bottomcenter %%>>%8$s</option>
[18852] Fix | Delete
<option value="bottom_right"<%%= current_background_position_bottomright %%>>%9$s</option>
[18853] Fix | Delete
</select>',
[18854] Fix | Delete
et_builder_i18n( 'Top Left' ),
[18855] Fix | Delete
et_builder_i18n( 'Top Center' ),
[18856] Fix | Delete
et_builder_i18n( 'Top Right' ),
[18857] Fix | Delete
et_builder_i18n( 'Center Left' ),
[18858] Fix | Delete
et_builder_i18n( 'Center' ),
[18859] Fix | Delete
et_builder_i18n( 'Center Right' ),
[18860] Fix | Delete
et_builder_i18n( 'Bottom Left' ),
[18861] Fix | Delete
et_builder_i18n( 'Bottom Center' ),
[18862] Fix | Delete
et_builder_i18n( 'Bottom Right' )
[18863] Fix | Delete
);
[18864] Fix | Delete
[18865] Fix | Delete
$select_background_repeat = sprintf(
[18866] Fix | Delete
'<select name="et_pb_background_repeat_<%%= counter %%>" id="et_pb_background_repeat_<%%= counter %%>" class="et-pb-main-setting" data-default="repeat">
[18867] Fix | Delete
<option value="no-repeat"<%%= current_background_repeat_norepeat %%>>%1$s</option>
[18868] Fix | Delete
<option value="repeat"<%%= current_background_repeat_repeat %%>>%2$s</option>
[18869] Fix | Delete
<option value="repeat-x"<%%= current_background_repeat_repeatx %%>>%3$s</option>
[18870] Fix | Delete
<option value="repeat-y"<%%= current_background_repeat_repeaty %%>>%4$s</option>
[18871] Fix | Delete
<option value="space"<%%= current_background_repeat_space %%>>%5$s</option>
[18872] Fix | Delete
<option value="round"<%%= current_background_repeat_round %%>>%6$s</option>
[18873] Fix | Delete
</select>',
[18874] Fix | Delete
esc_html__( 'No Repeat', 'et_builder' ),
[18875] Fix | Delete
esc_html__( 'Repeat', 'et_builder' ),
[18876] Fix | Delete
esc_html__( 'Repeat X (horizontal)', 'et_builder' ),
[18877] Fix | Delete
esc_html__( 'Repeat Y (vertical)', 'et_builder' ),
[18878] Fix | Delete
et_builder_i18n( 'Space' ),
[18879] Fix | Delete
esc_html__( 'Round', 'et_builder' )
[18880] Fix | Delete
);
[18881] Fix | Delete
[18882] Fix | Delete
$select_background_blend = sprintf(
[18883] Fix | Delete
'<select name="et_pb_background_blend_<%%= counter %%>" id="et_pb_background_blend_<%%= counter %%>" class="et-pb-main-setting" data-default="normal">
[18884] Fix | Delete
<option value="normal"<%%= current_background_blend_normal %%>>%1$s</option>
[18885] Fix | Delete
<option value="multiply"<%%= current_background_blend_multiply %%>>%2$s</option>
[18886] Fix | Delete
<option value="screen"<%%= current_background_blend_screen %%>>%3$s</option>
[18887] Fix | Delete
<option value="overlay"<%%= current_background_blend_overlay %%>>%4$s</option>
[18888] Fix | Delete
<option value="darken"<%%= current_background_blend_darken %%>>%5$s</option>
[18889] Fix | Delete
<option value="lighten"<%%= current_background_blend_lighten %%>>%6$s</option>
[18890] Fix | Delete
<option value="color-dodge"<%%= current_background_blend_colordodge %%>>%7$s</option>
[18891] Fix | Delete
<option value="color-burn"<%%= current_background_blend_colorburn %%>>%8$s</option>
[18892] Fix | Delete
<option value="hard-light"<%%= current_background_blend_hardlight %%>>%9$s</option>
[18893] Fix | Delete
<option value="soft-light"<%%= current_background_blend_softlight %%>>%10$s</option>
[18894] Fix | Delete
<option value="difference"<%%= current_background_blend_difference %%>>%11$s</option>
[18895] Fix | Delete
<option value="exclusion"<%%= current_background_blend_exclusion %%>>%12$s</option>
[18896] Fix | Delete
<option value="hue"<%%= current_background_blend_hue %%>>%13$s</option>
[18897] Fix | Delete
<option value="saturation"<%%= current_background_blend_saturation %%>>%14$s</option>
[18898] Fix | Delete
<option value="color"<%%= current_background_blend_color %%>>%15$s</option>
[18899] Fix | Delete
<option value="luminosity"<%%= current_background_blend_luminosity %%>>%16$s</option>
[18900] Fix | Delete
</select>',
[18901] Fix | Delete
et_builder_i18n( 'Normal' ),
[18902] Fix | Delete
et_builder_i18n( 'Multiply' ),
[18903] Fix | Delete
et_builder_i18n( 'Screen' ),
[18904] Fix | Delete
et_builder_i18n( 'Overlay' ),
[18905] Fix | Delete
et_builder_i18n( 'Darken' ),
[18906] Fix | Delete
et_builder_i18n( 'Lighten' ),
[18907] Fix | Delete
et_builder_i18n( 'Color Dodge' ),
[18908] Fix | Delete
et_builder_i18n( 'Color Burn' ),
[18909] Fix | Delete
et_builder_i18n( 'Hard Light' ),
[18910] Fix | Delete
et_builder_i18n( 'Soft Light' ),
[18911] Fix | Delete
et_builder_i18n( 'Difference' ),
[18912] Fix | Delete
et_builder_i18n( 'Exclusion' ),
[18913] Fix | Delete
et_builder_i18n( 'Hue' ),
[18914] Fix | Delete
et_builder_i18n( 'Saturation' ),
[18915] Fix | Delete
et_builder_i18n( 'Color' ),
[18916] Fix | Delete
et_builder_i18n( 'Luminosity' )
[18917] Fix | Delete
);
[18918] Fix | Delete
[18919] Fix | Delete
$tab_image = sprintf(
[18920] Fix | Delete
'<div class="et_pb_background-tab et_pb_background-tab--image" data-tab="image">
[18921] Fix | Delete
<div class="et_pb_background-option et_pb_background-option--background_image et-pb-option et-pb-option--background_image et-pb-option--has-preview">
[18922] Fix | Delete
<label for="et_pb_bg_img_<%%= counter %%>">%1$s: </label>
[18923] Fix | Delete
<div class="et-pb-option-container et-pb-option-container--upload">
[18924] Fix | Delete
<div class="et-pb-option-preview et-pb-option-preview--empty">
[18925] Fix | Delete
<button class="et-pb-option-preview-button et-pb-option-preview-button--add">
[18926] Fix | Delete
%2$s
[18927] Fix | Delete
</button>
[18928] Fix | Delete
<button class="et-pb-option-preview-button et-pb-option-preview-button--edit">
[18929] Fix | Delete
%3$s
[18930] Fix | Delete
</button>
[18931] Fix | Delete
<button class="et-pb-option-preview-button et-pb-option-preview-button--delete">
[18932] Fix | Delete
%4$s
[18933] Fix | Delete
</button>
[18934] Fix | Delete
</div>
[18935] Fix | Delete
<input id="et_pb_bg_img_<%%= counter %%>" type="text" class="et-pb-main-setting regular-text et-pb-upload-field" value="<%%= current_value_bg_img %%>">
[18936] Fix | Delete
<input type="button" class="button button-upload et-pb-upload-button" value="%5$s" data-choose="%6$s" data-update="%7$s" data-type="image">
[18937] Fix | Delete
<span class="et-pb-reset-setting" style="display: none;"></span>
[18938] Fix | Delete
</div>
[18939] Fix | Delete
</div>
[18940] Fix | Delete
<div class="et_pb_background-option et_pb_background-option--parallax et_pb_background-template--parallax et-pb-option et-pb-option--parallax">
[18941] Fix | Delete
<label for="et_pb_parallax_<%%= counter %%>">%8$s: </label>
[18942] Fix | Delete
<div class="et-pb-option-container et-pb-option-container--yes_no_button">
[18943] Fix | Delete
<div class="et_pb_yes_no_button_wrapper ">
[18944] Fix | Delete
<div class="et_pb_yes_no_button et_pb_off_state">
[18945] Fix | Delete
<span class="et_pb_value_text et_pb_on_value">%9$s</span>
[18946] Fix | Delete
<span class="et_pb_button_slider"></span>
[18947] Fix | Delete
<span class="et_pb_value_text et_pb_off_value">%10$s</span>
[18948] Fix | Delete
</div>
[18949] Fix | Delete
<select name="et_pb_parallax_<%%= counter %%>" id="et_pb_parallax_<%%= counter %%>" class="et-pb-main-setting regular-text et-pb-affects" data-affects="parallax_method_<%%= counter %%>, background_size_<%%= counter %%>, background_position_<%%= counter %%>, background_repeat_<%%= counter %%>, background_blend_<%%= counter %%>" data-default="off">
[18950] Fix | Delete
<option value="off">%10$s</option>
[18951] Fix | Delete
<option value="on" <%%= current_value_parallax %%>>%9$s</option>
[18952] Fix | Delete
</select>
[18953] Fix | Delete
</div><span class="et-pb-reset-setting"></span>
[18954] Fix | Delete
</div>
[18955] Fix | Delete
</div>
[18956] Fix | Delete
<div class="et_pb_background-option et_pb_background-option--parallax_method et_pb_background-template--parallax_method et-pb-option et-pb-option--parallax_method" data-depends_show_if="on">
[18957] Fix | Delete
<label for="et_pb_parallax_method_<%%= counter %%>">%11$s: </label>
[18958] Fix | Delete
<div class="et-pb-option-container et-pb-option-container--select">
[18959] Fix | Delete
<select name="et_pb_parallax_method_<%%= counter %%>" id="et_pb_parallax_method_<%%= counter %%>" class="et-pb-main-setting" data-default="on">
[18960] Fix | Delete
<option value="on">%12$s</option>
[18961] Fix | Delete
<option value="off" <%%= current_value_parallax_method %%>>%13$s</option>
[18962] Fix | Delete
</select>
[18963] Fix | Delete
<span class="et-pb-reset-setting" style="display: none;"></span>
[18964] Fix | Delete
</div>
[18965] Fix | Delete
</div>
[18966] Fix | Delete
<div class="et_pb_background-option et_pb_background-option--background_size et_pb_background-template--size et-pb-option et-pb-option--background_size" data-depends_show_if="off" data-option_name="background_size">
[18967] Fix | Delete
<label for="et_pb_background_size">%14$s:</label>
[18968] Fix | Delete
<div class="et-pb-option-container et-pb-option-container--select">
[18969] Fix | Delete
%15$s
[18970] Fix | Delete
</div>
[18971] Fix | Delete
</div>
[18972] Fix | Delete
<div class="et_pb_background-option et_pb_background-option--background_position et_pb_background-template--position et-pb-option et-pb-option--background_position" data-depends_show_if="off" data-option_name="background_position">
[18973] Fix | Delete
<label for="et_pb_background_position">%16$s:</label>
[18974] Fix | Delete
<div class="et-pb-option-container et-pb-option-container--select">
[18975] Fix | Delete
%17$s
[18976] Fix | Delete
</div>
[18977] Fix | Delete
</div>
[18978] Fix | Delete
<div class="et_pb_background-option et_pb_background-option--background_repeat et_pb_background-template--repeat et-pb-option et-pb-option--background_repeat" data-depends_show_if="off" data-option_name="background_repeat">
[18979] Fix | Delete
<label for="et_pb_background_repeat">%18$s:</label>
[18980] Fix | Delete
<div class="et-pb-option-container et-pb-option-container--select">
[18981] Fix | Delete
%19$s
[18982] Fix | Delete
</div>
[18983] Fix | Delete
</div>
[18984] Fix | Delete
<div class="et_pb_background-option et_pb_background-option--background_blend et_pb_background-template--blend et-pb-option et-pb-option--background_blend" data-depends_show_if="off" data-option_name="background_blend">
[18985] Fix | Delete
<label for="et_pb_background_blend">%20$s: </label>
[18986] Fix | Delete
<div class="et-pb-option-container et-pb-option-container--select">
[18987] Fix | Delete
%21$s
[18988] Fix | Delete
</div>
[18989] Fix | Delete
</div>
[18990] Fix | Delete
</div>',
[18991] Fix | Delete
esc_html__( 'Background Image', 'et_builder' ),
[18992] Fix | Delete
$this->get_icon( 'add' ),
[18993] Fix | Delete
$this->get_icon( 'setting' ),
[18994] Fix | Delete
$this->get_icon( 'delete' ),
[18995] Fix | Delete
et_builder_i18n( 'Upload an image' ), // #5
[18996] Fix | Delete
esc_html__( 'Choose a Background Image', 'et_builder' ),
[18997] Fix | Delete
esc_html__( 'Set As Background', 'et_builder' ),
[18998] Fix | Delete
esc_html__( 'Use Parallax Effect', 'et_builder' ),
[18999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function