]> git.mjollnir.org Git - moodle.git/commit
MDL-8015 improved file uploading
authorskodak <skodak>
Thu, 28 Dec 2006 21:21:44 +0000 (21:21 +0000)
committerskodak <skodak>
Thu, 28 Dec 2006 21:21:44 +0000 (21:21 +0000)
commitfeaf5d06dbad3cfffa03e9ba69b591fdf4f7c665
tree2fdeb1cee7ba662307d66d1cd11d9fd6c4553e29
parentebff6e2c5e41fb478e22704484faab60ba949f4d
MDL-8015 improved file uploading
- changed file upload api in formslib
- fixed blog attachments and related code in file.php
- fixed glossary attachments
- fixed embedded images in forum posts and blogs - only gif, png and jpeg; the problme was that svg were embedded using img tag which was wrong, the same applied to other picture formats unsupported by browsers (please note that student submitted svg should be never embedded in moodle page for security reasons)
- other minor fixes
12 files changed:
blog/edit.php
blog/edit_form.php
blog/lib.php
course/import/groups/import_form.php
file.php
lib/formslib.php
lib/moodlelib.php
mod/forum/lib.php
mod/forum/post_form.php
mod/glossary/edit.php
mod/glossary/edit_form.php
mod/glossary/lib.php