Last change
on this file since 17879 was
16939,
checked in by mistic100, 12 years ago
|
add option to block permissions recalculation
|
File size:
587 bytes
|
Line | |
---|
1 | <?php |
---|
2 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
3 | |
---|
4 | // Enregistrement de la configuration |
---|
5 | if (isset($_POST['submit'])) |
---|
6 | { |
---|
7 | $conf['SmartAlbums']['update_on_upload'] = isset($_POST['update_on_upload']); |
---|
8 | $conf['SmartAlbums']['smart_is_forbidden'] = isset($_POST['smart_is_forbidden']); |
---|
9 | |
---|
10 | conf_update_param('SmartAlbums', serialize($conf['SmartAlbums'])); |
---|
11 | array_push($page['infos'], l10n('Information data registered in database')); |
---|
12 | } |
---|
13 | |
---|
14 | $template->assign($conf['SmartAlbums']); |
---|
15 | |
---|
16 | $template->set_filename('SmartAlbums_content', dirname(__FILE__).'/template/config.tpl'); |
---|
17 | |
---|
18 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.