aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-09-12 00:12:20 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-09-12 00:12:20 +0200
commit8543951cf9f4ec9e3c7cec998fada90c628bce76 (patch)
treecef2d7e072156a3ad7c15e83c93ae78cb6b02cc7
parent62eeac33900bdb13b823049d8cc63f44e0bca24f (diff)
downloadnextcloud-server-8543951cf9f4ec9e3c7cec998fada90c628bce76.tar.gz
nextcloud-server-8543951cf9f4ec9e3c7cec998fada90c628bce76.zip
adding icons for shared folders and external folders
-rw-r--r--lib/helper.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 5fb8fed3459..1f1ce8451c0 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -232,6 +232,14 @@ class OC_Helper {
self::$mimetypeIcons[$mimetype] = OC::$WEBROOT . '/core/img/filetypes/folder.png';
return OC::$WEBROOT . '/core/img/filetypes/folder.png';
}
+ if ($mimetype === 'dir-shared') {
+ self::$mimetypeIcons[$mimetype] = OC::$WEBROOT . '/core/img/filetypes/folder-shared.png';
+ return OC::$WEBROOT . '/core/img/filetypes/folder-shared.png';
+ }
+ if ($mimetype === 'dir-external') {
+ self::$mimetypeIcons[$mimetype] = OC::$WEBROOT . '/core/img/filetypes/folder-external.png';
+ return OC::$WEBROOT . '/core/img/filetypes/folder-external.png';
+ }
// Icon exists?
if (file_exists(OC::$SERVERROOT . '/core/img/filetypes/' . $icon . '.png')) {