diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc index 7a471e0775..114ce81e9c 100644 --- a/src/usr/local/www/head.inc +++ b/src/usr/local/www/head.inc @@ -510,7 +510,7 @@ if (($pagename === "index.php") && ($numColumns > 2)) { ?> ' . $link . ''; } -if ('' != ($link = get_shortcut_status_link($shortcut_section, false))) { +if (('' != ($link = get_shortcut_status_link($shortcut_section, false))) && (isAllowedPage($shortcuts[$shortcut_section]['status']))) { echo '
  • ' . $link . '
  • '; } -if ('' != ($link = get_shortcut_log_link($shortcut_section, false))) { +if (('' != ($link = get_shortcut_log_link($shortcut_section, false))) && (isAllowedPage($shortcuts[$shortcut_section]['log']))) { echo '
  • ' . $link . '
  • '; }