Changeset 6365 for trunk/admin/help.php


Ignore:
Timestamp:
May 26, 2010, 2:20:07 AM (14 years ago)
Author:
plg
Message:

merge r6361 from branch 2.1 to trunk

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/help.php

    r6363 r6365  
    3434$help_section_title = null;
    3535
    36 $tabs = array(
    37   array(
    38     'code' => 'add_photos',
    39     'label' => l10n('Add Photos'),
    40     ),
    41   array(
    42     'code' => 'permissions',
    43     'label' => l10n('Permissions'),
    44     ),
    45   array(
    46     'code' => 'groups',
    47     'label' => l10n('Groups'),
    48     ),
    49   array(
     36$tabs = array();
     37$tabs[] = array(
     38  'code' => 'add_photos',
     39  'label' => l10n('Add Photos'),
     40  );
     41$tabs[] = array(
     42  'code' => 'permissions',
     43  'label' => l10n('Permissions'),
     44  );
     45$tabs[] = array(
     46  'code' => 'groups',
     47  'label' => l10n('Groups'),
     48  );
     49if ($conf['enable_synchronization'])
     50{
     51  $tabs[] = array(
    5052    'code' => 'user_upload',
    5153    'label' => l10n('User Upload'),
    52     ),
    53   array(
    54     'code' => 'virtual_links',
    55     'label' => l10n('Virtual Links'),
    56     ),
    57   array(
    58     'code' => 'misc',
    59     'label' => l10n('Miscellaneous'),
    60     ),
     54    );
     55}
     56$tabs[] = array(
     57  'code' => 'virtual_links',
     58  'label' => l10n('Virtual Links'),
     59  );
     60$tabs[] = array(
     61  'code' => 'misc',
     62  'label' => l10n('Miscellaneous'),
    6163  );
    6264
Note: See TracChangeset for help on using the changeset viewer.