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

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/wp-conte.../plugins/content-.../inc/freemius/template...
File: account.php
);
[1000] Fix | Delete
[1001] Fix | Delete
$subscriptionCancellationModal.find( '.fs-modal-footer .button' ).addClass( 'disabled' );
[1002] Fix | Delete
$deactivateLicenseOrCancelTrial.unbind( 'click' );
[1003] Fix | Delete
[1004] Fix | Delete
if ( false === cancelSubscription || $deactivateLicenseOrCancelTrial.hasClass( 'fs-cancel-trial' ) ) {
[1005] Fix | Delete
$subscriptionCancellationModal.find( '.fs-modal-footer .button-primary' ).text( $deactivateLicenseOrCancelTrial.text() );
[1006] Fix | Delete
[1007] Fix | Delete
$deactivateLicenseOrCancelTrial[0].parentNode.submit();
[1008] Fix | Delete
} else {
[1009] Fix | Delete
var $form = $( 'input[value="downgrade_account"],input[value="cancel_trial"]' ).parent();
[1010] Fix | Delete
$form.prepend( '<input type="hidden" name="deactivate_license" value="true" />' );
[1011] Fix | Delete
[1012] Fix | Delete
$subscriptionCancellationModal.find( '.fs-modal-footer .button-primary' ).text( '<?php echo esc_js( sprintf(
[1013] Fix | Delete
fs_text_inline( 'Cancelling %s...', 'cancelling-x' , $slug ),
[1014] Fix | Delete
$is_paid_trial ?
[1015] Fix | Delete
fs_text_inline( 'trial', 'trial', $slug ) :
[1016] Fix | Delete
fs_text_inline( 'subscription', 'subscription', $slug )
[1017] Fix | Delete
) ) ?>' );
[1018] Fix | Delete
[1019] Fix | Delete
$form.submit();
[1020] Fix | Delete
}
[1021] Fix | Delete
});
[1022] Fix | Delete
}
[1023] Fix | Delete
[1024] Fix | Delete
$deactivateLicenseOrCancelTrial.click(function() {
[1025] Fix | Delete
var $this = $( this );
[1026] Fix | Delete
if ( $this.hasClass( 'fs-cancel-trial' ) ) {
[1027] Fix | Delete
$subscriptionCancellationModal.find( '.fs-modal-panel' ).find( 'ul.subscription-actions, .fs-price-increase-warning' ).remove();
[1028] Fix | Delete
$subscriptionCancellationModal.find( '.fs-modal-panel > p' ).text( <?php echo json_encode( $cancel_trial_confirm_text ) ?> );
[1029] Fix | Delete
$subscriptionCancellationModal.trigger( 'showModal' );
[1030] Fix | Delete
} else if (confirm('<?php fs_esc_attr_echo_inline( 'Deactivating your license will block all premium features, but will enable activating the license on another site. Are you sure you want to proceed?', 'deactivate-license-confirm', $slug ) ?>')) {
[1031] Fix | Delete
var $this = $(this);
[1032] Fix | Delete
[1033] Fix | Delete
if ( 0 !== $subscriptionCancellationModal.length ) {
[1034] Fix | Delete
$subscriptionCancellationModal.trigger( 'showModal' );
[1035] Fix | Delete
} else {
[1036] Fix | Delete
setLoading( $this, '<?php fs_esc_js_echo_inline( 'Deactivating', 'deactivating', $slug ) ?>...' );
[1037] Fix | Delete
$this[0].parentNode.submit();
[1038] Fix | Delete
}
[1039] Fix | Delete
}
[1040] Fix | Delete
[1041] Fix | Delete
return false;
[1042] Fix | Delete
});
[1043] Fix | Delete
[1044] Fix | Delete
var $sitesSection = $('#fs_sites'),
[1045] Fix | Delete
$sitesTable = $sitesSection.find('.fs-scrollable-table'),
[1046] Fix | Delete
$sitesTableRows = $sitesTable.find('.fs-site-details');
[1047] Fix | Delete
[1048] Fix | Delete
$('.fs-show-install-details').click(function(){
[1049] Fix | Delete
var installID = $(this).parents('.fs-site-details').attr('data-install-id');
[1050] Fix | Delete
$sitesSection.find('.fs-install-details[data-install-id=' + installID + ']').toggle();
[1051] Fix | Delete
});
[1052] Fix | Delete
[1053] Fix | Delete
[1054] Fix | Delete
var adjustColumnWidth = function($table) {
[1055] Fix | Delete
var $headerColumns = $table.find('.fs-table-head td'),
[1056] Fix | Delete
$bodyColumns = $table.find('.fs-table-body tr:first > td');
[1057] Fix | Delete
[1058] Fix | Delete
for (var i = 0, len = $headerColumns.length; i < len; i++) {
[1059] Fix | Delete
$($headerColumns[i]).width($($bodyColumns[i]).width());
[1060] Fix | Delete
}
[1061] Fix | Delete
for (i = 0, len = $headerColumns.length; i < len; i++) {
[1062] Fix | Delete
$($bodyColumns[i]).width($($headerColumns[i]).width());
[1063] Fix | Delete
}
[1064] Fix | Delete
};
[1065] Fix | Delete
[1066] Fix | Delete
adjustColumnWidth($sitesTable);
[1067] Fix | Delete
[1068] Fix | Delete
$sitesSection.find('.fs-search').keyup(function(){
[1069] Fix | Delete
var search = $(this).val().trim();
[1070] Fix | Delete
[1071] Fix | Delete
if ('' === search){
[1072] Fix | Delete
// Show all.
[1073] Fix | Delete
$sitesTableRows.show();
[1074] Fix | Delete
return;
[1075] Fix | Delete
}
[1076] Fix | Delete
[1077] Fix | Delete
var url;
[1078] Fix | Delete
[1079] Fix | Delete
$sitesTableRows.each(function(index){
[1080] Fix | Delete
url = $(this).find('.fs-field-url').html();
[1081] Fix | Delete
[1082] Fix | Delete
if (-1 < url.indexOf(search)){
[1083] Fix | Delete
$(this).show();
[1084] Fix | Delete
} else {
[1085] Fix | Delete
$(this).hide();
[1086] Fix | Delete
}
[1087] Fix | Delete
});
[1088] Fix | Delete
});
[1089] Fix | Delete
[1090] Fix | Delete
$( '.fs-toggle-whitelabel-mode' ).click( function () {
[1091] Fix | Delete
var $toggleLink = $( this );
[1092] Fix | Delete
[1093] Fix | Delete
$.ajax( {
[1094] Fix | Delete
url : <?php echo Freemius::ajax_url() ?>,
[1095] Fix | Delete
method: 'POST',
[1096] Fix | Delete
data : {
[1097] Fix | Delete
action : '<?php echo $fs->get_ajax_action( 'toggle_whitelabel_mode' ) ?>',
[1098] Fix | Delete
security : '<?php echo $fs->get_ajax_security( 'toggle_whitelabel_mode' ) ?>',
[1099] Fix | Delete
module_id: <?php echo $fs->get_id() ?>
[1100] Fix | Delete
},
[1101] Fix | Delete
beforeSend: function () {
[1102] Fix | Delete
$toggleLink.parent().text( '<?php
[1103] Fix | Delete
$is_whitelabeled ?
[1104] Fix | Delete
fs_esc_html_echo_inline( 'Disabling white-label mode', 'disabling-whitelabel-mode' ) :
[1105] Fix | Delete
fs_esc_html_echo_inline( 'Enabling white-label mode', 'enabling-whitelabel-mode' )
[1106] Fix | Delete
?>' + '...' );
[1107] Fix | Delete
},
[1108] Fix | Delete
complete: function () {
[1109] Fix | Delete
location.reload();
[1110] Fix | Delete
}
[1111] Fix | Delete
} );
[1112] Fix | Delete
});
[1113] Fix | Delete
})(jQuery);
[1114] Fix | Delete
</script>
[1115] Fix | Delete
<?php
[1116] Fix | Delete
if ( $has_tabs ) {
[1117] Fix | Delete
$fs->_add_tabs_after_content();
[1118] Fix | Delete
}
[1119] Fix | Delete
[1120] Fix | Delete
$params = array(
[1121] Fix | Delete
'page' => 'account',
[1122] Fix | Delete
'module_id' => $fs->get_id(),
[1123] Fix | Delete
'module_type' => $fs->get_module_type(),
[1124] Fix | Delete
'module_slug' => $slug,
[1125] Fix | Delete
'module_version' => $fs->get_plugin_version(),
[1126] Fix | Delete
);
[1127] Fix | Delete
fs_require_template( 'powered-by.php', $params );
[1128] Fix | Delete
[1129] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function