Ignore:
Timestamp:
May 26, 2010, 12:29:31 AM (14 years ago)
Author:
plg
Message:

feature 1697: ability to deactivate the synchronization method to add photos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/admin/photos_add.php

    r6323 r6361  
    153153    'label' => l10n('Piwigo Uploader'),
    154154    ),
    155   array(
    156     'code' => 'ftp',
    157     'label' => l10n('FTP + Synchronization'),
    158     ),
    159   );
     155  );
     156
     157if ($conf['enable_synchronization'])
     158{
     159  array_push(
     160    $tabs,
     161    array(
     162      'code' => 'ftp',
     163      'label' => l10n('FTP + Synchronization'),
     164      )
     165    );
     166}
    160167
    161168$tab_codes = array_map(
Note: See TracChangeset for help on using the changeset viewer.