diff options
author | Friendika <info@friendika.com> | 2011-04-13 07:07:21 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-13 07:07:21 -0700 |
commit | 767f165965280a9a6b7b5a0fbaa533b3a35bc723 (patch) | |
tree | 93e035b539e9eec937f97779f9eb03184d78b0e4 /include/nav.php | |
parent | 0c9c4c17140814699db90947fd25e742c1e8ca33 (diff) | |
download | volse-hubzilla-767f165965280a9a6b7b5a0fbaa533b3a35bc723.tar.gz volse-hubzilla-767f165965280a9a6b7b5a0fbaa533b3a35bc723.tar.bz2 volse-hubzilla-767f165965280a9a6b7b5a0fbaa533b3a35bc723.zip |
local documentation library
Diffstat (limited to 'include/nav.php')
-rw-r--r-- | include/nav.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/nav.php b/include/nav.php index 703d8da40..fa4b0a5cc 100644 --- a/include/nav.php +++ b/include/nav.php @@ -61,11 +61,10 @@ function nav(&$a) { $a->page['nav'] .= '<a id="nav-register-link" class="nav-commlink" href="register" >' . t('Register') . "</a>\r\n"; - $help_url = get_config('system','help_url'); - if(! $help_url) - $help_url = 'http://github.com/friendika/friendika/wiki'; + $help_url = $a->get_baseurl() . '/help'; - $a->page['nav'] .= '<a id="nav-help-link" class="nav-link" target="friendika-help" href="' . $help_url . '">' . t('Help') . "</a>\r\n"; + if(! get_config('system','hide-help')) + $a->page['nav'] .= '<a id="nav-help-link" class="nav-link" target="friendika-help" href="' . $help_url . '">' . t('Help') . "</a>\r\n"; if(strlen($a->apps)) { $a->page['nav'] .= '<a id="nav-apps-link" class="nav-link" href="apps">' . t('Apps') . "</a>\r\n"; |