diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-04-19 05:52:16 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-04-19 05:52:16 -0400 |
commit | 7594796ee11c0b245d02d145868a13ac3d84ebfc (patch) | |
tree | aaa27d143cfa7f9b0fe0b73d4f54304b9b58a6ff /include/nav.php | |
parent | 094d4cc325587428a2cce2f0412d2fd97ac43e29 (diff) | |
download | volse-hubzilla-7594796ee11c0b245d02d145868a13ac3d84ebfc.tar.gz volse-hubzilla-7594796ee11c0b245d02d145868a13ac3d84ebfc.tar.bz2 volse-hubzilla-7594796ee11c0b245d02d145868a13ac3d84ebfc.zip |
Try toggling context help using onclick attribute
Diffstat (limited to 'include/nav.php')
-rw-r--r-- | include/nav.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/nav.php b/include/nav.php index 541ab3aed..b088d171d 100644 --- a/include/nav.php +++ b/include/nav.php @@ -152,7 +152,8 @@ EOT; if(! get_config('system','hide_help')) { require_once('mod/help.php'); $context_help = load_context_help(); - $nav['help'] = array($help_url, t('Help'), "", t('Help and documentation'),'help_nav_btn',$context_help); + $enable_context_help = get_config('system','enable_context_help') || 0; + $nav['help'] = array($help_url, t('Help'), "", t('Help and documentation'),'help_nav_btn',$context_help,$enable_context_help); } if(! UNO) @@ -248,7 +249,7 @@ $powered_by = ''; '$powered_by' => $powered_by, '$help' => t('@name, #tag, ?doc, content'), '$pleasewait' => t('Please wait...') - )); + )); call_hooks('page_header', App::$page['nav']); } |