source: extensions/UserAdvManager/branches/2.30/stuffs_module/config.inc.php @ 12272

Last change on this file since 12272 was 12272, checked in by Eric, 13 years ago

Merge r12271 from trunk to branch 2.30

  • Property svn:eol-style set to LF
File size: 541 bytes
Line 
1<?php
2
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5if (!isset($datas)) $datas = '';
6
7// set configuration
8// -----------------
9if (isset($_POST['submit']) and !is_adviser()) {
10  $datas = stripslashes($_POST['personal_content']);
11}
12
13// Template init
14// -------------
15$template->assign('cat_style', array());
16$template->assign(array('PERSONAL_CONTENT' => $datas));
17
18$template->set_filenames(array('module_options' => dirname(__FILE__) . '/config.tpl'));
19$template->assign_var_from_handle('MODULE_OPTIONS', 'module_options');
20
21?>
Note: See TracBrowser for help on using the repository browser.