Changeset 2704875
- Timestamp:
- 04/05/2022 08:26:45 AM (4 years ago)
- Location:
- popup-builder
- Files:
-
- 359 added
- 11 edited
-
tags/4.1.5 (added)
-
tags/4.1.5/PopupBuilderInit.php (added)
-
tags/4.1.5/com (added)
-
tags/4.1.5/com/boot.php (added)
-
tags/4.1.5/com/classes (added)
-
tags/4.1.5/com/classes/Actions.php (added)
-
tags/4.1.5/com/classes/Ajax.php (added)
-
tags/4.1.5/com/classes/ConditionBuilder.php (added)
-
tags/4.1.5/com/classes/ConditionCreator.php (added)
-
tags/4.1.5/com/classes/ConvertToNewVersion.php (added)
-
tags/4.1.5/com/classes/Feedback.php (added)
-
tags/4.1.5/com/classes/Filters.php (added)
-
tags/4.1.5/com/classes/Installer.php (added)
-
tags/4.1.5/com/classes/Javascript.php (added)
-
tags/4.1.5/com/classes/MediaButton.php (added)
-
tags/4.1.5/com/classes/Notification.php (added)
-
tags/4.1.5/com/classes/NotificationCenter.php (added)
-
tags/4.1.5/com/classes/PopupChecker.php (added)
-
tags/4.1.5/com/classes/PopupGroupFilter.php (added)
-
tags/4.1.5/com/classes/PopupInstaller.php (added)
-
tags/4.1.5/com/classes/PopupLoader.php (added)
-
tags/4.1.5/com/classes/PopupType.php (added)
-
tags/4.1.5/com/classes/RegisterPostType.php (added)
-
tags/4.1.5/com/classes/SGPBRequirementsChecker.php (added)
-
tags/4.1.5/com/classes/ScriptsLoader.php (added)
-
tags/4.1.5/com/classes/Style.php (added)
-
tags/4.1.5/com/classes/Updates.php (added)
-
tags/4.1.5/com/classes/_detection (added)
-
tags/4.1.5/com/classes/_detection/SgpbPopupVersionDetection.php (added)
-
tags/4.1.5/com/classes/components (added)
-
tags/4.1.5/com/classes/components/Menu.php (added)
-
tags/4.1.5/com/classes/dataTable (added)
-
tags/4.1.5/com/classes/dataTable/Subscribers.php (added)
-
tags/4.1.5/com/classes/extension (added)
-
tags/4.1.5/com/classes/extension/SgpbIPopupExtension.php (added)
-
tags/4.1.5/com/classes/extension/SgpbPopupExtension.php (added)
-
tags/4.1.5/com/classes/extension/SgpbPopupExtensionActivator.php (added)
-
tags/4.1.5/com/classes/extension/SgpbPopupExtensionRegister.php (added)
-
tags/4.1.5/com/classes/popups (added)
-
tags/4.1.5/com/classes/popups/FblikePopup.php (added)
-
tags/4.1.5/com/classes/popups/HtmlPopup.php (added)
-
tags/4.1.5/com/classes/popups/ImagePopup.php (added)
-
tags/4.1.5/com/classes/popups/PopupData.php (added)
-
tags/4.1.5/com/classes/popups/SGPopup.php (added)
-
tags/4.1.5/com/classes/popups/SubscriptionPopup.php (added)
-
tags/4.1.5/com/config (added)
-
tags/4.1.5/com/config/config.php (added)
-
tags/4.1.5/com/config/configPackage.php (added)
-
tags/4.1.5/com/config/dataConfig.php (added)
-
tags/4.1.5/com/helpers (added)
-
tags/4.1.5/com/helpers/AdminHelper.php (added)
-
tags/4.1.5/com/helpers/ConfigDataHelper.php (added)
-
tags/4.1.5/com/helpers/Functions.php (added)
-
tags/4.1.5/com/helpers/License.php (added)
-
tags/4.1.5/com/helpers/MultipleChoiceButton.php (added)
-
tags/4.1.5/com/helpers/PopupBuilderActivePackage.php (added)
-
tags/4.1.5/com/helpers/ScriptsIncluder.php (added)
-
tags/4.1.5/com/libs (added)
-
tags/4.1.5/com/libs/Importer.php (added)
-
tags/4.1.5/com/libs/ListTable.php (added)
-
tags/4.1.5/com/libs/Reports.php (added)
-
tags/4.1.5/com/libs/Table.php (added)
-
tags/4.1.5/com/libs/WOOSL_CodeAutoUpdate.php (added)
-
tags/4.1.5/com/libs/parsers.php (added)
-
tags/4.1.5/config.php (added)
-
tags/4.1.5/index.php (added)
-
tags/4.1.5/languages (added)
-
tags/4.1.5/languages/popupBuilder.pot (added)
-
tags/4.1.5/popup-builder.php (added)
-
tags/4.1.5/public (added)
-
tags/4.1.5/public/css (added)
-
tags/4.1.5/public/css/ResetFormStyle.css (added)
-
tags/4.1.5/public/css/SubscriptionForm.css (added)
-
tags/4.1.5/public/css/fonts (added)
-
tags/4.1.5/public/css/fonts/FontAwesome.otf (added)
-
tags/4.1.5/public/css/fonts/Glyphter.woff (added)
-
tags/4.1.5/public/css/fonts/Segoe UI Bold Italic.ttf (added)
-
tags/4.1.5/public/css/fonts/Segoe UI Bold.ttf (added)
-
tags/4.1.5/public/css/fonts/Segoe UI Italic.ttf (added)
-
tags/4.1.5/public/css/fonts/Segoe UI.ttf (added)
-
tags/4.1.5/public/css/fonts/Segoe-UI-Bold.woff (added)
-
tags/4.1.5/public/css/fonts/SegoeUI.woff (added)
-
tags/4.1.5/public/css/fonts/fontawesome-webfont.eot (added)
-
tags/4.1.5/public/css/fonts/fontawesome-webfont.svg (added)
-
tags/4.1.5/public/css/fonts/fontawesome-webfont.ttf (added)
-
tags/4.1.5/public/css/fonts/fontawesome-webfont.woff (added)
-
tags/4.1.5/public/css/fonts/fontawesome-webfont.woff2 (added)
-
tags/4.1.5/public/css/fonts/popupbuilder-button-icon.eot (added)
-
tags/4.1.5/public/css/fonts/popupbuilder-button-icon.svg (added)
-
tags/4.1.5/public/css/fonts/popupbuilder-button-icon.ttf (added)
-
tags/4.1.5/public/css/fonts/popupbuilder-button-icon.woff (added)
-
tags/4.1.5/public/css/fonts/popupbuilder-icon.eot (added)
-
tags/4.1.5/public/css/fonts/popupbuilder-icon.svg (added)
-
tags/4.1.5/public/css/fonts/popupbuilder-icon.ttf (added)
-
tags/4.1.5/public/css/fonts/popupbuilder-icon.woff (added)
-
tags/4.1.5/public/css/jquery.dateTimePicker.min.css (added)
-
tags/4.1.5/public/css/listsNewStyles.css (added)
-
tags/4.1.5/public/css/newDesign.css (added)
-
tags/4.1.5/public/css/newDesignFromBuild.css (added)
-
tags/4.1.5/public/css/popupAdminStyles.css (added)
-
tags/4.1.5/public/css/select2.min.css (added)
-
tags/4.1.5/public/css/sgPopupRangeSlider.css (added)
-
tags/4.1.5/public/css/sgbp-bootstrap.css (added)
-
tags/4.1.5/public/css/sgpb-modal.css (added)
-
tags/4.1.5/public/css/theme.css (added)
-
tags/4.1.5/public/fonts (added)
-
tags/4.1.5/public/fonts/Glyphter.woff (added)
-
tags/4.1.5/public/fonts/SegoeUI.woff (added)
-
tags/4.1.5/public/icons (added)
-
tags/4.1.5/public/icons/Artboard 2.svg (added)
-
tags/4.1.5/public/icons/Black (added)
-
tags/4.1.5/public/icons/Black/advancedClosing.svg (added)
-
tags/4.1.5/public/icons/Black/ageRestriction.svg (added)
-
tags/4.1.5/public/icons/Black/ageVerification.svg (added)
-
tags/4.1.5/public/icons/Black/contactForm.svg (added)
-
tags/4.1.5/public/icons/Black/countdown.svg (added)
-
tags/4.1.5/public/icons/Black/edd.svg (added)
-
tags/4.1.5/public/icons/Black/eye.svg (added)
-
tags/4.1.5/public/icons/Black/fblike.svg (added)
-
tags/4.1.5/public/icons/Black/gamification.svg (added)
-
tags/4.1.5/public/icons/Black/geo-targeting.svg (added)
-
tags/4.1.5/public/icons/Black/html.svg (added)
-
tags/4.1.5/public/icons/Black/iframe.svg (added)
-
tags/4.1.5/public/icons/Black/image.svg (added)
-
tags/4.1.5/public/icons/Black/login.svg (added)
-
tags/4.1.5/public/icons/Black/moreIdeas.svg (added)
-
tags/4.1.5/public/icons/Black/pdf.svg (added)
-
tags/4.1.5/public/icons/Black/pushNotification.svg (added)
-
tags/4.1.5/public/icons/Black/registration.svg (added)
-
tags/4.1.5/public/icons/Black/scheduling.svg (added)
-
tags/4.1.5/public/icons/Black/sgpbAWeber.svg (added)
-
tags/4.1.5/public/icons/Black/sgpbAdBlock.svg (added)
-
tags/4.1.5/public/icons/Black/sgpbAdvancedTargeting.svg (added)
-
tags/4.1.5/public/icons/Black/sgpbAnalitics.svg (added)
-
tags/4.1.5/public/icons/Black/sgpbExitIntent.svg (added)
-
tags/4.1.5/public/icons/Black/sgpbInactivity.svg (added)
-
tags/4.1.5/public/icons/Black/sgpbMailchimp.svg (added)
-
tags/4.1.5/public/icons/Black/sgpbRandom.svg (added)
-
tags/4.1.5/public/icons/Black/sgpbRecentSales.svg (added)
-
tags/4.1.5/public/icons/Black/sgpbScroll.svg (added)
-
tags/4.1.5/public/icons/Black/sgpbWOO.svg (added)
-
tags/4.1.5/public/icons/Black/social.svg (added)
-
tags/4.1.5/public/icons/Black/subscription.svg (added)
-
tags/4.1.5/public/icons/Black/subscriptionPlus.svg (added)
-
tags/4.1.5/public/icons/Black/video.svg (added)
-
tags/4.1.5/public/icons/arrow-down.png (added)
-
tags/4.1.5/public/icons/arrow-up.png (added)
-
tags/4.1.5/public/icons/back.png (added)
-
tags/4.1.5/public/icons/calendar.svg (added)
-
tags/4.1.5/public/icons/calendarRound.png (added)
-
tags/4.1.5/public/icons/cloud.svg (added)
-
tags/4.1.5/public/icons/down.png (added)
-
tags/4.1.5/public/icons/eye.svg (added)
-
tags/4.1.5/public/icons/eyeBlack.svg (added)
-
tags/4.1.5/public/icons/geo-targeting.svg (added)
-
tags/4.1.5/public/icons/google-gray-icon.svg (added)
-
tags/4.1.5/public/icons/google-icon.svg (added)
-
tags/4.1.5/public/icons/google-red-icon.svg (added)
-
tags/4.1.5/public/icons/iconClone.png (added)
-
tags/4.1.5/public/icons/iconEdit.png (added)
-
tags/4.1.5/public/icons/iconSetings.svg (added)
-
tags/4.1.5/public/icons/mouse-icon.svg (added)
-
tags/4.1.5/public/icons/next.png (added)
-
tags/4.1.5/public/icons/recycle-bin.svg (added)
-
tags/4.1.5/public/icons/settings-and-close.svg (added)
-
tags/4.1.5/public/icons/settings_icon.svg (added)
-
tags/4.1.5/public/icons/sgpbAdvancedTargeting.svg (added)
-
tags/4.1.5/public/icons/time-is-money.svg (added)
-
tags/4.1.5/public/icons/volume.svg (added)
-
tags/4.1.5/public/icons/white (added)
-
tags/4.1.5/public/icons/white/advancedClosing.svg (added)
-
tags/4.1.5/public/icons/white/ageRestriction.svg (added)
-
tags/4.1.5/public/icons/white/ageVerification.svg (added)
-
tags/4.1.5/public/icons/white/aweber.svg (added)
-
tags/4.1.5/public/icons/white/contactForm.svg (added)
-
tags/4.1.5/public/icons/white/countdown.svg (added)
-
tags/4.1.5/public/icons/white/edd.svg (added)
-
tags/4.1.5/public/icons/white/fblike.svg (added)
-
tags/4.1.5/public/icons/white/gamification.svg (added)
-
tags/4.1.5/public/icons/white/geo-targeting.svg (added)
-
tags/4.1.5/public/icons/white/html.svg (added)
-
tags/4.1.5/public/icons/white/iframe.svg (added)
-
tags/4.1.5/public/icons/white/image.svg (added)
-
tags/4.1.5/public/icons/white/login.svg (added)
-
tags/4.1.5/public/icons/white/mailchimp.svg (added)
-
tags/4.1.5/public/icons/white/moreIdeas.svg (added)
-
tags/4.1.5/public/icons/white/pdf.svg (added)
-
tags/4.1.5/public/icons/white/pushNotification.svg (added)
-
tags/4.1.5/public/icons/white/recentSales.svg (added)
-
tags/4.1.5/public/icons/white/registration.svg (added)
-
tags/4.1.5/public/icons/white/scheduling.svg (added)
-
tags/4.1.5/public/icons/white/sgpbAdBlock.svg (added)
-
tags/4.1.5/public/icons/white/sgpbAdvancedTargeting.svg (added)
-
tags/4.1.5/public/icons/white/sgpbAnalytics.svg (added)
-
tags/4.1.5/public/icons/white/sgpbExitIntent.svg (added)
-
tags/4.1.5/public/icons/white/sgpbInactivity.svg (added)
-
tags/4.1.5/public/icons/white/sgpbRandom.svg (added)
-
tags/4.1.5/public/icons/white/sgpbScroll.svg (added)
-
tags/4.1.5/public/icons/white/sgpbWOO.svg (added)
-
tags/4.1.5/public/icons/white/social.svg (added)
-
tags/4.1.5/public/icons/white/subscription.svg (added)
-
tags/4.1.5/public/icons/white/subscriptionPlus.svg (added)
-
tags/4.1.5/public/icons/white/video.svg (added)
-
tags/4.1.5/public/images (added)
-
tags/4.1.5/public/images/NoImage.png (added)
-
tags/4.1.5/public/images/chrome-messanger.png (added)
-
tags/4.1.5/public/images/colorful-memphis-design-background.png (added)
-
tags/4.1.5/public/images/livepreviewBg.png (added)
-
tags/4.1.5/public/images/mediaEditor.png (added)
-
tags/4.1.5/public/images/messanger.png (added)
-
tags/4.1.5/public/images/notification.png (added)
-
tags/4.1.5/public/images/popupEvents.png (added)
-
tags/4.1.5/public/images/social-icons.png (added)
-
tags/4.1.5/public/images/timer.png (added)
-
tags/4.1.5/public/img (added)
-
tags/4.1.5/public/img/CountdownTypeIcon.png (added)
-
tags/4.1.5/public/img/NoImage.png (added)
-
tags/4.1.5/public/img/adBlockTypeIcon.png (added)
-
tags/4.1.5/public/img/advancedTargeting.png (added)
-
tags/4.1.5/public/img/advancesClosing.png (added)
-
tags/4.1.5/public/img/ageVerificationTypeIcon.png (added)
-
tags/4.1.5/public/img/ajaxSpinner.gif (added)
-
tags/4.1.5/public/img/analyticsTypeIcon.png (added)
-
tags/4.1.5/public/img/animationImage.png (added)
-
tags/4.1.5/public/img/aweberTypeIcon.png (added)
-
tags/4.1.5/public/img/bannerCloseBtn.png (added)
-
tags/4.1.5/public/img/bannerEmail.png (added)
-
tags/4.1.5/public/img/bannerHeart.png (added)
-
tags/4.1.5/public/img/bannerLogo.png (added)
-
tags/4.1.5/public/img/bannerMegaphone.png (added)
-
tags/4.1.5/public/img/bannerQuestionMark.png (added)
-
tags/4.1.5/public/img/bannerSupport.png (added)
-
tags/4.1.5/public/img/blog-wp-kicker.png (added)
-
tags/4.1.5/public/img/close.png (added)
-
tags/4.1.5/public/img/contactFormTypeIcon.png (added)
-
tags/4.1.5/public/img/eddTypeIcon.png (added)
-
tags/4.1.5/public/img/emailIntegrationCloseBtn.png (added)
-
tags/4.1.5/public/img/exitIntentTypeIcon.png (added)
-
tags/4.1.5/public/img/facebookTypeIcon.png (added)
-
tags/4.1.5/public/img/freeProbadge.png (added)
-
tags/4.1.5/public/img/gamificationIcon.png (added)
-
tags/4.1.5/public/img/geoTypeIcon.png (added)
-
tags/4.1.5/public/img/htmlTypeIcon.png (added)
-
tags/4.1.5/public/img/iframeTypeIcon.png (added)
-
tags/4.1.5/public/img/imageTypeIcon.png (added)
-
tags/4.1.5/public/img/inactivity.png (added)
-
tags/4.1.5/public/img/loginTypeIcon.png (added)
-
tags/4.1.5/public/img/mailchimpTypeIcon.png (added)
-
tags/4.1.5/public/img/moreIdeas.png (added)
-
tags/4.1.5/public/img/pdfTypeIcon.png (added)
-
tags/4.1.5/public/img/preview-eye.png (added)
-
tags/4.1.5/public/img/probadge.png (added)
-
tags/4.1.5/public/img/pushNotificationTypeIcon.png (added)
-
tags/4.1.5/public/img/random.png (added)
-
tags/4.1.5/public/img/rateUsBanner1.png (added)
-
tags/4.1.5/public/img/rateUsBanner2.png (added)
-
tags/4.1.5/public/img/rateUsBanner3.png (added)
-
tags/4.1.5/public/img/recentSales.png (added)
-
tags/4.1.5/public/img/registrationTypeIcon.png (added)
-
tags/4.1.5/public/img/restrictionTyoeIcon.png (added)
-
tags/4.1.5/public/img/schedulingTypeIcon.png (added)
-
tags/4.1.5/public/img/scroll.png (added)
-
tags/4.1.5/public/img/sgpbLogo.png (added)
-
tags/4.1.5/public/img/socialTypeIcon.png (added)
-
tags/4.1.5/public/img/star.png (added)
-
tags/4.1.5/public/img/subscribers_close.png (added)
-
tags/4.1.5/public/img/subscriptionPlusTypeIcon.png (added)
-
tags/4.1.5/public/img/subscriptionTypeIcon.png (added)
-
tags/4.1.5/public/img/theme1.jpg (added)
-
tags/4.1.5/public/img/theme2.jpg (added)
-
tags/4.1.5/public/img/theme3.jpg (added)
-
tags/4.1.5/public/img/theme4.jpg (added)
-
tags/4.1.5/public/img/theme5.jpg (added)
-
tags/4.1.5/public/img/theme6.jpg (added)
-
tags/4.1.5/public/img/theme_1 (added)
-
tags/4.1.5/public/img/theme_1/close.png (added)
-
tags/4.1.5/public/img/theme_1/overlay.png (added)
-
tags/4.1.5/public/img/theme_2 (added)
-
tags/4.1.5/public/img/theme_2/close.png (added)
-
tags/4.1.5/public/img/theme_3 (added)
-
tags/4.1.5/public/img/theme_3/close.png (added)
-
tags/4.1.5/public/img/theme_5 (added)
-
tags/4.1.5/public/img/theme_5/close.png (added)
-
tags/4.1.5/public/img/theme_6 (added)
-
tags/4.1.5/public/img/theme_6/close.png (added)
-
tags/4.1.5/public/img/videoTypeIcon.png (added)
-
tags/4.1.5/public/img/wooTypeIcon.png (added)
-
tags/4.1.5/public/js (added)
-
tags/4.1.5/public/js/Backend.js (added)
-
tags/4.1.5/public/js/Banner.js (added)
-
tags/4.1.5/public/js/DebugReport.js (added)
-
tags/4.1.5/public/js/ExtensionsNotification.js (added)
-
tags/4.1.5/public/js/FloatingButton.js (added)
-
tags/4.1.5/public/js/MediaButton.js (added)
-
tags/4.1.5/public/js/Modals.js (added)
-
tags/4.1.5/public/js/Newsletter.js (added)
-
tags/4.1.5/public/js/NotificationCenter.js (added)
-
tags/4.1.5/public/js/Popup.js (added)
-
tags/4.1.5/public/js/PopupBuilder.js (added)
-
tags/4.1.5/public/js/PopupConfig.js (added)
-
tags/4.1.5/public/js/Subscribers.js (added)
-
tags/4.1.5/public/js/Subscription.js (added)
-
tags/4.1.5/public/js/Validate.js (added)
-
tags/4.1.5/public/js/gutenbergBlock.min.js (added)
-
tags/4.1.5/public/js/select2.min.js (added)
-
tags/4.1.5/public/js/sgpbDetect.js (added)
-
tags/4.1.5/public/js/sgpbSelect2.js (added)
-
tags/4.1.5/public/sound (added)
-
tags/4.1.5/public/sound/popupOpenSound.wav (added)
-
tags/4.1.5/public/svg (added)
-
tags/4.1.5/public/svg/add_1.svg (added)
-
tags/4.1.5/public/svg/arrow_cross.svg (added)
-
tags/4.1.5/public/svg/delete_1.svg (added)
-
tags/4.1.5/public/svg/edit_1.svg (added)
-
tags/4.1.5/public/svg/geo-targeting.svg (added)
-
tags/4.1.5/public/svg/geo-targeting1.svg (added)
-
tags/4.1.5/public/svg/geo-targeting2.svg (added)
-
tags/4.1.5/public/svg/iconfinder_settings_115801.svg (added)
-
tags/4.1.5/public/svg/settings_1.svg (added)
-
tags/4.1.5/public/svg/sgpbAdvancedTargeting.svg (added)
-
tags/4.1.5/public/svg/sgpbAdvancedTargeting2.svg (added)
-
tags/4.1.5/public/svg/upload_1.svg (added)
-
tags/4.1.5/public/svg/view_1.svg (added)
-
tags/4.1.5/public/svg/voice_1.svg (added)
-
tags/4.1.5/public/views (added)
-
tags/4.1.5/public/views/allMetaboxesView.php (added)
-
tags/4.1.5/public/views/behaviorAfterSpecialEventsView.php (added)
-
tags/4.1.5/public/views/closeSettingsView.php (added)
-
tags/4.1.5/public/views/conditionsView.php (added)
-
tags/4.1.5/public/views/customEditor.php (added)
-
tags/4.1.5/public/views/debugReport.php (added)
-
tags/4.1.5/public/views/dimensionsView.php (added)
-
tags/4.1.5/public/views/emailTemplates (added)
-
tags/4.1.5/public/views/emailTemplates/takeReviewAfterSubscribe.html (added)
-
tags/4.1.5/public/views/eventsView.php (added)
-
tags/4.1.5/public/views/floatingButton.php (added)
-
tags/4.1.5/public/views/htmlCustomButtonElement.php (added)
-
tags/4.1.5/public/views/importConfigView.php (added)
-
tags/4.1.5/public/views/importPopupsView.php (added)
-
tags/4.1.5/public/views/jsVariableView.php (added)
-
tags/4.1.5/public/views/license.php (added)
-
tags/4.1.5/public/views/main (added)
-
tags/4.1.5/public/views/main/image.php (added)
-
tags/4.1.5/public/views/mainActionButtons.php (added)
-
tags/4.1.5/public/views/mediaButton.php (added)
-
tags/4.1.5/public/views/newsletter.php (added)
-
tags/4.1.5/public/views/options (added)
-
tags/4.1.5/public/views/options/facebook.php (added)
-
tags/4.1.5/public/views/options/subscription.php (added)
-
tags/4.1.5/public/views/optionsView.php (added)
-
tags/4.1.5/public/views/otherConditionsView.php (added)
-
tags/4.1.5/public/views/popupDesignView.php (added)
-
tags/4.1.5/public/views/popupOpeningCounter.php (added)
-
tags/4.1.5/public/views/popupTypes.php (added)
-
tags/4.1.5/public/views/settings.php (added)
-
tags/4.1.5/public/views/subscribers.php (added)
-
tags/4.1.5/public/views/targetView.php (added)
-
tags/4.1.5/readme.txt (added)
-
tags/4.1.5/uninstall.php (added)
-
trunk/com/classes/Ajax.php (modified) (3 diffs)
-
trunk/com/classes/ConditionCreator.php (modified) (2 diffs)
-
trunk/com/classes/PopupChecker.php (modified) (2 diffs)
-
trunk/com/classes/PopupLoader.php (modified) (2 diffs)
-
trunk/com/classes/popups/SGPopup.php (modified) (1 diff)
-
trunk/com/config/configPackage.php (modified) (1 diff)
-
trunk/com/config/dataConfig.php (modified) (5 diffs)
-
trunk/com/helpers/ConfigDataHelper.php (modified) (11 diffs)
-
trunk/popup-builder.php (modified) (1 diff)
-
trunk/public/js/PopupBuilder.js (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
popup-builder/trunk/com/classes/Ajax.php
r2688779 r2704875 2 2 namespace sgpb; 3 3 use \ConfigDataHelper; 4 use \SgpbDataConfig;5 4 6 5 class Ajax … … 412 411 // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized 413 412 $newsletterData = isset($_POST['newsletterData']) ? stripslashes_deep($_POST['newsletterData']) : []; 414 array_walk_recursive($newsletterData, function(&$item){ 415 $item = sanitize_text_field($item); 413 array_walk_recursive($newsletterData, function(&$item, $k){ 414 if ($k === 'messageBody'){ 415 $item = wp_kses($item, AdminHelper::allowed_html_tags()); 416 } else { 417 $item = sanitize_text_field($item); 418 } 416 419 }); 417 420 if(isset($newsletterData['testSendingStatus']) && $newsletterData['testSendingStatus'] == 'test') { … … 619 622 check_ajax_referer(SG_AJAX_NONCE, 'nonce_ajax'); 620 623 621 $postTypeName = isset($_POST['searchKey']) ? sanitize_text_field($_POST['searchKey']) : ''; 624 $postTypeName = isset($_POST['searchKey']) ? sanitize_text_field($_POST['searchKey']) : ''; // TODO strongly validate postTypeName example: use ENUM 622 625 $search = isset($_POST['searchTerm']) ? sanitize_text_field($_POST['searchTerm']) : ''; 623 $searchResults = $this->selectFromPost($postTypeName, $search); 626 627 switch($postTypeName){ 628 case 'postCategories': 629 $searchResults = ConfigDataHelper::getPostsAllCategories('post', [], $search); 630 break; 631 case 'postTags': 632 $searchResults = ConfigDataHelper::getAllTags($search); 633 break; 634 default: 635 $searchResults = $this->selectFromPost($postTypeName, $search); 636 } 624 637 625 638 if(isset($_POST['searchCallback'])) { -
popup-builder/trunk/com/classes/ConditionCreator.php
r2686454 r2704875 364 364 } 365 365 366 private static function isAssociativeArrayOrEmptyString($args) 367 { 368 if (gettype($args) === 'string') return true; 369 if (array() === $args) return false; 370 return array_keys($args) !== range(0, count($args) - 1); 371 } 372 366 373 public static function createRuleField($ruleElementData) 367 374 { … … 388 395 389 396 if (empty($ruleElementData['data'])) { 390 $ruleElementData['data'] = $ruleElementData['saved']; 391 $savedData = array(); 392 393 if (!empty($ruleElementData['saved'])) { 394 $savedData = array_keys($ruleElementData['saved']); 397 // this check is for current version update! 398 // the old value was a simple array! 399 // after update we need to convert them all to a associative array 400 // this check will resolve UI issues and also prevent bugs after update-ing the existing popup 401 // this change is for post_category and post_tags! 402 if (self::isAssociativeArrayOrEmptyString($ruleElementData['saved'])){ 403 $ruleElementData['data'] = $ruleElementData['saved']; 404 $savedData = array(); 405 406 if (!empty($ruleElementData['saved'])) { 407 $savedData = array_keys($ruleElementData['saved']); 408 } 409 } else { 410 $ruleElementData['data'] = $ruleElementData['saved']; 411 412 if (!empty($ruleElementData['saved'])) { 413 if (isset($attr['isPostCategory'])){ 414 $ruleElementData['data'] = \ConfigDataHelper::getTermsByIds($ruleElementData['saved']); 415 } elseif(isset($attr['isPostTag'])) { 416 $ruleElementData['data'] = \ConfigDataHelper::getTagsByIds($ruleElementData['saved']); 417 } 418 $savedData = $ruleElementData['saved']; 419 } 395 420 } 396 421 } -
popup-builder/trunk/com/classes/PopupChecker.php
r2686454 r2704875 425 425 426 426 foreach ($currentPostCategories as $categoryName) { 427 if (in_array($categoryName->term_id, $values) ) {427 if (in_array($categoryName->term_id, $values) || in_array($categoryName->term_id, array_keys($values))) { 428 428 $isSatisfy = true; 429 429 break; … … 470 470 471 471 foreach ($tagsObj as $tagObj) { 472 if (in_array($tagObj->slug, $selectedTags) ) {472 if (in_array($tagObj->slug, $selectedTags) || in_array($tagObj->slug, array_keys($postTagsValues))) { 473 473 $isSatisfy = true; 474 474 break; -
popup-builder/trunk/com/classes/PopupLoader.php
r2672747 r2704875 74 74 $popupFromUrl = SGPopup::find($getterId, $args); 75 75 if (!empty($popupFromUrl)) { 76 global $SGPB_DATA_CONFIG_ARRAY;77 76 $defaultEvent = array(); 78 77 $customDelay = $popupFromUrl->getOptionValue('sgpb-popup-delay'); 79 $defaultEvent[] = $SGPB_DATA_CONFIG_ARRAY['events']['initialData'][0];78 $defaultEvent[] = \SgpbDataConfig::websiteDefaultConfigs()[0]; 80 79 $defaultEvent[0]['value'] = 0; 81 80 if ($customDelay) { … … 102 101 } 103 102 if (!empty($foundPopup)) { 104 global $SGPB_DATA_CONFIG_ARRAY;105 103 if (@$foundPopup->post_type == SG_POPUP_POST_TYPE) { 106 $events = $SGPB_DATA_CONFIG_ARRAY['events']['initialData'][0];107 $targets = array( $SGPB_DATA_CONFIG_ARRAY['target']['initialData']);104 $events = \SgpbDataConfig::websiteDefaultConfigs()['events'][0]; 105 $targets = array(\SgpbDataConfig::websiteDefaultConfigs()['target']); 108 106 // for any targets preview popup should open 109 107 if (!empty($targets[0][0])) { -
popup-builder/trunk/com/classes/popups/SGPopup.php
r2686454 r2704875 661 661 } 662 662 663 if (isset($valueAttrs['isPostCategory'])){ 664 $targetData[$groupId][$ruleId]['value'] = ConfigDataHelper::getTermsByIds($ruleData['value']); 665 } elseif(isset($valueAttrs['isPostTag'])) { 666 $targetData[$groupId][$ruleId]['value'] = ConfigDataHelper::getTagsByIds($ruleData['value']); 667 } 668 663 669 /* 664 670 * $isNotPostType => false must search inside post types post -
popup-builder/trunk/com/config/configPackage.php
r2698835 r2704875 4 4 } 5 5 6 define('SG_POPUP_VERSION', '4.1. 4');6 define('SG_POPUP_VERSION', '4.1.5'); 7 7 define('SGPB_POPUP_PKG', SGPB_POPUP_PKG_FREE); 8 8 define('POPUP_BUILDER_BASENAME', 'popupbuilder-platinum/popup-builder.php'); -
popup-builder/trunk/com/config/dataConfig.php
r2578665 r2704875 69 69 $targetDataParams['post_selected'] = apply_filters('sgPopupTargetPostData', array()); 70 70 $targetDataParams['page_selected'] = apply_filters('sgPopupTargetPageSelected', array()); 71 $targetDataParams['post_type'] = apply_filters('sgPopupTargetPostType', ConfigDataHelper::getAllCustomPostTypes());72 $targetDataParams['post_category'] = apply_filters('sgPopupTargetPostCategory', ConfigDataHelper::getPostsAllCategories());73 $targetDataParams['page_type'] = apply_filters('sgPopupTargetPageType', ConfigDataHelper::getPageTypes());71 $targetDataParams['post_type'] = apply_filters('sgPopupTargetPostType', array()); 72 $targetDataParams['post_category'] = apply_filters('sgPopupTargetPostCategory', array()); 73 $targetDataParams['page_type'] = apply_filters('sgPopupTargetPageType', array()); 74 74 $targetDataParams['page_template'] = apply_filters('sgPopupPageTemplates', array()); 75 $targetDataParams['post_tags_ids'] = apply_filters('sgPopupTags', ConfigDataHelper::getAllTags());75 $targetDataParams['post_tags_ids'] = apply_filters('sgPopupTags', array()); 76 76 $targetDataParams['everywhere'] = null; 77 77 $targetDataParams['not_rule'] = null; … … 149 149 'class' => 'js-sg-select2 js-select-ajax', 150 150 'data-select-class' => 'js-select-ajax', 151 'data-select-type' => ' multiple',151 'data-select-type' => 'ajax', 152 152 'data-value-param' => 'postCategories', 153 153 'isNotPostType' => true, 154 'isPostCategory' => true, 154 155 'multiple' => 'multiple' 155 156 ), … … 164 165 'data-select-class' => 'js-select-ajax', 165 166 'data-select-type' => 'multiple', 166 'data-value-param' => 'p ostCategories',167 'data-value-param' => 'pageTypes', 167 168 'isNotPostType' => true, 168 169 'multiple' => 'multiple' … … 191 192 'class' => 'js-sg-select2 js-select-ajax', 192 193 'data-select-class' => 'js-select-ajax', 193 'data-select-type' => ' multiple',194 'data-select-type' => 'ajax', 194 195 'data-value-param' => 'postTags', 195 196 'isNotPostType' => true, 197 'isPostTag' => true, 196 198 'multiple' => 'multiple' 197 199 ), … … 1031 1033 $SGPB_TRANSIENT_CONFIG = apply_filters('sgpbAllTransients', $SGPB_TRANSIENT_CONFIG); 1032 1034 } 1035 1036 /** 1037 * method to get popup default conditions or other configs 1038 * 1039 */ 1040 public static function websiteDefaultConfigs() { 1041 $configs = array(); 1042 $eventsInitialData = array( 1043 array('param' => 'load', 'value' => '', 'hiddenOption' => array()) 1044 ); 1045 $targetInitialData = array( 1046 array('param' => 'everywhere') 1047 ); 1048 $configs['events'] = apply_filters('sgPopupEventsInitialData', $eventsInitialData); 1049 $configs['target'] = apply_filters('sgPopupTargetInitialData', $targetInitialData); 1050 1051 return $configs; 1052 } 1033 1053 } -
popup-builder/trunk/com/helpers/ConfigDataHelper.php
r2578665 r2704875 3 3 { 4 4 public static $customPostType; 5 public static $allCustomPosts = array(); 5 6 6 7 public static function getPostTypeData($args = array()) … … 33 34 } 34 35 36 /** 37 * this method is used for to get all other post types 38 * that may created by another plugins or theme or website owner! 39 * 40 * example: download from EDD, product from Woocommerce! 41 */ 35 42 public static function getAllCustomPosts() 36 43 { … … 45 52 unset($allCustomPosts[SG_POPUP_POST_TYPE]); 46 53 } 47 48 return $allCustomPosts; 54 self::$allCustomPosts = $allCustomPosts; 55 return $allCustomPosts; // TODO check for usages and remove this line 49 56 } 50 57 … … 56 63 private static function addPostTypeToFilters() 57 64 { 65 self::getAllCustomPosts(); 58 66 add_filter('sgPopupTargetParams', array(__CLASS__, 'addPopupTargetParams'), 1, 1); 59 67 add_filter('sgPopupTargetData', array(__CLASS__, 'addPopupTargetData'), 1, 1); … … 61 69 add_filter('sgPopupTargetAttrs', array(__CLASS__, 'addPopupTargetAttrs'), 1, 1); 62 70 add_filter('sgPopupPageTemplates', array(__CLASS__, 'addPopupPageTemplates'), 1, 1); 71 add_filter('sgPopupTargetPostType', array(__CLASS__, 'getAllCustomPostTypes'), 1, 1); 72 add_filter('sgPopupTargetPageType', array(__CLASS__, 'getPageTypes'), 1, 1); 63 73 } 64 74 65 75 public static function addPopupTargetParams($targetParams) 66 76 { 67 $allCustomPostTypes = self:: getAllCustomPosts();77 $allCustomPostTypes = self::$allCustomPosts; 68 78 // for conditions, to exclude other post types, tags etc. 69 79 if (isset($targetParams['select_role'])) { … … 85 95 public static function addPopupTargetData($targetData) 86 96 { 87 $allCustomPostTypes = self:: getAllCustomPosts();97 $allCustomPostTypes = self::$allCustomPosts; 88 98 89 99 foreach ($allCustomPostTypes as $customPostType) { … … 109 119 public static function addPopupTargetTypes($targetTypes) 110 120 { 111 $allCustomPostTypes = self:: getAllCustomPosts();121 $allCustomPostTypes = self::$allCustomPosts; 112 122 113 123 foreach ($allCustomPostTypes as $customPostType) { … … 121 131 public static function addPopupTargetAttrs($targetAttrs) 122 132 { 123 $allCustomPostTypes = self:: getAllCustomPosts();133 $allCustomPostTypes = self::$allCustomPosts; 124 134 125 135 foreach ($allCustomPostTypes as $customPostType) { … … 158 168 } 159 169 160 public static function getPostsAllCategories($postType = 'post', $taxonomies = array()) 161 { 162 $cats = get_transient(SGPB_TRANSIENT_POPUPS_ALL_CATEGORIES); 163 if ($cats === false) { 164 $cats = get_terms( 165 array( 166 'taxonomy' => $taxonomies, 167 'hide_empty' => false, 168 'type' => $postType, 169 'orderby' => 'name', 170 'order' => 'ASC' 171 ) 172 ); 173 set_transient(SGPB_TRANSIENT_POPUPS_ALL_CATEGORIES, $cats, SGPB_TRANSIENT_TIMEOUT_WEEK); 174 } 170 public static function getPostsAllCategories($postType = 'post', $taxonomies = array(), $search_text = '') 171 { 172 $cats = get_terms( 173 array( 174 'taxonomy' => $taxonomies, 175 'hide_empty' => false, 176 'type' => $postType, 177 'orderby' => 'name', 178 'order' => 'ASC', 179 'number' => 200, 180 'offset' => 0, 181 'name__like' => $search_text 182 ) 183 ); 175 184 176 185 $supportedTaxonomies = array('category'); … … 230 239 } 231 240 232 public static function getAllTags( )241 public static function getAllTags($search_text = '') 233 242 { 234 243 $allTags = array(); 235 244 $tags = get_tags(array( 236 'hide_empty' => false 245 'hide_empty' => false, 246 'name__like' => $search_text 237 247 )); 238 248 … … 241 251 } 242 252 253 return $allTags; 254 } 255 public static function getTagsByIds($ids = []) 256 { 257 $allTags = array(); 258 $tags = get_tags(array( 259 'hide_empty' => false, 260 'include' => $ids 261 )); 262 foreach ($tags as $tag) { 263 $allTags[$tag->slug] = $tag->name; 264 } 265 return $allTags; 266 } 267 268 public static function getTermsByIds($ids = array()) 269 { 270 $allTags = array(); 271 $terms = get_terms(array( 272 'hide_empty' => false, 273 'include' => $ids 274 )); 275 foreach ($terms as $term) { 276 $allTags[$term->term_id] = $term->name; 277 } 243 278 return $allTags; 244 279 } -
popup-builder/trunk/popup-builder.php
r2698835 r2704875 4 4 * Plugin URI: https://popup-builder.com 5 5 * Description: The most complete popup plugin. Html, image, iframe, shortcode, video and many other popup types. Manage popup dimensions, effects, themes and more. 6 * Version: 4.1. 46 * Version: 4.1.5 7 7 * Author: Sygnoos 8 8 * Author URI: https://sygnoos.com -
popup-builder/trunk/public/js/PopupBuilder.js
r2505152 r2704875 198 198 if (typeof popupOptions['sgpb-popup-dimension-mode'] !== 'undefined' && popupOptions['sgpb-popup-dimension-mode'] === 'responsiveMode') { 199 199 var openedPopupWidth = parseInt(window.innerHeight-100); 200 if (jQuery('.sgpb-popup-builder-content-'+popupId +' iframe').length) { 201 jQuery('.sgpb-popup-builder-content-'+popupId).attr('style', 'height:'+openedPopupWidth+'px !important;'); 200 if (e.detail.popupData['sgpb-type'] === 'iframe' || e.detail.popupData['sgpb-type'] === 'video') { 201 if (jQuery('.sgpb-popup-builder-content-'+popupId +' iframe').length) { 202 jQuery('.sgpb-popup-builder-content-'+popupId).attr('style', 'height:'+openedPopupWidth+'px !important;'); 203 } 202 204 } 203 205 } -
popup-builder/trunk/readme.txt
r2698837 r2704875 9 9 Tested up to: 5.9 10 10 Requires PHP: 5.3.3 11 Stable tag: 4.1. 411 Stable tag: 4.1.5 12 12 License: GPLv2 or later 13 13 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 147 147 == Changelog == 148 148 149 = Version 4.1.5 = 150 * Improvement of code, some queries are optimized 151 * Bug fixed related to popup opening issues on iOS devices 152 * Bug fixed related to Newsletter text formatting in testing mode 153 * Bug fixed related to popups that are set to appear on post categories 154 149 155 = Version 4.1.4 = 150 156 * Bug fixed related to filenames that contain non ascii characters … … 520 526 == Upgrade Notice == 521 527 522 Current Version of Popup Builder is 4.1. 4528 Current Version of Popup Builder is 4.1.5
Note: See TracChangeset
for help on using the changeset viewer.