aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-07-30 06:30:46 -0400
committerAndrew Manning <tamanning@zoho.com>2016-07-30 06:30:46 -0400
commitf17f51a9c1f62dc0229e2428cacea4e84313560e (patch)
tree7486b05738e943bf39619d06bec9d83d7795e746 /include/text.php
parent5a63ddd6457ae4dba61ff30db5b6601b22ddd1b6 (diff)
parentd858bd9265a4a0fa3589cdb2126031998310c7c3 (diff)
downloadvolse-hubzilla-f17f51a9c1f62dc0229e2428cacea4e84313560e.tar.gz
volse-hubzilla-f17f51a9c1f62dc0229e2428cacea4e84313560e.tar.bz2
volse-hubzilla-f17f51a9c1f62dc0229e2428cacea4e84313560e.zip
Merge remote-tracking branch 'upstream/dev' into website-import
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php33
1 files changed, 17 insertions, 16 deletions
diff --git a/include/text.php b/include/text.php
index a9bde8374..f81155edb 100644
--- a/include/text.php
+++ b/include/text.php
@@ -2639,32 +2639,33 @@ function getIconFromType($type) {
'application/octet-stream' => 'fa-file-o',
//Text
'text/plain' => 'fa-file-text-o',
- 'application/msword' => 'fa-file-text-o',
- 'application/pdf' => 'fa-file-text-o',
- 'application/vnd.oasis.opendocument.text' => 'fa-file-text-o',
+ 'application/msword' => 'fa-file-word-o',
+ 'application/pdf' => 'fa-file-pdf-o',
+ 'application/vnd.oasis.opendocument.text' => 'fa-file-word-o',
'application/epub+zip' => 'fa-book',
//Spreadsheet
- 'application/vnd.oasis.opendocument.spreadsheet' => 'fa-table',
- 'application/vnd.ms-excel' => 'fa-table',
+ 'application/vnd.oasis.opendocument.spreadsheet' => 'fa-file-excel-o',
+ 'application/vnd.ms-excel' => 'fa-file-excel-o',
//Image
'image/jpeg' => 'fa-picture-o',
'image/png' => 'fa-picture-o',
'image/gif' => 'fa-picture-o',
'image/svg+xml' => 'fa-picture-o',
//Archive
- 'application/zip' => 'fa-archive',
- 'application/x-rar-compressed' => 'fa-archive',
+ 'application/zip' => 'fa-file-archive-o',
+ 'application/x-rar-compressed' => 'fa-file-archive-o',
//Audio
- 'audio/mpeg' => 'fa-music',
- 'audio/wav' => 'fa-music',
- 'application/ogg' => 'fa-music',
- 'audio/ogg' => 'fa-music',
- 'audio/webm' => 'fa-music',
- 'audio/mp4' => 'fa-music',
+ 'audio/mpeg' => 'fa-file-audio-o',
+ 'audio/wav' => 'fa-file-audio-o',
+ 'application/ogg' => 'fa-file-audio-o',
+ 'audio/ogg' => 'fa-file-audio-o',
+ 'audio/webm' => 'fa-file-audio-o',
+ 'audio/mp4' => 'fa-file-audio-o',
//Video
- 'video/quicktime' => 'fa-film',
- 'video/webm' => 'fa-film',
- 'video/mp4' => 'fa-film'
+ 'video/quicktime' => 'fa-file-video-o',
+ 'video/webm' => 'fa-file-video-o',
+ 'video/mp4' => 'fa-file-video-o',
+ 'video/x-matroska' => 'fa-file-video-o'
);
$iconFromType = 'fa-file-o';