summaryrefslogtreecommitdiffstats
path: root/apps/files/index.php
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-01-15 20:35:15 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-01-22 15:32:57 +0100
commit9d77317de82cb5ea3e3e8e2a3d13122134e0ca0c (patch)
tree531989dc911eac1206456c2209ea392d48588bef /apps/files/index.php
parentdd40b691eee34d313a5894afbc7ccf217968fd94 (diff)
downloadnextcloud-server-9d77317de82cb5ea3e3e8e2a3d13122134e0ca0c.tar.gz
nextcloud-server-9d77317de82cb5ea3e3e8e2a3d13122134e0ca0c.zip
add trash button to web interface
Diffstat (limited to 'apps/files/index.php')
-rw-r--r--apps/files/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/index.php b/apps/files/index.php
index 1c4b7fbd497..8861be72283 100644
--- a/apps/files/index.php
+++ b/apps/files/index.php
@@ -100,6 +100,7 @@ $tmpl->assign('dir', OC_Filesystem::normalizePath($dir));
$tmpl->assign('isCreatable', OC_Filesystem::isCreatable($dir . '/'));
$tmpl->assign('permissions', $permissions);
$tmpl->assign('files', $files);
+$tmpl->assign('trash', \OCP\App::isEnabled('files_trashbin'));
$tmpl->assign('uploadMaxFilesize', $maxUploadFilesize);
$tmpl->assign('uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize));
$tmpl->assign('allowZipDownload', intval(OCP\Config::getSystemValue('allowZipDownload', true)));