davosmith/moodle-block_dndupload — pull request #5 by rlorenzo (2011-12-09 21:57:46+00:00)
Title: Using config setting for default display of resources

In the site admin configuration settings for "Default values for activity settings", we set the default display type to be "Force download".

However, the block forces all uploaded content to be RESOURCELIB_DISPLAY_AUTO. I modified the code to use the site setting. But it should default to RESOURCELIB_DISPLAY_AUTO if no site setting is specially set.