diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-04-30 17:42:35 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-05-30 10:06:29 +0200 |
commit | 6ebc43650554f41eee2ae715b99a178b9c75c532 (patch) | |
tree | 8b1f0a76ec2b3281bbc6608d69f609ff79aff3ef /apps/files_sharing/appinfo | |
parent | dbbb6c5945f9c4d73695fa210be88d35ff35f026 (diff) | |
download | nextcloud-server-6ebc43650554f41eee2ae715b99a178b9c75c532.tar.gz nextcloud-server-6ebc43650554f41eee2ae715b99a178b9c75c532.zip |
Added sharing overview page (WIP)
- added sharing overview entries in the sidebar
- use OCS Share API to get the list of files
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r-- | apps/files_sharing/appinfo/app.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php index fa43f33721c..1756fc2f50e 100644 --- a/apps/files_sharing/appinfo/app.php +++ b/apps/files_sharing/appinfo/app.php @@ -1,4 +1,5 @@ <?php +$l = OC_L10N::get('files_sharing'); OC::$CLASSPATH['OC_Share_Backend_File'] = 'files_sharing/lib/share/file.php'; OC::$CLASSPATH['OC_Share_Backend_Folder'] = 'files_sharing/lib/share/folder.php'; @@ -21,3 +22,22 @@ OCP\Util::addScript('files_sharing', 'share'); \OC_Hook::connect('OC_Appconfig', 'post_set_value', '\OCA\Files\Share\Maintainer', 'configChangeHook'); OC_FileProxy::register(new OCA\Files\Share\Proxy()); + +\OCA\Files\App::getNavigationManager()->add( + array( + "id" => 'sharingin', + "appname" => 'files_sharing', + "script" => 'list.php', + "order" => 3, + "name" => $l->t('Shared with you') + ) +); +\OCA\Files\App::getNavigationManager()->add( + array( + "id" => 'sharingout', + "appname" => 'files_sharing', + "script" => 'list.php', + "order" => 4, + "name" => $l->t('Shared with others') + ) +); |