aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-04 20:57:07 -0700
committerFriendika <info@friendika.com>2011-07-04 20:57:07 -0700
commit20d3aa2e77e4ba4c12d2a7332c7ac5f3a8f6b635 (patch)
tree4c321d73497d6a425c8835e69244ef87dc62962e /include/nav.php
parent308ffe500a7ea4a2e9c55565b0bc7510b4e8bb26 (diff)
downloadvolse-hubzilla-20d3aa2e77e4ba4c12d2a7332c7ac5f3a8f6b635.tar.gz
volse-hubzilla-20d3aa2e77e4ba4c12d2a7332c7ac5f3a8f6b635.tar.bz2
volse-hubzilla-20d3aa2e77e4ba4c12d2a7332c7ac5f3a8f6b635.zip
community page
Diffstat (limited to 'include/nav.php')
-rw-r--r--include/nav.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/nav.php b/include/nav.php
index 238d87035..3b15c2b8a 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -60,10 +60,9 @@ function nav(&$a) {
$help_url = $a->get_baseurl() . '/help';
- if(! get_config('system','hide-help'))
+ if(! get_config('system','hide_help'))
$nav['help'] = array($help_url, t('Help'), "");
-
if($a->apps)
$nav['apps'] = array('apps', t('Apps'), "");
@@ -76,6 +75,8 @@ function nav(&$a) {
if(strlen($gdir))
$gdirpath = $gdir;
}
+ elseif(! get_config('system','no_community_page'))
+ $nav['community'] = array('community', t('Community'), "");
$nav['directory'] = array($gdirpath, t('Directory'), "");