Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
4 | if (empty($datas)) $datas = array('cloud'); |
---|
5 | |
---|
6 | // Enregistrement de la configuration |
---|
7 | if (isset($_POST['submit'])) |
---|
8 | { |
---|
9 | $datas = array($_POST['tag_display']); |
---|
10 | } |
---|
11 | |
---|
12 | $template->assign($datas[0].'_CHECKED', 'checked="checked"'); |
---|
13 | |
---|
14 | $template->set_filenames(array('module_options' => dirname(__FILE__) . '/config.tpl')); |
---|
15 | $template->assign_var_from_handle('MODULE_OPTIONS', 'module_options'); |
---|
16 | |
---|
17 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.