aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-12-09 13:32:28 +0100
committerVincent Petry <pvince81@owncloud.com>2014-05-15 17:51:04 +0200
commit9ccb3279dd09b7042ab07c936a4c04127282476f (patch)
treed310007de95b3dae9970ec999b808dad09bd780b /apps/files_trashbin
parent04f73275ba222f0aae80cf80890477b141cd4902 (diff)
downloadnextcloud-server-9ccb3279dd09b7042ab07c936a4c04127282476f.tar.gz
nextcloud-server-9ccb3279dd09b7042ab07c936a4c04127282476f.zip
Added app navigation for files app
- Added links to trashbin and shared dir - Moved "WebDAV" settings block to the app nav's settings section - Added sidebar support in trashbin app as well
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r--apps/files_trashbin/index.php5
-rw-r--r--apps/files_trashbin/templates/index.php3
2 files changed, 8 insertions, 0 deletions
diff --git a/apps/files_trashbin/index.php b/apps/files_trashbin/index.php
index 6e6a8a38307..16cd5ecd4cd 100644
--- a/apps/files_trashbin/index.php
+++ b/apps/files_trashbin/index.php
@@ -39,4 +39,9 @@ if ($isIE8 && isset($_GET['dir'])){
$tmpl->assign('dir', $dir);
$tmpl->assign('disableSharing', true);
+$nav = new OCP\Template('files', 'appnavigation', '');
+$nav->assign('trash', true);
+
+$tmpl->assign('appNavigation', $nav);
+
$tmpl->printPage();
diff --git a/apps/files_trashbin/templates/index.php b/apps/files_trashbin/templates/index.php
index 7c673c317e0..02067385d4e 100644
--- a/apps/files_trashbin/templates/index.php
+++ b/apps/files_trashbin/templates/index.php
@@ -1,4 +1,6 @@
<?php /** @var $l OC_L10N */ ?>
+<?php $_['appNavigation']->printPage(); ?>
+<div id="app-content">
<div id="controls">
<div id="file_action_panel"></div>
</div>
@@ -44,3 +46,4 @@
<tfoot>
</tfoot>
</table>
+</div>