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