aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-07-28 22:42:02 +0200
committergit-marijus <mario@mariovavti.com>2017-07-28 22:42:02 +0200
commitf9b342c87d4129c457244861b3b841cb9dfe139b (patch)
tree560803c195d165117d88d1cf941f27de396459bd /include/nav.php
parent5f7b2e7c173a45bcd0bd3f09ad1a6fe71b6ae4fb (diff)
downloadvolse-hubzilla-f9b342c87d4129c457244861b3b841cb9dfe139b.tar.gz
volse-hubzilla-f9b342c87d4129c457244861b3b841cb9dfe139b.tar.bz2
volse-hubzilla-f9b342c87d4129c457244861b3b841cb9dfe139b.zip
initial notifications support for new shared files and new (since initial site load) pubstream activity
Diffstat (limited to 'include/nav.php')
-rw-r--r--include/nav.php8
1 files changed, 7 insertions, 1 deletions
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');
}