mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-20 08:33:03 +02:00
feature:2549 Allow to disable comments for everybody
git-svn-id: http://piwigo.org/svn/trunk@12887 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user