aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-03 14:33:49 -0800
committerfriendica <info@friendica.com>2014-03-03 14:33:49 -0800
commit81c439bc7d4cbe355abaddc46954ec400f98774f (patch)
tree27dede977aa89dd1284bf7ec4d283073d24dac54 /include
parent002a86fb7160437a8413dfc40a84732c9afa2153 (diff)
downloadvolse-hubzilla-81c439bc7d4cbe355abaddc46954ec400f98774f.tar.gz
volse-hubzilla-81c439bc7d4cbe355abaddc46954ec400f98774f.tar.bz2
volse-hubzilla-81c439bc7d4cbe355abaddc46954ec400f98774f.zip
revert the temporary fix for the missing hdr.tpl and add the ability to provide context sensitive help/documentation by passing the current URL path to the help module as $_REQUEST['cmd']. So we could create a special help page for settings/display or whatever. The only issue is whether this should be presented first with a link to the main help page, or if we put a line at the top of the main help page that says "I need help for settings/display". Also edited the help target window name, as "friendika-help" is a bit dated.
Diffstat (limited to 'include')
-rw-r--r--include/nav.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nav.php b/include/nav.php
index 4e3d9fbec..ab0eaa855 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -134,7 +134,7 @@ EOT;
if(($a->config['system']['register_policy'] == REGISTER_OPEN) && (! local_user()) && (! remote_user()))
$nav['register'] = array('register',t('Register'), "", t('Create an account'));
- $help_url = z_root() . '/help';
+ $help_url = z_root() . '/help?f=&cmd=' . $a->cmd;
if(! get_config('system','hide_help'))
$nav['help'] = array($help_url, t('Help'), "", t('Help and documentation'));