Skip to content

Commit

Permalink
MDL-58356 icons: Revert file type icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Damyon Wiese committed Apr 10, 2017
1 parent bd99cb9 commit 1a10c79
Show file tree
Hide file tree
Showing 465 changed files with 32 additions and 88 deletions.
42 changes: 0 additions & 42 deletions lib/classes/output/icon_system_fontawesome.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,48 +170,6 @@ public function get_core_icon_map() {
'core:e/undo' => 'fa-undo',
'core:e/visual_aid' => 'fa-universal-access',
'core:e/visual_blocks' => 'fa-audio-description',
'core:f/archive' => 'fa-file-zip-o',
'core:f/audio' => 'fa-file-audio-o',
'core:f/avi' => 'fa-file-movie-o',
'core:f/base' => 'fa-file-o',
'core:f/bmp' => 'fa-file-image-o',
'core:f/calc' => 'fa-file-excel-o',
'core:f/chart' => 'fa-bar-chart',
'core:f/database' => 'fa-database',
'core:f/document' => 'fa-file',
'core:f/draw' => 'fa-file-image-o',
'core:f/eps' => 'fa-file-pdf-o',
'core:f/epub' => 'fa-book',
'core:f/flash' => 'fa-flash',
'core:f/folder' => 'fa-folder-o',
'core:f/folder-open' => 'fa-folder-open-o',
'core:f/gif' => 'fa-file-image-o',
'core:f/html' => 'fa-file-code-o',
'core:f/image' => 'fa-file-image-o',
'core:f/impress' => 'fa-file-powerpoint-o',
'core:f/isf' => 'fa-file-image-o',
'core:f/jpeg' => 'fa-file-image-o',
'core:f/markup' => 'fa-file-code-o',
'core:f/math' => 'fa-calculator',
'core:f/moodle' => 'fa-graduation-cap',
'core:f/mp3' => 'fa-file-audio-o',
'core:f/mpeg' => 'fa-file-video-o',
'core:f/oth' => 'fa-file-o',
'core:f/pdf' => 'fa-file-pdf-o',
'core:f/png' => 'fa-file-image-o',
'core:f/powerpoint' => 'fa-file-powerpoint-o',
'core:f/psd' => 'fa-file-image-o',
'core:f/publisher' => 'fa-file-image-o',
'core:f/quicktime' => 'fa-file-video-o',
'core:f/sourcecode' => 'fa-file-code-o',
'core:f/spreadsheet' => 'fa-file-excel-o',
'core:f/text' => 'fa-file-text-o',
'core:f/tiff' => 'fa-file-image-o',
'core:f/unknown' => 'fa-file-o',
'core:f/video' => 'fa-file-video-o',
'core:f/wav' => 'fa-file-audio-o',
'core:f/wmv' => 'fa-file-video-o',
'core:f/writer' => 'fa-file-word-o',
'theme:fp/add_file' => 'fa-file-o',
'theme:fp/alias' => 'fa-link',
'theme:fp/check' => 'fa-check',
Expand Down
4 changes: 2 additions & 2 deletions mod/resource/tests/lib_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,13 @@ public function test_get_coursemodule_info() {
$info = resource_get_coursemodule_info(
$DB->get_record('course_modules', array('id' => $resource2->cmid)));
$this->assertEquals('R2', $info->name);
$this->assertEquals('f/text', $info->icon);
$this->assertEquals('f/text-24', $info->icon);

// For third one, it should use the highest sortorder icon.
$info = resource_get_coursemodule_info(
$DB->get_record('course_modules', array('id' => $resource3->cmid)));
$this->assertEquals('R3', $info->name);
$this->assertEquals('f/document', $info->icon);
$this->assertEquals('f/document-24', $info->icon);
}

public function test_resource_core_calendar_provide_event_action() {
Expand Down
15 changes: 15 additions & 0 deletions pix/f/FileTypesIcons-LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

FileTypesIcons Copyright 2012 Renato Veras

These icons are free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
15 changes: 15 additions & 0 deletions pix/f/Oxygen-LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

FileTypesIcons Copyright 2012 Oxygen Team

These icons are free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Binary file added pix/f/archive-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/archive-24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/archive-256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/archive-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/archive-48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/archive-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/archive-72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/archive-80.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/archive-96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/archive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion pix/f/archive.svg

This file was deleted.

Binary file added pix/f/audio-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/audio-24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/audio-256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/audio-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/audio-48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/audio-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/audio-72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/audio-80.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/audio-96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/audio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion pix/f/audio.svg

This file was deleted.

Binary file added pix/f/avi-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/avi-24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/avi-256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/f/avi-32.png
Binary file added pix/f/avi-48.png
Binary file added pix/f/avi-64.png
Binary file added pix/f/avi-72.png
Binary file added pix/f/avi-80.png
Binary file added pix/f/avi-96.png
Binary file added pix/f/avi.png
1 change: 0 additions & 1 deletion pix/f/avi.svg
Diff not rendered.
Binary file added pix/f/base-128.png
Binary file added pix/f/base-24.png
Binary file added pix/f/base-32.png
Binary file added pix/f/base-48.png
Binary file added pix/f/base-64.png
Binary file added pix/f/base-72.png
Binary file added pix/f/base-80.png
Binary file added pix/f/base-96.png
Binary file added pix/f/base.png
1 change: 0 additions & 1 deletion pix/f/base.svg
Diff not rendered.
Binary file added pix/f/bmp-128.png
Binary file added pix/f/bmp-24.png
Binary file added pix/f/bmp-256.png
Binary file added pix/f/bmp-32.png
Binary file added pix/f/bmp-48.png
Binary file added pix/f/bmp-64.png
Binary file added pix/f/bmp-72.png
Binary file added pix/f/bmp-80.png
Binary file added pix/f/bmp-96.png
Binary file added pix/f/bmp.png
1 change: 0 additions & 1 deletion pix/f/bmp.svg
Diff not rendered.
Binary file added pix/f/calc-128.png
Binary file added pix/f/calc-24.png
Binary file added pix/f/calc-32.png
Binary file added pix/f/calc-48.png
Binary file added pix/f/calc-64.png
Binary file added pix/f/calc-72.png
Binary file added pix/f/calc-80.png
Binary file added pix/f/calc-96.png
Binary file added pix/f/calc.png
1 change: 0 additions & 1 deletion pix/f/calc.svg
Diff not rendered.
Binary file added pix/f/chart-128.png
Binary file added pix/f/chart-24.png
Binary file added pix/f/chart-32.png
Binary file added pix/f/chart-48.png
Binary file added pix/f/chart-64.png
Binary file added pix/f/chart-72.png
Binary file added pix/f/chart-80.png
Binary file added pix/f/chart-96.png
Binary file added pix/f/chart.png
1 change: 0 additions & 1 deletion pix/f/chart.svg
Diff not rendered.
Binary file added pix/f/database-128.png
Binary file added pix/f/database-24.png
Binary file added pix/f/database-256.png
Binary file added pix/f/database-32.png
Binary file added pix/f/database-48.png
Binary file added pix/f/database-64.png
Binary file added pix/f/database-72.png
Binary file added pix/f/database-80.png
Binary file added pix/f/database-96.png
Binary file added pix/f/database.png
1 change: 0 additions & 1 deletion pix/f/database.svg
Diff not rendered.
Binary file added pix/f/dmg-32.png
Binary file added pix/f/dmg.gif
1 change: 0 additions & 1 deletion pix/f/dmg.svg
Diff not rendered.
Binary file added pix/f/document-128.png
Binary file added pix/f/document-24.png
Binary file added pix/f/document-256.png
Binary file added pix/f/document-32.png
Binary file added pix/f/document-48.png
Binary file added pix/f/document-64.png
Binary file added pix/f/document-72.png
Binary file added pix/f/document-80.png
Binary file added pix/f/document-96.png
Binary file added pix/f/document.png
1 change: 0 additions & 1 deletion pix/f/document.svg
Diff not rendered.
Binary file added pix/f/draw-128.png
Binary file added pix/f/draw-24.png
Binary file added pix/f/draw-32.png
Binary file added pix/f/draw-48.png
Binary file added pix/f/draw-64.png
Binary file added pix/f/draw-72.png
Binary file added pix/f/draw-80.png
Binary file added pix/f/draw-96.png
Binary file added pix/f/draw.png
1 change: 0 additions & 1 deletion pix/f/draw.svg
Diff not rendered.
Binary file added pix/f/edit-32.png
Binary file added pix/f/edit.gif
Binary file added pix/f/env.gif
Binary file added pix/f/eps-128.png
Binary file added pix/f/eps-24.png
Binary file added pix/f/eps-256.png
Binary file added pix/f/eps-32.png
Binary file added pix/f/eps-48.png
Binary file added pix/f/eps-64.png
Binary file added pix/f/eps-72.png
Binary file added pix/f/eps-80.png
Binary file added pix/f/eps-96.png
Binary file added pix/f/eps.png
1 change: 0 additions & 1 deletion pix/f/eps.svg
Diff not rendered.
Binary file added pix/f/epub-128.png
Binary file added pix/f/epub-24.png
Binary file added pix/f/epub-256.png
Binary file added pix/f/epub-32.png
Binary file added pix/f/epub-48.png
Binary file added pix/f/epub-64.png
Binary file added pix/f/epub-72.png
Binary file added pix/f/epub-80.png
Binary file added pix/f/epub-96.png
Binary file added pix/f/epub.png
1 change: 0 additions & 1 deletion pix/f/epub.svg
Diff not rendered.
Binary file added pix/f/explore-32.png
Binary file added pix/f/explore.gif
Binary file added pix/f/flash-128.png
Binary file added pix/f/flash-24.png
Binary file added pix/f/flash-256.png
Binary file added pix/f/flash-32.png
Binary file added pix/f/flash-48.png
Binary file added pix/f/flash-64.png
Binary file added pix/f/flash-72.png
Binary file added pix/f/flash-80.png
Binary file added pix/f/flash-96.png
Binary file added pix/f/flash.png
1 change: 0 additions & 1 deletion pix/f/flash.svg
Diff not rendered.
Binary file added pix/f/folder-128.png
Binary file added pix/f/folder-24.png
Binary file added pix/f/folder-32.png
Binary file added pix/f/folder-48.png
Binary file added pix/f/folder-64.png
Binary file added pix/f/folder-open-128.png
Binary file added pix/f/folder-open-24.png
Binary file added pix/f/folder-open-32.png
Binary file added pix/f/folder-open-48.png
Binary file added pix/f/folder-open-64.png
Binary file added pix/f/folder-open.png
1 change: 0 additions & 1 deletion pix/f/folder-open.svg
Diff not rendered.
Binary file added pix/f/folder.png
1 change: 0 additions & 1 deletion pix/f/folder.svg
Diff not rendered.
Binary file added pix/f/gif-128.png
Binary file added pix/f/gif-24.png
Binary file added pix/f/gif-256.png
Binary file added pix/f/gif-32.png
Binary file added pix/f/gif-48.png
Binary file added pix/f/gif-64.png
Binary file added pix/f/gif-72.png
Binary file added pix/f/gif-80.png
Binary file added pix/f/gif-96.png
Binary file added pix/f/gif.png
1 change: 0 additions & 1 deletion pix/f/gif.svg
Diff not rendered.
Binary file added pix/f/help-32.png
Binary file added pix/f/help.gif
Binary file added pix/f/html-128.png
Binary file added pix/f/html-24.png
Binary file added pix/f/html-256.png
Binary file added pix/f/html-32.png
Binary file added pix/f/html-48.png
Binary file added pix/f/html-64.png
Binary file added pix/f/html-72.png
Binary file added pix/f/html-80.png
Binary file added pix/f/html-96.png
Binary file added pix/f/html.gif
1 change: 0 additions & 1 deletion pix/f/html.svg
Diff not rendered.
Binary file added pix/f/image-128.png
Binary file added pix/f/image-24.png
Binary file added pix/f/image-256.png
Binary file added pix/f/image-32.png
Binary file added pix/f/image-48.png
Binary file added pix/f/image-64.png
Binary file added pix/f/image-72.png
Binary file added pix/f/image-80.png
Binary file added pix/f/image-96.png
Binary file added pix/f/image.png
1 change: 0 additions & 1 deletion pix/f/image.svg
Diff not rendered.
Binary file added pix/f/impress-128.png
Binary file added pix/f/impress-24.png
Binary file added pix/f/impress-32.png
Binary file added pix/f/impress-48.png
Binary file added pix/f/impress-64.png
Binary file added pix/f/impress-72.png
Binary file added pix/f/impress-80.png
Binary file added pix/f/impress-96.png
Binary file added pix/f/impress.png
1 change: 0 additions & 1 deletion pix/f/impress.svg
Diff not rendered.
Binary file added pix/f/isf-128.png
Binary file added pix/f/isf-24.png
Binary file added pix/f/isf-256.png
Binary file added pix/f/isf-32.png
Binary file added pix/f/isf-48.png
Binary file added pix/f/isf-64.png
Binary file added pix/f/isf-72.png
Binary file added pix/f/isf-80.png
Binary file added pix/f/isf-96.png
Binary file added pix/f/isf.png
1 change: 0 additions & 1 deletion pix/f/isf.svg
Diff not rendered.
Binary file added pix/f/jpeg-128.png
Binary file added pix/f/jpeg-24.png
Binary file added pix/f/jpeg-256.png
Binary file added pix/f/jpeg-32.png
Binary file added pix/f/jpeg-48.png
Binary file added pix/f/jpeg-64.png
Binary file added pix/f/jpeg-72.png
Binary file added pix/f/jpeg-80.png
Binary file added pix/f/jpeg-96.png
Binary file added pix/f/jpeg.png
1 change: 0 additions & 1 deletion pix/f/jpeg.svg
Diff not rendered.
Binary file added pix/f/markup-128.png
Binary file added pix/f/markup-24.png
Binary file added pix/f/markup-256.png
Binary file added pix/f/markup-32.png
Binary file added pix/f/markup-48.png
Binary file added pix/f/markup-64.png
Binary file added pix/f/markup-72.png
Binary file added pix/f/markup-80.png
Binary file added pix/f/markup-96.png
Binary file added pix/f/markup.png
1 change: 0 additions & 1 deletion pix/f/markup.svg
Diff not rendered.
Binary file added pix/f/math-128.png
Binary file added pix/f/math-24.png
Binary file added pix/f/math-32.png
Binary file added pix/f/math-48.png
Binary file added pix/f/math-64.png
Binary file added pix/f/math-72.png
Binary file added pix/f/math-80.png
Binary file added pix/f/math-96.png
Binary file added pix/f/math.png
Loading

0 comments on commit 1a10c79

Please sign in to comment.