aboutsummaryrefslogtreecommitdiffstats
path: root/admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin.php')
-rw-r--r--admin.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/admin.php b/admin.php
index 411dcb9e2..1fb7ebc45 100644
--- a/admin.php
+++ b/admin.php
@@ -189,10 +189,14 @@ $template->assign(
'U_PLUGINS'=> $link_start.'plugins',
'U_ADD_PHOTOS' => $link_start.'photos_add',
'U_CHANGE_THEME' => $change_theme_url,
- 'U_PENDING_COMMENTS' => $link_start.'comments',
'U_UPDATES' => $link_start.'updates',
)
);
+
+if ($conf['activate_comments'])
+{
+ $template->assign('U_PENDING_COMMENTS', $link_start.'comments');
+}
// +-----------------------------------------------------------------------+
// | Plugin menu |