aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cat_options.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-05-25 22:29:31 +0000
committerplegall <plg@piwigo.org>2010-05-25 22:29:31 +0000
commit5488e86ada315f6f646796a0efa043e6744098b0 (patch)
tree8f97335fbb2751f26bd7eb1464d4b5a9f1cad045 /admin/cat_options.php
parent4dd9061a17d265c653087c50303915ca3c2ea9b5 (diff)
feature 1697: ability to deactivate the synchronization method to add photos.
git-svn-id: http://piwigo.org/svn/branches/2.1@6361 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/cat_options.php')
-rw-r--r--admin/cat_options.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/admin/cat_options.php b/admin/cat_options.php
index 2daa2a539..b36083c49 100644
--- a/admin/cat_options.php
+++ b/admin/cat_options.php
@@ -162,7 +162,10 @@ $tabsheet = new tabsheet();
$opt_link = $link_start.'cat_options&amp;section=';
$tabsheet->add('status', l10n('Public / Private'), $opt_link.'status');
$tabsheet->add('visible', l10n('Lock'), $opt_link.'visible');
-$tabsheet->add('upload', l10n('Upload'), $opt_link.'upload');
+if ($conf['enable_synchronization'])
+{
+ $tabsheet->add('upload', l10n('Upload'), $opt_link.'upload');
+}
$tabsheet->add('comments', l10n('Comments'), $opt_link.'comments');
if ($conf['allow_random_representative'])
{