[AMOS commit] MDL-31901: Allow FileManager to re-use FilePicker JS code for view modes: Committed into Git: 2012-05-02 06:59 UTC

[AMOS commit] MDL-31901: Allow FileManager to re-use FilePicker JS code for view modes: Committed into Git: 2012-05-02 06:59 UTC

by AMOS bot -
Number of replies: 0
Author: Marina Glancy
MDL-31901: Allow FileManager to re-use FilePicker JS code for view modes:
- when loading core_filepicker we extend the Node element with functions necessary to display files list in different view modes;
- repository/filepicker.js is changed to use those functions;
- FileManager now has three different view modes (icon view, tree view and table view), JS code is re-used from FilePicker;
- files in FileManager no longer have context menu, they have one popup Widget with different actions instead;
- Added more templates for JS code to FileManager, use similar CSS class names as FilePicker;
- lib/filelib.php : fixed double slashes in path, return more data about files;
- lib/form/filemanager.php : pass information to FileManager about available licenses and default author;
- repository/draftfiles_ajax.php : return information about directory tree for file moving UI in FileManager, return formatted information;
- repository/lib.php : function repository::prepare_listing() now can work also with draftarea files listing;


http://git.moodle.org/gw?p=moodle.git;a=commit;h=e709ddd29ca87dec945a21f4d2a0cbd7efdcadbe
http://github.com/moodle/moodle/commit/e709ddd29ca87dec945a21f4d2a0cbd7efdcadbe

+ 2.3 en [originalpath,core]