Component | Version(s) | Link |
---|---|---|
PHP | PHP | |
ILIAS | ILIAS |
- Clone this repository to Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/FileUploadCopyrightConfirmation
- Install the Composer dependencies
Developers MUST omit the
cd Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/FileUploadCopyrightConfirmation composer install --no-dev
--no-dev
argument. - Login to ILIAS with an administrator account (e.g. root)
- Select Plugins in Extending ILIAS inside the Administration main menu.
- Search for the FileUploadCopyrightConfirmation plugin in the list of plugin and choose Install from the Actions drop-down.
- Choose Activate from the Actions dropdown.
In order to prevent manipulation of the form or checkbox added by the plugin, patches are required for the several different file upload variants.
Patches should be applied from the root ilias directory.
cd /var/www/<ilias installation path>
git apply Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/FileUploadCopyrightConfirmation/patch/<patch-name>.patch
git apply Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/FileUploadCopyrightConfirmation/patch/*.patch
Once the plugin is enabled, a box with a checkbox and text should show up below each file upload input.
- The TinyMCE functionality does not have a patch that prevents the upload.