diff options
author | Vincent Petry <pvince81@owncloud.com> | 2013-12-09 13:32:28 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-05-15 17:51:04 +0200 |
commit | 9ccb3279dd09b7042ab07c936a4c04127282476f (patch) | |
tree | d310007de95b3dae9970ec999b808dad09bd780b /apps/files/index.php | |
parent | 04f73275ba222f0aae80cf80890477b141cd4902 (diff) | |
download | nextcloud-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/index.php')
-rw-r--r-- | apps/files/index.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files/index.php b/apps/files/index.php index a4e9a938507..df207582dd6 100644 --- a/apps/files/index.php +++ b/apps/files/index.php @@ -89,6 +89,11 @@ if ($trashEnabled) { $trashEmpty = \OCA\Files_Trashbin\Trashbin::isEmpty($user); } +$nav = new OCP\Template('files', 'appnavigation', ''); + +$nav->assign('trash', $trashEnabled); +$nav->assign('trashEmpty', $trashEmpty); + OCP\Util::addscript('files', 'fileactions'); OCP\Util::addscript('files', 'files'); OCP\Util::addscript('files', 'keyboardshortcuts'); @@ -110,5 +115,6 @@ $tmpl->assign("mailNotificationEnabled", $config->getAppValue('core', 'shareapi_ $tmpl->assign("allowShareWithLink", $config->getAppValue('core', 'shareapi_allow_links', 'yes')); $tmpl->assign("encryptionInitStatus", $encryptionInitStatus); $tmpl->assign('disableSharing', false); +$tmpl->assign('appNavigation', $nav); $tmpl->printPage(); |