source: extensions/PWG_Stuffs/modules/personal/config.inc.php @ 5911

Last change on this file since 5911 was 3609, checked in by patdenice, 15 years ago

Convert all php and tpl files in Unix format for my plugins.

File size: 598 bytes
Line 
1<?php
2
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5if (!isset($datas)) $datas = array('');
6
7// Enregistrement de la configuration
8if (isset($_POST['submit']) and !is_adviser()) {
9        $datas = array(stripslashes($_POST['personal_content']));
10}
11
12// Parametrage du template
13$template->assign('cat_style', array());
14$template->assign(array('PERSONAL_CONTENT' => $datas[0]));
15
16// TinyMCE
17trigger_action('tinymce', 'pwgstuffs');
18
19$template->set_filenames(array('module_options' => dirname(__FILE__) . '/config.tpl'));
20$template->assign_var_from_handle('MODULE_OPTIONS', 'module_options');
21
22?>
Note: See TracBrowser for help on using the repository browser.