Rev | Line | |
---|
[3609] | 1 | <?php |
---|
| 2 | |
---|
| 3 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
| 4 | |
---|
[9601] | 5 | if (!isset($datas)) $datas = ''; |
---|
[3609] | 6 | |
---|
| 7 | // Enregistrement de la configuration |
---|
[9737] | 8 | if (isset($_POST['submit'])) { |
---|
[9449] | 9 | $datas = stripslashes($_POST['personal_content']); |
---|
[3609] | 10 | } |
---|
| 11 | |
---|
| 12 | // Parametrage du template |
---|
| 13 | $template->assign('cat_style', array()); |
---|
[9449] | 14 | $template->assign(array('PERSONAL_CONTENT' => $datas)); |
---|
[3609] | 15 | |
---|
| 16 | $template->set_filenames(array('module_options' => dirname(__FILE__) . '/config.tpl')); |
---|
| 17 | $template->assign_var_from_handle('MODULE_OPTIONS', 'module_options'); |
---|
| 18 | |
---|
[3300] | 19 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.