mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 00:53:04 +02:00
merge r6361 from branch 2.1 to trunk
feature 1697: ability to deactivate the synchronization method to add photos. git-svn-id: http://piwigo.org/svn/trunk@6365 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+25
-23
@@ -33,31 +33,33 @@ $link = get_root_url().'admin.php?page=help§ion=';
|
||||
$selected = null;
|
||||
$help_section_title = null;
|
||||
|
||||
$tabs = array(
|
||||
array(
|
||||
'code' => 'add_photos',
|
||||
'label' => l10n('Add Photos'),
|
||||
),
|
||||
array(
|
||||
'code' => 'permissions',
|
||||
'label' => l10n('Permissions'),
|
||||
),
|
||||
array(
|
||||
'code' => 'groups',
|
||||
'label' => l10n('Groups'),
|
||||
),
|
||||
array(
|
||||
$tabs = array();
|
||||
$tabs[] = array(
|
||||
'code' => 'add_photos',
|
||||
'label' => l10n('Add Photos'),
|
||||
);
|
||||
$tabs[] = array(
|
||||
'code' => 'permissions',
|
||||
'label' => l10n('Permissions'),
|
||||
);
|
||||
$tabs[] = array(
|
||||
'code' => 'groups',
|
||||
'label' => l10n('Groups'),
|
||||
);
|
||||
if ($conf['enable_synchronization'])
|
||||
{
|
||||
$tabs[] = array(
|
||||
'code' => 'user_upload',
|
||||
'label' => l10n('User Upload'),
|
||||
),
|
||||
array(
|
||||
'code' => 'virtual_links',
|
||||
'label' => l10n('Virtual Links'),
|
||||
),
|
||||
array(
|
||||
'code' => 'misc',
|
||||
'label' => l10n('Miscellaneous'),
|
||||
),
|
||||
);
|
||||
}
|
||||
$tabs[] = array(
|
||||
'code' => 'virtual_links',
|
||||
'label' => l10n('Virtual Links'),
|
||||
);
|
||||
$tabs[] = array(
|
||||
'code' => 'misc',
|
||||
'label' => l10n('Miscellaneous'),
|
||||
);
|
||||
|
||||
if (!isset($_GET['section']))
|
||||
|
||||
Reference in New Issue
Block a user