Ignore:
Timestamp:
Jul 23, 2012, 6:16:34 PM (12 years ago)
Author:
mistic100
Message:

add option to block permissions recalculation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/SmartAlbums/admin/config.php

    r16104 r16939  
    66{
    77  $conf['SmartAlbums']['update_on_upload'] = isset($_POST['update_on_upload']);
     8  $conf['SmartAlbums']['smart_is_forbidden'] = isset($_POST['smart_is_forbidden']);
    89 
    910  conf_update_param('SmartAlbums', serialize($conf['SmartAlbums']));
     
    1112}
    1213
    13 $template->assign(array(
    14   'update_on_upload' => $conf['SmartAlbums']['update_on_upload'],
    15 ));
     14$template->assign($conf['SmartAlbums']);
    1615
    1716$template->set_filename('SmartAlbums_content', dirname(__FILE__).'/template/config.tpl');
Note: See TracChangeset for help on using the changeset viewer.