diff options
author | Mario <mario@mariovavti.com> | 2022-11-27 12:20:04 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-11-27 12:20:04 +0000 |
commit | 004d0f074dfb72c7ab01e950620e97698dd51913 (patch) | |
tree | 78b5f6071afa0b5d9cb1a105a4bf6c1935be47fe | |
parent | e87887c3287a22b0d4a261de9be21d13bc02f174 (diff) | |
download | volse-hubzilla-004d0f074dfb72c7ab01e950620e97698dd51913.tar.gz volse-hubzilla-004d0f074dfb72c7ab01e950620e97698dd51913.tar.bz2 volse-hubzilla-004d0f074dfb72c7ab01e950620e97698dd51913.zip |
disable context help until its content will be updated - it is not helpful otherwise
-rw-r--r-- | include/nav.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/nav.php b/include/nav.php index 29d99aaee..2cdf7d42b 100644 --- a/include/nav.php +++ b/include/nav.php @@ -17,6 +17,7 @@ function nav($template = 'default') { App::$page['nav'] = App::$page['nav'] ?? ''; App::$page['htmlhead'] = App::$page['htmlhead'] ?? ''; App::$page['htmlhead'] .= '<script>$(document).ready(function() { $("#nav-search-text").search_autocomplete(\'' . z_root() . '/acl' . '\');});</script>'; + $is_owner = (((local_channel()) && ((App::$profile_uid == local_channel()) || (App::$profile_uid == 0))) ? true : false); $observer = App::get_observer(); $chans = []; @@ -166,7 +167,8 @@ function nav($template = 'default') { $nav['register'] = ['register', t('Register'), "", t('Create an account'), 'register_nav_btn']; } - if (!get_config('system', 'hide_help')) { + // TODO: update help content for various modules + if (false /* !get_config('system', 'hide_help') */) { $help_url = z_root() . '/help?f=&cmd=' . App::$cmd; $context_help = ''; $enable_context_help = ((intval(get_config('system', 'enable_context_help')) === 1 || get_config('system', 'enable_context_help') === false) ? true : false); |