aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-10 05:55:45 -0700
committerFriendika <info@friendika.com>2011-04-10 05:55:45 -0700
commitc12927042ec9bfdc63cbc0bdd330402741991843 (patch)
tree1d0b71f3278ab90bb04f75a25d0f0d187041fc9d /include/nav.php
parent58508201a5fe1f4c3bd6bb93e626c46739afda46 (diff)
downloadvolse-hubzilla-c12927042ec9bfdc63cbc0bdd330402741991843.tar.gz
volse-hubzilla-c12927042ec9bfdc63cbc0bdd330402741991843.tar.bz2
volse-hubzilla-c12927042ec9bfdc63cbc0bdd330402741991843.zip
nav link to help & documentation
Diffstat (limited to 'include/nav.php')
-rw-r--r--include/nav.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/nav.php b/include/nav.php
index b8b65f84d..703d8da40 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -61,6 +61,12 @@ 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';
+
+ $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";
}