source: extensions/Subscribe_to_comments/admin/config.php @ 26139

Last change on this file since 26139 was 26139, checked in by mistic100, 10 years ago

update for 2.6

File size: 642 bytes
Line 
1<?php
2defined('SUBSCRIBE_TO_PATH') or die('Hacking attempt!');
3
4if (isset($_POST['config_submit']))
5{
6  $conf['Subscribe_to_Comments'] = array(
7    'notify_admin_on_subscribe' => isset($_POST['notify_admin_on_subscribe']),
8    'allow_global_subscriptions' => isset($_POST['allow_global_subscriptions']),
9    );
10
11  conf_update_param('Subscribe_to_Comments', serialize($conf['Subscribe_to_Comments']));
12  $page['infos'][] = l10n('Information data registered in database');
13}
14
15
16$template->assign($conf['Subscribe_to_Comments']);
17
18$template->set_filename('stc_admin', realpath(SUBSCRIBE_TO_PATH . 'admin/template/config.tpl'));
Note: See TracBrowser for help on using the repository browser.