mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 11:19:55 +03: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:
parent
a412558492
commit
c501688dbc
23 changed files with 172 additions and 51 deletions
|
@ -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 |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue