From f9b342c87d4129c457244861b3b841cb9dfe139b Mon Sep 17 00:00:00 2001 From: git-marijus Date: Fri, 28 Jul 2017 22:42:02 +0200 Subject: initial notifications support for new shared files and new (since initial site load) pubstream activity --- include/nav.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/nav.php b/include/nav.php index cd32126a1..f53a3eed5 100644 --- a/include/nav.php +++ b/include/nav.php @@ -200,12 +200,18 @@ EOT; $nav['settings'] = array('settings', t('Settings'),"", t('Account/Channel Settings'),'settings_nav_btn'); + $nav['files'] = array('sharedwithme', t('Shared Files'), "", t('New files shared with me'),'files_nav_btn'); + + } + + if(! get_config('system', 'disable_discover_tab')) { + $nav['pubs'] = array('pubstream', t('Public stream'), "", t('Public stream activities'),'pubs_nav_btn'); } /** * Admin page */ - if (is_site_admin()){ + if (is_site_admin()) { $nav['admin'] = array('admin/', t('Admin'), "", t('Site Setup and Configuration'),'admin_nav_btn'); } -- cgit v1.2.3