mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 01:42:29 +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:
@@ -142,7 +142,10 @@ $tabsheet = new tabsheet();
|
||||
$opt_link = $link_start.'cat_options&section=';
|
||||
$tabsheet->add('status', l10n('Public / Private'), $opt_link.'status');
|
||||
$tabsheet->add('visible', l10n('Lock'), $opt_link.'visible');
|
||||
$tabsheet->add('comments', l10n('Comments'), $opt_link.'comments');
|
||||
if ($conf['activate_comments'])
|
||||
{
|
||||
$tabsheet->add('comments', l10n('Comments'), $opt_link.'comments');
|
||||
}
|
||||
if ($conf['allow_random_representative'])
|
||||
{
|
||||
$tabsheet->add('representative', l10n('Representative'), $opt_link.'representative');
|
||||
|
||||
Reference in New Issue
Block a user