X7ROOT File Manager
Current Path:
/home/oakwood/public_html/wp-content/plugins/popup-builder/public/views
home
/
oakwood
/
public_html
/
wp-content
/
plugins
/
popup-builder
/
public
/
views
/
ðŸ“
..
📄
allMetaboxesView.php
(2.55 KB)
📄
behaviorAfterSpecialEventsView.php
(573 B)
📄
closeSettingsView.php
(20.98 KB)
📄
conditionsView.php
(4.82 KB)
📄
customEditor.php
(4.94 KB)
📄
debugReport.php
(2.44 KB)
📄
dimensionsView.php
(4.75 KB)
ðŸ“
emailTemplates
📄
eventsView.php
(566 B)
📄
floatingButton.php
(10.21 KB)
📄
htmlCustomButtonElement.php
(13.46 KB)
📄
importConfigView.php
(3.41 KB)
📄
importPopupsView.php
(926 B)
📄
jsVariableView.php
(2.65 KB)
📄
license.php
(2.48 KB)
ðŸ“
main
📄
mainActionButtons.php
(1.77 KB)
📄
mediaButton.php
(2.3 KB)
📄
newsletter.php
(7.43 KB)
ðŸ“
options
📄
optionsView.php
(21.98 KB)
📄
otherConditionsView.php
(2.65 KB)
📄
popupDesignView.php
(14.69 KB)
📄
popupOpeningCounter.php
(1.57 KB)
📄
popupTypes.php
(4.08 KB)
📄
settings.php
(7.52 KB)
📄
subscribers.php
(7.78 KB)
📄
targetView.php
(1004 B)
Editing: allMetaboxesView.php
<?php namespace sgpb; /* Exit if accessed directly */ if ( ! defined( 'ABSPATH' ) ) { exit; } $metaboxes = apply_filters('sgpbAdditionalMetaboxes', array()); ?> <div class="sgpb sgpb-options"> <?php foreach ( $metaboxes as $key => $metabox ) { if ( $key == 'allMetaboxesView' ) { continue; } ?> <div class="sgpb-options-menu" id="<?php echo esc_attr($key); ?>"> <h3 class="sgpb-options-menu-header"><?php echo isset( $metabox['displayName'] ) ? wp_kses($metabox['displayName'], 'post') : ''; ?></h3> <span class="sgpb-options-menu-header__sub"><?php echo esc_html($metabox['short_description']); ?></span> </div> <div class="sgpb-options-content"> <div id="options-<?php echo esc_attr($key); ?>" class="sgpb-metabox sgpb-metabox-options "> <p class="sgpb-header-h1 sgpb-margin-top-20 sgpb-margin-bottom-50"><?php echo isset( $metabox['displayName'] ) ? wp_kses($metabox['displayName'], 'post') : ''; ?></p> <?php require_once( $metabox['filePath'] ); ?> </div> </div> <?php }; ?> </div> <?php wp_register_script( 'sgpb-allmetaboxesview-js-footer', '', array("jquery"), SGPB_POPUP_VERSION, true ); wp_enqueue_script( 'sgpb-allmetaboxesview-js-footer' ); wp_add_inline_script( 'sgpb-allmetaboxesview-js-footer', "let hash = window.location.hash.replace(/^#/,''); if (hash) { jQuery('#'+hash).addClass('sgpb-options-menu-active'); } else { jQuery('.sgpb-options-menu').first().addClass('sgpb-options-menu-active') } jQuery(document).ready(function () { setTimeout(function () { calcHeight(); }); jQuery('.sgpb-options-content, .sgpb-options-menu').click(function(){ setTimeout(function(){ calcHeight(); }, 500); }); jQuery('.sgpb-options-menu').click(function () { if (jQuery(this).hasClass('sgpb-options-menu-active')) { return; } const findActive = jQuery('.sgpb-options-menu-active'); findActive.removeClass('sgpb-options-menu-active'); jQuery(this).addClass('sgpb-options-menu-active'); jQuery([document.documentElement, document.body]).animate({ scrollTop: jQuery('#allMetaboxesView').offset().top }, 500); location.hash = jQuery(this).attr('id'); }); jQuery(document.body).on( 'click.postboxes', function() { calcHeight(); }); function calcHeight() { let minHeightShouldBe = 0; if (!jQuery( '.postbox' ).hasClass('closed')) { minHeightShouldBe = parseInt(jQuery('.sgpb-options-menu-active').next().height())+100; } jQuery('#allMetaboxesView').css('min-height', minHeightShouldBe+'px'); } });"); ?>
Upload File
Create Folder