source: extensions/dynareceperio/admin.php

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

remove SVN properties

File size: 610 bytes
Line 
1<?php
2defined('DYNARECEPERIO_PATH') or die('Hacking attempt!');
3
4load_language('plugin.lang', DYNARECEPERIO_PATH);
5
6if (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.