From 004d0f074dfb72c7ab01e950620e97698dd51913 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 27 Nov 2022 12:20:04 +0000 Subject: disable context help until its content will be updated - it is not helpful otherwise --- include/nav.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/nav.php') 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'] .= ''; + $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); -- cgit v1.2.3