MDL-40759 icons: Refactor icon system to be extensible.
[moodle.git] / lib / classes / output / icon_system_fontawesome.php
CommitLineData
95b06c13
DW
1<?php
2// This file is part of Moodle - http://moodle.org/
3//
4// Moodle is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8//
9// Moodle is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13//
14// You should have received a copy of the GNU General Public License
15// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16
17/**
18 * Contains class \core\output\icon_system
19 *
20 * @package core
21 * @category output
22 * @copyright 2016 Damyon Wiese
23 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
24 */
25
26namespace core\output;
27
28/**
29 * Class allowing different systems for mapping and rendering icons.
30 *
31 * Possible icon styles are:
32 * 1. standard - image tags are generated which point to pix icons stored in a plugin pix folder.
33 * 2. fontawesome - font awesome markup is generated with the name of the icon mapped from the moodle icon name.
34 * 3. inline - inline tags are used for svg and png so no separate page requests are made (at the expense of page size).
35 *
36 * @package core
37 * @category output
38 * @copyright 2016 Damyon Wiese
39 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
40 */
41class icon_system_fontawesome extends icon_system_font {
42
43 public function get_core_icon_map() {
44 return [
45 'core:docs' => 'fa-info-circle',
46 'core:help' => 'fa-question-circle',
47 'core:req' => 'fa-exclamation-circle',
48 'core:a/add_file' => 'fa-file-o',
49 'core:a/create_folder' => 'fa-folder-o',
50 'core:a/download_all' => 'fa-download',
51 'core:a/help' => 'fa-question-circle',
52 'core:a/logout' => 'fa-sign-out',
53 'core:a/refresh' => 'fa-refresh',
54 'core:a/search' => 'fa-search',
55 'core:a/setting' => 'fa-cog',
56 'core:a/view_icon_active' => 'fa-th',
57 'core:a/view_list_active' => 'fa-list',
58 'core:a/view_tree_active' => 'fa-folder',
59 'core:b/bookmark-new' => 'fa-bookmark',
60 'core:b/document-edit' => 'fa-pencil',
61 'core:b/document-new' => 'fa-file-o',
62 'core:b/document-properties' => 'fa-info',
63 'core:b/edit-copy' => 'fa-files-o',
64 'core:b/edit-delete' => 'fa-trash',
65 'core:e/abbr' => 'fa-comment',
66 'core:e/absolute' => 'fa-crosshairs',
67 'core:e/accessibility_checker' => 'fa-universal-access',
68 'core:e/acronym' => 'fa-comment',
69 'core:e/advance_hr' => 'fa-arrows-h',
70 'core:e/align_center' => 'fa-align-center',
71 'core:e/align_left' => 'fa-align-left',
72 'core:e/align_right' => 'fa-align-right',
73 'core:e/anchor' => 'fa-chain',
74 'core:e/backward' => 'fa-undo',
75 'core:e/bold' => 'fa-bold',
76 'core:e/bullet_list' => 'fa-list-ul',
77 'core:e/cell_props' => 'fa-info',
78 'core:e/cite' => 'fa-quote-right',
79 'core:e/cleanup_messy_code' => 'fa-eraser',
80 'core:e/clear_formatting' => 'fa-fire',
81 'core:e/copy' => 'fa-clone',
82 'core:e/cut' => 'fa-scissors',
83 'core:e/decrease_indent' => 'fa-outdent',
84 'core:e/delete_col' => 'fa-minus',
85 'core:e/delete_row' => 'fa-minus',
86 'core:e/delete' => 'fa-minus',
87 'core:e/delete_table' => 'fa-minus',
88 'core:e/document_properties' => 'fa-info',
89 'core:e/emoticons' => 'fa-meh-o',
90 'core:e/find_replace' => 'fa-search-plus',
91 'core:e/forward' => 'fa-arrow-right',
92 'core:e/fullpage' => 'fa-arrows-alt',
93 'core:e/fullscreen' => 'fa-arrows-alt',
94 'core:e/help' => 'fa-question-circle',
95 'core:e/increase_indent' => 'fa-indent',
96 'core:e/insert_col_after' => 'fa-columns',
97 'core:e/insert_col_before' => 'fa-columns',
98 'core:e/insert_date' => 'fa-calendar',
99 'core:e/insert_edit_image' => 'fa-picture-o',
100 'core:e/insert_edit_link' => 'fa-link',
101 'core:e/insert_edit_video' => 'fa-video-camera',
102 'core:e/insert_file' => 'fa-file',
103 'core:e/insert_horizontal_ruler' => 'fa-arrows-h',
104 'core:e/insert_nonbreaking_space' => 'fa-square-o',
105 'core:e/insert_page_break' => 'fa-level-down',
106 'core:e/insert_row_after' => 'fa-plus',
107 'core:e/insert_row_before' => 'fa-plus',
108 'core:e/insert' => 'fa-plus',
109 'core:e/insert_time' => 'fa-clock-o',
110 'core:e/italic' => 'fa-italic',
111 'core:e/justify' => 'fa-align-justify',
112 'core:e/layers_over' => 'fa-level-up',
113 'core:e/layers' => 'fa-window-restore',
114 'core:e/layers_under' => 'fa-level-down',
115 'core:e/left_to_right' => 'fa-chevron-right',
116 'core:e/manage_files' => 'fa-files-o',
117 'core:e/math' => 'fa-calculator',
118 'core:e/merge_cells' => 'fa-compress',
119 'core:e/new_document' => 'fa-file-o',
120 'core:e/numbered_list' => 'fa-list-ol',
121 'core:e/page_break' => 'fa-level-down',
122 'core:e/paste' => 'fa-clipboard',
123 'core:e/paste_text' => 'fa-clipboard',
124 'core:e/paste_word' => 'fa-clipboard',
125 'core:e/prevent_autolink' => 'fa-exclamation',
126 'core:e/preview' => 'fa-search-plus',
127 'core:e/print' => 'fa-print',
128 'core:e/question' => 'fa-question',
129 'core:e/redo' => 'fa-repeat',
130 'core:e/remove_link' => 'fa-remove',
131 'core:e/remove_page_break' => 'fa-remove',
132 'core:e/resize' => 'fa-expand',
133 'core:e/restore_draft' => 'fa-undo',
134 'core:e/restore_last_draft' => 'fa-undo',
135 'core:e/right_to_left' => 'fa-chevron-left',
136 'core:e/row_props' => 'fa-info',
137 'core:e/save' => 'fa-floppy-o',
138 'core:e/screenreader_helper' => 'fa-braille',
139 'core:e/search' => 'fa-search',
140 'core:e/select_all' => 'fa-arrows-h',
141 'core:e/show_invisible_characters' => 'fa-eye',
142 'core:e/source_code' => 'fa-code',
143 'core:e/special_character' => 'fa-heart',
144 'core:e/spellcheck' => 'fa-check',
145 'core:e/split_cells' => 'fa-columns',
146 'core:e/strikethrough' => 'fa-strikethrough',
147 'core:e/styleprops' => 'fa-info',
148 'core:e/subscript' => 'fa-subscript',
149 'core:e/superscript' => 'fa-superscript',
150 'core:e/table_props' => 'fa-table',
151 'core:e/table' => 'fa-table',
152 'core:e/template' => 'fa-sticky-note',
153 'core:e/text_color_picker' => 'fa-paint-brush',
154 'core:e/text_color' => 'fa-paint-brush',
155 'core:e/text_highlight_picker' => 'fa-lightbulb-o',
156 'core:e/text_highlight' => 'fa-lightbulb-o',
157 'core:e/tick' => 'fa-check',
158 'core:e/toggle_blockquote' => 'fa-quote-left',
159 'core:e/underline' => 'fa-underline',
160 'core:e/undo' => 'fa-undo',
161 'core:e/visual_aid' => 'fa-universal-access',
162 'core:e/visual_blocks' => 'fa-audio-description',
163 'core:f/archive' => 'fa-file-zip-o',
164 'core:f/archive-24' => 'fa-file-zip-o',
165 'core:f/archive-32' => 'fa-file-zip-o',
166 'core:f/archive-48' => 'fa-file-zip-o',
167 'core:f/archive-64' => 'fa-file-zip-o',
168 'core:f/archive-72' => 'fa-file-zip-o',
169 'core:f/archive-80' => 'fa-file-zip-o',
170 'core:f/archive-96' => 'fa-file-zip-o',
171 'core:f/archive-128' => 'fa-file-zip-o',
172 'core:f/archive-256' => 'fa-file-zip-o',
173 'core:f/audio' => 'fa-file-audio-o',
174 'core:f/audio-24' => 'fa-file-audio-o',
175 'core:f/audio-32' => 'fa-file-audio-o',
176 'core:f/audio-48' => 'fa-file-audio-o',
177 'core:f/audio-64' => 'fa-file-audio-o',
178 'core:f/audio-72' => 'fa-file-audio-o',
179 'core:f/audio-80' => 'fa-file-audio-o',
180 'core:f/audio-96' => 'fa-file-audio-o',
181 'core:f/audio-128' => 'fa-file-audio-o',
182 'core:f/audio-256' => 'fa-file-audio-o',
183 'core:f/avi' => 'fa-file-movie-o',
184 'core:f/avi-24' => 'fa-file-movie-o',
185 'core:f/avi-32' => 'fa-file-movie-o',
186 'core:f/avi-48' => 'fa-file-movie-o',
187 'core:f/avi-64' => 'fa-file-movie-o',
188 'core:f/avi-72' => 'fa-file-movie-o',
189 'core:f/avi-80' => 'fa-file-movie-o',
190 'core:f/avi-96' => 'fa-file-movie-o',
191 'core:f/avi-128' => 'fa-file-movie-o',
192 'core:f/avi-256' => 'fa-file-movie-o',
193 'core:f/base' => 'fa-file-o',
194 'core:f/base-24' => 'fa-file-o',
195 'core:f/base-32' => 'fa-file-o',
196 'core:f/base-48' => 'fa-file-o',
197 'core:f/base-64' => 'fa-file-o',
198 'core:f/base-72' => 'fa-file-o',
199 'core:f/base-80' => 'fa-file-o',
200 'core:f/base-96' => 'fa-file-o',
201 'core:f/base-128' => 'fa-file-o',
202 'core:f/base-256' => 'fa-file-o',
203 'core:f/bmp' => 'fa-file-image-o',
204 'core:f/bmp-24' => 'fa-file-image-o',
205 'core:f/bmp-32' => 'fa-file-image-o',
206 'core:f/bmp-48' => 'fa-file-image-o',
207 'core:f/bmp-64' => 'fa-file-image-o',
208 'core:f/bmp-72' => 'fa-file-image-o',
209 'core:f/bmp-80' => 'fa-file-image-o',
210 'core:f/bmp-96' => 'fa-file-image-o',
211 'core:f/bmp-128' => 'fa-file-image-o',
212 'core:f/bmp-256' => 'fa-file-image-o',
213 'core:f/calc' => 'fa-file-excel-o',
214 'core:f/calc-24' => 'fa-file-excel-o',
215 'core:f/calc-32' => 'fa-file-excel-o',
216 'core:f/calc-48' => 'fa-file-excel-o',
217 'core:f/calc-64' => 'fa-file-excel-o',
218 'core:f/calc-72' => 'fa-file-excel-o',
219 'core:f/calc-80' => 'fa-file-excel-o',
220 'core:f/calc-96' => 'fa-file-excel-o',
221 'core:f/calc-128' => 'fa-file-excel-o',
222 'core:f/calc-256' => 'fa-file-excel-o',
223 'core:f/chart' => 'fa-bar-chart',
224 'core:f/chart-24' => 'fa-bar-chart',
225 'core:f/chart-32' => 'fa-bar-chart',
226 'core:f/chart-48' => 'fa-bar-chart',
227 'core:f/chart-64' => 'fa-bar-chart',
228 'core:f/chart-72' => 'fa-bar-chart',
229 'core:f/chart-80' => 'fa-bar-chart',
230 'core:f/chart-96' => 'fa-bar-chart',
231 'core:f/chart-128' => 'fa-bar-chart',
232 'core:f/chart-256' => 'fa-bar-chart',
233 'core:f/database' => 'fa-database',
234 'core:f/database-24' => 'fa-database',
235 'core:f/database-32' => 'fa-database',
236 'core:f/database-48' => 'fa-database',
237 'core:f/database-64' => 'fa-database',
238 'core:f/database-72' => 'fa-database',
239 'core:f/database-80' => 'fa-database',
240 'core:f/database-96' => 'fa-database',
241 'core:f/database-128' => 'fa-database',
242 'core:f/database-256' => 'fa-database',
243 'core:f/document' => 'fa-file',
244 'core:f/document-24' => 'fa-file',
245 'core:f/document-32' => 'fa-file',
246 'core:f/document-48' => 'fa-file',
247 'core:f/document-64' => 'fa-file',
248 'core:f/document-72' => 'fa-file',
249 'core:f/document-80' => 'fa-file',
250 'core:f/document-96' => 'fa-file',
251 'core:f/document-128' => 'fa-file',
252 'core:f/document-256' => 'fa-file',
253 'core:f/draw' => 'fa-file-image-o',
254 'core:f/draw-24' => 'fa-file-image-o',
255 'core:f/draw-32' => 'fa-file-image-o',
256 'core:f/draw-48' => 'fa-file-image-o',
257 'core:f/draw-64' => 'fa-file-image-o',
258 'core:f/draw-72' => 'fa-file-image-o',
259 'core:f/draw-80' => 'fa-file-image-o',
260 'core:f/draw-96' => 'fa-file-image-o',
261 'core:f/draw-128' => 'fa-file-image-o',
262 'core:f/draw-256' => 'fa-file-image-o',
263 'core:f/eps' => 'fa-file-pdf-o',
264 'core:f/eps-24' => 'fa-file-pdf-o',
265 'core:f/eps-32' => 'fa-file-pdf-o',
266 'core:f/eps-48' => 'fa-file-pdf-o',
267 'core:f/eps-64' => 'fa-file-pdf-o',
268 'core:f/eps-72' => 'fa-file-pdf-o',
269 'core:f/eps-80' => 'fa-file-pdf-o',
270 'core:f/eps-96' => 'fa-file-pdf-o',
271 'core:f/eps-128' => 'fa-file-pdf-o',
272 'core:f/eps-256' => 'fa-file-pdf-o',
273 'core:f/epub' => 'fa-book',
274 'core:f/epub-24' => 'fa-book',
275 'core:f/epub-32' => 'fa-book',
276 'core:f/epub-48' => 'fa-book',
277 'core:f/epub-64' => 'fa-book',
278 'core:f/epub-72' => 'fa-book',
279 'core:f/epub-80' => 'fa-book',
280 'core:f/epub-96' => 'fa-book',
281 'core:f/epub-128' => 'fa-book',
282 'core:f/epub-256' => 'fa-book',
283 'core:f/flash' => 'fa-flash',
284 'core:f/flash-24' => 'fa-flash',
285 'core:f/flash-32' => 'fa-flash',
286 'core:f/flash-48' => 'fa-flash',
287 'core:f/flash-64' => 'fa-flash',
288 'core:f/flash-72' => 'fa-flash',
289 'core:f/flash-80' => 'fa-flash',
290 'core:f/flash-96' => 'fa-flash',
291 'core:f/flash-128' => 'fa-flash',
292 'core:f/flash-256' => 'fa-flash',
293 'core:f/folder' => 'fa-folder',
294 'core:f/folder-24' => 'fa-folder',
295 'core:f/folder-32' => 'fa-folder',
296 'core:f/folder-48' => 'fa-folder',
297 'core:f/folder-64' => 'fa-folder',
298 'core:f/folder-72' => 'fa-folder',
299 'core:f/folder-80' => 'fa-folder',
300 'core:f/folder-96' => 'fa-folder',
301 'core:f/folder-128' => 'fa-folder',
302 'core:f/folder-256' => 'fa-folder',
303 'core:f/folder-open' => 'fa-folder-open',
304 'core:f/folder-open-24' => 'fa-folder-open',
305 'core:f/folder-open-32' => 'fa-folder-open',
306 'core:f/folder-open-48' => 'fa-folder-open',
307 'core:f/folder-open-64' => 'fa-folder-open',
308 'core:f/folder-open-72' => 'fa-folder-open',
309 'core:f/folder-open-80' => 'fa-folder-open',
310 'core:f/folder-open-96' => 'fa-folder-open',
311 'core:f/folder-open-128' => 'fa-folder-open',
312 'core:f/folder-open-256' => 'fa-folder-open',
313 'core:f/gif' => 'fa-file-image-o',
314 'core:f/gif-24' => 'fa-file-image-o',
315 'core:f/gif-32' => 'fa-file-image-o',
316 'core:f/gif-48' => 'fa-file-image-o',
317 'core:f/gif-64' => 'fa-file-image-o',
318 'core:f/gif-72' => 'fa-file-image-o',
319 'core:f/gif-80' => 'fa-file-image-o',
320 'core:f/gif-96' => 'fa-file-image-o',
321 'core:f/gif-128' => 'fa-file-image-o',
322 'core:f/gif-256' => 'fa-file-image-o',
323 'core:f/html' => 'fa-file-code-o',
324 'core:f/html-24' => 'fa-file-code-o',
325 'core:f/html-32' => 'fa-file-code-o',
326 'core:f/html-48' => 'fa-file-code-o',
327 'core:f/html-64' => 'fa-file-code-o',
328 'core:f/html-72' => 'fa-file-code-o',
329 'core:f/html-80' => 'fa-file-code-o',
330 'core:f/html-96' => 'fa-file-code-o',
331 'core:f/html-128' => 'fa-file-code-o',
332 'core:f/html-256' => 'fa-file-code-o',
333 'core:f/image' => 'fa-file-image-o',
334 'core:f/image-24' => 'fa-file-image-o',
335 'core:f/image-32' => 'fa-file-image-o',
336 'core:f/image-48' => 'fa-file-image-o',
337 'core:f/image-64' => 'fa-file-image-o',
338 'core:f/image-72' => 'fa-file-image-o',
339 'core:f/image-80' => 'fa-file-image-o',
340 'core:f/image-96' => 'fa-file-image-o',
341 'core:f/image-128' => 'fa-file-image-o',
342 'core:f/image-256' => 'fa-file-image-o',
343 'core:f/impress' => 'fa-file-powerpoint-o',
344 'core:f/impress-24' => 'fa-file-powerpoint-o',
345 'core:f/impress-32' => 'fa-file-powerpoint-o',
346 'core:f/impress-48' => 'fa-file-powerpoint-o',
347 'core:f/impress-64' => 'fa-file-powerpoint-o',
348 'core:f/impress-72' => 'fa-file-powerpoint-o',
349 'core:f/impress-80' => 'fa-file-powerpoint-o',
350 'core:f/impress-96' => 'fa-file-powerpoint-o',
351 'core:f/impress-128' => 'fa-file-powerpoint-o',
352 'core:f/impress-256' => 'fa-file-powerpoint-o',
353 'core:f/isf' => 'fa-file-image-o',
354 'core:f/isf-24' => 'fa-file-image-o',
355 'core:f/isf-32' => 'fa-file-image-o',
356 'core:f/isf-48' => 'fa-file-image-o',
357 'core:f/isf-64' => 'fa-file-image-o',
358 'core:f/isf-72' => 'fa-file-image-o',
359 'core:f/isf-80' => 'fa-file-image-o',
360 'core:f/isf-96' => 'fa-file-image-o',
361 'core:f/isf-128' => 'fa-file-image-o',
362 'core:f/isf-256' => 'fa-file-image-o',
363 'core:f/jpeg' => 'fa-file-image-o',
364 'core:f/jpeg-24' => 'fa-file-image-o',
365 'core:f/jpeg-32' => 'fa-file-image-o',
366 'core:f/jpeg-48' => 'fa-file-image-o',
367 'core:f/jpeg-64' => 'fa-file-image-o',
368 'core:f/jpeg-72' => 'fa-file-image-o',
369 'core:f/jpeg-80' => 'fa-file-image-o',
370 'core:f/jpeg-96' => 'fa-file-image-o',
371 'core:f/jpeg-128' => 'fa-file-image-o',
372 'core:f/jpeg-256' => 'fa-file-image-o',
373 'core:f/markup' => 'fa-file-code-o',
374 'core:f/markup-24' => 'fa-file-code-o',
375 'core:f/markup-32' => 'fa-file-code-o',
376 'core:f/markup-48' => 'fa-file-code-o',
377 'core:f/markup-64' => 'fa-file-code-o',
378 'core:f/markup-72' => 'fa-file-code-o',
379 'core:f/markup-80' => 'fa-file-code-o',
380 'core:f/markup-96' => 'fa-file-code-o',
381 'core:f/markup-128' => 'fa-file-code-o',
382 'core:f/markup-256' => 'fa-file-code-o',
383 'core:f/math' => 'fa-calculator',
384 'core:f/math-24' => 'fa-calculator',
385 'core:f/math-32' => 'fa-calculator',
386 'core:f/math-48' => 'fa-calculator',
387 'core:f/math-64' => 'fa-calculator',
388 'core:f/math-72' => 'fa-calculator',
389 'core:f/math-80' => 'fa-calculator',
390 'core:f/math-96' => 'fa-calculator',
391 'core:f/math-128' => 'fa-calculator',
392 'core:f/math-256' => 'fa-calculator',
393 'core:f/moodle' => 'fa-graduation-cap',
394 'core:f/moodle-24' => 'fa-graduation-cap',
395 'core:f/moodle-32' => 'fa-graduation-cap',
396 'core:f/moodle-48' => 'fa-graduation-cap',
397 'core:f/moodle-64' => 'fa-graduation-cap',
398 'core:f/moodle-72' => 'fa-graduation-cap',
399 'core:f/moodle-80' => 'fa-graduation-cap',
400 'core:f/moodle-96' => 'fa-graduation-cap',
401 'core:f/moodle-128' => 'fa-graduation-cap',
402 'core:f/moodle-256' => 'fa-graduation-cap',
403 'core:f/mp3' => 'fa-file-audio-o',
404 'core:f/mp3-24' => 'fa-file-audio-o',
405 'core:f/mp3-32' => 'fa-file-audio-o',
406 'core:f/mp3-48' => 'fa-file-audio-o',
407 'core:f/mp3-64' => 'fa-file-audio-o',
408 'core:f/mp3-72' => 'fa-file-audio-o',
409 'core:f/mp3-80' => 'fa-file-audio-o',
410 'core:f/mp3-96' => 'fa-file-audio-o',
411 'core:f/mp3-128' => 'fa-file-audio-o',
412 'core:f/mp3-256' => 'fa-file-audio-o',
413 'core:f/mpeg' => 'fa-file-video-o',
414 'core:f/mpeg-24' => 'fa-file-video-o',
415 'core:f/mpeg-32' => 'fa-file-video-o',
416 'core:f/mpeg-48' => 'fa-file-video-o',
417 'core:f/mpeg-64' => 'fa-file-video-o',
418 'core:f/mpeg-72' => 'fa-file-video-o',
419 'core:f/mpeg-80' => 'fa-file-video-o',
420 'core:f/mpeg-96' => 'fa-file-video-o',
421 'core:f/mpeg-128' => 'fa-file-video-o',
422 'core:f/mpeg-256' => 'fa-file-video-o',
423 'core:f/oth' => 'fa-file-o',
424 'core:f/oth-24' => 'fa-file-o',
425 'core:f/oth-32' => 'fa-file-o',
426 'core:f/oth-48' => 'fa-file-o',
427 'core:f/oth-64' => 'fa-file-o',
428 'core:f/oth-72' => 'fa-file-o',
429 'core:f/oth-80' => 'fa-file-o',
430 'core:f/oth-96' => 'fa-file-o',
431 'core:f/oth-128' => 'fa-file-o',
432 'core:f/oth-256' => 'fa-file-o',
433 'core:f/pdf' => 'fa-file-pdf-o',
434 'core:f/pdf-24' => 'fa-file-pdf-o',
435 'core:f/pdf-32' => 'fa-file-pdf-o',
436 'core:f/pdf-48' => 'fa-file-pdf-o',
437 'core:f/pdf-64' => 'fa-file-pdf-o',
438 'core:f/pdf-72' => 'fa-file-pdf-o',
439 'core:f/pdf-80' => 'fa-file-pdf-o',
440 'core:f/pdf-96' => 'fa-file-pdf-o',
441 'core:f/pdf-128' => 'fa-file-pdf-o',
442 'core:f/pdf-256' => 'fa-file-pdf-o',
443 'core:f/png' => 'fa-file-image-o',
444 'core:f/png-24' => 'fa-file-image-o',
445 'core:f/png-32' => 'fa-file-image-o',
446 'core:f/png-48' => 'fa-file-image-o',
447 'core:f/png-64' => 'fa-file-image-o',
448 'core:f/png-72' => 'fa-file-image-o',
449 'core:f/png-80' => 'fa-file-image-o',
450 'core:f/png-96' => 'fa-file-image-o',
451 'core:f/png-128' => 'fa-file-image-o',
452 'core:f/png-256' => 'fa-file-image-o',
453 'core:f/powerpoint' => 'fa-file-powerpoint-o',
454 'core:f/powerpoint-24' => 'fa-file-powerpoint-o',
455 'core:f/powerpoint-32' => 'fa-file-powerpoint-o',
456 'core:f/powerpoint-48' => 'fa-file-powerpoint-o',
457 'core:f/powerpoint-64' => 'fa-file-powerpoint-o',
458 'core:f/powerpoint-72' => 'fa-file-powerpoint-o',
459 'core:f/powerpoint-80' => 'fa-file-powerpoint-o',
460 'core:f/powerpoint-96' => 'fa-file-powerpoint-o',
461 'core:f/powerpoint-128' => 'fa-file-powerpoint-o',
462 'core:f/powerpoint-256' => 'fa-file-powerpoint-o',
463 'core:f/psd' => 'fa-file-image-o',
464 'core:f/psd-24' => 'fa-file-image-o',
465 'core:f/psd-32' => 'fa-file-image-o',
466 'core:f/psd-48' => 'fa-file-image-o',
467 'core:f/psd-64' => 'fa-file-image-o',
468 'core:f/psd-72' => 'fa-file-image-o',
469 'core:f/psd-80' => 'fa-file-image-o',
470 'core:f/psd-96' => 'fa-file-image-o',
471 'core:f/psd-128' => 'fa-file-image-o',
472 'core:f/psd-256' => 'fa-file-image-o',
473 'core:f/publisher' => 'fa-file-image-o',
474 'core:f/publisher-24' => 'fa-file-image-o',
475 'core:f/publisher-32' => 'fa-file-image-o',
476 'core:f/publisher-48' => 'fa-file-image-o',
477 'core:f/publisher-64' => 'fa-file-image-o',
478 'core:f/publisher-72' => 'fa-file-image-o',
479 'core:f/publisher-80' => 'fa-file-image-o',
480 'core:f/publisher-96' => 'fa-file-image-o',
481 'core:f/publisher-128' => 'fa-file-image-o',
482 'core:f/publisher-256' => 'fa-file-image-o',
483 'core:f/quicktime' => 'fa-file-video-o',
484 'core:f/quicktime-24' => 'fa-file-video-o',
485 'core:f/quicktime-32' => 'fa-file-video-o',
486 'core:f/quicktime-48' => 'fa-file-video-o',
487 'core:f/quicktime-64' => 'fa-file-video-o',
488 'core:f/quicktime-72' => 'fa-file-video-o',
489 'core:f/quicktime-80' => 'fa-file-video-o',
490 'core:f/quicktime-96' => 'fa-file-video-o',
491 'core:f/quicktime-128' => 'fa-file-video-o',
492 'core:f/quicktime-256' => 'fa-file-video-o',
493 'core:f/sourcecode' => 'fa-file-code-o',
494 'core:f/sourcecode-24' => 'fa-file-code-o',
495 'core:f/sourcecode-32' => 'fa-file-code-o',
496 'core:f/sourcecode-48' => 'fa-file-code-o',
497 'core:f/sourcecode-64' => 'fa-file-code-o',
498 'core:f/sourcecode-72' => 'fa-file-code-o',
499 'core:f/sourcecode-80' => 'fa-file-code-o',
500 'core:f/sourcecode-96' => 'fa-file-code-o',
501 'core:f/sourcecode-128' => 'fa-file-code-o',
502 'core:f/sourcecode-256' => 'fa-file-code-o',
503 'core:f/spreadsheet' => 'fa-file-excel-o',
504 'core:f/spreadsheet-24' => 'fa-file-excel-o',
505 'core:f/spreadsheet-32' => 'fa-file-excel-o',
506 'core:f/spreadsheet-48' => 'fa-file-excel-o',
507 'core:f/spreadsheet-64' => 'fa-file-excel-o',
508 'core:f/spreadsheet-72' => 'fa-file-excel-o',
509 'core:f/spreadsheet-80' => 'fa-file-excel-o',
510 'core:f/spreadsheet-96' => 'fa-file-excel-o',
511 'core:f/spreadsheet-128' => 'fa-file-excel-o',
512 'core:f/spreadsheet-256' => 'fa-file-excel-o',
513 'core:f/text' => 'fa-file-text-o',
514 'core:f/text-24' => 'fa-file-text-o',
515 'core:f/text-32' => 'fa-file-text-o',
516 'core:f/text-48' => 'fa-file-text-o',
517 'core:f/text-64' => 'fa-file-text-o',
518 'core:f/text-72' => 'fa-file-text-o',
519 'core:f/text-80' => 'fa-file-text-o',
520 'core:f/text-96' => 'fa-file-text-o',
521 'core:f/text-128' => 'fa-file-text-o',
522 'core:f/text-256' => 'fa-file-text-o',
523 'core:f/tiff' => 'fa-file-image-o',
524 'core:f/tiff-24' => 'fa-file-image-o',
525 'core:f/tiff-32' => 'fa-file-image-o',
526 'core:f/tiff-48' => 'fa-file-image-o',
527 'core:f/tiff-64' => 'fa-file-image-o',
528 'core:f/tiff-72' => 'fa-file-image-o',
529 'core:f/tiff-80' => 'fa-file-image-o',
530 'core:f/tiff-96' => 'fa-file-image-o',
531 'core:f/tiff-128' => 'fa-file-image-o',
532 'core:f/tiff-256' => 'fa-file-image-o',
533 'core:f/unknown' => 'fa-file-o',
534 'core:f/unknown-24' => 'fa-file-o',
535 'core:f/unknown-32' => 'fa-file-o',
536 'core:f/unknown-48' => 'fa-file-o',
537 'core:f/unknown-64' => 'fa-file-o',
538 'core:f/unknown-72' => 'fa-file-o',
539 'core:f/unknown-80' => 'fa-file-o',
540 'core:f/unknown-96' => 'fa-file-o',
541 'core:f/unknown-128' => 'fa-file-o',
542 'core:f/unknown-256' => 'fa-file-o',
543 'core:f/video' => 'fa-file-video-o',
544 'core:f/video-24' => 'fa-file-video-o',
545 'core:f/video-32' => 'fa-file-video-o',
546 'core:f/video-48' => 'fa-file-video-o',
547 'core:f/video-64' => 'fa-file-video-o',
548 'core:f/video-72' => 'fa-file-video-o',
549 'core:f/video-80' => 'fa-file-video-o',
550 'core:f/video-96' => 'fa-file-video-o',
551 'core:f/video-128' => 'fa-file-video-o',
552 'core:f/video-256' => 'fa-file-video-o',
553 'core:f/wav' => 'fa-file-audio-o',
554 'core:f/wav-24' => 'fa-file-audio-o',
555 'core:f/wav-32' => 'fa-file-audio-o',
556 'core:f/wav-48' => 'fa-file-audio-o',
557 'core:f/wav-64' => 'fa-file-audio-o',
558 'core:f/wav-72' => 'fa-file-audio-o',
559 'core:f/wav-80' => 'fa-file-audio-o',
560 'core:f/wav-96' => 'fa-file-audio-o',
561 'core:f/wav-128' => 'fa-file-audio-o',
562 'core:f/wav-256' => 'fa-file-audio-o',
563 'core:f/wmv' => 'fa-file-video-o',
564 'core:f/wmv-24' => 'fa-file-video-o',
565 'core:f/wmv-32' => 'fa-file-video-o',
566 'core:f/wmv-48' => 'fa-file-video-o',
567 'core:f/wmv-64' => 'fa-file-video-o',
568 'core:f/wmv-72' => 'fa-file-video-o',
569 'core:f/wmv-80' => 'fa-file-video-o',
570 'core:f/wmv-96' => 'fa-file-video-o',
571 'core:f/wmv-128' => 'fa-file-video-o',
572 'core:f/wmv-256' => 'fa-file-video-o',
573 'core:f/writer' => 'fa-file-word-o',
574 'core:f/writer-24' => 'fa-file-word-o',
575 'core:f/writer-32' => 'fa-file-word-o',
576 'core:f/writer-48' => 'fa-file-word-o',
577 'core:f/writer-64' => 'fa-file-word-o',
578 'core:f/writer-72' => 'fa-file-word-o',
579 'core:f/writer-80' => 'fa-file-word-o',
580 'core:f/writer-96' => 'fa-file-word-o',
581 'core:f/writer-128' => 'fa-file-word-o',
582 'core:f/writer-256' => 'fa-file-word-o',
583 'theme:fp/add_file' => 'fa-file-o',
584 'theme:fp/alias' => 'fa-link',
585 'theme:fp/check' => 'fa-check',
586 'theme:fp/create_folder' => 'fa-folder',
587 'theme:fp/cross' => 'fa-remove',
588 'theme:fp/download_all' => 'fa-download',
589 'theme:fp/help' => 'fa-question-circle',
590 'theme:fp/link' => 'fa-link',
591 'theme:fp/link_sm' => 'fa-link',
592 'theme:fp/logout' => 'fa-sign-out',
593 'theme:fp/path_folder' => 'fa-folder',
594 'theme:fp/path_folder_rtl' => 'fa-folder',
595 'theme:fp/refresh' => 'fa-refresh',
596 'theme:fp/search' => 'fa-search',
597 'theme:fp/setting' => 'fa-cog',
598 'theme:fp/view_icon_active' => 'fa-th',
599 'theme:fp/view_list_active' => 'fa-list',
600 'theme:fp/view_tree_active' => 'fa-folder',
601 'core:i/assignroles' => 'fa-user-plus',
602 'core:i/backup' => 'fa-file-zip-o',
603 'core:i/badge' => 'fa-shield',
604 'core:i/calc' => 'fa-calculator',
605 'core:i/calendar' => 'fa-calendar',
606 'core:i/caution' => 'fa-exclamation',
607 'core:i/checked' => 'fa-check',
608 'core:i/checkpermissions' => 'fa-unlock-alt',
609 'core:i/cohort' => 'fa-users',
610 'core:i/competencies' => 'fa-check-square-o',
611 'core:i/completion-auto-enabled' => 'fa-check-square',
612 'core:i/completion-auto-fail' => 'fa-square-o',
613 'core:i/completion-auto-n' => 'fa-square-o',
614 'core:i/completion-auto-pass' => 'fa-check-square',
615 'core:i/completion-auto-y' => 'fa-check-square',
616 'core:i/completion-manual-enabled' => 'fa-square-o',
617 'core:i/completion-manual-y' => 'fa-check-square',
618 'core:i/completion-manual-n' => 'fa-minus-square',
619 'core:i/completion-self' => 'fa-user-o',
620 'core:i/lock' => 'fa-lock',
621 'core:i/courseevent' => 'fa-calendar',
622 'core:i/course' => 'fa-globe',
623 'core:i/db' => 'fa-database',
624 'core:i/delete' => 'fa-trash',
625 'core:i/down' => 'fa-arrow-down',
626 'core:i/dragdrop' => 'fa-arrows',
627 'core:i/duration' => 'fa-clock',
628 'core:i/edit' => 'fa-pencil',
629 'core:i/email' => 'fa-envelope',
630 'core:i/enrolmentsuspended' => 'fa-user-circle',
631 'core:i/enrolusers' => 'fa-user-plus',
632 'core:i/expired' => 'fa-exclamation',
633 'core:i/export' => 'fa-level-down',
634 'core:i/files' => 'fa-file',
635 'core:i/filter' => 'fa-filter',
636 'core:i/flagged' => 'fa-flag',
637 'core:i/folder' => 'fa-folder',
638 'core:i/grade_correct' => 'fa-check',
639 'core:i/grade_incorrect' => 'fa-remove',
640 'core:i/grade_partiallycorrect' => 'fa-check-square',
641 'core:i/grades' => 'fa-graduation-cap',
642 'core:i/groupevent' => 'fa-group',
643 'core:i/groupn' => 'fa-user',
644 'core:i/group' => 'fa-users',
645 'core:i/groups' => 'fa-user-circle-o',
646 'core:i/groupv' => 'fa-users',
647 'core:i/hide' => 'fa-eye',
648 'core:i/heirarchylock' => 'fa-lock',
649 'core:i/import' => 'fa-level-up',
650 'core:i/info' => 'fa-info',
651 'core:i/invalid' => 'fa-exclamation',
652 'core:i/item' => 'fa-circle',
653 'core:i/loading' => 'fa-circle-o-notch fa-spin',
654 'core:i/loading_small' => 'fa-circle-o-notch fa-spin',
655 'core:i/lock' => 'fa-lock',
656 'core:i/log' => 'fa-list-alt',
657 'core:i/mahara_host' => 'fa-id-badge',
658 'core:i/manual_item' => 'fa-square-o',
659 'core:i/marked' => 'fa-check-square',
660 'core:i/marker' => 'fa-user-o',
661 'core:i/mean' => 'fa-calculator',
662 'core:i/menu' => 'fa-ellipsis-v',
663 'core:i/mnethost' => 'fa-external-link',
664 'core:i/moodle_host' => 'fa-graduation-cap',
665 'core:i/move_2d' => 'fa-arrows',
666 'core:i/navigationitem' => 'fa-angle-right',
667 'core:i/ns_red_mark' => 'fa-remove',
668 'core:i/new' => 'fa-plus',
669 'core:i/news' => 'fa-newspaper',
670 'core:i/nosubcat' => 'fa-plus-square-o',
671 'core:i/notifications' => 'fa-bell',
672 'core:i/open' => 'fa-folder-open',
673 'core:i/outcomes' => 'fa-tasks',
674 'core:i/payment' => 'fa-money',
675 'core:i/permissionlock' => 'fa-lock',
676 'core:i/permissions' => 'fa-pencil-square-o',
677 'core:i/persona_sign_in_black' => 'fa-male',
678 'core:i/portfolio' => 'fa-id-badge',
679 'core:i/preview' => 'fa-search-plus',
680 'core:i/progressbar' => 'fa-spinner fa-spin',
681 'core:i/publish' => 'fa-share',
682 'core:i/questions' => 'fa-question',
683 'core:i/reload' => 'fa-refresh',
684 'core:i/report' => 'fa-area-chart',
685 'core:i/repository' => 'fa-hdd-o',
686 'core:i/restore' => 'fa-level-up',
687 'core:i/return' => 'fa-arrow-left',
688 'core:i/risk_config' => 'fa-cog',
689 'core:i/risk_managetrust' => 'fa-exclamation-triangle',
690 'core:i/risk_personal' => 'fa-user',
691 'core:i/risk_spam' => 'fa-trash',
692 'core:i/risk_xss' => 'fa-exchange',
693 'core:i/role' => 'fa-user-md',
694 'core:i/rss' => 'fa-rss',
695 'core:i/rsssitelogo' => 'fa-rss',
696 'core:i/scales' => 'fa-balance-scale',
697 'core:i/scheduled' => 'fa-calendar-check-o',
698 'core:i/search' => 'fa-search',
699 'core:i/settings' => 'fa-cogs',
700 'core:i/show' => 'fa-eye-slash',
701 'core:i/siteevent' => 'fa-share-alt',
702 'core:i/starrating' => 'fa-star',
703 'core:i/stats' => 'fa-line-chart',
704 'core:i/switch' => 'fa-exchange',
705 'core:i/switchrole' => 'fa-user-secret',
706 'core:i/twoway' => 'fa-arrows-h',
707 'core:i/unchecked' => 'fa-square-o',
708 'core:i/unflagged' => 'fa-flag-o',
709 'core:i/unlock' => 'fa-unlock',
710 'core:i/up' => 'fa-arrow-up',
711 'core:i/userevent' => 'fa-user',
712 'core:i/user' => 'fa-user',
713 'core:i/users' => 'fa-users',
714 'core:i/valid' => 'fa-check-square-o',
715 'core:i/warning' => 'fa-exclamation',
716 'core:i/withsubcat' => 'fa-plus-square',
717 'core:m/USD' => 'fa-usd',
718 'core:t/addcontact' => 'fa-address-card',
719 'core:t/add' => 'fa-plus',
720 'core:t/approve' => 'fa-thumbs-up',
721 'core:t/assignroles' => 'fa-user-circle',
722 'core:t/award' => 'fa-trophy',
723 'core:t/backpack' => 'fa-shopping-bag',
724 'core:t/backup' => 'fa-arrow-circle-down',
725 'core:t/block' => 'fa-commenting-o',
726 'core:t/block_to_dock_rtl' => 'fa-chevron-right',
727 'core:t/block_to_dock' => 'fa-chevron-left',
728 'core:t/calc_off' => 'fa-times',
729 'core:t/calc' => 'fa-calculator',
730 'core:t/check' => 'fa-check',
731 'core:t/cohort' => 'fa-users',
732 'core:t/collapsed_empty_rtl' => 'fa-plus-square-o',
733 'core:t/collapsed_empty' => 'fa-plus-square-o',
734 'core:t/collapsed_rtl' => 'fa-plus-square',
735 'core:t/collapsed' => 'fa-plus-square',
736 'core:t/contextmenu' => 'fa-cog',
737 'core:t/copy' => 'fa-copy',
738 'core:t/delete' => 'fa-trash',
739 'core:t/dockclose' => 'fa-window-close',
740 'core:t/dock_to_block_rtl' => 'fa-chevron-right',
741 'core:t/dock_to_block' => 'fa-chevron-left',
742 'core:t/download' => 'fa-download',
743 'core:t/down' => 'fa-arrow-down',
744 'core:t/dropdown' => 'fa-cog',
745 'core:t/editinline' => 'fa-pencil',
746 'core:t/edit_menu' => 'fa-cog',
747 'core:t/editstring' => 'fa-pencil',
748 'core:t/edit' => 'fa-cog',
749 'core:t/emailno' => 'fa-envelope-o',
750 'core:t/email' => 'fa-envelope',
751 'core:t/enrolusers' => 'fa-user-plus',
752 'core:t/expanded' => 'fa-caret-down',
753 'core:t/go' => 'fa-arrow-right',
754 'core:t/grades' => 'fa-graduation-cap',
755 'core:t/groupn' => 'fa-users',
756 'core:t/groups' => 'fa-users',
757 'core:t/groupv' => 'fa-users',
758 'core:t/hide' => 'fa-eye',
759 'core:t/left' => 'fa-arrow-left',
760 'core:t/less' => 'fa-caret-up',
761 'core:t/locked' => 'fa-lock',
762 'core:t/lock' => 'fa-lock',
763 'core:t/locktime' => 'fa-lock',
764 'core:t/markasread' => 'fa-check',
765 'core:t/messages' => 'fa-comments',
766 'core:t/message' => 'fa-comment',
767 'core:t/more' => 'fa-caret-down',
768 'core:t/move' => 'fa-arrows',
769 'core:t/passwordunmask-edit' => 'fa-pencil',
770 'core:t/passwordunmask-reveal' => 'fa-eye',
771 'core:t/portfolioadd' => 'fa-plus',
772 'core:t/preferences' => 'fa-wrench',
773 'core:t/preview' => 'fa-search-plus',
774 'core:t/print' => 'fa-print',
775 'core:t/removecontact' => 'fa-user-times',
776 'core:t/reset' => 'fa-repeat',
777 'core:t/restore' => 'fa-arrow-circle-up',
778 'core:t/right' => 'fa-arrow-right',
779 'core:t/show' => 'fa-eye-slash',
780 'core:t/sort_asc' => 'fa-sort-asc',
781 'core:t/sort_desc' => 'fa-sort-desc',
782 'core:t/sort' => 'fa-sort',
783 'core:t/stop' => 'fa-stop',
784 'core:t/switch_minus' => 'fa-minus',
785 'core:t/switch_plus' => 'fa-plus',
786 'core:t/switch_whole' => 'fa-square-o',
787 'core:t/unblock' => 'fa-commenting',
788 'core:t/unlocked' => 'fa-unlock-alt',
789 'core:t/unlock' => 'fa-unlock',
790 'core:t/up' => 'fa-arrow-up',
791 'core:t/user' => 'fa-user',
792 'core:t/viewdetails' => 'fa-list',
793 ];
794 }
795}
796