| Server IP : 188.114.97.2 / Your IP : 104.23.243.201 Web Server : Apache/2.4.59 (Debian) System : Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64 User : edlftp ( 1002) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/nicolasj/temp/fusion-builder/inc/ |
Upload File : |
<?php
/**
* Fusion Builder underscore.js templates.
*
* @package fusion-builder
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Adds the pagebuilder metabox.
*/
function fusion_pagebuilder_meta_box() {
global $post;
// Add RTL CSS class.
$rtl_class = ( is_rtl() ) ? 'fusion-builder-layout-rtl' : '';
do_action( 'fusion_builder_before' );
wp_nonce_field( 'fusion_builder_template', 'fusion_builder_nonce' );
// Custom CSS.
$saved_custom_css = esc_attr( get_post_meta( $post->ID, '_fusion_builder_custom_css', true ) );
$has_custom_css = ( ! empty( $saved_custom_css ) ) ? 'fusion-builder-has-custom-css' : '';
?>
<div id="fusion_builder_main_container" class="<?php echo esc_attr( $rtl_class ); ?>" data-post-id="<?php echo esc_attr( $post->ID ); ?>"></div>
<?php
include FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/app.php';
include FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/multi-element-sortable-child.php';
include FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/blank-page.php';
include FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/container.php';
include FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/row.php';
include FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/nested-row.php';
include FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/modal.php';
include FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/column.php';
include FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/nested-column.php';
include FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/nested-column-library.php';
include FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/column-library.php';
include FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/element-library.php';
include FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/generator-elements.php';
include FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/element.php';
include FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/element-settings.php';
include FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/next-page.php';
include FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/context-menu.php';
include FUSION_BUILDER_PLUGIN_DIR . '/inc/templates/dynamic-selection.php';
include FUSION_LIBRARY_PATH . '/inc/fusion-app/templates/repeater-fields.php';
do_action( 'fusion_builder_after' );
}