summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/img/filetypes/application-pdf.png (renamed from core/img/filetypes/pdf.png)bin591 -> 591 bytes
-rw-r--r--core/img/filetypes/application-rss+xml.png (renamed from core/img/filetypes/rss.png)bin691 -> 691 bytes
-rw-r--r--core/img/filetypes/image-svg+xml.png (renamed from core/img/filetypes/svg.png)bin481 -> 481 bytes
-rw-r--r--core/img/filetypes/msword.pngbin342 -> 0 bytes
-rw-r--r--core/img/filetypes/text-calendar.png (renamed from core/img/filetypes/ical.png)bin675 -> 675 bytes
-rw-r--r--core/img/filetypes/text-css.png (renamed from core/img/filetypes/css.png)bin524 -> 524 bytes
-rw-r--r--core/img/filetypes/text-html.png (renamed from core/img/filetypes/html.png)bin578 -> 578 bytes
-rw-r--r--core/img/filetypes/text-x-c++.png (renamed from core/img/filetypes/cplusplus.png)bin621 -> 621 bytes
-rw-r--r--core/img/filetypes/text-x-c.png (renamed from core/img/filetypes/c.png)bin587 -> 587 bytes
-rw-r--r--core/img/filetypes/text-x-csharp.png (renamed from core/img/filetypes/csharp.png)bin700 -> 700 bytes
-rw-r--r--core/img/filetypes/text-x-h.png (renamed from core/img/filetypes/h.png)bin603 -> 603 bytes
-rw-r--r--files/js/filelist.js2
-rw-r--r--lib/helper.php12
13 files changed, 7 insertions, 7 deletions
diff --git a/core/img/filetypes/pdf.png b/core/img/filetypes/application-pdf.png
index 8f8095e46fa..8f8095e46fa 100644
--- a/core/img/filetypes/pdf.png
+++ b/core/img/filetypes/application-pdf.png
Binary files differ
diff --git a/core/img/filetypes/rss.png b/core/img/filetypes/application-rss+xml.png
index 315c4f4fa62..315c4f4fa62 100644
--- a/core/img/filetypes/rss.png
+++ b/core/img/filetypes/application-rss+xml.png
Binary files differ
diff --git a/core/img/filetypes/svg.png b/core/img/filetypes/image-svg+xml.png
index a1291c2dfad..a1291c2dfad 100644
--- a/core/img/filetypes/svg.png
+++ b/core/img/filetypes/image-svg+xml.png
Binary files differ
diff --git a/core/img/filetypes/msword.png b/core/img/filetypes/msword.png
deleted file mode 100644
index 813f712f726..00000000000
--- a/core/img/filetypes/msword.png
+++ /dev/null
Binary files differ
diff --git a/core/img/filetypes/ical.png b/core/img/filetypes/text-calendar.png
index 658913852d6..658913852d6 100644
--- a/core/img/filetypes/ical.png
+++ b/core/img/filetypes/text-calendar.png
Binary files differ
diff --git a/core/img/filetypes/css.png b/core/img/filetypes/text-css.png
index 23f3101811f..23f3101811f 100644
--- a/core/img/filetypes/css.png
+++ b/core/img/filetypes/text-css.png
Binary files differ
diff --git a/core/img/filetypes/html.png b/core/img/filetypes/text-html.png
index 55d1072eafd..55d1072eafd 100644
--- a/core/img/filetypes/html.png
+++ b/core/img/filetypes/text-html.png
Binary files differ
diff --git a/core/img/filetypes/cplusplus.png b/core/img/filetypes/text-x-c++.png
index a87cf847cb7..a87cf847cb7 100644
--- a/core/img/filetypes/cplusplus.png
+++ b/core/img/filetypes/text-x-c++.png
Binary files differ
diff --git a/core/img/filetypes/c.png b/core/img/filetypes/text-x-c.png
index 34a05cccf06..34a05cccf06 100644
--- a/core/img/filetypes/c.png
+++ b/core/img/filetypes/text-x-c.png
Binary files differ
diff --git a/core/img/filetypes/csharp.png b/core/img/filetypes/text-x-csharp.png
index ffb8fc932f3..ffb8fc932f3 100644
--- a/core/img/filetypes/csharp.png
+++ b/core/img/filetypes/text-x-csharp.png
Binary files differ
diff --git a/core/img/filetypes/h.png b/core/img/filetypes/text-x-h.png
index e902abb0767..e902abb0767 100644
--- a/core/img/filetypes/h.png
+++ b/core/img/filetypes/text-x-h.png
Binary files differ
diff --git a/files/js/filelist.js b/files/js/filelist.js
index 66092220795..84762bb561d 100644
--- a/files/js/filelist.js
+++ b/files/js/filelist.js
@@ -3,7 +3,7 @@ FileList={
$('#fileList').empty().html(fileListHtml);
},
addFile:function(name,size,lastModified,loading){
- var img=(loading)?OC.imagePath('core', 'loading.gif'):OC.imagePath('core', 'filetypes/file');
+ var img=(loading)?OC.imagePath('core', 'loading.gif'):OC.imagePath('core', 'filetypes/file.png');
var html='<tr data-file="'+name+'" data-type="file" data-size="'+size+'">';
if(name.indexOf('.')!=-1){
var basename=name.substr(0,name.lastIndexOf('.'));
diff --git a/lib/helper.php b/lib/helper.php
index 9c2b5fc33ce..c2a81ba3306 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -101,20 +101,20 @@ class OC_Helper {
// Is it a dir?
if( $mimetype == "dir" ){
- return OC::$WEBROOT."/core/img/places/folder.svg";
+ return OC::$WEBROOT."/core/img/filetypes/folder.png";
}
// Icon exists?
- if( file_exists( OC::$SERVERROOT."/core/img/filetypes/$mimetype.svg" )){
- return OC::$WEBROOT."/core/img/filetypes/$mimetype.svg";
+ if( file_exists( OC::$SERVERROOT."/core/img/filetypes/$mimetype.png" )){
+ return OC::$WEBROOT."/core/img/filetypes/$mimetype.png";
}
//try only the first part of the filetype
$mimetype=substr($mimetype,0,strpos($mimetype,'-'));
- if( file_exists( OC::$SERVERROOT."/core/img/filetypes/$mimetype.svg" )){
- return OC::$WEBROOT."/core/img/filetypes/$mimetype.svg";
+ if( file_exists( OC::$SERVERROOT."/core/img/filetypes/$mimetype.png" )){
+ return OC::$WEBROOT."/core/img/filetypes/$mimetype.png";
}
else{
- return OC::$WEBROOT."/core/img/filetypes/file.svg";
+ return OC::$WEBROOT."/core/img/filetypes/file.png";
}
}