Line | |
---|
1 | <?php |
---|
2 | defined('DYNARECEPERIO_PATH') or die('Hacking attempt!'); |
---|
3 | |
---|
4 | load_language('plugin.lang', DYNARECEPERIO_PATH); |
---|
5 | |
---|
6 | if (isset($_POST['submit'])) |
---|
7 | { |
---|
8 | $conf['dynareceperio'] = array( |
---|
9 | 'force' => isset($_POST['dynareceperio_force']), |
---|
10 | 'day_number' => intval($_POST['dynareceperio_day_number']), |
---|
11 | ); |
---|
12 | |
---|
13 | conf_update_param('dynareceperio', serialize($conf['dynareceperio'])); |
---|
14 | } |
---|
15 | |
---|
16 | $template->assign('dynareceperio', $conf['dynareceperio']); |
---|
17 | |
---|
18 | $template->set_filename('plugin_admin_content', realpath(DYNARECEPERIO_PATH.'admin.tpl')); |
---|
19 | $template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); |
---|
Note: See
TracBrowser
for help on using the repository browser.