Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/popup-bu.../public/views
File: otherConditionsView.php
<?php
[0] Fix | Delete
namespace sgpb;
[1] Fix | Delete
/* Exit if accessed directly */
[2] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[3] Fix | Delete
exit;
[4] Fix | Delete
}
[5] Fix | Delete
use sgpb\PopupBuilderActivePackage;
[6] Fix | Delete
[7] Fix | Delete
$defaultData = \SGPBConfigDataHelper::defaultData();
[8] Fix | Delete
$required = '';
[9] Fix | Delete
if ($popupTypeObj->getOptionValue('sgpb-schedule-status')) {
[10] Fix | Delete
$required = 'required';
[11] Fix | Delete
}
[12] Fix | Delete
$conditionsCanBeUsed = PopupBuilderActivePackage::canUseSection('popupOtherConditionsSection');
[13] Fix | Delete
?>
[14] Fix | Delete
<div class="sgpb-wrapper sgpb-position-relative" onclick="window.open('<?php echo esc_url(SG_POPUP_SCHEDULING_URL);?>', '_blank')">
[15] Fix | Delete
<div class="formItem sgpb-padding-20 sgpb-option-disable">
[16] Fix | Delete
<div>
[17] Fix | Delete
<div class="formItem">
[18] Fix | Delete
<span class="formItem__title sgpb-margin-right-20"><?php esc_html_e('Schedule', 'popup-builder'); ?>:</span>
[19] Fix | Delete
<div class="sgpb-onOffSwitch">
[20] Fix | Delete
<input type="checkbox" id="schedule-status" class="sgpb-onOffSwitch-checkbox" disabled name="sgpb-schedule-status" <?php echo esc_attr($popupTypeObj->getOptionValue('sgpb-schedule-status')); ?>>
[21] Fix | Delete
<label class="sgpb-onOffSwitch__label" for="schedule-status">
[22] Fix | Delete
<span class="sgpb-onOffSwitch-inner"></span>
[23] Fix | Delete
<span class="sgpb-onOffSwitch-switch"></span>
[24] Fix | Delete
</label>
[25] Fix | Delete
</div>
[26] Fix | Delete
<div class="question-mark">B</div>
[27] Fix | Delete
</div>
[28] Fix | Delete
<div class="formItem">
[29] Fix | Delete
<span class="formItem__title sgpb-margin-right-20"><?php esc_html_e('Show popup in date range', 'popup-builder'); ?>:</span>
[30] Fix | Delete
<div class="sgpb-onOffSwitch">
[31] Fix | Delete
<input type="checkbox" name="sgpb-popup-timer-status" id="sgpb-popup-timer-status" disabled class="sgpb-onOffSwitch-checkbox" <?php echo esc_attr($popupTypeObj->getOptionValue('sgpb-popup-timer-status'));?>>
[32] Fix | Delete
<label class="sgpb-onOffSwitch__label" for="sgpb-popup-timer-status">
[33] Fix | Delete
<span class="sgpb-onOffSwitch-inner"></span>
[34] Fix | Delete
<span class="sgpb-onOffSwitch-switch"></span>
[35] Fix | Delete
</label>
[36] Fix | Delete
</div>
[37] Fix | Delete
<div class="question-mark">B</div>
[38] Fix | Delete
</div>
[39] Fix | Delete
<?php if (!$conditionsCanBeUsed): ?>
[40] Fix | Delete
<div class="sgpb-unlock-options">
[41] Fix | Delete
<div class="sgpb-unlock-options__icon">
[42] Fix | Delete
<img src="<?php echo esc_url(SG_POPUP_PUBLIC_URL.'icons/time-is-money.svg');?>" alt="Time icon" width="45" height="45" />
[43] Fix | Delete
</div>
[44] Fix | Delete
<span class="sgpb-unlock-options__title"><?php esc_html_e('Unlock Option', 'popup-builder'); ?></span>
[45] Fix | Delete
</div>
[46] Fix | Delete
<?php endif; ?>
[47] Fix | Delete
</div>
[48] Fix | Delete
</div>
[49] Fix | Delete
[50] Fix | Delete
</div>
[51] Fix | Delete
[52] Fix | Delete
<style type="text/css">
[53] Fix | Delete
#options-otherConditionsMetaBoxView .sgpb-option-disable {
[54] Fix | Delete
max-width: 650px;
[55] Fix | Delete
}
[56] Fix | Delete
#options-otherConditionsMetaBoxView .sgpb-unlock-options {
[57] Fix | Delete
position: absolute;
[58] Fix | Delete
top: 8%;
[59] Fix | Delete
right: 48%;
[60] Fix | Delete
}
[61] Fix | Delete
.rtl #options-otherConditionsMetaBoxView .sgpb-unlock-options {
[62] Fix | Delete
position: absolute;
[63] Fix | Delete
top: 8%;
[64] Fix | Delete
left: 48%;
[65] Fix | Delete
right: unset;
[66] Fix | Delete
}
[67] Fix | Delete
</style>
[68] Fix | Delete
[69] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function