Fixed issue concerning deleting files...
Errore: Bad value “return confirm('Delete file?'');” for attribute “onclick” on element “a”: unterminated string literal
I changed with: “return confirm('Delete file?');”
This change solves several bug:
1) FM_EDIT_FILE constant not defined, I added to solve this line:
define('FM_EDIT_FILE', $edit_files);
2) Html Validation issue: acion="" cannot be empty. I replaced all action="" with:
action="<?php echo htmlspecialchars($_SERVER['PHP_SELF']); ?>"
3) Login Form contains a lot of HTML + PHP + JS not used and then produces php notice. I solved adding two news header and footer login which are basic HTML + CSS
fm_show_header_login();
and
fm_show_footer_login();
This solves several issue due to unused HTML + PHP + JS elements.