Last change
on this file since 16368 was
16104,
checked in by mistic100, 12 years ago
|
updated for Piwigo 2.4
new filters : name, author, level, hits
|
File size:
557 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 | |
---|
9 | conf_update_param('SmartAlbums', serialize($conf['SmartAlbums'])); |
---|
10 | array_push($page['infos'], l10n('Information data registered in database')); |
---|
11 | } |
---|
12 | |
---|
13 | $template->assign(array( |
---|
14 | 'update_on_upload' => $conf['SmartAlbums']['update_on_upload'], |
---|
15 | )); |
---|
16 | |
---|
17 | $template->set_filename('SmartAlbums_content', dirname(__FILE__).'/template/config.tpl'); |
---|
18 | |
---|
19 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.