diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-09-12 00:40:35 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-09-12 00:40:35 +0200 |
commit | 9d661eab23f9ba284e4a5060b5de5d868b330d45 (patch) | |
tree | fad66c115977496771994af191648963b658001c /apps/files | |
parent | 5af111b0decdc3e922d152dd12322064fc663eba (diff) | |
download | nextcloud-server-9d661eab23f9ba284e4a5060b5de5d868b330d45.tar.gz nextcloud-server-9d661eab23f9ba284e4a5060b5de5d868b330d45.zip |
adding calls to \OCA\files\lib\Helper::determineIcon($i) in files, trashbin and sharing
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/ajax/list.php | 1 | ||||
-rw-r--r-- | apps/files/index.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/ajax/list.php b/apps/files/ajax/list.php index c50e96b2429..14ed43cbb3a 100644 --- a/apps/files/ajax/list.php +++ b/apps/files/ajax/list.php @@ -34,6 +34,7 @@ if($doBreadcrumb) { $files = array(); foreach( \OC\Files\Filesystem::getDirectoryContent( $dir ) as $i ) { $i["date"] = OCP\Util::formatDate($i["mtime"] ); + $i['icon'] = \OCA\files\lib\Helper::determineIcon($i); $files[] = $i; } diff --git a/apps/files/index.php b/apps/files/index.php index f1e120c872c..4443bf5fde0 100644 --- a/apps/files/index.php +++ b/apps/files/index.php @@ -75,6 +75,7 @@ foreach ($content as $i) { } $i['directory'] = $dir; $i['isPreviewAvailable'] = \OCP\Preview::isMimeSupported($i['mimetype']); + $i['icon'] = \OCA\files\lib\Helper::determineIcon($i); $files[] = $i; } |