aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
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>