Ignore:
Timestamp:
Mar 3, 2011, 10:12:57 PM (14 years ago)
Author:
plg
Message:

a permission may not automatically apply to sub-albums

in the upload form, the album list does not show private (and unreachable for
the user) albums and public albums that contains photos invisible to the user.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/community/admin_permissions.php

    r9375 r9500  
    7474    'user_id' => ('user' == $_POST['who']) ? $_POST['who_user'] : null,
    7575    'category_id' => ($_POST['category'] > 0) ? $_POST['category'] : null,
     76    'recursive' => isset($_POST['recursive']) ? 'true' : 'false',
    7677    'create_subcategories' => isset($_POST['create_subcategories']) ? 'true' : 'false',
    7778    'moderated' => $_POST['moderate'],
    7879    );
     80 
    7981  mass_inserts(
    8082    COMMUNITY_PERMISSIONS_TABLE,
     
    324326      'TRUST' => $trust,
    325327      'TRUST_TOOLTIP' => $trust_tooltip,
     328      'RECURSIVE' => get_boolean($permission['recursive']),
     329      'RECURSIVE_TOOLTIP' => l10n('Apply to sub-albums'),
    326330      'CREATE_SUBCATEGORIES' => get_boolean($permission['create_subcategories']),
    327331      'U_DELETE' => $admin_base_url.'&delete='.$permission['id']
Note: See TracChangeset for help on using the changeset viewer.