local documentation library
This commit is contained in:
parent
0c9c4c1714
commit
767f165965
17 changed files with 1021 additions and 4 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue