Edit File by line
/home/barbar84/www/wp-conte.../plugins/file-man.../applicat.../pages
File: main.php
<?php if ( ! defined( 'ABSPATH' ) ) exit;
[0] Fix | Delete
$settings = get_option('fmaoptions');
[1] Fix | Delete
$path = str_replace('\\','/', ABSPATH);
[2] Fix | Delete
$review_done = get_option('fma_hide_review_section');
[3] Fix | Delete
?>
[4] Fix | Delete
<?php echo class_fma_admin_menus::shortcodeUpdateNotice();?>
[5] Fix | Delete
<div class="wrap fma">
[6] Fix | Delete
<h3><?php _e('Advanced File Manager','file-manager-advanced')?>
[7] Fix | Delete
[8] Fix | Delete
<?php if(!class_exists('file_manager_advanced_shortcode')) { ?><a href="https://advancedfilemanager.com/pricing" class="button button-primary" target="_blank"><?php _e('Buy Shortcode Addon','file-manager-advanced')?></a><?php } ?> </h3>
[9] Fix | Delete
[10] Fix | Delete
<?php if ('done' != $review_done) { ?>
[11] Fix | Delete
<div class="gb-fm-row review-block" id="fma_rate_us">
[12] Fix | Delete
<div class="message">
[13] Fix | Delete
<img src="<?php echo plugins_url( 'images/rateme.png', __FILE__ );?>" class="fma_img_rate_me">
[14] Fix | Delete
<?php _e('<strong>Advanced File Manager</strong>, we always support you and provide better features for you, please spend some seconds to review our plugin.','file-manager-advanced')?>
[15] Fix | Delete
</div>
[16] Fix | Delete
<div class="actions">
[17] Fix | Delete
<a target="_blank" href="https://wordpress.org/support/plugin/file-manager-advanced/reviews/?filter=5" class="btn btn-review fma_review_link" title="Leave us a review" data-task="done"><?php _e('I love your plugin!','file-manager-advanced');?></a>
[18] Fix | Delete
<a href="javascript:void(0)" class="btn fma_review_link" title="Remind me later" data-task="done"><?php _e('Not Now','file-manager-advanced');?></a>
[19] Fix | Delete
</div>
[20] Fix | Delete
</div>
[21] Fix | Delete
<hr>
[22] Fix | Delete
<?php } ?>
[23] Fix | Delete
[24] Fix | Delete
<div id="file_manager_advanced"><center><img src="<?php echo plugins_url( 'images/wait.gif', __FILE__ );?>"></center></div>
[25] Fix | Delete
<div style="width:100%; text-align:center;" class="description">
[26] Fix | Delete
<span>
[27] Fix | Delete
<a href="https://advancedfilemanager.com/documentation/" target="_blank"><?php _e('Documentation','file-manager-advanced')?></a> | <a href="https://advancedfilemanager.com/contact/" target="_blank"><?php _e('Support','file-manager-advanced')?></a> | <a href="https://advancedfilemanager.com/shortcodes/" target="_blank"><?php _e('Shortcodes','file-manager-advanced')?></a>
[28] Fix | Delete
</span>
[29] Fix | Delete
<span id="thankyou"><?php _e('Thank you for using <a href="https://wordpress.org/plugins/file-manager-advanced/">Advanced File Manager</a>. If you are happy then please ','file-manager-advanced')?>
[30] Fix | Delete
<a href="https://wordpress.org/support/plugin/file-manager-advanced/reviews/?filter=5"><?php _e('Rate Us','file-manager-advanced')?> <img src="<?php echo plugins_url( 'images/5stars.png', __FILE__ );?>" style="width:100px; top: 11px; position: relative;"></a></span>
[31] Fix | Delete
</div>
[32] Fix | Delete
[33] Fix | Delete
</div>
[34] Fix | Delete
[35] Fix | Delete
<?php if('done' != $review_done) { ?>
[36] Fix | Delete
<style>
[37] Fix | Delete
.fma .review-block {
[38] Fix | Delete
background-color: #fff;
[39] Fix | Delete
min-height: 100px;
[40] Fix | Delete
margin: 5px 5px 20px;
[41] Fix | Delete
padding-top: 24px;
[42] Fix | Delete
padding-bottom: 24px;
[43] Fix | Delete
text-align: center;
[44] Fix | Delete
font-size: 1.2em;
[45] Fix | Delete
border: 1px dashed #0d5ed9;
[46] Fix | Delete
border-radius: 10px;
[47] Fix | Delete
display:none;
[48] Fix | Delete
}
[49] Fix | Delete
.fma .review-block .message {
[50] Fix | Delete
margin-top: 16px;
[51] Fix | Delete
}
[52] Fix | Delete
.fma .review-block .actions {
[53] Fix | Delete
margin-top: 24px;
[54] Fix | Delete
}
[55] Fix | Delete
.fma .review-block .actions .btn-review {
[56] Fix | Delete
background-color: #0d5ed9;
[57] Fix | Delete
color: #fff;
[58] Fix | Delete
font-weight: 700;
[59] Fix | Delete
border-radius: 5px;
[60] Fix | Delete
-webkit-transition-duration: .6s;
[61] Fix | Delete
transition-duration: .6s;
[62] Fix | Delete
}
[63] Fix | Delete
.fma .review-block .actions a {
[64] Fix | Delete
padding: 5px 10px;
[65] Fix | Delete
text-decoration: none;
[66] Fix | Delete
border: 1px solid #0d5ed9;
[67] Fix | Delete
}
[68] Fix | Delete
.fma .fma_img_rate_me {
[69] Fix | Delete
width:20px;
[70] Fix | Delete
}
[71] Fix | Delete
</style>
[72] Fix | Delete
<script>
[73] Fix | Delete
jQuery(document).ready(function(e) {
[74] Fix | Delete
[75] Fix | Delete
setTimeout(function(){
[76] Fix | Delete
[77] Fix | Delete
jQuery('#fma_rate_us').slideDown('slow');
[78] Fix | Delete
[79] Fix | Delete
}, 5000);
[80] Fix | Delete
[81] Fix | Delete
[82] Fix | Delete
jQuery('.fma_review_link').click(function() {
[83] Fix | Delete
var fmaajaxurl = "<?php echo admin_url('admin-ajax.php');?>";
[84] Fix | Delete
var task = jQuery(this).data('task');
[85] Fix | Delete
var nonce = "<?php echo wp_create_nonce('afm_review'); ?>";
[86] Fix | Delete
jQuery.ajax({
[87] Fix | Delete
type : "post",
[88] Fix | Delete
url : fmaajaxurl,
[89] Fix | Delete
data : {action: "fma_review_ajax", 'task' : task, 'nonce' : nonce},
[90] Fix | Delete
success: function(response) {
[91] Fix | Delete
jQuery('#fma_rate_us').slideUp('slow');
[92] Fix | Delete
}
[93] Fix | Delete
});
[94] Fix | Delete
});
[95] Fix | Delete
[96] Fix | Delete
});
[97] Fix | Delete
</script>
[98] Fix | Delete
<?php } ?>
[99] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function