source: extensions/UserAdvManager/trunk/stuffs_module/config.inc.php @ 9908

Last change on this file since 9908 was 9908, checked in by Eric, 13 years ago
  • Bug 1479 fixed : Add of a dedicated UAM block in PWG Stuffs plugin to inform unvalidated users on their status
  • Template/global.tpl display improved.
  • Code cleaning
  • Property svn:eol-style set to LF
File size: 530 bytes
Line 
1<?php
2
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5if (!isset($datas)) $datas = '';
6
7// Enregistrement de la configuration
8if (isset($_POST['submit']) and !is_adviser()) {
9  $datas = stripslashes($_POST['personal_content']);
10}
11
12// Parametrage du template
13$template->assign('cat_style', array());
14$template->assign(array('PERSONAL_CONTENT' => $datas));
15
16$template->set_filenames(array('module_options' => dirname(__FILE__) . '/config.tpl'));
17$template->assign_var_from_handle('MODULE_OPTIONS', 'module_options');
18
19?>
Note: See TracBrowser for help on using the repository browser.