adding icons for shared folders and external folders
This commit is contained in:
parent
62eeac3390
commit
8543951cf9
|
@ -232,6 +232,14 @@ class OC_Helper {
|
||||||
self::$mimetypeIcons[$mimetype] = OC::$WEBROOT . '/core/img/filetypes/folder.png';
|
self::$mimetypeIcons[$mimetype] = OC::$WEBROOT . '/core/img/filetypes/folder.png';
|
||||||
return 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?
|
// Icon exists?
|
||||||
if (file_exists(OC::$SERVERROOT . '/core/img/filetypes/' . $icon . '.png')) {
|
if (file_exists(OC::$SERVERROOT . '/core/img/filetypes/' . $icon . '.png')) {
|
||||||
|
|
Loading…
Reference in New Issue