MDL-67127 mimetypes: add H5P to the default mime types list
authorFerran Recio <ferran@moodle.com>
Mon, 4 Nov 2019 14:46:04 +0000 (15:46 +0100)
committerFerran Recio <ferran@moodle.com>
Tue, 5 Nov 2019 12:25:59 +0000 (13:25 +0100)
lib/classes/filetypes.php
pix/f/h5p-180.png [new file with mode: 0644]
pix/f/h5p-24.png [new file with mode: 0644]
pix/f/h5p-256.png [new file with mode: 0644]
pix/f/h5p-48.png [new file with mode: 0644]
pix/f/h5p-64.png [new file with mode: 0644]
pix/f/h5p-72.png [new file with mode: 0644]
pix/f/h5p-80.png [new file with mode: 0644]
pix/f/h5p-96.png [new file with mode: 0644]
pix/f/h5p.png [new file with mode: 0644]

index 34b8a6e..258170d 100644 (file)
@@ -114,6 +114,7 @@ abstract class core_filetypes {
             'gzip' => array('type' => 'application/g-zip', 'icon' => 'archive',
                     'groups' => array('archive'), 'string' => 'archive'),
             'h' => array('type' => 'text/plain', 'icon' => 'sourcecode'),
+            'h5p' => array('type' => 'application/zip', 'icon' => 'h5p', 'string' => 'archive'),
             'hpp' => array('type' => 'text/plain', 'icon' => 'sourcecode'),
             'hqx' => array('type' => 'application/mac-binhex40', 'icon' => 'archive',
                     'groups' => array('archive'), 'string' => 'archive'),
diff --git a/pix/f/h5p-180.png b/pix/f/h5p-180.png
new file mode 100644 (file)
index 0000000..8e2e824
Binary files /dev/null and b/pix/f/h5p-180.png differ
diff --git a/pix/f/h5p-24.png b/pix/f/h5p-24.png
new file mode 100644 (file)
index 0000000..b3554ab
Binary files /dev/null and b/pix/f/h5p-24.png differ
diff --git a/pix/f/h5p-256.png b/pix/f/h5p-256.png
new file mode 100644 (file)
index 0000000..5beca83
Binary files /dev/null and b/pix/f/h5p-256.png differ
diff --git a/pix/f/h5p-48.png b/pix/f/h5p-48.png
new file mode 100644 (file)
index 0000000..227b8dd
Binary files /dev/null and b/pix/f/h5p-48.png differ
diff --git a/pix/f/h5p-64.png b/pix/f/h5p-64.png
new file mode 100644 (file)
index 0000000..cdd1c9b
Binary files /dev/null and b/pix/f/h5p-64.png differ
diff --git a/pix/f/h5p-72.png b/pix/f/h5p-72.png
new file mode 100644 (file)
index 0000000..a6e4b56
Binary files /dev/null and b/pix/f/h5p-72.png differ
diff --git a/pix/f/h5p-80.png b/pix/f/h5p-80.png
new file mode 100644 (file)
index 0000000..dba1aeb
Binary files /dev/null and b/pix/f/h5p-80.png differ
diff --git a/pix/f/h5p-96.png b/pix/f/h5p-96.png
new file mode 100644 (file)
index 0000000..9b7c2f2
Binary files /dev/null and b/pix/f/h5p-96.png differ
diff --git a/pix/f/h5p.png b/pix/f/h5p.png
new file mode 100644 (file)
index 0000000..1747be3
Binary files /dev/null and b/pix/f/h5p.png differ