Restoring default elfinder.html file
Use session value of $_user instead of a global value
Minor - changing function name
Adding "elfinder chamilo connector" as a controller, in order to not modified the elfinder default files. This way we can update elfinder and ckeditor in any moment.
No custom modifications were added directly in those libraries. The elfinder.html file is render by the javascript/elfinder.tpl file
Removing unused connector
Fixing PHP warning