Please sign in to comment.
MDL-33640 - change $templatesinitialized to an array; improve naming …
…and automate use of template * $templatesinitialized is now an array, so that subsequent calls to initialise_filepicker which request different repositories will include those (and only those) templates which it requires but have not yet been included * The get_template method has also been renamed to get_upload_template (and the template to "uploadform_" followed by the repository type), since it only applies to upload forms * If a plugin provides a get_upload_template method, the template it returns will now automatically be used instead of the standard uploadform template when generating an upload form
- Loading branch information...
Showing with 12 additions and 8 deletions.