New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ticket/16888] List allowed attachment types using accept attribute #6306
Conversation
Make sure we are checking both PMs and topics PHPBB3-16888
Request mixed content using shorthand Ternary PHPBB3-16888
Honestly, I don't expect anyone to read this list of extensions (in addition to it looking quite ugly 😆 ). Why don't we try using the accept attribute instead? https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept |
@marc1706 pls have a look at the code changes (accept attribute). |
Using the accept attribute PHPBB3-16888
Will this work with Plupload's drag'n'drop? I was experimenting with extensions in regard of attachments several times and it's a PITA to apply any even simple things to Plupload stuff, I just suspect the patch won't affect it at all. |
I do not think so, I told @marc1706 about that (I edited my previous message about that, sorry) |
Add core.modify_default_attachments_template_vars PHPBB3-16888
It should already work for plupload based on the filters set for it, so even before this was done for just the "plain" upload button. |
PHPBB3-16888
Checklist:
https://tracker.phpbb.com/browse/PHPBB3-16888