aboutsummaryrefslogtreecommitdiffstats
path: root/include/menubar.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/menubar.inc.php17
1 files changed, 10 insertions, 7 deletions
diff --git a/include/menubar.inc.php b/include/menubar.inc.php
index 14a96ff9e..c017a5d64 100644
--- a/include/menubar.inc.php
+++ b/include/menubar.inc.php
@@ -257,13 +257,16 @@ function initialize_menu()
'REL'=> 'rel="search"'
);
- // comments link
- $block->data['comments'] =
- array(
- 'TITLE'=>l10n('display last user comments'),
- 'NAME'=>l10n('Comments'),
- 'URL'=> get_root_url().'comments.php',
- );
+ if ($conf['activate_comments'])
+ {
+ // comments link
+ $block->data['comments'] =
+ array(
+ 'TITLE'=>l10n('display last user comments'),
+ 'NAME'=>l10n('Comments'),
+ 'URL'=> get_root_url().'comments.php',
+ );
+ }
// about link
$block->data['about'] =