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: debugReport.php
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } global $SGPB_DEBUG_POPUP_BUILDER_DETAILS; $SGPB_DEBUG_POPUP_BUILDER_DETAILS = wp_json_encode($SGPB_DEBUG_POPUP_BUILDER_DETAILS); echo wp_kses('<script>var SGPB_DEBUG_POPUP_BUILDER_DETAILS = '.$SGPB_DEBUG_POPUP_BUILDER_DETAILS.';</script>', \sgpb\AdminHelper::allowed_html_tags()); ?> <?php wp_register_script( 'sgpb-debugReport-js-footer', '', array("jquery"), SGPB_POPUP_VERSION, true ); wp_enqueue_script( 'sgpb-debugReport-js-footer' ); wp_add_inline_script( 'sgpb-debugReport-js-footer', "function debugModeInit() { if (typeof SGPB_DEBUG_POPUP_BUILDER_DETAILS == 'undefined') { return false; } console.log('%c POPUP BUILDER AVAILABLE DEBUG DETAILS', 'background: #eeeeee; color: #000000'); for (var popupId in SGPB_DEBUG_POPUP_BUILDER_DETAILS) { console.groupCollapsed('Details for the '+ popupId +' popup:'); var debugParamas = SGPB_DEBUG_POPUP_BUILDER_DETAILS[popupId]; for (var i in debugParamas) { if (jQuery.isEmptyObject(debugParamas[i])) { continue; } var paramName = debugParamas[i]; console.info('%c '+i.toUpperCase() +': ', 'background: #ccc; color: #000000'); for (var x in paramName) { if (typeof paramName[x]['name'] != 'undefined') { console.log('%c Option name ------- ' + paramName[x]['name'], 'background: #eeeeee; color: #000000'); } if (typeof paramName[x]['operator'] != 'undefined') { console.log('%c Option operator --- ' + paramName[x]['operator'], 'background: #eeeeee; color: #000000'); } if (typeof paramName[x]['value'] != 'undefined') { if (typeof paramName[x]['value'] == 'string') { /* when empty string we need to set it 0 (delay) */ if (paramName[x]['value'] == '') { paramName[x]['value'] = 0; } console.log('%c Option value ------ ' + paramName[x]['value'], 'background: #eeeeee; color: #000000'); } else { console.log('%c Option value ------ ' + Object.values(paramName[x]['value']), 'background: #eeeeee; color: #000000'); } } if (i == 'options') { // all other options here for (var option in paramName[x]) { console.log('%c '+option+ ' - ' + paramName[x][option], 'background: #eeeeee; color: #000000'); } } console.log('<->'); } } console.groupEnd(); } }; jQuery(document).ready(function() { debugModeInit(); });"); ?>
Upload File
Create Folder