: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
<li data-action="paste"><?php _e('Paste', 'themify') ?></li>
<li data-action="paste" class="style"><?php _e('Paste Styling', 'themify') ?></li>
<li data-action="visibility">
<?php echo $eye,__('Visibility', 'themify') ?>
<template id="tmpl-builder_grid_list">
$globalGutters= Themify_Builder_Model::get_gutters();
array('grid' => 1,'name'=>__('Full Width','themify')),
array('grid' => 2,'name'=>__('2 Cols','themify')),
array('grid' => 3,'name'=>__('3 Cols','themify')),
array('grid' => 4,'name'=>__('4 Cols','themify')),
array('grid' => 5,'name'=>__('5 Cols','themify')),
array('grid' => 6,'name'=>__('6 Cols','themify')),
array('grid' =>'1_3','name'=>__('2 Cols (25/75)','themify')),
array('grid' =>'1_1_2','name'=>__('3 Cols (25/25/50)','themify')),
array('grid' =>'1_2_1', 'name'=>__('3 Cols (25/50/25)','themify')),
array('grid' =>'2_1_1','name'=>__('3 Cols (50/25/25)','themify')),
array('grid' =>'3_1','name'=>__('2 Cols (75/25)','themify')),
array('grid' =>'1_2','name'=>__('2 Cols (35/65)','themify')),
array('grid' =>'2_1','name'=>__('2 Cols (65/35)','themify')),
array('grid' =>'user','name'=>__('Custom','themify'))
array('value' => 'start', 'name' => __('Align Top', 'themify')),
array('value' => 'center', 'name' => __('Align Middle', 'themify')),
array('value' => 'end', 'name' => __('Align Bottom', 'themify'))
array('img' => 'stretch', 'value' => -1, 'name' => __('Stretch', 'themify')),
array('img' => 'stretch_auto', 'value' => 1, 'name' => __('Auto height', 'themify'))
array('name' => sprintf(__('Normal (%s%%)', 'themify'),$globalGutters['gutter']), 'value' => 'gutter'),
array('name' => sprintf(__('Narrow (%s%%)', 'themify'),$globalGutters['narrow']), 'value' => 'narrow'),
array('name' => sprintf(__('None (%s%%)', 'themify'),$globalGutters['none']), 'value' => 'none')
$is_fullpage=function_exists('themify_theme_is_fullpage_scroll') && themify_theme_is_fullpage_scroll()?'center':'start';
<ul class="breakpoints grid_layout" data-col="breakpoint">
<?php foreach ($breakpoints as $b => $v): ?>
<li data-id="<?php echo $b ?>" class="tab_<?php echo $b ?>"><?php echo themify_get_icon(($b === 'tablet_landscape' ? 'tablet' : $b), 'ti') ?>
<div class="themify_tooltip"><?php echo $b === 'tablet_landscape' ? __('Tablet Landscape', 'themify') : ucfirst($b); ?></div>
<ul class="grid_list" data-col="grid">
<?php if ($b !== 'desktop'): ?>
<li class="grid cauto selected tf_hide" data-grid="auto">
<div class="themify_tooltip"><?php _e('Use default css', 'themify') ?></div>
<?php foreach ($gridSettings['grid'] as $li): ?>
<li class="tb<?php echo is_string($li['grid']) ? (substr_count($li['grid'], '_') + 1) : $li['grid']; ?> grid c<?php echo $li['grid'] ?>" data-grid="<?php echo $li['grid']; ?>">
<div class="themify_tooltip"><?php echo $li['name']; ?></div>
<div class="alignment_wrap grid_layout">
<ul class="alignment grid_layout" data-col="alignment">
<?php foreach ($gridSettings['alignment'] as $v): ?>
<li class="<?php echo $v['value'] ?><?php if ($v['value'] === $is_fullpage):?> selected<?php endif;?>" data-value="<?php echo $v['value'] ?>">
<div class="themify_tooltip"><?php echo $v['name']; ?></div>
<div class="auto_dir grid_layout">
<ul class="auto_height grid_layout" data-col="autoHeight">
<?php foreach ($gridSettings['height'] as $v): ?>
<li class="<?php echo $v['img'] ?><?php if ($v['value'] === -1):?> selected<?php endif;?>" data-value="<?php echo $v['value']; ?>">
<div class="themify_tooltip"><?php echo $v['name']; ?></div>
<ul class="direction" data-col="direction">
<div class="themify_tooltip"><?php _e('Reverse', 'themify') ?></div>
<div class="right tb_field">
<ul class="gutter grid_layout" data-col="gutter">
<?php foreach ($gridSettings['gutter'] as $v): ?>
<li class="<?php echo $v['value'] ?><?php if ($v['value'] === 'gutter'):?> selected<?php endif;?>" data-value="<?php echo $v['value']; ?>">
<div class="themify_tooltip"><?php echo $v['name']; ?></div>
<div class="range_wrap grid_layout">
<input type="range" id="slider" min="0" step=".1">
<div id="range_holder" class="tf_rel">
<input type="number" id="range" class="tb_range" min="0">
<div class="selectwrapper noborder tf_inline_b tf_vmiddle tf_rel">
<option value="%">%</option>
<option value="em">em</option>
<option value="px">px</option>
<?php unset($gridSettings,$is_fullpage,$breakpoints);?>
<template id="tmpl-last_row_add_btn">
<link href="<?php echo THEMIFY_BUILDER_URI ?>/css/editor/components/last-row.css?ver<?php echo THEMIFY_VERSION?>" as="style" rel="preload" onload="this.rel = 'stylesheet'">
<div id="container" tabindex="-1" class="tf_overflow tf_rel tf_box tf_w<?php echo $isGsPost?>">
<a href="javascript:;" class="add_btn tf_textc tf_text_dec">+</a>
<template id="tmpl-last_row_expand">
<div class="grids tf_w tf_opacity tf_hidden" tabindex="-1">
<?php for($i=1;$i<7;++$i):?>
<div class="tb_grid tf_box" data-slug="<?php echo $i?>" title="<?php printf(_n('%s Col','%s Cols',$i,'themify'),$i)?>">
<div class="tb_grid_title tb_grid_<?php echo $i?> tf_w tf_h">
<?php for($j=0;$j<$i;++$j):?>
<span class="plus"><?php _e('Blocks','themify'); ?></span>
<template id="tb_global_styles_root">
<style id="module_gs_form_style">
<?php echo file_get_contents(THEMIFY_BUILDER_DIR.'/css/editor/components/gs-form.css');?>
<div id="container" class="empty tf_w<?php echo $isGsPost?>" tabindex="-1">
<div class="selected_wrap tf_scrollbar tf_hide tf_box" tabindex="-1"></div>
<div class="icon_wrap tf_w" tabindex="-1">
<div class="icon tf_textc" tabindex="-1">
<span class="tooltip tf_box tf_hide"><?php _e('Global Styles','themify') ?></span>
<ul class="actions dropdown tf_opacity tf_hidden" tabindex="-1">
<li data-action="insert" tabindex="-1">
<?php _e('Insert Global Style','themify') ?>
<li data-action="save"><?php _e('Save as Global Style','themify') ?></li>
<div class="form dropdown tf_opacity" tabindex="-1">
<div class="tf_loader tf_abs_c"></div>
<label class="tf_rel" for="search">
<?php echo themify_get_icon('search','ti') ?>
<input type="text" id="search" class="tf_box" autocomplete="off" required pattern=".*\S.*" inputmode="search">
<button class="clear_search tf_close" type="button"></button>
<a class="link" href="<?php echo esc_url(admin_url( 'admin.php?page=themify-global-styles')); ?>" target="_blank">
<?php echo $window,__('Manage Styles', 'themify') ?>
<div class="list tf_scrollbar tf_overflow tf_rel tf_w">
<div class="no_gs tf_textc"><?php _e('No Global Styles found.', 'themify') ?></div>
<div class="reload tf_abs_c tf_hide" title="<?php _e('Load More','themify')?>"><?php echo themify_get_icon('reload','ti') ?></div>
<div class="overlay tf_abs_t tf_textc tf_box tf_w tf_h">
<p class="tf_box"><?php _e('This module is using a Global Style. Adding styling to this module will override the Global Style. Click here to add styling.', 'themify')?></p>
<div id="tb_builder_right_click_root" class="tf_hide tf_abs_t">
<template shadowrootmode="open">
<div id="menu"<?php if($is_admin===true || $isGsPost!==''):?> class="<?php if($is_admin===true):?> backend<?php endif;?><?php echo $isGsPost?>"<?php endif;?>>
<div class="tb_action_breadcrumb tf_rel tf_scrollbar"></div>
<li data-action="undo" class="undo not_multi">
<?php echo themify_get_icon('back-left','ti')?>
<span><?php echo _e('Undo','themify')?></span>
<span class="help"><?php _e('Cmd+Z','themify')?></span>
<li data-action="redo" class="redo not_multi">
<?php echo themify_get_icon('back-right','ti')?>
<span><?php echo _e('Redo','themify')?></span>
<span class="help"><?php _e('Cmd+Shift+Z','themify')?></span>
<li data-action="edit" class="not_multi">
<span><?php echo _e('Edit','themify')?></span>
<li data-action="styling" class="not_multi">
<span><?php echo _e('Style','themify')?></span>
<li data-action="save" class="not_multi">
<span><?php echo _e('Save','themify')?></span>
<span class="help"><?php _e('Cmd+S','themify')?></span>
<li data-action="duplicate">
<span><?php echo _e('Duplicate','themify')?></span>
<span class="help"><?php _e('Cmd+D','themify')?></span>
<li data-action="copy" class="not_multi">
<span><?php echo _e('Copy','themify')?></span>
<span class="help"><?php _e('Cmd+C','themify')?></span>
<span><?php echo _e('Paste','themify')?></span>
<span class="help"><?php _e('Cmd+V','themify')?></span>
<ul class="tf_box tf_hide">
<li data-action="paste"><?php _e('Paste','themify')?></li>
<li data-action="paste" class="style"><?php _e('Paste Styling','themify')?></li>
<li data-action="delete">
<span class="tf_close"></span>
<span><?php echo _e('Delete','themify')?></span>
<span class="help"><?php _e('Cmd+Delete','themify')?></span>
<li data-action="visibility" class="visibility not_multi">
<span><?php echo _e('Visibility','themify')?></span>
<span class="tf_close"></span>
<span><?php echo _e('Reset Styling','themify')?></span>
<div id="tb_main_panel_root" class="tf_hide">
<template shadowrootmode="open">
<style id="module_drag_grids_style">
<?php echo str_replace('img/',THEMIFY_BUILDER_URI.'/css/editor/img/',file_get_contents(THEMIFY_BUILDER_DIR.'/css/editor/components/drag-grids.css'));?>
<style id="module_panel_style">
<?php echo file_get_contents(THEMIFY_BUILDER_DIR.'/css/editor/components/panel.css');?>
<style id="module_main_panel_style">
<?php echo file_get_contents(THEMIFY_BUILDER_DIR.'/css/editor/components/main-panel.css');?>
<?php do_action('tb_main_panel_styles')?>
<div id="main_panel" tabindex="-1" class="panel<?php if($is_admin===true):?> backend<?php endif;?><?php echo $isGsPost?> tf_box">
<div class="tb_resizable tb_resizable_e" data-axis="x"></div>
<div class="tb_resizable tb_resizable_s" data-axis="y"></div>
<div class="tb_resizable tb_resizable_st" data-axis="-y"></div>
<div class="tb_resizable tb_resizable_w" data-axis="w"></div>
<div class="tb_resizable tb_resizable_se" data-axis="se"></div>
<div class="tb_resizable tb_resizable_we" data-axis="sw"></div>
<div class="tb_resizable tb_resizable_nw" data-axis="nw"></div>
<div class="tb_resizable tb_resizable_ne" data-axis="ne"></div>
<div class="panel_top tf_rel">
<button type="button" class="drag_handle tf_w tf_h tf_abs"></button>
<button type="button" class="panel_close tf_close"></button>
<div class="minimize"></div>
<span class="dropdown_label tf_rel tf_box tf_hide" tabindex="-1"><?php _e('Modules', 'themify') ?></span>
<li class="current" data-hide="panel_tab" data-target="panel_modules_wrap"><?php _e('Modules', 'themify') ?></li>
<li data-hide="panel_tab" data-target="panel_rows"><?php _e('Blocks', 'themify') ?></li>
<li data-hide="panel_tab" data-target="panel_library"><?php _e('Saved', 'themify') ?></li>
<div class="panel_container<?php echo apply_filters('tb_toolbar_module', '') ?> tf_h">
<form class="panel_search_form tf_rel">
<input type="text" class="panel_search tf_box tf_w" inputmode="search" required pattern=".*\S.*"/>
<button class="clear_search tf_close" type="reset"></button>
<?php echo themify_get_icon('search', 'ti') ?>
<div class="panel_tab panel_modules_wrap tf_scrollbar tf_overflow tf_rel tf_box tf_h tf_w">
<div class="panel_acc cat_grid tf_w">
<div class="panel_title"><h4><?php _e('Rows', 'themify'); ?></h4></div>
<div class="panel_content">
<?php for ($i = 1; $i < 7; ++$i): ?>
<div class="tb_grid tf_rel tf_w tf_box" data-slug="<?php echo $i ?>" draggable="true" title="<?php printf(_n('%s Col', '%s Cols', $i, 'themify'), $i) ?>">
<div class="tb_grid_title tb_grid_<?php echo $i ?> tf_w tf_h">
<?php for ($j = 0; $j < $i; ++$j): ?>
<button type="button" data-type="row" class="tf_plus_icon add_module_btn tb_disable_sorting tf_rel"></button>
<div class="page_break_module tf_w tf_rel tf_box" draggable="true">
<div class="page_break_title"><?php _e('Page Break', 'themify'); ?></div>
<button type="button" data-type="page_break" class="tf_plus_icon add_module_btn tb_disable_sorting tf_rel"></button>
<div class="panel_acc tf_w">
<div class="panel_content panel_category" data-category="favorite"></div>
<?php foreach ($module_categories as $class => $category) : ?>
<div class="panel_acc cat_<?php echo $class ?> tf_w" data-active="<?php echo ( $category['active'] || get_post_type() === Themify_Builder_Layouts::LAYOUT_PART_SLUG ) ? 1 : 0; ?>">
<div class="panel_title"><h4><?php echo $category['label']; ?></h4></div>
<div class="panel_content panel_category" data-category="<?php echo $class; ?>"></div>
<!-- /panel_modules_wrap -->
<div class="panel_tab panel_rows tf_scrollbar tf_rel tf_box tf_h tf_clear tf_overflow tf_hide">
<div class="dropdown_wrap tf_abs_t tf_hidden tb_float_xsmall">
<span class="dropdown_label tf_rel tf_box" tabindex="-1"><?php _e('All', 'themify') ?></span>
<!-- /tb_row_cat_filter_active -->
<ul class="nav_tab tf_scrollbar tf_hidden">
<li><?php _e('All', 'themify') ?></li>
<!-- /tb_row_cat_filter -->
<!-- /tb_row_cat_filter_wrap -->
<div class="predesigned_container tf_box tf_rel tf_h">
<span class="tf_loader tf_abs_c"></span>
<!-- /predesigned_container -->
<div class="panel_tab panel_library tf_scrollbar tf_rel tf_box tf_h tf_clear tf_overflow tf_hide">
<span class="dropdown_label tf_rel tf_box tf_hide" tabindex="-1"><?php _e('Rows', 'themify') ?></span>
<ul class="nav_tab library_tab">
<li class="current" data-type="row" data-hide="library_item" data-target="tb_item_row"><?php _e('Rows', 'themify') ?></li>
<li data-type="module" data-hide="library_item" data-target="tb_item_module"><?php _e('Modules', 'themify') ?></li>
<li data-type="part" data-hide="library_item" data-target="tb_item_part"><?php _e('Layout Parts', 'themify') ?></li>
<div class="library_container tf_textc tf_box tf_clear">
<span class="tf_loader tf_abs_c"></span>
<!-- /library_container -->
<button type="button" class="docked_min tf_box tf_hide"></button>
<div id="tb_small_panel_root" class="tf_abs_t tf_hide tf_hidden">
<template shadowrootmode="open">
<link href="<?php echo THEMIFY_BUILDER_URI ?>/css/editor/components/small-panel.css?ver<?php echo THEMIFY_VERSION?>" as="style" rel="preload" onload="this.rel = 'stylesheet'">
<?php do_action('tb_small_panel_styles')?>
<div id="small_panel" class="panel<?php if($is_admin===true):?> backend<?php endif;?><?php echo $isGsPost?> tf_textc tf_box"></div>
<?php if($isGsPost==='' && false):?>
<div id="tb_tree_root" class="tf_abs_t tf_hide">
<template shadowrootmode="open">
<button typ="button" class="minimize tf_rel"></button>
<span class="title"><?php _e('Tree View','themify')?></span>
<button typ="button" class="tf_close"></button>
<div class="content<?php if($is_admin===true):?> backend<?php endif;?> tf_scrollbar tf_box"></div>
<div class="tb_resizable tb_resizable_st" data-axis="-y"></div>
<div class="tb_resizable tb_resizable_e" data-axis="x"></div>
<div class="tb_resizable tb_resizable_s" data-axis="y"></div>
<div class="tb_resizable tb_resizable_w" data-axis="w"></div>
<div class="tb_resizable tb_resizable_se" data-axis="se"></div>
<div class="tb_resizable tb_resizable_we" data-axis="sw"></div>
<div class="tb_resizable tb_resizable_nw" data-axis="nw"></div>
<div class="tb_resizable tb_resizable_ne" data-axis="ne"></div>
<div id="tb_drop_zone" class="tf_abs tf_w tf_h tf_hide">
<div class="tb_drop_file_wrap tf_abs_c tf_box">
<?php _e('Drop Files','themify')?>
$eye= $clipboard=$files=$settings=$brush=$import=$export=$window=$move=$more=$edit=$save=$gs=$module_categories=$grip=null;
$base=THEMIFY_BUILDER_DIR . '/img/row-frame/';
$frames=Themify_Builder_Model::get_frame_layout();
<?php if($fr['value']!=='none' && $fr['value']!==''):?>
$path=pathinfo($fr['img']);
if($path['extension']!=='svg'){
$f=$base.$path['filename'];
<script type="text/template" id="tmpl-frame_<?php echo $fr['value']?>">
<?php echo file_get_contents($f.'.'.$path['extension']);?>
<script type="text/template" id="tmpl-frame_<?php echo $fr['value']?>-l">
<?php echo file_get_contents($f.'-l.'.$path['extension']);?>